Home
last modified time | relevance | path

Searched refs:phead (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Conf.c263 uentrylist_t *phead; in pkcs11_slot_mapping() local
272 phead = pplist; in pkcs11_slot_mapping()
275 while (phead != NULL) { in pkcs11_slot_mapping()
289 metaslot_entry = phead->puent; in pkcs11_slot_mapping()
306 len = strlen(phead->puent->name) - in pkcs11_slot_mapping()
320 phead->puent->name, PKCS11_ISA_DIR, isa); in pkcs11_slot_mapping()
518 if (phead->puent->count > 0) { in pkcs11_slot_mapping()
520 &prov_pol_mechs, phead->puent->count); in pkcs11_slot_mapping()
577 phead->puent->flag_enabledlist; in pkcs11_slot_mapping()
579 cur_slot->sl_pol_count = phead->puent->count; in pkcs11_slot_mapping()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dlist.c179 conf_entrylist_t *phead = NULL; in show_plugin() local
199 if (get_entrylist(&phead) == KMF_OK) { in show_plugin()
200 while (phead != NULL) { in show_plugin()
201 (void) printf("%s:%s", phead->entry->keystore, in show_plugin()
202 phead->entry->modulepath); in show_plugin()
204 if (phead->entry->option == NULL) in show_plugin()
208 phead->entry->option); in show_plugin()
209 phead = phead->next; in show_plugin()
211 free_entrylist(phead); in show_plugin()
H A Dutil.c496 conf_entrylist_t *phead = NULL; in get_keystore_entry() local
503 if (get_entrylist(&phead) != KMF_OK) in get_keystore_entry()
506 ptr = phead; in get_keystore_entry()
516 free_entrylist(phead); in get_keystore_entry()
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c326 mechlist_t *phead; in get_dev_info() local
373 phead = pcur = NULL; in get_dev_info()
381 if (phead == NULL) { in get_dev_info()
382 phead = pcur = pmech; in get_dev_info()
391 *ppmechlist = phead; in get_dev_info()
393 free_mechlist(phead); in get_dev_info()
414 mechlist_t *phead; in get_soft_info() local
511 phead = pcur = NULL; in get_soft_info()
518 if (phead == NULL) { in get_soft_info()
528 free_mechlist(phead); in get_soft_info()
[all …]
H A Dadm_uef.c1305 umechlist_t *phead; in uent2str() local
1341 while (phead != NULL) { in uent2str()
1347 phead = phead->next; in uent2str()
1348 if (phead != NULL) { in uent2str()
1368 while (phead != NULL) { in uent2str()
1374 phead = phead->next; in uent2str()
1375 if (phead != NULL) { in uent2str()
1521 umechlist_t *phead; in update_policylist() local
1574 phead = pcur; in update_policylist()
1580 if (phead == pcur) { in update_policylist()
[all …]
H A Dadm_kef_util.c184 mechlist_t *phead = NULL; in parse_sup_dis_list() local
243 phead->next = pmech; in parse_sup_dis_list()
244 phead = phead->next; in parse_sup_dis_list()
255 free_mechlist(phead); in parse_sup_dis_list()
607 phead = pcur = pent->dislist; in enable_mechs()
612 phead = pcur; in enable_mechs()
618 if (phead == pcur) { in enable_mechs()
622 phead->next = pcur->next; in enable_mechs()
1164 mechlist_t *phead = NULL; in disable_mechs() local
1206 phead = pent->dislist; in disable_mechs()
[all …]
H A Dcryptoadm.c471 mechlist_t *phead = NULL; in process_mech_operands() local
513 if (phead == NULL) { in process_mech_operands()
514 phead = pcur = pmech; in process_mech_operands()
524 free_mechlist(phead); in process_mech_operands()
526 mecharglist = phead; in process_mech_operands()
1555 entrylist_t *phead = NULL; in list_policy_for_all() local
1686 phead = ptr = pdevlist_conf; in list_policy_for_all()
1691 phead = ptr; in list_policy_for_all()
1699 if (phead == ptr) { in list_policy_for_all()
1702 phead->next = ptr->next; in list_policy_for_all()
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c946 doevent(phead, (sp->fd)); in listen()
948 trycon(phead, (sp->fd)); in listen()
950 send_dis(phead, (sp->fd)); in listen()
1099 queue(phead, current); in doevent()
1121 pitchcall(phead, disc); in doevent()
1144 while (!EMPTYLIST(phead)) { in send_dis()
1145 current = dequeue(phead); in send_dis()
1150 pqueue(phead, current); in send_dis()
1181 while (!EMPTYLIST(phead)) { in trycon()
1182 current = dequeue(phead); in trycon()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c243 while (phead != NULL) { in FindPlugin()
247 phead = phead->next; in FindPlugin()
250 if (phead == NULL) in FindPlugin()
284 phead->entry->modulepath); in FindPlugin()
466 while (phead != NULL) { in kmf_initialize()
468 phead = phead->next; in kmf_initialize()
2678 while (phead != NULL) { in kmf_get_plugin_info()
2681 phead = phead->next; in kmf_get_plugin_info()
2684 if (phead == NULL) { in kmf_get_plugin_info()
2690 *kstype = phead->entry->kstype; in kmf_get_plugin_info()
[all …]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c230 umechlist_t *phead = NULL; in parse_policylist() local
340 if (phead == NULL) { in parse_policylist()
341 phead = pcur = pmech; in parse_policylist()
351 pent->policylist = phead; in parse_policylist()
354 free_umechlist(phead); in parse_policylist()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c182 char *phead; in parse_scope() local
199 phead = &shead[6]; in parse_scope()
202 dev = get_uint8(phead++); in parse_scope()
203 func = get_uint8(phead++); in parse_scope()
207 dev = get_uint8(phead++); in parse_scope()
208 func = get_uint8(phead++); in parse_scope()
/illumos-gate/usr/src/uts/sun4/os/
H A Dintr.c455 intr_dist_add_list(struct intr_dist **phead, void (*func)(void *), void *arg) in intr_dist_add_list() argument
468 for (iptr = *phead, pptr = phead; iptr != NULL; in intr_dist_add_list()
/illumos-gate/usr/src/cmd/format/
H A Dmain.c81 uint_t phead; variable
438 phead = cur_dtype->dtype_phead; in init_globals()
H A Dglobal.h123 extern uint_t phead; /* # physical heads */
H A Dctlr_scsi.c1216 flag |= (page4->heads != phead); in scsi_ms_page4()
1217 page4->heads = phead; in scsi_ms_page4()
H A Dmenu_command.c1734 ncyl = pcyl = nsect = psect = acyl = phead = 0; in c_label()
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c4051 struct pm_comp_pkg *phead = NULL; in pm_autoconfig() local
4086 phead = NULL; in pm_autoconfig()
4108 p = kmem_zalloc(sizeof (*phead), KM_SLEEP); in pm_autoconfig()
4109 if (phead == NULL) { in pm_autoconfig()
4110 phead = ptail = p; in pm_autoconfig()
4164 for (i = 0, p = phead; i < components; i++) { in pm_autoconfig()
4203 phead = p; /* errout depends on phead making sense */ in pm_autoconfig()
4228 for (p = phead; p; ) { in pm_autoconfig()