Searched refs:__fops (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | debugfs.h | 48 #define DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument 49 static int __fops ## _open(struct inode *inode, struct file *file) \ 54 static const struct file_operations __fops = { \ 56 .open = __fops ## _open, \ 63 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 64 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 66 #define DEFINE_DEBUGFS_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 67 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|
A D | fs.h | 3063 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument 3064 static int __fops ## _open(struct inode *inode, struct file *file) \ 3069 static const struct file_operations __fops = { \ 3071 .open = __fops ## _open, \ 3078 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 3079 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 3081 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 3082 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | dma_test.c | 358 #define DMA_TEST_DEBUGFS_ATTR(__fops, __get, __validate, __set) \ argument 359 static int __fops ## _show(void *data, u64 *val) \ 372 static int __fops ## _store(void *data, u64 val) \ 388 DEFINE_DEBUGFS_ATTRIBUTE(__fops ## _fops, __fops ## _show, \ 389 __fops ## _store, "%llu\n")
|
/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/ |
A D | file.c | 141 #define DEFINE_SPUFS_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 142 static int __fops ## _open(struct inode *inode, struct file *file) \ 147 static const struct file_operations __fops = { \ 148 .open = __fops ## _open, \
|
Completed in 19 milliseconds