Home
last modified time | relevance | path

Searched refs:DEFINE_CLASS (Results 1 – 15 of 15) sorted by relevance

/linux/include/linux/
H A Dfile.h83 DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
84 DEFINE_CLASS(fd_raw, struct fd, fdput(_T), fdget_raw(fd), int fd)
85 DEFINE_CLASS(fd_pos, struct fd, fdput_pos(_T), fdget_pos(fd), int fd)
95 DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
H A Dcleanup.h275 #define DEFINE_CLASS(_name, _type, _exit, _init, _init_args...) \ macro
379 DEFINE_CLASS(_name, _type, if (!__GUARD_IS_ERR(_T)) { _unlock; }, ({ _lock; _T; }), _type _T); \
H A Didr.h136 DEFINE_CLASS(idr_alloc, struct __class_idr,
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_buf.h37 DEFINE_CLASS(xe_guc_buf, struct xe_guc_buf,
42 DEFINE_CLASS(xe_guc_buf_from_data, struct xe_guc_buf,
H A Dxe_validation.h167 DEFINE_CLASS(xe_validation, struct xe_validation_ctx *,
/linux/arch/powerpc/platforms/cell/
H A Dspu_syscalls.c59 DEFINE_CLASS(spufs_calls, struct spufs_calls *, spufs_calls_put(_T), spufs_calls_get(), void) in DEFINE_CLASS() function
/linux/kernel/futex/
H A Dfutex.h240 DEFINE_CLASS(hb, struct futex_hash_bucket *,
244 DEFINE_CLASS(private_hash, struct futex_private_hash *,
/linux/include/sound/
H A Dhda_codec.h529 DEFINE_CLASS(snd_hda_power, struct __hda_power_obj,
532 DEFINE_CLASS(snd_hda_power_pm, struct __hda_power_obj,
/linux/sound/usb/
H A Dusbaudio.h161 DEFINE_CLASS(snd_usb_lock, struct __snd_usb_lock,
/linux/drivers/thermal/
H A Dthermal_core.h213 DEFINE_CLASS(thermal_zone_get_by_id, struct thermal_zone_device *,
/linux/drivers/gpio/
H A Dgpiolib.h229 DEFINE_CLASS(gpio_chip_guard,
/linux/include/drm/ttm/
H A Dttm_bo.h508 DEFINE_CLASS(ttm_bo_lru_cursor, struct ttm_bo_lru_cursor *,
/linux/include/linux/gpio/
H A Ddriver.h525 DEFINE_CLASS(_gpiochip_for_each_data,
/linux/kernel/sched/
H A Dsyscalls.c281 DEFINE_CLASS(find_get_task, struct task_struct *, if (_T) put_task_struct(_T), in DEFINE_CLASS() function
/linux/kernel/time/
H A Dposix-timers.c88 DEFINE_CLASS(lock_timer, struct k_itimer *, unlock_timer(_T), __lock_timer(id), timer_t id);