/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 432 segment_list_t *tmp_list; in frt_for_each_segment() local 473 tmp_list = malloc(sizeof (segment_list_t)); in frt_for_each_segment() 474 tmp_list->segment = &segs[each_seg]; in frt_for_each_segment() 475 tmp_list->next = NULL; in frt_for_each_segment() 477 g_raw->segs = tmp_list; in frt_for_each_segment() 479 tmp_list->next = g_raw->segs; in frt_for_each_segment() 480 g_raw->segs = tmp_list; in frt_for_each_segment() 632 segment_list_t *tmp_list; in frt_for_each_packet() local 635 tmp_list = g_raw->segs; in frt_for_each_packet() 644 while (tmp_list) { in frt_for_each_packet() [all …]
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_netcfg.c | 61 char **tmp_list; in netcfg_get_networkid_list() local 66 tmp_list = realloc(return_list, in netcfg_get_networkid_list() 68 if (tmp_list == NULL) { in netcfg_get_networkid_list() 76 return_list = tmp_list; in netcfg_get_networkid_list()
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_xaction.c | 205 sip_conn_cache_t *tmp_list; in sip_del_conn_obj_cache() local 224 tmp_list = xaction_list; in sip_del_conn_obj_cache() 243 if (tmp_list == pvt_data->sip_conn_obj_cache) { in sip_del_conn_obj_cache() 251 assert(tmp_list->prev != NULL); in sip_del_conn_obj_cache() 252 tmp_list->prev->next = NULL; in sip_del_conn_obj_cache() 254 assert(tmp_list->prev != NULL); in sip_del_conn_obj_cache() 255 tmp_list->prev->next = xaction_list; in sip_del_conn_obj_cache() 256 xaction_list->prev = tmp_list->prev; in sip_del_conn_obj_cache() 258 tmp_list->prev = NULL; in sip_del_conn_obj_cache() 259 tmp_list->next = NULL; in sip_del_conn_obj_cache() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11tokens.c | 102 CK_SLOT_ID_PTR tmp_list = NULL_PTR, tmp2_list = NULL_PTR; in kmf_get_token_slots() local 130 if ((tmp_list = (CK_SLOT_ID_PTR) malloc(tmp_count * in kmf_get_token_slots() 136 ck_rv = C_GetSlotList(1, tmp_list, &tmp_count); in kmf_get_token_slots() 138 *slot_list = tmp_list; in kmf_get_token_slots() 145 free(tmp_list); in kmf_get_token_slots() 158 if ((tmp2_list = (CK_SLOT_ID_PTR) realloc(tmp_list, in kmf_get_token_slots() 160 free(tmp_list); in kmf_get_token_slots() 164 tmp_list = tmp2_list; in kmf_get_token_slots()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | loop.c | 202 list_t tmp_list; in rdsv3_loop_exit() local 206 list_create(&tmp_list, sizeof (struct rdsv3_loop_connection), in rdsv3_loop_exit() 211 list_splice(&loop_conns, &tmp_list); in rdsv3_loop_exit() 214 RDSV3_FOR_EACH_LIST_NODE_SAFE(lc, _lc, &tmp_list, loop_node) { in rdsv3_loop_exit()
|
H A D | ib_rdma.c | 235 list_t tmp_list; in __rdsv3_ib_destroy_conns() local 241 list_splice(list, &tmp_list); in __rdsv3_ib_destroy_conns() 244 RDSV3_FOR_EACH_LIST_NODE_SAFE(ic, _ic, &tmp_list, ib_node) { in __rdsv3_ib_destroy_conns()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4fp.c | 198 s_list_t tmp_list; in lm_tcp_abort_bufs() local 206 s_list_init(&tmp_list, NULL, NULL, 0); in lm_tcp_abort_bufs() 236 s_list_push_tail(&tmp_list, &tcp_buf->link); in lm_tcp_abort_bufs() 245 if(s_list_entry_cnt(&tmp_list)) { in lm_tcp_abort_bufs() 246 con->buffer_aborted_cnt += s_list_entry_cnt(&tmp_list); in lm_tcp_abort_bufs() 250 mm_tcp_complete_bufs(pdev, tcp, con, &tmp_list, stat); in lm_tcp_abort_bufs()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg_grammar.y | 42 static list_property_ptr_t new_list = NULL, tmp_list, last, variable 81 for (tmp_list = list[num_prop_vals]; tmp_list != NULL; in simple_prop_val_func() 82 tmp_list = tmp_list->lp_next) in simple_prop_val_func() 83 last = tmp_list; in simple_prop_val_func() 1095 for (tmp_list = list[num_prop_vals]; tmp_list != NULL; 1096 tmp_list = tmp_list->lp_next) 1097 last = tmp_list;
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Conf.c | 761 CK_MECHANISM_TYPE_PTR tmp_list; in pkcs11_mech_parse() local 764 tmp_list = malloc(mech_count * sizeof (CK_MECHANISM_TYPE)); in pkcs11_mech_parse() 766 if (tmp_list == NULL) { in pkcs11_mech_parse() 773 *mech_list = tmp_list; in pkcs11_mech_parse() 794 *tmp_list = (CK_MECHANISM_TYPE)cur_mech; in pkcs11_mech_parse() 795 tmp_list++; in pkcs11_mech_parse()
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | common.c | 330 CK_SLOT_ID_PTR tmp_list = NULL_PTR, tmp2_list = NULL_PTR; in get_token_slots() local 355 if ((tmp_list = (CK_SLOT_ID_PTR) malloc(tmp_count * in get_token_slots() 361 if ((rv = C_GetSlotList(1, tmp_list, &tmp_count)) == CKR_OK) { in get_token_slots() 362 *slot_list = tmp_list; in get_token_slots() 368 free(tmp_list); in get_token_slots() 373 if ((tmp2_list = (CK_SLOT_ID_PTR) realloc(tmp_list, in get_token_slots() 375 free(tmp_list); in get_token_slots() 379 tmp_list = tmp2_list; in get_token_slots()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 363 struct failed_srv *tmp_list; in showquotas() local 367 tmp_list = failed_srv_list; in showquotas() 370 tmp_list->serv_name, len) == 0) { in showquotas() 374 } while ((tmp_list = tmp_list->next) != NULL); in showquotas()
|
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_pgr.c | 518 sbd_pgr_key_t *tmp_list; in sbd_pgr_meta_write() local 519 tmp_list = pgr->pgr_keylist; in sbd_pgr_meta_write() 528 pgr->pgr_keylist = tmp_list; in sbd_pgr_meta_write() 531 pgr->pgr_keylist = tmp_list; in sbd_pgr_meta_write()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 843 struct boot_dev **tmp_list; in devfs_bootdev_get_list() local 865 i = process_bootdev(opp->oprom_array, default_root, &tmp_list); in devfs_bootdev_get_list() 867 *bootdev_list = tmp_list; in devfs_bootdev_get_list()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 9775 fc_portmap_t *tmp_list = NULL; in fcp_handle_port_attach() local 10076 if ((tmp_list = (fc_portmap_t *)kmem_zalloc( in fcp_handle_port_attach() 10101 &tmp_list, &max_cnt, FC_ULP_PLOGI_PRESERVE)) != in fcp_handle_port_attach() 10134 pptr->port_phys_state, pptr->port_topology, tmp_list, in fcp_handle_port_attach() 10156 if (tmp_list != NULL) { in fcp_handle_port_attach() 10157 kmem_free(tmp_list, sizeof (fc_portmap_t) * alloc_cnt); in fcp_handle_port_attach() 10232 if (tmp_list != NULL) { in fcp_handle_port_attach() 10233 kmem_free(tmp_list, sizeof (fc_portmap_t) * alloc_cnt); in fcp_handle_port_attach() 12162 fc_portmap_t *tmp_list = NULL; in fcp_handle_port_resume() local 12233 tmp_list = fcp_construct_map(pptr, &alloc_cnt); in fcp_handle_port_resume() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 945 mblk_t *tmp_list = NULL; in ipsq_xopq_mp_cleanup() local 986 curr->b_next = tmp_list; in ipsq_xopq_mp_cleanup() 987 tmp_list = curr; in ipsq_xopq_mp_cleanup() 994 while (tmp_list != NULL) { in ipsq_xopq_mp_cleanup() 995 curr = tmp_list; in ipsq_xopq_mp_cleanup() 996 tmp_list = curr->b_next; in ipsq_xopq_mp_cleanup()
|