Searched refs:__fops (Results 1 – 3 of 3) sorted by relevance
| /kernel/linux/linux-5.10/include/linux/ |
| 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)
|
| D | fs.h | 3366 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument 3367 static int __fops ## _open(struct inode *inode, struct file *file) \ 3372 static const struct file_operations __fops = { \ 3374 .open = __fops ## _open, \ 3381 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 3382 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 3384 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 3385 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
| 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, \
|