/linux/kernel/livepatch/ |
H A D | shadow.c | 106 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/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | udisp.c | 37 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()
|
H A D | chan.c | 95 ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); in nvkm_disp_chan_child_new() 121 sclass->ctor = nvkm_disp_chan_child_new; in nvkm_disp_chan_child_get() 183 for (i = 0; disp->func->user[i].ctor; i++) { in nvkm_disp_chan_new_()
|
/linux/tools/testing/shared/ |
H A D | linux.c | 25 void (*ctor)(void *); member 103 if (cachep->ctor) in kmem_cache_alloc_lru() 104 cachep->ctor(p); in kmem_cache_alloc_lru() 205 if (cachep->ctor) in kmem_cache_alloc_bulk() 206 cachep->ctor(p[i]); in kmem_cache_alloc_bulk() 234 unsigned int flags, void (*ctor)(void *)) in kmem_cache_create() 245 ret->ctor = ctor; in kmem_cache_create()
|
/linux/tools/testing/selftests/livepatch/test_modules/ |
H A D | test_klp_shadow_vars.c | 73 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/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | base.c | 55 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()
|
H A D | priv.h | 12 int (*ctor)(struct nvkm_sw_chan *, const struct nvkm_oclass *, member
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | client.c | 65 .ctor = nvkm_uclient_new, 72 return oclass->base.ctor(oclass, data, size, pobject); in nvkm_client_child_new() 88 oclass->ctor = nvkm_client_child_new; in nvkm_client_child_get()
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | oclass.h | 13 int (*ctor)(const struct nvkm_oclass *, void *data, u32 size, member 18 int (*ctor)(const struct nvkm_oclass *, void *data, u32 size, member
|
H A D | device.h | 103 int (*ctor)(struct nvkm_device *, enum nvkm_subdev_type, int inst, data **); \ 130 int (*ctor)(struct nvkm_device *, const struct nvkm_oclass *, member
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | uchan.c | 182 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()
|
/linux/include/linux/ |
H A D | slab.h | 311 void (*ctor)(void *); member 320 slab_flags_t flags, void (*ctor)(void *)) in __kmem_cache_create() 324 .ctor = ctor, in __kmem_cache_create() 352 void (*ctor)(void *)) in kmem_cache_create_usercopy() 356 .ctor = ctor, in kmem_cache_create_usercopy() 751 void (*ctor)(void *));
|
H A D | livepatch.h | 223 klp_shadow_ctor_t ctor, void *ctor_data); 226 klp_shadow_ctor_t ctor, void *ctor_data);
|
/linux/mm/ |
H A D | slab.h | 276 void (*ctor)(void *object); /* Object constructor */ member 436 slab_flags_t flags, const char *name, void (*ctor)(void *)); 439 slab_flags_t flags, void (*ctor)(void *)); 656 if (c->ctor) in slab_want_init_on_alloc() 669 return !(c->ctor ||
|
H A D | slab_common.c | 156 if (s->ctor) in slab_unmergeable() 174 slab_flags_t flags, const char *name, void (*ctor)(void *)) in find_mergeable() 181 if (ctor) in find_mergeable() 322 args->ctor); in __kmem_cache_create_args() 369 * @ctor: A constructor for the objects, run when new allocations are made. 381 void (*ctor)(void *)) in kmem_buckets_create() 437 cache_usersize, ctor); in kmem_buckets_create()
|
/linux/arch/powerpc/mm/ |
H A D | init-common.c | 82 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/lib/ |
H A D | test_meminit.c | 382 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/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | user.c | 265 return sclass->ctor(udev->device, oclass, data, size, pobject); in nvkm_udevice_child_new() 306 oclass->ctor = nvkm_udevice_child_new; in nvkm_udevice_child_get() 345 .ctor = nvkm_udevice_new,
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | ad102.c | 35 .booter.ctor = ga102_gsp_booter_ctor,
|
H A D | tu116.c | 34 .booter.ctor = tu102_gsp_booter_ctor,
|
H A D | ga100.c | 51 .booter.ctor = tu102_gsp_booter_ctor,
|
H A D | priv.h | 34 int (*ctor)(struct nvkm_gsp *, const char *name, const struct firmware *, member
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | ummu.c | 40 oclass->ctor = nvkm_umem_new; in nvkm_ummu_sclass() 48 oclass->ctor = nvkm_uvmm_new; in nvkm_ummu_sclass()
|
/linux/tools/include/linux/ |
H A D | slab.h | 41 void (*ctor)(void *));
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/ |
H A D | base.c | 57 vfn->user.ctor = nvkm_uvfn_new; in nvkm_vfn_new_()
|