Searched refs:__fops (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/include/linux/ |
D | debugfs.h | 43 #define DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument 44 static int __fops ## _open(struct inode *inode, struct file *file) \ 49 static const struct file_operations __fops = { \ 51 .open = __fops ## _open, \ 58 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 59 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 61 #define DEFINE_DEBUGFS_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 62 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|
D | fs.h | 3356 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument 3357 static int __fops ## _open(struct inode *inode, struct file *file) \ 3362 static const struct file_operations __fops = { \ 3364 .open = __fops ## _open, \ 3371 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument 3372 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false) 3374 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument 3375 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
|