Lines Matching full:major
36 u32 major, minor; member
102 if (walk->major != ex->major) in dev_exception_add()
130 if (walk->major != ex->major) in dev_exception_rm()
292 set_majmin(maj, ex->major); in devcgroup_seq_show()
307 * @major: device file major number, ~0 to match all
317 u32 major, u32 minor, short access) in match_exception() argument
326 if (ex->major != ~0 && ex->major != major) in match_exception()
342 * @major: device file major number, ~0 to match all
354 u32 major, u32 minor, short access) in match_exception_partial() argument
368 if (ex->major != ~0 && major != ~0 && ex->major != major) in match_exception_partial()
418 refex->major, in verify_new_ex()
434 refex->major, refex->minor, in verify_new_ex()
489 ex->major, ex->minor, ex->access); in parent_allows_removal()
658 ex.major = ~0; in devcgroup_update_access()
668 rc = kstrtou32(temp, 10, &ex.major); in devcgroup_update_access()
802 * @major: device major number
808 static int devcgroup_legacy_check_permission(short type, u32 major, u32 minor, in devcgroup_legacy_check_permission() argument
819 type, major, minor, access); in devcgroup_legacy_check_permission()
822 rc = match_exception(&dev_cgroup->exceptions, type, major, in devcgroup_legacy_check_permission()
836 int devcgroup_check_permission(short type, u32 major, u32 minor, short access) in devcgroup_check_permission() argument
838 int rc = BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access); in devcgroup_check_permission()
844 return devcgroup_legacy_check_permission(type, major, minor, access); in devcgroup_check_permission()