Home
last modified time | relevance | path

Searched refs:victim (Results 1 – 4 of 4) sorted by relevance

/tools/lib/
Drbtree.c545 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument
548 struct rb_node *parent = rb_parent(victim); in rb_replace_node()
551 *new = *victim; in rb_replace_node()
554 if (victim->rb_left) in rb_replace_node()
555 rb_set_parent(victim->rb_left, new); in rb_replace_node()
556 if (victim->rb_right) in rb_replace_node()
557 rb_set_parent(victim->rb_right, new); in rb_replace_node()
558 __rb_change_child(victim, new, parent, root); in rb_replace_node()
/tools/include/linux/
Drbtree.h63 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
146 static inline void rb_replace_node_cached(struct rb_node *victim, in rb_replace_node_cached() argument
150 if (root->rb_leftmost == victim) in rb_replace_node_cached()
152 rb_replace_node(victim, new, &root->rb_root); in rb_replace_node_cached()
/tools/testing/selftests/bpf/progs/
Dlocal_storage.c62 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() argument
84 is_self_unlink = storage->exec_inode == victim->d_inode; in BPF_PROG()
Dmap_kptr.c224 int BPF_PROG(test_task_map_kptr, struct inode *inode, struct dentry *victim) in BPF_PROG() argument
239 int BPF_PROG(test_inode_map_kptr, struct inode *inode, struct dentry *victim) in BPF_PROG() argument