Lines Matching refs:requested
387 static inline u32 avc_xperms_audit_required(u32 requested, in avc_xperms_audit_required() argument
396 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
401 audited &= ~requested; in avc_xperms_audit_required()
404 audited = denied = requested; in avc_xperms_audit_required()
406 audited = requested & avd->auditallow; in avc_xperms_audit_required()
409 audited &= ~requested; in avc_xperms_audit_required()
419 u32 requested, struct av_decision *avd, in avc_xperms_audit() argument
427 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
430 return slow_avc_audit(state, ssid, tsid, tclass, requested, in avc_xperms_audit()
771 u32 requested, u32 audited, u32 denied, int result, in slow_avc_audit() argument
786 sad.requested = requested; in slow_avc_audit()
1015 u16 tclass, u32 requested, in avc_denied() argument
1026 avc_update_node(state->avc, AVC_CALLBACK_GRANT, requested, driver, in avc_denied()
1039 u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_has_extended_perms() argument
1055 if (WARN_ON(!requested)) in avc_has_extended_perms()
1082 avd.allowed &= ~requested; in avc_has_extended_perms()
1089 avc_update_node(state->avc, AVC_CALLBACK_ADD_XPERMS, requested, in avc_has_extended_perms()
1098 avd.allowed &= ~requested; in avc_has_extended_perms()
1101 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1103 rc = avc_denied(state, ssid, tsid, tclass, requested, in avc_has_extended_perms()
1108 rc2 = avc_xperms_audit(state, ssid, tsid, tclass, requested, in avc_has_extended_perms()
1138 u16 tclass, u32 requested, in avc_has_perm_noaudit() argument
1147 if (WARN_ON(!requested)) in avc_has_perm_noaudit()
1158 denied = requested & ~(avd->allowed); in avc_has_perm_noaudit()
1160 rc = avc_denied(state, ssid, tsid, tclass, requested, 0, 0, in avc_has_perm_noaudit()
1185 u32 requested, struct common_audit_data *auditdata) in avc_has_perm() argument
1190 rc = avc_has_perm_noaudit(state, ssid, tsid, tclass, requested, 0, in avc_has_perm()
1193 rc2 = avc_audit(state, ssid, tsid, tclass, requested, &avd, rc, in avc_has_perm()