Lines Matching full:minor
35 u32 major, minor; member
114 if (walk->minor != ex->minor) in dev_exception_add()
142 if (walk->minor != ex->minor) in dev_exception_rm()
303 set_majmin(min, ex->minor); in devcgroup_seq_show()
318 * @minor: device file minor number, ~0 to match all
327 u32 major, u32 minor, short access) in match_exception() argument
338 if (ex->minor != ~0 && ex->minor != minor) in match_exception()
353 * @minor: device file minor number, ~0 to match all
364 u32 major, u32 minor, short access) in match_exception_partial() argument
380 if (ex->minor != ~0 && minor != ~0 && ex->minor != minor) in match_exception_partial()
429 refex->minor, in verify_new_ex()
444 refex->major, refex->minor, in verify_new_ex()
499 ex->major, ex->minor, ex->access); in parent_allows_removal()
702 /* read minor */ in devcgroup_update_access()
704 ex.minor = ~0; in devcgroup_update_access()
714 rc = kstrtou32(temp, 10, &ex.minor); in devcgroup_update_access()
827 * @minor: device minor number
832 static int devcgroup_legacy_check_permission(short type, u32 major, u32 minor, in devcgroup_legacy_check_permission() argument
843 type, major, minor, access); in devcgroup_legacy_check_permission()
847 minor, access); in devcgroup_legacy_check_permission()
860 int devcgroup_check_permission(short type, u32 major, u32 minor, short access) in devcgroup_check_permission() argument
862 int rc = BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access); in devcgroup_check_permission()
868 return devcgroup_legacy_check_permission(type, major, minor, access); in devcgroup_check_permission()