Lines Matching defs:fops
180 #define fops_get(fops) (fops)
181 #define replace_fops(f, fops) ((f)->f_op = (fops))
189 const struct file_operations *fops);
192 const struct file_operations *fops, uid_t uid,
206 const struct file_operations *fops)
209 return (__register_chrdev(major, 0, 256, name, fops));
214 const struct file_operations *fops, uid_t uid, gid_t gid, int mode)
217 return (__register_chrdev_p(major, 0, 256, name, fops, uid, gid, mode));
396 #define DEFINE_SIMPLE_ATTRIBUTE(fops, get, set, fmt) \
397 __DEFINE_SIMPLE_ATTRIBUTE(fops, get, set, fmt, simple_attr_write)
398 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(fops, get, set, fmt) \
399 __DEFINE_SIMPLE_ATTRIBUTE(fops, get, set, fmt, simple_attr_write_signed)