Home
last modified time | relevance | path

Searched refs:dtor (Results 1 – 3 of 3) sorted by relevance

/kernel/livepatch/
Dshadow.c235 klp_shadow_dtor_t dtor) in klp_shadow_free_struct() argument
238 if (dtor) in klp_shadow_free_struct()
239 dtor(shadow->obj, shadow->data); in klp_shadow_free_struct()
253 void klp_shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor) in klp_shadow_free() argument
265 klp_shadow_free_struct(shadow, dtor); in klp_shadow_free()
283 void klp_shadow_free_all(unsigned long id, klp_shadow_dtor_t dtor) in klp_shadow_free_all() argument
294 klp_shadow_free_struct(shadow, dtor); in klp_shadow_free_all()
/kernel/bpf/
Dbtf.c3510 tab->off[i].kptr.dtor = (void *)addr; in btf_parse_kptrs()
7506 struct btf_id_dtor_kfunc *dtor; in btf_find_dtor_kfunc() local
7514 dtor = bsearch(&btf_id, tab->dtors, tab->cnt, sizeof(tab->dtors[0]), btf_id_cmp_func); in btf_find_dtor_kfunc()
7515 if (!dtor) in btf_find_dtor_kfunc()
7517 return dtor->kfunc_btf_id; in btf_find_dtor_kfunc()
Dsyscall.c607 off_desc->kptr.dtor((void *)old_ptr); in bpf_map_free_kptrs()