Lines Matching full:minor
35 u32 major, minor; member
103 if (walk->minor != ex->minor) in dev_exception_add()
131 if (walk->minor != ex->minor) in dev_exception_rm()
292 set_majmin(min, ex->minor); in devcgroup_seq_show()
307 * @minor: device file minor number, ~0 to match all
316 u32 major, u32 minor, short access) in match_exception() argument
327 if (ex->minor != ~0 && ex->minor != minor) in match_exception()
342 * @minor: device file minor number, ~0 to match all
353 u32 major, u32 minor, short access) in match_exception_partial() argument
369 if (ex->minor != ~0 && minor != ~0 && ex->minor != minor) in match_exception_partial()
418 refex->minor, in verify_new_ex()
433 refex->major, refex->minor, in verify_new_ex()
488 ex->major, ex->minor, ex->access); in parent_allows_removal()
677 /* read minor */ in devcgroup_update_access()
679 ex.minor = ~0; in devcgroup_update_access()
689 rc = kstrtou32(temp, 10, &ex.minor); in devcgroup_update_access()
802 * @minor: device minor number
807 static int devcgroup_legacy_check_permission(short type, u32 major, u32 minor, in devcgroup_legacy_check_permission() argument
818 type, major, minor, access); in devcgroup_legacy_check_permission()
822 minor, access); in devcgroup_legacy_check_permission()
835 int devcgroup_check_permission(short type, u32 major, u32 minor, short access) in devcgroup_check_permission() argument
837 int rc = BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access); in devcgroup_check_permission()
843 return devcgroup_legacy_check_permission(type, major, minor, access); in devcgroup_check_permission()