Home
last modified time | relevance | path

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

1234

/linux/fs/erofs/
A Dzpvec.h39 if (!ctor->curr) in z_erofs_pagevec_ctor_exit()
55 if (ctor->next) in z_erofs_pagevec_ctor_next_page()
80 kmap_atomic(ctor->curr) : kmap(ctor->curr); in z_erofs_pagevec_ctor_pagedown()
83 ctor->index = 0; in z_erofs_pagevec_ctor_pagedown()
91 ctor->nr = nr; in z_erofs_pagevec_ctor_init()
92 ctor->curr = ctor->next = NULL; in z_erofs_pagevec_ctor_init()
103 ctor->next = z_erofs_pagevec_ctor_next_page(ctor, i); in z_erofs_pagevec_ctor_init()
118 ctor->index + 1 == ctor->nr) in z_erofs_pagevec_enqueue()
122 if (ctor->index >= ctor->nr) in z_erofs_pagevec_enqueue()
143 if (ctor->index >= ctor->nr) { in z_erofs_pagevec_dequeue()
[all …]
/linux/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/tools/testing/radix-tree/
A Dlinux.c26 void (*ctor)(void *); member
50 if (cachep->ctor) in kmem_cache_alloc()
51 cachep->ctor(p); in kmem_cache_alloc()
109 unsigned int flags, void (*ctor)(void *)) in kmem_cache_create()
118 ret->ctor = ctor; in kmem_cache_create()
/linux/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/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dbase.c144 .ctor = nvkm_fifo_kevent_ctor,
162 .ctor = nvkm_fifo_cevent_ctor,
205 .ctor = nvkm_fifo_uevent_ctor,
229 .ctor = nvkm_fifo_class_new_,
239 return sclass->ctor(fifo, oclass, data, size, pobject); in nvkm_fifo_class_new()
244 .ctor = nvkm_fifo_class_new,
A Dchan.c185 ret = oclass->base.ctor(&(const struct nvkm_oclass) { in nvkm_fifo_chan_child_new()
228 if (!oclass->base.ctor) in nvkm_fifo_chan_child_get()
229 oclass->base.ctor = nvkm_object_new; in nvkm_fifo_chan_child_get()
230 oclass->ctor = nvkm_fifo_chan_child_new; in nvkm_fifo_chan_child_get()
241 if (!oclass->base.ctor) in nvkm_fifo_chan_child_get()
242 oclass->base.ctor = nvkm_object_new; in nvkm_fifo_chan_child_get()
243 oclass->ctor = nvkm_fifo_chan_child_new; in nvkm_fifo_chan_child_get()
A Dga102.c60 oclass->ctor = nvkm_object_new; in ga102_chan_sclass()
242 .ctor = ga102_chan_new,
254 .ctor = ga102_user_new,
A Dgk104.h79 int (*ctor)(const struct nvkm_oclass *, void *, u32, member
85 int (*ctor)(struct gk104_fifo *, const struct nvkm_oclass *, member
/linux/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/mm/
A Dslab_common.c171 if (s->ctor) in slab_unmergeable()
187 slab_flags_t flags, const char *name, void (*ctor)(void *)) in find_mergeable()
194 if (ctor) in find_mergeable()
236 unsigned int usersize, void (*ctor)(void *), in create_cache()
253 s->ctor = ctor; in create_cache()
306 void (*ctor)(void *)) in kmem_cache_create_usercopy()
349 s = __kmem_cache_alias(name, size, align, flags, ctor); in kmem_cache_create_usercopy()
361 flags, useroffset, usersize, ctor, NULL); in kmem_cache_create_usercopy()
412 slab_flags_t flags, void (*ctor)(void *)) in kmem_cache_create()
415 ctor); in kmem_cache_create()
A Dslab.h29 void (*ctor)(void *); /* Called on object slot creation */ member
106 slab_flags_t flags, const char *name, void (*ctor)(void *));
110 slab_flags_t flags, void (*ctor)(void *));
117 slab_flags_t flags, void (*ctor)(void *)) in __kmem_cache_alias()
610 if (c->ctor) in slab_want_init_on_alloc()
623 return !(c->ctor || in slab_want_init_on_free()
/linux/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.h93 int (*ctor)(struct nvkm_device *, enum nvkm_subdev_type, int inst, data **); \
121 int (*ctor)(struct nvkm_device *, const struct nvkm_oclass *, member
/linux/lib/
A Dtest_meminit.c352 bool ctor, rcu, zero; in test_kmemcache() local
357 ctor = flags & 1; in test_kmemcache()
360 if (ctor & zero) in test_kmemcache()
362 num_tests += do_kmem_cache_size(size, ctor, rcu, zero, in test_kmemcache()
/linux/arch/powerpc/mm/
A Dinit-common.c58 static inline void (*ctor(int shift))(void *) in ctor() function
121 new = kmem_cache_create(name, table_size, align, 0, ctor(shift)); in pgtable_cache_add()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Drootnv50.c282 return user->ctor(oclass, argv, argc, disp, pobject); in nv50_disp_root_child_new_()
291 if (root->func->user[index].ctor) { in nv50_disp_root_child_get_()
294 sclass->ctor = nv50_disp_root_child_new_; in nv50_disp_root_child_get_()
359 .ctor = nv50_disp_root_new,
A Dbase.c85 .ctor = nvkm_disp_vblank_ctor,
128 .ctor = nvkm_disp_hpd_ctor
186 return sclass->ctor(disp, oclass, data, size, &oproxy->object); in nvkm_disp_class_new()
191 .ctor = nvkm_disp_class_new,
A Dchangv100.c26 .ctor = nv50_disp_chan_uevent_ctor,
A Drootga102.c51 .ctor = ga102_disp_root_new,
/linux/include/linux/
A Dlivepatch.h224 klp_shadow_ctor_t ctor, void *ctor_data);
227 klp_shadow_ctor_t ctor, void *ctor_data);
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Dclient.c68 .ctor = nvkm_uclient_new,
234 return oclass->base.ctor(oclass, data, size, pobject); in nvkm_client_child_new()
250 oclass->ctor = nvkm_client_child_new; in nvkm_client_child_get()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
A Dbase.c57 .ctor = nvkm_fault_ntfy_ctor,
180 fault->user.ctor = nvkm_ufault_new; in nvkm_fault_new_()
/linux/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()
/linux/tools/testing/radix-tree/linux/
A Dslab.h25 void (*ctor)(void *));

Completed in 38 milliseconds

1234