Lines Matching refs:access

37 	short access;  member
106 walk->access |= ex->access; in dev_exception_add()
134 walk->access &= ~ex->access; in dev_exception_rm()
135 if (!walk->access) { in dev_exception_rm()
238 static void set_access(char *acc, short access) in set_access() argument
242 if (access & DEVCG_ACC_READ) in set_access()
244 if (access & DEVCG_ACC_WRITE) in set_access()
246 if (access & DEVCG_ACC_MKNOD) in set_access()
290 set_access(acc, ex->access); in devcgroup_seq_show()
316 u32 major, u32 minor, short access) in match_exception() argument
330 if (access & (~ex->access)) in match_exception()
353 u32 major, u32 minor, short access) in match_exception_partial() argument
376 if (!(access & ex->access)) in match_exception_partial()
419 refex->access); in verify_new_ex()
434 refex->access); in verify_new_ex()
488 ex->major, ex->minor, ex->access); in parent_allows_removal()
700 ex.access |= DEVCG_ACC_READ; in devcgroup_update_access()
703 ex.access |= DEVCG_ACC_WRITE; in devcgroup_update_access()
706 ex.access |= DEVCG_ACC_MKNOD; in devcgroup_update_access()
808 short access) 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()