Searched refs:pptr (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | hashtab.c | 185 void __percpu *pptr) in htab_elem_set_ptr() argument 187 *(void __percpu **)(l->key + key_size) = pptr; in htab_elem_set_ptr() 213 void __percpu *pptr; in htab_free_elems() local 215 pptr = htab_elem_get_ptr(get_htab_elem(htab, i), in htab_free_elems() 217 free_percpu(pptr); in htab_free_elems() 268 void __percpu *pptr; in prealloc_init() local 270 pptr = __alloc_percpu_gfp(size, 8, GFP_USER | __GFP_NOWARN); in prealloc_init() 271 if (!pptr) in prealloc_init() 274 pptr); in prealloc_init() 320 struct htab_elem *__percpu *pptr, *l_new; in alloc_extra_elems() local [all …]
|
D | arraymap.c | 265 void __percpu *pptr; in bpf_percpu_array_copy() local 278 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_copy() 280 bpf_long_memcpy(value + off, per_cpu_ptr(pptr, cpu), size); in bpf_percpu_array_copy() 349 void __percpu *pptr; in bpf_percpu_array_update() local 373 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_update() 375 bpf_long_memcpy(per_cpu_ptr(pptr, cpu), value + off, size); in bpf_percpu_array_update() 433 void __percpu *pptr; in percpu_array_map_seq_show_elem() local 439 pptr = array->pptrs[index & array->index_mask]; in percpu_array_map_seq_show_elem() 443 per_cpu_ptr(pptr, cpu), m); in percpu_array_map_seq_show_elem() 560 void __percpu **pptr; in __bpf_array_map_seq_show() local [all …]
|