Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dfs.h3534 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \
3535 static int __fops ## _open(struct inode *inode, struct file *file) \
3540 static const struct file_operations __fops = { \
3542 .open = __fops ## _open, \
3549 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
3550 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false)
3552 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \
3553 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true) in __simple_attr_check_format()
3531 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops,__get,__set,__fmt,__is_signed) global() argument
3546 DEFINE_SIMPLE_ATTRIBUTE(__fops,__get,__set,__fmt) global() argument
/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, \