Searched refs:DEFINE_CLASS (Results 1 - 5 of 5) sorted by relevance

/linux-master/include/linux/
H A Dfile.h86 DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
96 DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
H A Dcleanup.h82 * DEFINE_CLASS(name, type, exit, init, init_args...):
95 * DEFINE_CLASS(fdget, struct fd, fdput(_T), fdget(fd), int fd)
104 #define DEFINE_CLASS(_name, _type, _exit, _init, _init_args...) \ macro
125 * trivial wrapper around DEFINE_CLASS() above specifically
152 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
/linux-master/drivers/gpio/
H A Dgpiolib.h197 DEFINE_CLASS(gpio_chip_guard,
/linux-master/include/linux/gpio/
H A Ddriver.h544 DEFINE_CLASS(_gpiochip_for_each_data,
/linux-master/kernel/sched/
H A Dcore.c7594 DEFINE_CLASS(find_get_task, struct task_struct *, if (_T) put_task_struct(_T),

Completed in 283 milliseconds