Lines Matching refs:LSM
149 #define ATTR(LSM, NAME, MODE) \ argument
152 { .lsm = LSM })
2773 #define LSM_DIR_OPS(LSM) \ argument
2774 static int proc_##LSM##_attr_dir_iterate(struct file *filp, \
2778 LSM##_attr_dir_stuff, \
2779 ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2782 static const struct file_operations proc_##LSM##_attr_dir_ops = { \
2784 .iterate = proc_##LSM##_attr_dir_iterate, \
2788 static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
2792 LSM##_attr_dir_stuff, \
2793 LSM##_attr_dir_stuff + ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2796 static const struct inode_operations proc_##LSM##_attr_dir_inode_ops = { \
2797 .lookup = proc_##LSM##_attr_dir_lookup, \