Searched refs:__fops (Results 1 – 2 of 2) sorted by relevance
| /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, \ 62 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 63 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 65 #define DEFINE_DEBUGFS_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 66 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|
| D | fs.h | 3625 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument 3626 static int __fops ## _open(struct inode *inode, struct file *file) \ 3631 static const struct file_operations __fops = { \ 3633 .open = __fops ## _open, \ 3640 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 3641 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 3643 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 3644 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|