Lines Matching refs:LSM
148 #define ATTR(LSM, NAME, MODE) \ argument
151 { .lsm = LSM })
2759 #define LSM_DIR_OPS(LSM) \ argument
2760 static int proc_##LSM##_attr_dir_iterate(struct file *filp, \
2764 LSM##_attr_dir_stuff, \
2765 ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2768 static const struct file_operations proc_##LSM##_attr_dir_ops = { \
2770 .iterate = proc_##LSM##_attr_dir_iterate, \
2774 static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
2778 LSM##_attr_dir_stuff, \
2779 LSM##_attr_dir_stuff + ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2782 static const struct inode_operations proc_##LSM##_attr_dir_inode_ops = { \
2783 .lookup = proc_##LSM##_attr_dir_lookup, \