Lines Matching defs:pent
48 uentry_t *pent;
71 if ((rc = uef_interpret(buffer, &pent)) != SUCCESS) {
75 /* append pent into ppliblist */
80 free_uentry(pent);
84 pentlist->puent = pent;
159 uentry_t *pent;
171 pent = calloc(sizeof (uentry_t), 1);
172 if (pent == NULL) {
177 (void) strlcpy(pent->name, token1, sizeof (pent->name));
181 &pent->flag_fips_enabled)) != SUCCESS) {
182 free_uentry(pent);
186 *ppent = pent;
194 pent->flag_metaslot_auto_key_migrate = B_TRUE;
197 if ((rc = parse_policylist(token2, pent)) != SUCCESS) {
198 free_uentry(pent);
203 *ppent = pent;
210 * pent.
221 * Arg pent: input/output
226 parse_policylist(char *buf, uentry_t *pent)
237 if (pent == NULL) {
242 pent->flag_enabledlist = B_FALSE;
244 pent->flag_enabledlist = B_TRUE;
246 pent->flag_norandom = B_TRUE;
252 (void) strlcpy((char *)pent->metaslot_ks_token, value,
253 sizeof (pent->metaslot_ks_token));
264 (void) strlcpy((char *)pent->metaslot_ks_slot, value,
265 sizeof (pent->metaslot_ks_slot));
277 pent->flag_metaslot_enabled = B_FALSE;
279 pent->flag_metaslot_enabled = B_TRUE;
296 pent->flag_metaslot_auto_key_migrate = B_FALSE;
298 pent->flag_metaslot_auto_key_migrate = B_TRUE;
321 if (pent->flag_enabledlist) {
349 pent->policylist = phead;
350 pent->count = count;
395 free_uentry(uentry_t *pent)
397 if (pent == NULL) {
400 free_umechlist(pent->policylist);
401 free(pent);