victim 33 arch/arc/include/asm/tlb-mmu1.h ld r0,[jh_ex_way_sel] ; victim pointer victim 39 arch/powerpc/kvm/e500_mmu.c unsigned int victim; victim 41 arch/powerpc/kvm/e500_mmu.c victim = vcpu_e500->gtlb_nv[0]++; victim 45 arch/powerpc/kvm/e500_mmu.c return victim; victim 130 arch/powerpc/kvm/e500_mmu.c unsigned int victim, tsized; victim 135 arch/powerpc/kvm/e500_mmu.c victim = (tlbsel == 0) ? gtlb0_get_next_victim(vcpu_e500) : 0; victim 138 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) victim 366 arch/powerpc/kvm/e500_mmu.c int victim; victim 370 arch/powerpc/kvm/e500_mmu.c victim = (tlbsel == 0) ? gtlb0_get_next_victim(vcpu_e500) : 0; victim 373 arch/powerpc/kvm/e500_mmu.c | MAS0_ESEL(victim) victim 49 arch/powerpc/kvm/trace.h TP_PROTO(unsigned int victim, unsigned int tid, unsigned int word0, victim 51 arch/powerpc/kvm/trace.h TP_ARGS(victim, tid, word0, word1, word2), victim 54 arch/powerpc/kvm/trace.h __field( unsigned int, victim ) victim 62 arch/powerpc/kvm/trace.h __entry->victim = victim; victim 70 arch/powerpc/kvm/trace.h __entry->victim, __entry->tid, __entry->word0, victim 619 arch/powerpc/platforms/cell/spufs/sched.c struct spu_context *victim = NULL; victim 645 arch/powerpc/platforms/cell/spufs/sched.c (!victim || tmp->prio > victim->prio)) { victim 646 arch/powerpc/platforms/cell/spufs/sched.c victim = spu->ctx; victim 649 arch/powerpc/platforms/cell/spufs/sched.c if (victim) victim 650 arch/powerpc/platforms/cell/spufs/sched.c get_spu_context(victim); victim 653 arch/powerpc/platforms/cell/spufs/sched.c if (victim) { victim 664 arch/powerpc/platforms/cell/spufs/sched.c if (!mutex_trylock(&victim->state_mutex)) { victim 665 arch/powerpc/platforms/cell/spufs/sched.c put_spu_context(victim); victim 666 arch/powerpc/platforms/cell/spufs/sched.c victim = NULL; victim 670 arch/powerpc/platforms/cell/spufs/sched.c spu = victim->spu; victim 671 arch/powerpc/platforms/cell/spufs/sched.c if (!spu || victim->prio <= ctx->prio) { victim 677 arch/powerpc/platforms/cell/spufs/sched.c mutex_unlock(&victim->state_mutex); victim 678 arch/powerpc/platforms/cell/spufs/sched.c put_spu_context(victim); victim 679 arch/powerpc/platforms/cell/spufs/sched.c victim = NULL; victim 687 arch/powerpc/platforms/cell/spufs/sched.c spu_unbind_context(spu, victim); victim 690 arch/powerpc/platforms/cell/spufs/sched.c victim->stats.invol_ctx_switch++; victim 692 arch/powerpc/platforms/cell/spufs/sched.c if (test_bit(SPU_SCHED_SPU_RUN, &victim->sched_flags)) victim 693 arch/powerpc/platforms/cell/spufs/sched.c spu_add_to_rq(victim); victim 695 arch/powerpc/platforms/cell/spufs/sched.c mutex_unlock(&victim->state_mutex); victim 696 arch/powerpc/platforms/cell/spufs/sched.c put_spu_context(victim); victim 374 drivers/lightnvm/pblk-gc.c struct pblk_line *line, *victim; victim 377 drivers/lightnvm/pblk-gc.c victim = list_first_entry(group_list, struct pblk_line, list); victim 383 drivers/lightnvm/pblk-gc.c victim = line; victim 384 drivers/lightnvm/pblk-gc.c victim_vsc = le32_to_cpu(*victim->vsc); victim 391 drivers/lightnvm/pblk-gc.c return victim; victim 356 drivers/mmc/core/sdio_cis.c struct sdio_func_tuple *tuple, *victim; victim 361 drivers/mmc/core/sdio_cis.c victim = tuple; victim 363 drivers/mmc/core/sdio_cis.c kfree(victim); victim 397 drivers/mmc/core/sdio_cis.c struct sdio_func_tuple *tuple, *victim; victim 402 drivers/mmc/core/sdio_cis.c victim = tuple; victim 404 drivers/mmc/core/sdio_cis.c kfree(victim); victim 29 drivers/mtd/ubi/fastmap-wl.c struct ubi_wl_entry *e, *victim = NULL; victim 34 drivers/mtd/ubi/fastmap-wl.c victim = e; victim 39 drivers/mtd/ubi/fastmap-wl.c return victim; victim 247 drivers/mtd/ubi/fastmap.c struct ubi_ainf_peb *aeb, *victim; victim 280 drivers/mtd/ubi/fastmap.c victim = ubi_alloc_aeb(ai, aeb->pnum, aeb->ec); victim 281 drivers/mtd/ubi/fastmap.c if (!victim) victim 284 drivers/mtd/ubi/fastmap.c list_add_tail(&victim->u.list, &ai->erase); victim 749 drivers/nvdimm/label.c struct nd_label_ent *victim) victim 752 drivers/nvdimm/label.c u32 slot = to_slot(ndd, victim->label); victim 756 drivers/nvdimm/label.c victim->label = NULL; victim 786 drivers/usb/core/urb.c struct urb *victim; victim 790 drivers/usb/core/urb.c victim = list_entry(anchor->urb_list.prev, struct urb, victim 793 drivers/usb/core/urb.c usb_get_urb(victim); victim 796 drivers/usb/core/urb.c usb_kill_urb(victim); victim 797 drivers/usb/core/urb.c usb_put_urb(victim); victim 818 drivers/usb/core/urb.c struct urb *victim; victim 823 drivers/usb/core/urb.c victim = list_entry(anchor->urb_list.prev, struct urb, victim 826 drivers/usb/core/urb.c usb_get_urb(victim); victim 829 drivers/usb/core/urb.c usb_poison_urb(victim); victim 830 drivers/usb/core/urb.c usb_put_urb(victim); victim 871 drivers/usb/core/urb.c struct urb *victim; victim 873 drivers/usb/core/urb.c while ((victim = usb_get_from_anchor(anchor)) != NULL) { victim 874 drivers/usb/core/urb.c usb_unlink_urb(victim); victim 875 drivers/usb/core/urb.c usb_put_urb(victim); victim 944 drivers/usb/core/urb.c struct urb *victim; victim 949 drivers/usb/core/urb.c victim = list_entry(anchor->urb_list.next, struct urb, victim 951 drivers/usb/core/urb.c usb_get_urb(victim); victim 952 drivers/usb/core/urb.c __usb_unanchor_urb(victim, anchor); victim 954 drivers/usb/core/urb.c victim = NULL; victim 958 drivers/usb/core/urb.c return victim; victim 971 drivers/usb/core/urb.c struct urb *victim; victim 976 drivers/usb/core/urb.c victim = list_entry(anchor->urb_list.prev, struct urb, victim 978 drivers/usb/core/urb.c __usb_unanchor_urb(victim, anchor); victim 1856 fs/block_dev.c struct block_device *victim = NULL; victim 1878 fs/block_dev.c victim = bdev->bd_contains; victim 1885 fs/block_dev.c if (victim) victim 1886 fs/block_dev.c __blkdev_put(victim, mode, 1); victim 907 fs/btrfs/ioctl.c static int btrfs_may_delete(struct inode *dir, struct dentry *victim, int isdir) victim 911 fs/btrfs/ioctl.c if (d_really_is_negative(victim)) victim 914 fs/btrfs/ioctl.c BUG_ON(d_inode(victim->d_parent) != dir); victim 915 fs/btrfs/ioctl.c audit_inode_child(dir, victim, AUDIT_TYPE_CHILD_DELETE); victim 922 fs/btrfs/ioctl.c if (check_sticky(dir, d_inode(victim)) || IS_APPEND(d_inode(victim)) || victim 923 fs/btrfs/ioctl.c IS_IMMUTABLE(d_inode(victim)) || IS_SWAPFILE(d_inode(victim))) victim 926 fs/btrfs/ioctl.c if (!d_is_dir(victim)) victim 928 fs/btrfs/ioctl.c if (IS_ROOT(victim)) victim 930 fs/btrfs/ioctl.c } else if (d_is_dir(victim)) victim 934 fs/btrfs/ioctl.c if (victim->d_flags & DCACHE_NFSFS_RENAMED) victim 333 fs/btrfs/raid56.c struct btrfs_raid_bio *victim) victim 335 fs/btrfs/raid56.c bio_list_merge(&dest->bio_list, &victim->bio_list); victim 336 fs/btrfs/raid56.c dest->bio_list_bytes += victim->bio_list_bytes; victim 337 fs/btrfs/raid56.c dest->generic_bio_cnt += victim->generic_bio_cnt; victim 338 fs/btrfs/raid56.c bio_list_init(&victim->bio_list); victim 117 fs/btrfs/zstd.c struct workspace *victim = container_of(pos, struct workspace, victim 121 fs/btrfs/zstd.c if (time_after(victim->last_used, reclaim_threshold)) victim 125 fs/btrfs/zstd.c if (victim->req_level) victim 128 fs/btrfs/zstd.c level = victim->level; victim 129 fs/btrfs/zstd.c list_del(&victim->lru_list); victim 130 fs/btrfs/zstd.c list_del(&victim->list); victim 131 fs/btrfs/zstd.c zstd_free_workspace(&victim->list); victim 869 fs/cachefiles/namei.c struct dentry *victim; victim 880 fs/cachefiles/namei.c victim = lookup_one_len(filename, dir, strlen(filename)); victim 882 fs/cachefiles/namei.c if (IS_ERR(victim)) victim 891 fs/cachefiles/namei.c if (d_is_negative(victim)) { victim 893 fs/cachefiles/namei.c dput(victim); victim 906 fs/cachefiles/namei.c if (object->dentry > victim) victim 908 fs/cachefiles/namei.c else if (object->dentry < victim) victim 917 fs/cachefiles/namei.c return victim; victim 922 fs/cachefiles/namei.c dput(victim); victim 928 fs/cachefiles/namei.c ret = PTR_ERR(victim); victim 953 fs/cachefiles/namei.c struct dentry *victim; victim 958 fs/cachefiles/namei.c victim = cachefiles_check_active(cache, dir, filename); victim 959 fs/cachefiles/namei.c if (IS_ERR(victim)) victim 960 fs/cachefiles/namei.c return PTR_ERR(victim); victim 963 fs/cachefiles/namei.c victim, d_backing_inode(victim) ? "positive" : "negative"); victim 970 fs/cachefiles/namei.c ret = cachefiles_remove_object_xattr(cache, victim); victim 977 fs/cachefiles/namei.c ret = cachefiles_bury_object(cache, NULL, dir, victim, false, victim 982 fs/cachefiles/namei.c dput(victim); victim 989 fs/cachefiles/namei.c dput(victim); victim 1013 fs/cachefiles/namei.c struct dentry *victim; victim 1018 fs/cachefiles/namei.c victim = cachefiles_check_active(cache, dir, filename); victim 1019 fs/cachefiles/namei.c if (IS_ERR(victim)) victim 1020 fs/cachefiles/namei.c return PTR_ERR(victim); victim 1023 fs/cachefiles/namei.c dput(victim); victim 1467 fs/dcache.c struct dentry *victim; victim 1512 fs/dcache.c data->victim = dentry; victim 1554 fs/dcache.c data.victim = NULL; victim 1556 fs/dcache.c if (data.victim) { victim 1558 fs/dcache.c spin_lock(&data.victim->d_lock); victim 1559 fs/dcache.c if (!shrink_lock_dentry(data.victim)) { victim 1560 fs/dcache.c spin_unlock(&data.victim->d_lock); victim 1564 fs/dcache.c parent = data.victim->d_parent; victim 1565 fs/dcache.c if (parent != data.victim) victim 1567 fs/dcache.c __dentry_kill(data.victim); victim 1628 fs/dcache.c struct dentry **victim = _data; victim 1631 fs/dcache.c *victim = dentry; victim 1658 fs/dcache.c struct dentry *victim = NULL; victim 1659 fs/dcache.c d_walk(dentry, &victim, find_submount); victim 1660 fs/dcache.c if (!victim) { victim 1666 fs/dcache.c detach_mounts(victim); victim 1667 fs/dcache.c dput(victim); victim 45 fs/erofs/decompressor.c struct page *victim; victim 73 fs/erofs/decompressor.c victim = availables[--top]; victim 74 fs/erofs/decompressor.c get_page(victim); victim 76 fs/erofs/decompressor.c victim = erofs_allocpage(pagepool, GFP_KERNEL, false); victim 77 fs/erofs/decompressor.c if (!victim) victim 79 fs/erofs/decompressor.c victim->mapping = Z_EROFS_MAPPING_STAGING; victim 81 fs/erofs/decompressor.c rq->out[i] = victim; victim 1134 fs/f2fs/gc.c static int __get_victim(struct f2fs_sb_info *sbi, unsigned int *victim, victim 1141 fs/f2fs/gc.c ret = DIRTY_I(sbi)->v_ops->get_victim(sbi, victim, gc_type, victim 1950 fs/locks.c struct file_lock *fl, *victim = NULL; victim 1966 fs/locks.c victim = fl; victim 1970 fs/locks.c trace_generic_delete_lease(inode, victim); victim 1971 fs/locks.c if (victim) victim 1972 fs/locks.c error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); victim 2781 fs/namei.c static int may_delete(struct inode *dir, struct dentry *victim, bool isdir) victim 2783 fs/namei.c struct inode *inode = d_backing_inode(victim); victim 2786 fs/namei.c if (d_is_negative(victim)) victim 2790 fs/namei.c BUG_ON(victim->d_parent->d_inode != dir); victim 2796 fs/namei.c audit_inode_child(dir, victim, AUDIT_TYPE_CHILD_DELETE); victim 2808 fs/namei.c if (!d_is_dir(victim)) victim 2810 fs/namei.c if (IS_ROOT(victim)) victim 2812 fs/namei.c } else if (d_is_dir(victim)) victim 2816 fs/namei.c if (victim->d_flags & DCACHE_NFSFS_RENAMED) victim 1092 fs/nfsd/nfs4recover.c free_cld_upcall(struct cld_upcall *victim) victim 1094 fs/nfsd/nfs4recover.c struct cld_net *cn = victim->cu_net; victim 1097 fs/nfsd/nfs4recover.c list_del(&victim->cu_list); victim 1099 fs/nfsd/nfs4recover.c kfree(victim); victim 1882 fs/ocfs2/suballoc.c u16 victim, i; victim 1926 fs/ocfs2/suballoc.c victim = ocfs2_find_victim_chain(cl); victim 1927 fs/ocfs2/suballoc.c ac->ac_chain = victim; victim 1943 fs/ocfs2/suballoc.c trace_ocfs2_claim_suballoc_bits(victim); victim 1951 fs/ocfs2/suballoc.c if (i == victim) victim 726 fs/xfs/libxfs/xfs_iext_tree.c void *victim) victim 736 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(node->ptrs[pos] == victim); victim 737 fs/xfs/libxfs/xfs_iext_tree.c kmem_free(victim); victim 771 fs/xfs/libxfs/xfs_iext_tree.c victim = node; victim 78 include/linux/btree-128.h struct btree_head128 *victim, victim 81 include/linux/btree-128.h return btree_merge(&target->h, &victim->h, &btree_geo128, gfp); victim 31 include/linux/btree-type.h BTREE_TYPE_HEAD *victim, victim 34 include/linux/btree-type.h return btree_merge(&target->h, &victim->h, BTREE_TYPE_GEO, gfp); victim 158 include/linux/btree.h int btree_merge(struct btree_head *target, struct btree_head *victim, victim 578 include/linux/memcontrol.h struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, victim 1046 include/linux/memcontrol.h struct task_struct *victim, struct mem_cgroup *oom_domain) victim 64 include/linux/rbtree.h extern void rb_replace_node(struct rb_node *victim, struct rb_node *new, victim 66 include/linux/rbtree.h extern void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, victim 152 include/linux/rbtree.h static inline void rb_replace_node_cached(struct rb_node *victim, victim 156 include/linux/rbtree.h if (root->rb_leftmost == victim) victim 158 include/linux/rbtree.h rb_replace_node(victim, new, &root->rb_root); victim 749 include/trace/events/f2fs.h __field(unsigned int, victim) victim 763 include/trace/events/f2fs.h __entry->victim = p->min_segno; victim 779 include/trace/events/f2fs.h __entry->victim, victim 191 init/initramfs.c static __initdata char *victim; victim 197 init/initramfs.c victim += n; victim 210 init/initramfs.c collected = victim; victim 234 init/initramfs.c memcpy(collect, victim, n); victim 287 init/initramfs.c while (byte_count && *victim == '\0') victim 366 init/initramfs.c if (xwrite(wfd, victim, body_len) != body_len) victim 375 init/initramfs.c if (xwrite(wfd, victim, byte_count) != byte_count) victim 409 init/initramfs.c victim = buf; victim 571 kernel/audit_tree.c static void prune_tree_chunks(struct audit_tree *victim, bool tagged) victim 574 kernel/audit_tree.c while (!list_empty(&victim->chunks)) { victim 579 kernel/audit_tree.c p = list_first_entry(&victim->chunks, struct node, list); victim 598 kernel/audit_tree.c put_tree(victim); victim 604 kernel/audit_tree.c static void prune_one(struct audit_tree *victim) victim 606 kernel/audit_tree.c prune_tree_chunks(victim, false); victim 768 kernel/audit_tree.c struct audit_tree *victim; victim 770 kernel/audit_tree.c victim = list_entry(prune_list.next, victim 772 kernel/audit_tree.c list_del_init(&victim->list); victim 776 kernel/audit_tree.c prune_one(victim); victim 985 kernel/audit_tree.c struct audit_tree *victim; victim 987 kernel/audit_tree.c victim = list_entry(list->next, struct audit_tree, list); victim 988 kernel/audit_tree.c kill_rules(context, victim); victim 989 kernel/audit_tree.c list_del_init(&victim->list); victim 993 kernel/audit_tree.c prune_one(victim); victim 639 lib/btree.c int btree_merge(struct btree_head *target, struct btree_head *victim, victim 647 lib/btree.c BUG_ON(target == victim); victim 651 lib/btree.c target->node = victim->node; victim 652 lib/btree.c target->height = victim->height; victim 653 lib/btree.c __btree_init(victim); victim 661 lib/btree.c if (!btree_last(victim, geo, key)) victim 663 lib/btree.c val = btree_lookup(victim, geo, key); victim 670 lib/btree.c btree_remove(victim, geo, dup); victim 553 lib/rbtree.c void rb_replace_node(struct rb_node *victim, struct rb_node *new, victim 556 lib/rbtree.c struct rb_node *parent = rb_parent(victim); victim 559 lib/rbtree.c *new = *victim; victim 562 lib/rbtree.c if (victim->rb_left) victim 563 lib/rbtree.c rb_set_parent(victim->rb_left, new); victim 564 lib/rbtree.c if (victim->rb_right) victim 565 lib/rbtree.c rb_set_parent(victim->rb_right, new); victim 566 lib/rbtree.c __rb_change_child(victim, new, parent, root); victim 570 lib/rbtree.c void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, victim 573 lib/rbtree.c struct rb_node *parent = rb_parent(victim); victim 576 lib/rbtree.c *new = *victim; victim 579 lib/rbtree.c if (victim->rb_left) victim 580 lib/rbtree.c rb_set_parent(victim->rb_left, new); victim 581 lib/rbtree.c if (victim->rb_right) victim 582 lib/rbtree.c rb_set_parent(victim->rb_right, new); victim 588 lib/rbtree.c __rb_change_child_rcu(victim, new, parent, root); victim 1714 mm/memcontrol.c struct mem_cgroup *victim = NULL; victim 1727 mm/memcontrol.c victim = mem_cgroup_iter(root_memcg, victim, &reclaim); victim 1728 mm/memcontrol.c if (!victim) { victim 1750 mm/memcontrol.c total += mem_cgroup_shrink_node(victim, gfp_mask, false, victim 1756 mm/memcontrol.c mem_cgroup_iter_break(root_memcg, victim); victim 2029 mm/memcontrol.c struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, victim 2043 mm/memcontrol.c memcg = mem_cgroup_from_task(victim); victim 440 mm/oom_kill.c static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim) victim 447 mm/oom_kill.c mem_cgroup_print_oom_context(oc->memcg, victim); victim 448 mm/oom_kill.c pr_cont(",task=%s,pid=%d,uid=%d\n", victim->comm, victim->pid, victim 449 mm/oom_kill.c from_kuid(&init_user_ns, task_uid(victim))); victim 856 mm/oom_kill.c static void __oom_kill_process(struct task_struct *victim, const char *message) victim 862 mm/oom_kill.c p = find_lock_task_mm(victim); victim 864 mm/oom_kill.c put_task_struct(victim); victim 866 mm/oom_kill.c } else if (victim != p) { victim 868 mm/oom_kill.c put_task_struct(victim); victim 869 mm/oom_kill.c victim = p; victim 873 mm/oom_kill.c mm = victim->mm; victim 885 mm/oom_kill.c do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID); victim 886 mm/oom_kill.c mark_oom_victim(victim); victim 888 mm/oom_kill.c message, task_pid_nr(victim), victim->comm, K(mm->total_vm), victim 892 mm/oom_kill.c from_kuid(&init_user_ns, task_uid(victim)), victim 893 mm/oom_kill.c mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); victim 894 mm/oom_kill.c task_unlock(victim); victim 909 mm/oom_kill.c if (same_thread_group(p, victim)) victim 915 mm/oom_kill.c task_pid_nr(victim), victim->comm, victim 930 mm/oom_kill.c wake_oom_reaper(victim); victim 933 mm/oom_kill.c put_task_struct(victim); victim 953 mm/oom_kill.c struct task_struct *victim = oc->chosen; victim 963 mm/oom_kill.c task_lock(victim); victim 964 mm/oom_kill.c if (task_will_free_mem(victim)) { victim 965 mm/oom_kill.c mark_oom_victim(victim); victim 966 mm/oom_kill.c wake_oom_reaper(victim); victim 967 mm/oom_kill.c task_unlock(victim); victim 968 mm/oom_kill.c put_task_struct(victim); victim 971 mm/oom_kill.c task_unlock(victim); victim 974 mm/oom_kill.c dump_header(oc, victim); victim 981 mm/oom_kill.c oom_group = mem_cgroup_get_oom_group(victim, oc->memcg); victim 983 mm/oom_kill.c __oom_kill_process(victim, message); victim 67 mm/readahead.c struct page *victim; victim 70 mm/readahead.c victim = lru_to_page(pages); victim 71 mm/readahead.c list_del(&victim->lru); victim 72 mm/readahead.c read_cache_pages_invalidate_page(mapping, victim); victim 129 mm/swap.c struct page *victim; victim 131 mm/swap.c victim = lru_to_page(pages); victim 132 mm/swap.c list_del(&victim->lru); victim 133 mm/swap.c put_page(victim); victim 2521 mm/swapfile.c struct file *swap_file, *victim; victim 2537 mm/swapfile.c victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); victim 2538 mm/swapfile.c err = PTR_ERR(victim); victim 2539 mm/swapfile.c if (IS_ERR(victim)) victim 2542 mm/swapfile.c mapping = victim->f_mapping; victim 2687 mm/swapfile.c filp_close(victim, NULL); victim 1300 net/packet/af_packet.c u32 victim, rxhash; victim 1308 net/packet/af_packet.c victim = prandom_u32() % ROLLOVER_HLEN; victim 1311 net/packet/af_packet.c if (READ_ONCE(history[victim]) != rxhash) victim 1312 net/packet/af_packet.c WRITE_ONCE(history[victim], rxhash); victim 63 tools/include/linux/rbtree.h extern void rb_replace_node(struct rb_node *victim, struct rb_node *new, victim 146 tools/include/linux/rbtree.h static inline void rb_replace_node_cached(struct rb_node *victim, victim 150 tools/include/linux/rbtree.h if (root->rb_leftmost == victim) victim 152 tools/include/linux/rbtree.h rb_replace_node(victim, new, &root->rb_root); victim 545 tools/lib/rbtree.c void rb_replace_node(struct rb_node *victim, struct rb_node *new, victim 548 tools/lib/rbtree.c struct rb_node *parent = rb_parent(victim); victim 551 tools/lib/rbtree.c *new = *victim; victim 554 tools/lib/rbtree.c if (victim->rb_left) victim 555 tools/lib/rbtree.c rb_set_parent(victim->rb_left, new); victim 556 tools/lib/rbtree.c if (victim->rb_right) victim 557 tools/lib/rbtree.c rb_set_parent(victim->rb_right, new); victim 558 tools/lib/rbtree.c __rb_change_child(victim, new, parent, root);