Home
last modified time | relevance | path

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

/linux-6.15/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.h243 #define DEFINE_CLASS(_name, _type, _exit, _init, _init_args...) \ macro
307 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
H A Didr.h136 DEFINE_CLASS(idr_alloc, struct __class_idr,
/linux-6.15/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,
/linux-6.15/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-6.15/drivers/thermal/
H A Dthermal_core.h213 DEFINE_CLASS(thermal_zone_get_by_id, struct thermal_zone_device *,
/linux-6.15/drivers/gpio/
H A Dgpiolib.h232 DEFINE_CLASS(gpio_chip_guard,
/linux-6.15/include/drm/ttm/
H A Dttm_bo.h530 DEFINE_CLASS(ttm_bo_lru_cursor, struct ttm_bo_lru_cursor *,
/linux-6.15/include/linux/gpio/
H A Ddriver.h571 DEFINE_CLASS(_gpiochip_for_each_data,
/linux-6.15/kernel/sched/
H A Dsyscalls.c284 DEFINE_CLASS(find_get_task, struct task_struct *, if (_T) put_task_struct(_T), in DEFINE_CLASS() function
/linux-6.15/kernel/time/
H A Dposix-timers.c88 DEFINE_CLASS(lock_timer, struct k_itimer *, unlock_timer(_T), __lock_timer(id), timer_t id);