Searched refs:newpolicy (Results 1 – 3 of 3) sorted by relevance
414 tableent_t *newpolicy, *oldpolicy; in devpolicy_load() local494 newpolicy = kmem_zalloc(nmaj * sizeof (tableent_t), KM_SLEEP); in devpolicy_load()525 newpolicy[j].t_major = curmaj = items[i].dps_maj; in devpolicy_load()526 last = &newpolicy[j].t_ent; in devpolicy_load()551 devpolicy = newpolicy; in devpolicy_load()
941 KMF_POLICY_RECORD *newpolicy = NULL; in kmf_set_policy() local947 newpolicy = malloc(sizeof (KMF_POLICY_RECORD)); in kmf_set_policy()948 if (newpolicy == NULL) in kmf_set_policy()950 (void) memset(newpolicy, 0, sizeof (KMF_POLICY_RECORD)); in kmf_set_policy()955 newpolicy); in kmf_set_policy()959 ret = kmf_verify_policy(newpolicy); in kmf_set_policy()969 handle->policy = newpolicy; in kmf_set_policy()974 kmf_free_policy_record(newpolicy); in kmf_set_policy()975 free(newpolicy); in kmf_set_policy()
870 policy_update(uint32_t newpolicy) in policy_update() argument874 DPRINT((dbfp, "policy change: %X\n", newpolicy)); in policy_update()878 p->plg_cnt = (newpolicy & AUDIT_CNT) ? 1 : 0; in policy_update()