Lines Matching refs:ctor
106 klp_shadow_ctor_t ctor, void *ctor_data,
120 * More complex setting can be done by @ctor function. But it is
143 if (ctor) {
146 err = ctor(obj, new_shadow->data, ctor_data);
178 * @ctor: custom constructor to initialize the shadow data (optional)
179 * @ctor_data: pointer to any data needed by @ctor (optional)
182 * The data are zeroed by default. They are further initialized by @ctor
190 * the variable did not exist before. The cost is that @ctor is called
198 klp_shadow_ctor_t ctor, void *ctor_data)
201 ctor, ctor_data, true);
211 * @ctor: custom constructor to initialize the shadow data (optional)
212 * @ctor_data: pointer to any data needed by @ctor (optional)
221 * that @ctor is called in atomic context under a spin lock.
227 klp_shadow_ctor_t ctor, void *ctor_data)
230 ctor, ctor_data, false);