Lines Matching refs:current_policy
39 IFAPI_POLICYUTIL_STACK **current_policy) in new_policy() argument
45 *current_policy = calloc(sizeof(IFAPI_POLICYUTIL_STACK), 1); in new_policy()
46 if (!*current_policy) { in new_policy()
54 (*current_policy)->pol_exec_ctx = pol_exec_ctx; in new_policy()
77 context->policy.policyutil_stack = *current_policy; in new_policy()
78 context->policy.util_current_policy = *current_policy; in new_policy()
80 context->policy.util_current_policy->next = *current_policy; in new_policy()
81 (*current_policy)->prev = context->policy.util_current_policy; in new_policy()
213 IFAPI_POLICYUTIL_STACK *current_policy; in ifapi_policyutil_execute_prepare() local
217 r = new_policy(context, policy, ¤t_policy); in ifapi_policyutil_execute_prepare()
220 r = ifapi_policyeval_execute_prepare(current_policy->pol_exec_ctx, hash_alg, policy); in ifapi_policyutil_execute_prepare()
229 SAFE_FREE(current_policy); in ifapi_policyutil_execute_prepare()