Lines Matching refs:mpc
258 struct mac_policy_conf *mpc; in mac_audit_check_preselect() local
264 mpc = mac_policy_list.entries[i].mpc; in mac_audit_check_preselect()
265 if (mpc == NULL) { in mac_audit_check_preselect()
269 if (mpc->mpc_ops->mpo_audit_check_preselect != NULL) { in mac_audit_check_preselect()
270 error = mpc->mpc_ops->mpo_audit_check_preselect(cred, in mac_audit_check_preselect()
277 mpc = mac_policy_list.entries[i].mpc; in mac_audit_check_preselect()
278 if (mpc == NULL) { in mac_audit_check_preselect()
282 if (mpc->mpc_ops->mpo_audit_check_preselect != NULL) { in mac_audit_check_preselect()
283 error = mpc->mpc_ops->mpo_audit_check_preselect(cred, in mac_audit_check_preselect()
298 struct mac_policy_conf *mpc; in mac_audit_check_postselect() local
312 mpc = mac_policy_list.entries[i].mpc; in mac_audit_check_postselect()
313 if (mpc == NULL) { in mac_audit_check_postselect()
317 if (mpc->mpc_ops->mpo_audit_check_postselect != NULL) { in mac_audit_check_postselect()
318 mac_error = mpc->mpc_ops->mpo_audit_check_postselect(cred, in mac_audit_check_postselect()
325 mpc = mac_policy_list.entries[i].mpc; in mac_audit_check_postselect()
326 if (mpc == NULL) { in mac_audit_check_postselect()
330 if (mpc->mpc_ops->mpo_audit_check_postselect != NULL) { in mac_audit_check_postselect()
331 mac_error = mpc->mpc_ops->mpo_audit_check_postselect(cred, in mac_audit_check_postselect()