Searched refs:l_new (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_arena_htab.h | 70 hashtab_elem_t *l_new = NULL, *l_old; in htab_update_elem() 77 l_new = bpf_alloc(sizeof(*l_new)); in htab_update_elem() 78 if (!l_new) in htab_update_elem() 80 l_new->key = key; in htab_update_elem() 81 l_new->hash = htab_hash(key); in htab_update_elem() 82 l_new->value = value; in htab_update_elem() 84 list_add_head(&l_new->hash_node, head); in htab_update_elem() 71 hashtab_elem_t *l_new = NULL, *l_old; htab_update_elem() local
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 486 struct htab_elem *__percpu *pptr, *l_new; in htab_pcpu_mem_dtor() 500 l_new = container_of(l, struct htab_elem, fnode); in htab_dtor_ctx_free() 501 *per_cpu_ptr(pptr, cpu) = l_new; in htab_dtor_ctx_free() 1276 struct htab_elem *l_new, **pl_new; in htab_map_update_elem() 1288 l_new = READ_ONCE(*pl_new); in htab_map_update_elem() 1290 if (!l_new) in htab_map_update_elem() 1292 } while (!try_cmpxchg_local(pl_new, &l_new, NULL)); in htab_map_update_elem() 1299 l_new = container_of(l, struct htab_elem, fnode); in htab_lru_push_free() 1316 l_new = ERR_PTR(-ENOMEM); in htab_lru_map_update_elem() 1319 l_new in htab_lru_map_update_elem() 391 struct htab_elem *__percpu *pptr, *l_new; alloc_extra_elems() local 1104 struct htab_elem *l_new, **pl_new; alloc_htab_elem() local 1199 struct htab_elem *l_new, *l_old; htab_map_update_elem() local 1306 struct htab_elem *l_new, *l_old = NULL; htab_lru_map_update_elem() local 1382 struct htab_elem *l_new, *l_old; htab_map_update_elem_in_place() local 1445 struct htab_elem *l_new = NULL, *l_old; __htab_lru_percpu_map_update_elem() local [all...] |