Lines Matching refs:LSM
146 #define ATTR(LSM, NAME, MODE) \ argument
149 { .lsm = LSM })
2612 #define LSM_DIR_OPS(LSM) \ argument
2613 static int proc_##LSM##_attr_dir_iterate(struct file *filp, \
2617 LSM##_attr_dir_stuff, \
2618 ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2621 static const struct file_operations proc_##LSM##_attr_dir_ops = { \
2623 .iterate = proc_##LSM##_attr_dir_iterate, \
2627 static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
2631 LSM##_attr_dir_stuff, \
2632 LSM##_attr_dir_stuff + ARRAY_SIZE(LSM##_attr_dir_stuff)); \
2635 static const struct inode_operations proc_##LSM##_attr_dir_inode_ops = { \
2636 .lookup = proc_##LSM##_attr_dir_lookup, \