Lines Matching refs:minor
36 u32 major, minor; member
104 if (walk->minor != ex->minor) in dev_exception_add()
132 if (walk->minor != ex->minor) in dev_exception_rm()
293 set_majmin(min, ex->minor); in devcgroup_seq_show()
317 u32 major, u32 minor, short access) in match_exception() argument
328 if (ex->minor != ~0 && ex->minor != minor) in match_exception()
354 u32 major, u32 minor, short access) in match_exception_partial() argument
370 if (ex->minor != ~0 && minor != ~0 && ex->minor != minor) in match_exception_partial()
419 refex->minor, in verify_new_ex()
434 refex->major, refex->minor, in verify_new_ex()
489 ex->major, ex->minor, ex->access); in parent_allows_removal()
680 ex.minor = ~0; in devcgroup_update_access()
690 rc = kstrtou32(temp, 10, &ex.minor); in devcgroup_update_access()
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()
823 minor, access); 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()