Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dfs.h3532 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument
3533 static int __fops ## _open(struct inode *inode, struct file *file) \
3538 static const struct file_operations __fops = { \
3540 .open = __fops ## _open, \
3547 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
3548 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false)
3550 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument
3551 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
/linux/arch/powerpc/platforms/cell/spufs/
H A 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, \