Lines Matching refs:new
88 struct rb_node **new = &(root->rb_node), *parent = NULL; in cgroup_storage_insert() local
90 while (*new) { in cgroup_storage_insert()
93 this = container_of(*new, struct bpf_cgroup_storage, node); in cgroup_storage_insert()
95 parent = *new; in cgroup_storage_insert()
98 new = &((*new)->rb_left); in cgroup_storage_insert()
101 new = &((*new)->rb_right); in cgroup_storage_insert()
108 rb_link_node(&storage->node, parent, new); in cgroup_storage_insert()
132 struct bpf_storage_buffer *new; in cgroup_storage_update_elem() local
154 new = kmalloc_node(sizeof(struct bpf_storage_buffer) + in cgroup_storage_update_elem()
158 if (!new) in cgroup_storage_update_elem()
161 memcpy(&new->data[0], value, map->value_size); in cgroup_storage_update_elem()
162 check_and_init_map_lock(map, new->data); in cgroup_storage_update_elem()
164 new = xchg(&storage->buf, new); in cgroup_storage_update_elem()
165 kfree_rcu(new, rcu); in cgroup_storage_update_elem()