Lines Matching refs:LSM
149 #define ATTR(LSM, NAME, MODE) \ argument
152 { .lsm = LSM })
2779 #define LSM_DIR_OPS(LSM) \ argument
2780 static int proc_##LSM##_attr_dir_iterate(struct file *filp, \
2784 LSM##_attr_dir_stuff, \
2785 ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2788 static const struct file_operations proc_##LSM##_attr_dir_ops = { \
2790 .iterate = proc_##LSM##_attr_dir_iterate, \
2794 static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
2798 LSM##_attr_dir_stuff, \
2799 LSM##_attr_dir_stuff + ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2802 static const struct inode_operations proc_##LSM##_attr_dir_inode_ops = { \
2803 .lookup = proc_##LSM##_attr_dir_lookup, \