Home
last modified time | relevance | path

Searched refs:newmap (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c907 etm_epmap_t *newmap; in etm_init_epmap() local
914 newmap = fmd_hdl_zalloc(hdl, sizeof (etm_epmap_t), FMD_SLEEP); in etm_init_epmap()
915 newmap->epm_ep_str = fmd_hdl_strdup(hdl, epname, FMD_SLEEP); in etm_init_epmap()
916 newmap->epm_xprtflags = flags; in etm_init_epmap()
917 newmap->epm_cstat = C_UNINITIALIZED; in etm_init_epmap()
918 newmap->epm_qstat = Q_UNINITIALIZED; in etm_init_epmap()
919 newmap->epm_ver = ETM_PROTO_V1; /* Currently support one proto ver */ in etm_init_epmap()
920 newmap->epm_txbusy = 0; in etm_init_epmap()
922 (void) pthread_mutex_init(&newmap->epm_lock, NULL); in etm_init_epmap()
923 (void) pthread_cond_init(&newmap->epm_tx_cv, NULL); in etm_init_epmap()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c885 eib_vhub_map_t *newmap; in eib_fip_parse_vhub_table() local
1017 if ((newmap = eib_fip_get_vhub_map()) == NULL) { in eib_fip_parse_vhub_table()
1025 newmap->mp_v_rss_type = entry->te_v_rss_type; in eib_fip_parse_vhub_table()
1026 bcopy(entry->te_mac, newmap->mp_mac, ETHERADDRL); in eib_fip_parse_vhub_table()
1027 newmap->mp_qpn = (ntohl(entry->te_qpn) & FIP_TE_QPN_MASK); in eib_fip_parse_vhub_table()
1028 newmap->mp_sl = (entry->te_sl & FIP_TE_SL_MASK); in eib_fip_parse_vhub_table()
1029 newmap->mp_lid = ntohs(entry->te_lid); in eib_fip_parse_vhub_table()
1030 newmap->mp_tusn = tusn; in eib_fip_parse_vhub_table()
1031 newmap->mp_next = NULL; in eib_fip_parse_vhub_table()
1037 eib_fip_queue_tbl_entry(etbl, newmap, tusn, FIP_EPORT_UP); in eib_fip_parse_vhub_table()
[all …]
/titanic_41/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c562 mapnode_t *newmap = malloc(sizeof (mapnode_t)); in create_maplist() local
571 newmap->pmp = malloc(sizeof (prmap_t)); in create_maplist()
572 newmap->label[0] = '\0'; in create_maplist()
573 newmap->mtypes = 0; in create_maplist()
574 newmap->next = NULL; in create_maplist()
575 (void) memcpy(newmap->pmp, pmp, sizeof (prmap_t)); in create_maplist()
585 newmap->label, sizeof (newmap->label)); in create_maplist()
587 newmap->mtypes |= 1 << AT_SHARED; in create_maplist()
589 newmap->mtypes |= 1 << AT_PRIVM; in create_maplist()
593 lname = anon_name(newmap->label, Psp, stacks, nstacks, in create_maplist()
[all …]
/titanic_41/usr/src/tools/pmodes/
H A Dpmodes.c482 FILE *map, *newmap; in update_map() local
497 newmap = fopen(newname, "w"); in update_map()
498 if (newmap == 0) in update_map()
502 newmap = 0; in update_map()
527 for (; fgets(buf, sizeof (buf), map) != 0; put_line(newmap, &line)) { in update_map()
669 if (newmap != NULL) { in update_map()
670 (void) fflush(newmap); in update_map()
671 if (ferror(newmap)) { in update_map()
675 (void) fclose(newmap); in update_map()
/titanic_41/usr/src/uts/common/io/
H A Dbusra.c363 struct ra_resource *newmap, *overlapmap, *oldmap = NULL; in ndi_ra_free() local
425 newmap = (struct ra_resource *) in ndi_ra_free()
426 kmem_zalloc(sizeof (*newmap), KM_SLEEP); in ndi_ra_free()
427 newmap->ra_base = base; in ndi_ra_free()
428 newmap->ra_len = len; in ndi_ra_free()
429 RA_INSERT(backp, newmap); in ndi_ra_free()
435 newmap = (struct ra_resource *) in ndi_ra_free()
436 kmem_zalloc(sizeof (*newmap), KM_SLEEP); in ndi_ra_free()
437 newmap->ra_base = base; in ndi_ra_free()
438 newmap->ra_len = len; in ndi_ra_free()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dpoll.c1155 ulong_t *newmap; in pcache_grow_map() local
1162 newmap = kmem_zalloc((newsize / BT_NBIPUL) * sizeof (ulong_t), in pcache_grow_map()
1169 bcopy(pcp->pc_bitmap, newmap, in pcache_grow_map()
1173 pcp->pc_bitmap = newmap; in pcache_grow_map()
/titanic_41/usr/src/lib/libproc/common/
H A DPsymtab.c458 map_info_t *newmap, *newp; in Pupdate_maps() local
469 if ((newmap = calloc(1, nmap * sizeof (map_info_t))) == NULL) in Pupdate_maps()
478 newp = newmap; in Pupdate_maps()
551 P->mappings = newmap; in Pupdate_maps()