Searched refs:pptr (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | hashtab.c | 198 void __percpu *pptr) in htab_elem_set_ptr() argument 200 *(void __percpu **)(l->key + key_size) = pptr; in htab_elem_set_ptr() 271 void __percpu *pptr; in htab_free_elems() local 273 pptr = htab_elem_get_ptr(get_htab_elem(htab, i), in htab_free_elems() 275 free_percpu(pptr); in htab_free_elems() 326 void __percpu *pptr; in prealloc_init() local 328 pptr = bpf_map_alloc_percpu(&htab->map, size, 8, in prealloc_init() 330 if (!pptr) in prealloc_init() 333 pptr); in prealloc_init() 379 struct htab_elem *__percpu *pptr, *l_new; in alloc_extra_elems() local [all …]
|
D | arraymap.c | 267 void __percpu *pptr; in bpf_percpu_array_copy() local 280 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_copy() 282 copy_map_value_long(map, value + off, per_cpu_ptr(pptr, cpu)); in bpf_percpu_array_copy() 362 void __percpu *pptr; in bpf_percpu_array_update() local 386 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_update() 388 copy_map_value_long(map, per_cpu_ptr(pptr, cpu), value + off); in bpf_percpu_array_update() 389 check_and_free_fields(array, per_cpu_ptr(pptr, cpu)); in bpf_percpu_array_update() 429 void __percpu *pptr = array->pptrs[i & array->index_mask]; in array_map_free() local 433 bpf_map_free_kptrs(map, per_cpu_ptr(pptr, cpu)); in array_map_free() 479 void __percpu *pptr; in percpu_array_map_seq_show_elem() local [all …]
|
D | memalloc.c | 135 void *pptr = __alloc_percpu_gfp(c->unit_size, 8, flags); in __alloc() local 137 if (!obj || !pptr) { in __alloc() 138 free_percpu(pptr); in __alloc() 142 obj[1] = pptr; in __alloc()
|