Home
last modified time | relevance | path

Searched refs:__fops (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Ddebugfs.h48 #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)
Dfs.h3365 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument
3366 static int __fops ## _open(struct inode *inode, struct file *file) \
3371 static const struct file_operations __fops = { \
3373 .open = __fops ## _open, \
3380 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
3381 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false)
3383 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument
3384 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dfile.c141 #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, \