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()
276 if (!strcasecmp(phead->puent->name, "metaslot")) { in pkcs11_slot_mapping()
289 metaslot_entry = phead->puent; in pkcs11_slot_mapping()
294 if (!strcasecmp(phead->puent->name, FIPS_KEYWORD)) { in pkcs11_slot_mapping()
304 if ((isa = strstr(phead->puent->name, PKCS11_ISA)) != NULL) { 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()
321 } else if ((fullpath = strdup(phead->puent->name)) == 0) { 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()
519 phead = pcur = pmech; in get_soft_info()
[all …]
H A Dadm_uef.c1305 umechlist_t *phead; in uent2str() local
1340 phead = puent->policylist; in uent2str()
1341 while (phead != NULL) { in uent2str()
1342 if (strlcat(buf, phead->name, BUFSIZ) >= BUFSIZ) { in uent2str()
1347 phead = phead->next; in uent2str()
1348 if (phead != NULL) { in uent2str()
1367 phead = puent->policylist; in uent2str()
1368 while (phead != NULL) { in uent2str()
1369 if (strlcat(buf, phead->name, BUFSIZ) >= BUFSIZ) { in uent2str()
1374 phead = phead->next; in uent2str()
[all …]
H A Dadm_kef_util.c184 mechlist_t *phead = NULL; in parse_sup_dis_list() local
223 pent->suplist = phead = pmech; in parse_sup_dis_list()
231 pent->dislist = phead = pmech; in parse_sup_dis_list()
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()
581 mechlist_t *phead; /* the current and resulting disabled list */ in enable_mechs() local
607 phead = pcur = pent->dislist; in enable_mechs()
612 phead = pcur; in enable_mechs()
618 if (phead == pcur) { in enable_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.c181 static void trycon(struct call_list *phead, int fd);
182 static void send_dis(struct call_list *phead, int fd);
183 static void doevent(struct call_list *phead, int fd);
899 struct call_list *phead; /* pending head */ in listen() local
945 phead = ((sp->fd) + Priv_call); in listen()
946 doevent(phead, (sp->fd)); in listen()
948 trycon(phead, (sp->fd)); in listen()
950 send_dis(phead, (sp->fd)); in listen()
1076 doevent(struct call_list *phead, int fd) in doevent() argument
1099 queue(phead, current); in doevent()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c240 conf_entrylist_t *phead = extra_plugin_list; in FindPlugin() local
243 while (phead != NULL) { in FindPlugin()
244 if (phead->entry->kstype == kstype) in FindPlugin()
247 phead = phead->next; in FindPlugin()
250 if (phead == NULL) in FindPlugin()
261 if (strncmp(phead->entry->modulepath, "/", 1) != 0) { in FindPlugin()
263 KMF_PLUGIN_PATH, phead->entry->modulepath); in FindPlugin()
265 char *buf = phead->entry->modulepath; in FindPlugin()
284 phead->entry->modulepath); in FindPlugin()
288 ret = InitializePlugin(phead->entry->kstype, realpath, in FindPlugin()
[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()