Home
last modified time | relevance | path

Searched refs:ctor (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.3-rc2/kernel/livepatch/
A Dshadow.c106 klp_shadow_ctor_t ctor, void *ctor_data, in __klp_shadow_get_or_alloc() argument
143 if (ctor) { in __klp_shadow_get_or_alloc()
146 err = ctor(obj, new_shadow->data, ctor_data); in __klp_shadow_get_or_alloc()
198 klp_shadow_ctor_t ctor, void *ctor_data) in klp_shadow_alloc() argument
201 ctor, ctor_data, true); in klp_shadow_alloc()
227 klp_shadow_ctor_t ctor, void *ctor_data) in klp_shadow_get_or_alloc() argument
230 ctor, ctor_data, false); in klp_shadow_get_or_alloc()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Dudisp.c37 sclass->ctor = nvkm_uconn_new; in nvkm_udisp_sclass()
43 sclass->ctor = nvkm_uoutp_new; in nvkm_udisp_sclass()
49 sclass->ctor = nvkm_uhead_new; in nvkm_udisp_sclass()
53 if (disp->func->user[index].ctor) { in nvkm_udisp_sclass()
55 sclass->ctor = disp->func->user[index].ctor; in nvkm_udisp_sclass()
A Dchan.c117 ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); in nvkm_disp_chan_child_new()
143 sclass->ctor = nvkm_disp_chan_child_new; in nvkm_disp_chan_child_get()
207 for (i = 0; disp->func->user[i].ctor; i++) { in nvkm_disp_chan_new_()
/linux-6.3-rc2/tools/testing/radix-tree/
A Dlinux.c25 void (*ctor)(void *); member
82 if (cachep->ctor) in kmem_cache_alloc_lru()
83 cachep->ctor(p); in kmem_cache_alloc_lru()
172 if (cachep->ctor) in kmem_cache_alloc_bulk()
173 cachep->ctor(p[i]); in kmem_cache_alloc_bulk()
192 unsigned int flags, void (*ctor)(void *)) in kmem_cache_create()
203 ret->ctor = ctor; in kmem_cache_create()
/linux-6.3-rc2/lib/livepatch/
A Dtest_klp_shadow_vars.c73 gfp_t gfp_flags, klp_shadow_ctor_t ctor, in shadow_alloc() argument
79 sv = klp_shadow_alloc(obj, id, size, gfp_flags, ctor, var); in shadow_alloc()
81 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_alloc()
88 gfp_t gfp_flags, klp_shadow_ctor_t ctor, in shadow_get_or_alloc() argument
94 sv = klp_shadow_get_or_alloc(obj, id, size, gfp_flags, ctor, var); in shadow_get_or_alloc()
96 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_get_or_alloc()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/sw/
A Dbase.c55 return sclass->ctor(chan, oclass, data, size, pobject); in nvkm_sw_oclass_new()
64 while (sw->func->sclass[c].ctor) { in nvkm_sw_oclass_get()
68 oclass->base.ctor = nvkm_sw_oclass_new; in nvkm_sw_oclass_get()
A Dpriv.h12 int (*ctor)(struct nvkm_sw_chan *, const struct nvkm_oclass *, member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/
A Doclass.h13 int (*ctor)(const struct nvkm_oclass *, void *data, u32 size, member
18 int (*ctor)(const struct nvkm_oclass *, void *data, u32 size, member
A Ddevice.h102 int (*ctor)(struct nvkm_device *, enum nvkm_subdev_type, int inst, data **); \
130 int (*ctor)(struct nvkm_device *, const struct nvkm_oclass *, member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Duchan.c182 ret = oclass->base.ctor(&(const struct nvkm_oclass) { in nvkm_uchan_object_new()
228 if (!oclass->base.ctor) in nvkm_uchan_sclass()
229 oclass->base.ctor = nvkm_object_new; in nvkm_uchan_sclass()
230 oclass->ctor = nvkm_uchan_object_new; in nvkm_uchan_sclass()
241 if (!oclass->base.ctor) in nvkm_uchan_sclass()
242 oclass->base.ctor = nvkm_object_new; in nvkm_uchan_sclass()
243 oclass->ctor = nvkm_uchan_object_new; in nvkm_uchan_sclass()
A Dcgrp.c161 if (ret == 0 && engn->func->ctor) in nvkm_cgrp_vctx_get()
162 ret = engn->func->ctor(engn, vctx); in nvkm_cgrp_vctx_get()
A Dgv100.c112 .ctor = gk104_ectx_ctor,
141 .ctor = gv100_ectx_ce_ctor,
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/
A Dclient.c67 .ctor = nvkm_uclient_new,
126 return oclass->base.ctor(oclass, data, size, pobject); in nvkm_client_child_new()
142 oclass->ctor = nvkm_client_child_new; in nvkm_client_child_get()
/linux-6.3-rc2/mm/
A Dslab_common.c143 if (s->ctor) in slab_unmergeable()
161 slab_flags_t flags, const char *name, void (*ctor)(void *)) in find_mergeable()
168 if (ctor) in find_mergeable()
210 unsigned int usersize, void (*ctor)(void *), in create_cache()
227 s->ctor = ctor; in create_cache()
282 void (*ctor)(void *)) in kmem_cache_create_usercopy()
330 s = __kmem_cache_alias(name, size, align, flags, ctor); in kmem_cache_create_usercopy()
342 flags, useroffset, usersize, ctor, NULL); in kmem_cache_create_usercopy()
393 slab_flags_t flags, void (*ctor)(void *)) in kmem_cache_create()
396 ctor); in kmem_cache_create()
A Dslab.h222 void (*ctor)(void *); /* Called on object slot creation */ member
305 slab_flags_t flags, const char *name, void (*ctor)(void *));
309 slab_flags_t flags, void (*ctor)(void *));
316 slab_flags_t flags, void (*ctor)(void *)) in __kmem_cache_alias()
856 if (c->ctor) in slab_want_init_on_alloc()
869 return !(c->ctor || in slab_want_init_on_free()
/linux-6.3-rc2/arch/powerpc/mm/
A Dinit-common.c79 static inline void (*ctor(int shift))(void *) in ctor() function
142 new = kmem_cache_create(name, table_size, align, 0, ctor(shift)); in pgtable_cache_add()
/linux-6.3-rc2/lib/
A Dtest_meminit.c382 bool ctor, rcu, zero; in test_kmemcache() local
387 ctor = flags & 1; in test_kmemcache()
390 if (ctor & zero) in test_kmemcache()
392 num_tests += do_kmem_cache_size(size, ctor, rcu, zero, in test_kmemcache()
/linux-6.3-rc2/include/linux/
A Dlivepatch.h222 klp_shadow_ctor_t ctor, void *ctor_data);
225 klp_shadow_ctor_t ctor, void *ctor_data);
A Dslab_def.h39 void (*ctor)(void *obj); member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
A Dummu.c40 oclass->ctor = nvkm_umem_new; in nvkm_ummu_sclass()
48 oclass->ctor = nvkm_uvmm_new; in nvkm_ummu_sclass()
A Dpriv.h31 int (*ctor)(struct nvkm_mmu *, bool managed, u64 addr, u64 size, member
/linux-6.3-rc2/tools/include/linux/
A Dslab.h42 void (*ctor)(void *));
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
A Dbase.c57 vfn->user.ctor = nvkm_uvfn_new; in nvkm_vfn_new_()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Duser.c312 return sclass->ctor(udev->device, oclass, data, size, pobject); in nvkm_udevice_child_new()
354 oclass->ctor = nvkm_udevice_child_new; in nvkm_udevice_child_get()
429 .ctor = nvkm_udevice_new,
/linux-6.3-rc2/mm/kmsan/
A Dhooks.c60 if (s->ctor || (s->flags & SLAB_TYPESAFE_BY_RCU)) in kmsan_slab_alloc()
86 if (s->ctor) in kmsan_slab_free()

Completed in 39 milliseconds

123