Home
last modified time | relevance | path

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

123456

/Linux-v5.10/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()
/Linux-v5.10/lib/livepatch/
Dtest_klp_shadow_vars.c102 static void shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor) in shadow_free() argument
104 klp_shadow_free(obj, id, dtor); in shadow_free()
106 __func__, ptr_id(obj), id, ptr_id(dtor)); in shadow_free()
109 static void shadow_free_all(unsigned long id, klp_shadow_dtor_t dtor) in shadow_free_all() argument
111 klp_shadow_free_all(id, dtor); in shadow_free_all()
112 pr_info("klp_%s(id=0x%lx, dtor=PTR%d)\n", __func__, id, ptr_id(dtor)); in shadow_free_all()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/core/
Doproxy.c166 if (oproxy->func->dtor[0]) in nvkm_oproxy_dtor()
167 oproxy->func->dtor[0](oproxy); in nvkm_oproxy_dtor()
169 if (oproxy->func->dtor[1]) in nvkm_oproxy_dtor()
170 oproxy->func->dtor[1](oproxy); in nvkm_oproxy_dtor()
176 .dtor = nvkm_oproxy_dtor,
Dengine.c157 if (engine->func->dtor) in nvkm_engine_dtor()
158 return engine->func->dtor(engine); in nvkm_engine_dtor()
164 .dtor = nvkm_engine_dtor,
Dmemory.c112 if (memory->func->dtor) in nvkm_memory_del()
113 memory = memory->func->dtor(memory); in nvkm_memory_del()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dchan.c80 if (chan->func->dtor) in nvkm_sw_chan_dtor()
81 data = chan->func->dtor(chan); in nvkm_sw_chan_dtor()
92 .dtor = nvkm_sw_chan_dtor,
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dbase.c112 if (init->func->dtor) in nvkm_devinit_dtor()
113 data = init->func->dtor(init); in nvkm_devinit_dtor()
122 .dtor = nvkm_devinit_dtor,
Dnv1a.c31 .dtor = nv04_devinit_dtor,
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dbase.c158 if (gr->func->dtor) in nvkm_gr_dtor()
159 return gr->func->dtor(gr); in nvkm_gr_dtor()
165 .dtor = nvkm_gr_dtor,
Dnv2a.c15 .dtor = nv20_gr_chan_dtor,
96 .dtor = nv20_gr_dtor,
Dnv25.c15 .dtor = nv20_gr_chan_dtor,
105 .dtor = nv20_gr_dtor,
Dnv34.c15 .dtor = nv20_gr_chan_dtor,
104 .dtor = nv20_gr_dtor,
Dnv35.c15 .dtor = nv20_gr_chan_dtor,
104 .dtor = nv20_gr_dtor,
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c95 .dtor = nvkm_vram_dtor,
163 if (ram->func->dtor) in nvkm_ram_del()
164 *pram = ram->func->dtor(ram); in nvkm_ram_del()
Dbase.c213 if (fb->func->dtor) in nvkm_fb_dtor()
214 return fb->func->dtor(fb); in nvkm_fb_dtor()
220 .dtor = nvkm_fb_dtor,
Dgp10b.c26 .dtor = gf100_fb_dtor,
Dgk20a.c28 .dtor = gf100_fb_dtor,
Dgm20b.c28 .dtor = gf100_fb_dtor,
Dgf108.c29 .dtor = gf100_fb_dtor,
Dgm107.c29 .dtor = gf100_fb_dtor,
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c221 if (imem->func->dtor) in nvkm_instmem_dtor()
222 return imem->func->dtor(imem); in nvkm_instmem_dtor()
228 .dtor = nvkm_instmem_dtor,
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dbase.c124 return bar->func->dtor(bar); in nvkm_bar_dtor()
129 .dtor = nvkm_bar_dtor,
Dgk20a.c26 .dtor = gf100_bar_dtor,
/Linux-v5.10/include/linux/
Dlivepatch.h228 void klp_shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor);
229 void klp_shadow_free_all(unsigned long id, klp_shadow_dtor_t dtor);
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Doproxy.h14 void (*dtor[2])(struct nvkm_oproxy *); member

123456