Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/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-6.1.9/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-6.1.9/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.c162 if (engine->func->dtor) in nvkm_engine_dtor()
163 return engine->func->dtor(engine); in nvkm_engine_dtor()
170 .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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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.c215 if (fb->func->dtor) in nvkm_fb_dtor()
216 return fb->func->dtor(fb); in nvkm_fb_dtor()
222 .dtor = nvkm_fb_dtor,
Dgp10b.c26 .dtor = gf100_fb_dtor,
Dgk20a.c28 .dtor = gf100_fb_dtor,
Dgm20b.c28 .dtor = gf100_fb_dtor,
Dga102.c27 .dtor = gf100_fb_dtor,
Dga100.c27 .dtor = gf100_fb_dtor,
Dgf108.c29 .dtor = gf100_fb_dtor,
Dgm107.c29 .dtor = gf100_fb_dtor,
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c222 if (imem->func->dtor) in nvkm_instmem_dtor()
223 data = imem->func->dtor(imem); in nvkm_instmem_dtor()
230 .dtor = nvkm_instmem_dtor,
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dbase.c124 return bar->func->dtor(bar); in nvkm_bar_dtor()
129 .dtor = nvkm_bar_dtor,
/linux-6.1.9/include/linux/
Dlivepatch.h226 void klp_shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor);
227 void klp_shadow_free_all(unsigned long id, klp_shadow_dtor_t dtor);

1234567