/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_idspace.c | 37 fmd_idspace_t *ids = fmd_alloc(sizeof (fmd_idspace_t), FMD_SLEEP); in fmd_idspace_create() local 56 (void) strlcpy(ids->ids_name, name, sizeof (ids->ids_name)); in fmd_idspace_create() 57 (void) pthread_mutex_init(&ids->ids_lock, NULL); in fmd_idspace_create() 58 (void) pthread_cond_init(&ids->ids_cv, NULL); in fmd_idspace_create() 60 ids->ids_hash = fmd_zalloc(sizeof (void *) * hashlen, FMD_SLEEP); in fmd_idspace_create() 61 ids->ids_hashlen = hashlen; in fmd_idspace_create() 62 ids->ids_refs = 0; in fmd_idspace_create() 63 ids->ids_nextid = min - 1; in fmd_idspace_create() 64 ids->ids_minid = min; in fmd_idspace_create() 65 ids->ids_maxid = max; in fmd_idspace_create() [all …]
|
H A D | fmd_timerq.c | 48 fmd_timerq_install(fmd_timerq_t *tmq, fmd_idspace_t *ids, in fmd_timerq_install() argument 66 if ((id = fmd_idspace_alloc(ids, tp)) == -1) { in fmd_timerq_install() 81 tp->tmr_ids = ids; in fmd_timerq_install() 109 ids->ids_name, id, delta)); in fmd_timerq_install() 122 fmd_timerq_remove(fmd_timerq_t *tmq, fmd_idspace_t *ids, id_t id) in fmd_timerq_remove() argument 129 tp = fmd_idspace_free(ids, id); in fmd_timerq_remove() 130 ASSERT(tp == NULL || tp->tmr_ids == ids); in fmd_timerq_remove() 165 ids->ids_name, id, delta > 0 ? delta : 0LL)); in fmd_timerq_remove()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | _base_sup.c | 67 int extras, taken, id, ids; in _integerstring_to_big_decimal() local 90 ids = (ndigs + taken) - 4 * pd->blength; in _integerstring_to_big_decimal() 94 printf(" _integerstring_to_big_decimal exponent %d ids %d id %d \n", pd->bexponent, ids, id); in _integerstring_to_big_decimal() 97 …pd->bsignificand[id] = 1000 * IDIGIT(ids) + 100 * IDIGIT(ids + 1) + 10 * IDIGIT(ids + 2) + IDIGIT(… in _integerstring_to_big_decimal() 98 ids += 4; in _integerstring_to_big_decimal() 100 for (; ids < (int) (ndigs + taken - 4); ids += 4) { /* Additional digits to in _integerstring_to_big_decimal() 103 …pd->bsignificand[id] = 1000 * ds[ids] + 100 * ds[ids + 1] + 10 * ds[ids + 2] + ds[ids + 3] - 1111 … in _integerstring_to_big_decimal() 110 …pd->bsignificand[0] = 1000 * IDIGIT(ids) + 100 * IDIGIT(ids + 1) + 10 * IDIGIT(ids + 2) + IDIGIT(i… in _integerstring_to_big_decimal() 128 int ids, ibf; in _fractionstring_to_big_decimal() local 137 ids = nzin + ndigs - 4 * pbf->blength; in _fractionstring_to_big_decimal() [all …]
|
H A D | double_decim.c | 342 int i, intdigs, fracdigs, fraczeros, fracsigs, ids, idsbound, lzbound; in _unpacked_to_decimal() local 435 for (ids = 0; ids < idsbound; ids++) in _unpacked_to_decimal() 436 pd->ds[ids] = is[ids]; in _unpacked_to_decimal() 441 for (; ids < idsbound; ids++) in _unpacked_to_decimal() 442 pd->ds[ids] = '0'; in _unpacked_to_decimal() 443 if (ids == pm->ndigits) { /* Integer part had enough in _unpacked_to_decimal() 445 pd->ndigits = ids; in _unpacked_to_decimal() 446 pd->exponent = intdigs - ids; in _unpacked_to_decimal() 447 if (ids < intdigs) { /* Gather rounding info. */ in _unpacked_to_decimal() 448 if (ids < intsigs) in _unpacked_to_decimal() [all …]
|
H A D | char_to_decimal.h | 38 int ids = 0; variable 90 pd->ds[ids++] = CURRENT; 178 while ((CURRENT != 0) && (CURRENT != ')') && (ids < (DECIMAL_STRING_LENGTH - 1))) { 179 pd->ds[ids++] = CURRENT; 216 if ((ids + nzbp + 2) >= DECIMAL_STRING_LENGTH) { /* Not enough room to 221 pd->ds[ids] = 0; /* Actual string termination. */ 222 ids = DECIMAL_STRING_LENGTH - 1; /* To allow end of 227 pd->ds[ids++] = '0'; 228 pd->ds[ids++] = CURRENT; 234 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids; [all …]
|
/titanic_44/usr/src/lib/libc/port/fp/ |
H A D | char_to_decimal.h | 102 int ids = 0; variable 175 pd->ds[ids++] = (char)current; 213 pd->ds[ids++] = (char)current; 307 ids < DECIMAL_STRING_LENGTH - 1) { 308 pd->ds[ids++] = (char)current; 318 ids < DECIMAL_STRING_LENGTH - 1) { 319 pd->ds[ids++] = (char)current; 373 if (ids + nzbp + 2 < DECIMAL_STRING_LENGTH) { 375 pd->ds[ids++] = '0'; 376 pd->ds[ids++] = (char)current; [all …]
|
H A D | decimal_bin.c | 151 int ids, i, ix, exp, ndigs; in __decimal_to_unpacked() local 176 ids = ndigs - (d.blength << 2); in __decimal_to_unpacked() 177 switch (ids) { in __decimal_to_unpacked() 179 d.bsignificand[i] = 100 * ds[ids + 1] + in __decimal_to_unpacked() 180 10 * ds[ids + 2] + ds[ids + 3] - 111 * '0'; in __decimal_to_unpacked() 182 ids += 4; in __decimal_to_unpacked() 186 d.bsignificand[i] = 10 * ds[ids + 2] + ds[ids + 3] - 11 * '0'; in __decimal_to_unpacked() 188 ids += 4; in __decimal_to_unpacked() 192 d.bsignificand[i] = ds[ids + 3] - '0'; in __decimal_to_unpacked() 194 ids += 4; in __decimal_to_unpacked() [all …]
|
/titanic_44/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 193 int ids = 0; in wstring_to_decimal() local 244 pd->ds[ids++] = (char)current; in wstring_to_decimal() 273 pd->ds[ids++] = (char)current; in wstring_to_decimal() 380 if (ids + nzbp + 2 < DECIMAL_STRING_LENGTH) { in wstring_to_decimal() 382 pd->ds[ids++] = '0'; in wstring_to_decimal() 383 pd->ds[ids++] = (char)current; in wstring_to_decimal() 387 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal() 388 pd->ds[ids] = '\0'; in wstring_to_decimal() 389 pd->ndigits = ids; in wstring_to_decimal() 391 ids = DECIMAL_STRING_LENGTH; in wstring_to_decimal() [all …]
|
/titanic_44/usr/src/data/hwdata/ |
H A D | Makefile | 29 HWDATA= pci.ids usb.ids 39 THIRDPARTYLICENSE.pciids: pci.ids THIRDPARTYLICENSE.pciids.tmpl 41 $(SED) -e '/^$$/,$$ d' < pci.ids > $@ 56 PCIURL= http://pci-ids.ucw.cz/v2.2/pci.ids 57 USBURL= http://www.linux-usb.org/usb.ids 64 $(RM) pci.ids 68 $(RM) usb.ids
|
/titanic_44/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 104 smbs_con_ids_t **ids; /* SMBIOS table entry id(s) */ member 118 types->ids = (smbs_con_ids_t **)kmem_zalloc( in smb_create_strcnt() 122 types->ids[i] = (smbs_con_ids_t *)kmem_zalloc( in smb_create_strcnt() 127 types->ids[i]->cont_ids = (uint16_t **)kmem_zalloc( in smb_create_strcnt() 133 types->ids[i]->cont_ids[j] = (uint16_t *)kmem_zalloc( in smb_create_strcnt() 153 if (types->ids[i]->cont_ids[j] != NULL) in smb_free_strcnt() 154 kmem_free(types->ids[i]->cont_ids[j], in smb_free_strcnt() 160 if (types->ids[i]->cont_ids != NULL) in smb_free_strcnt() 161 kmem_free(types->ids[i]->cont_ids, in smb_free_strcnt() 166 if (types->ids[i] != NULL) in smb_free_strcnt() [all …]
|
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bboard.c | 212 cid = stypes[SMB_TYPE_BASEBOARD].ids[index].con_ids; in x86pi_bb_getchips() 213 count = stypes[SMB_TYPE_BASEBOARD].ids[index].con_cnt; in x86pi_bb_getchips() 262 smb_id = stypes[SMB_TYPE_BASEBOARD].ids[index].con_by_id; in x86pi_bb_topparent() 266 top_bb_smbid = stypes[SMB_TYPE_BASEBOARD].ids[index].id; in x86pi_bb_topparent() 270 if (stypes[SMB_TYPE_CHASSIS].ids[i].id == *psmbid) in x86pi_bb_topparent() 271 *pnode = stypes[SMB_TYPE_CHASSIS].ids[i].node; in x86pi_bb_topparent() 278 if (stypes[SMB_TYPE_BASEBOARD].ids[i].id == smb_id) { in x86pi_bb_topparent() 279 if (stypes[SMB_TYPE_BASEBOARD].ids[i].visited in x86pi_bb_topparent() 283 ids[index].id; in x86pi_bb_topparent() 285 stypes[SMB_TYPE_BASEBOARD].ids[i].\ in x86pi_bb_topparent() [all …]
|
H A D | x86pi.c | 293 ch_smbid = stypes[SMB_TYPE_CHASSIS].ids[nch].id; in x86pi_enum_gentopo() 317 stypes[SMB_TYPE_CHASSIS].ids[nch].node = chassis_node; in x86pi_enum_gentopo() 343 if (smbios_info_extport(shp, smbc->ids[i].id, in x86pi_enum_gentopo() 347 (int)smbc->ids[i].id); in x86pi_enum_gentopo() 376 stypes[SMB_TYPE_BASEBOARD].ids[nbb].visited = 0; in x86pi_enum_gentopo() 377 stypes[SMB_TYPE_BASEBOARD].ids[nbb].con_by_id = 0; in x86pi_enum_gentopo() 378 stypes[SMB_TYPE_BASEBOARD].ids[nbb].node = NULL; in x86pi_enum_gentopo() 399 if (stypes[SMB_TYPE_BASEBOARD].ids[nbb].visited == in x86pi_enum_gentopo() 419 if (stypes[SMB_TYPE_BASEBOARD].ids[nbb].id != bb_smbid) { in x86pi_enum_gentopo() 422 stypes[SMB_TYPE_BASEBOARD].ids[i].id) { in x86pi_enum_gentopo() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | pciev.h | 79 pcie_domains_t *ids; member 107 pcie_child_domains_t ids; member 171 PCIE_BUS2DOM(bus_p)->domain.ids.ids : NULL)) 175 &PCIE_BUS2DOM(bus_p)->domain.ids.ids) 179 PCIE_BUS2DOM(bus_p)->domain.ids.ids) 183 PCIE_BUS2DOM(bus_p)->domain.ids.bdfs : NULL)) 186 pcie_bdf_list_add(bdf, &PCIE_BUS2DOM(bus_p)->domain.ids.bdfs) 189 pcie_bdf_list_remove(bdf, &PCIE_BUS2DOM(bus_p)->domain.ids.bdfs)
|
/titanic_44/usr/src/cmd/fs.d/ |
H A D | fslib.c | 432 zoneid_t *ids = NULL; in fs_get_zone_summaries() local 437 if (zone_list(ids, &numzones) < 0) { in fs_get_zone_summaries() 439 if (ids != NULL) in fs_get_zone_summaries() 440 free(ids); in fs_get_zone_summaries() 445 if (ids != NULL) in fs_get_zone_summaries() 446 free(ids); in fs_get_zone_summaries() 447 ids = malloc(numzones * sizeof (*ids)); in fs_get_zone_summaries() 448 if (ids == NULL) { in fs_get_zone_summaries() 457 free(ids); in fs_get_zone_summaries() 466 if (ids[i] == myzoneid) in fs_get_zone_summaries() [all …]
|
/titanic_44/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 237 ctid_t *ids, last; in main() local 269 ids = calloc(argc, sizeof (ctid_t)); in main() 270 if (ids == NULL) in main() 301 ids[nids++] = id; in main() 314 qsort(ids, nids, sizeof (ctid_t), ctid_compar); in main() 319 if (ids[i] == last) in main() 321 last = ids[i]; in main() 325 gettext("could not access contract id %d\n"), ids[i]); in main() 328 if ((type = contract_type(ids[i])) == -1) { in main() 331 ids[i]); in main() [all …]
|
/titanic_44/usr/src/cmd/fm/scripts/ |
H A D | dictck.pl | 265 my %ids; 282 $ids{$id} = $line; 292 unless defined($ids{"$code.type"}); 294 unless defined($ids{"$code.severity"}); 296 unless defined($ids{"$code.description"}); 298 unless defined($ids{"$code.response"}); 300 unless defined($ids{"$code.impact"}); 302 unless defined($ids{"$code.action"});
|
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sam.c | 316 smb_id_t *ids, *new_ids; in smb_sam_usr_groups() local 334 else for (i = 0, ids = gids->i_ids; in smb_sam_usr_groups() 335 i < gids->i_cnt; i++, ids++) { in smb_sam_usr_groups() 336 if (smb_lgrp_is_member(&lgrp, ids->i_sid)) { in smb_sam_usr_groups() 385 else for (i = 0, ids = gids->i_ids; in smb_sam_usr_groups() 386 i < gids->i_cnt; i++, ids++) { in smb_sam_usr_groups() 387 if (smb_lgrp_is_member(&lgrp, ids->i_sid)) { in smb_sam_usr_groups() 415 ids = new_gids.i_ids + gids->i_cnt; in smb_sam_usr_groups() 416 for (i = 0; i < gcnt; i++, ids++) { in smb_sam_usr_groups() 417 smb_sid_free(ids->i_sid); in smb_sam_usr_groups() [all …]
|
/titanic_44/usr/src/cmd/ipcs/ |
H A D | ipcs.c | 111 static int *ids; /* array of IPC identifiers from *ids() */ in main() local 213 if (msgids(ids, nids, &n) != 0) { in main() 219 ids = realloc(ids, (nids = n) * sizeof (int)); in main() 234 id = ids[i]; in main() 272 if (shmids(ids, nids, &n) != 0) { in main() 278 ids = realloc(ids, (nids = n) * sizeof (int)); in main() 295 id = ids[i]; in main() 338 if (semids(ids, nids, &n) != 0) { in main() 344 ids = realloc(ids, (nids = n) * sizeof (int)); in main() 358 id = ids[i]; in main()
|
/titanic_44/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 463 } else if (results.ids.ids_len >= 1 && in kidmap_getuidbysid() 464 results.ids.ids_val[0].id.idtype == IDMAP_UID) { in kidmap_getuidbysid() 465 status = results.ids.ids_val[0].retcode; in kidmap_getuidbysid() 466 *uid = results.ids.ids_val[0].id.idmap_id_u.uid; in kidmap_getuidbysid() 472 results.ids.ids_val[0].direction); in kidmap_getuidbysid() 540 } else if (results.ids.ids_len >= 1 && in kidmap_getgidbysid() 541 results.ids.ids_val[0].id.idtype == IDMAP_GID) { in kidmap_getgidbysid() 542 status = results.ids.ids_val[0].retcode; in kidmap_getgidbysid() 543 *gid = results.ids.ids_val[0].id.idmap_id_u.gid; in kidmap_getgidbysid() 549 results.ids.ids_val[0].direction); in kidmap_getgidbysid() [all …]
|
/titanic_44/usr/src/cmd/ctstat/ |
H A D | ctstat.c | 154 print_ids(id_t *ids, uint_t nids) in print_ids() argument 159 qsort(ids, nids, sizeof (int), int_compar); in print_ids() 163 (void) printf(" %d" + first, ids[i]); in print_ids() 649 scan_ids(ctid_t *ids, int nids) in scan_ids() argument 653 print_contract("all", ids[i], NULL, NULL, 0); in scan_ids() 666 scan_all(int *types, int ntypes, ctid_t *ids, int nids) in scan_all() argument 689 test = nids ? (bsearch(&key, ids, nids, sizeof (int), in scan_all() 807 ctid_t *ids = NULL; in main() local 823 nids = parse_ids(optarg, (int **)&ids, nids); in main() 866 compact((int *)ids, &nids); in main() [all …]
|
/titanic_44/usr/src/lib/libidmap/common/ |
H A D | directory_rpc_clnt.c | 43 idmap_utf8str_list ids, in directory_get_common_1() argument 50 arg.ids = ids; in directory_get_common_1()
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_logon.c | 676 smb_id_t *ids; in netr_setup_domain_groups() local 691 ids = gids->i_ids + gids->i_cnt; in netr_setup_domain_groups() 692 for (i = 0; i < info3->GroupCount; i++, gids->i_cnt++, ids++) { in netr_setup_domain_groups() 693 ids->i_sid = smb_sid_splice(domain_sid, info3->GroupIds[i].rid); in netr_setup_domain_groups() 694 if (ids->i_sid == NULL) in netr_setup_domain_groups() 697 ids->i_attrs = info3->GroupIds[i].attributes; in netr_setup_domain_groups() 704 ids->i_sid = smb_sid_splice(domain_sid, info3->PrimaryGroupId); in netr_setup_domain_groups() 705 if (ids->i_sid == NULL) in netr_setup_domain_groups() 708 ids->i_attrs = 0x7; in netr_setup_domain_groups() 710 ids++; in netr_setup_domain_groups() [all …]
|
/titanic_44/usr/src/cmd/msgfmt/ |
H A D | gnu_msgs.c | 70 char *ids, *strs; in output_all_gnu_mo_files() local 129 ids = (char *)Xmalloc(id_len); in output_all_gnu_mo_files() 154 (void) memcpy(ids + id_off, m[i].id, m[i].id_len); in output_all_gnu_mo_files() 181 (void) fwrite(ids, id_len, 1, out); in output_all_gnu_mo_files() 189 free(ids); in output_all_gnu_mo_files()
|
H A D | gnu_msgs_rev.c | 80 char *ids, *strs; in output_all_gnu_mo_files() local 134 ids = (char *)Xmalloc(id_len); in output_all_gnu_mo_files() 159 (void) memcpy(ids + id_off, m[i].id, m[i].id_len); in output_all_gnu_mo_files() 186 (void) fwrite(ids, id_len, 1, out); in output_all_gnu_mo_files() 196 free(ids); in output_all_gnu_mo_files()
|
/titanic_44/usr/src/cmd/idmap/idmapd/ |
H A D | server.c | 213 result->ids.ids_val = calloc(batch.idmap_mapping_batch_len, in idmap_get_mapped_ids_1_svc() 215 if (result->ids.ids_val == NULL) { in idmap_get_mapped_ids_1_svc() 220 result->ids.ids_len = batch.idmap_mapping_batch_len; in idmap_get_mapped_ids_1_svc() 251 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() 305 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() 340 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() 385 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() 398 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() 439 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() 469 res = &result->ids.ids_val[i]; in idmap_get_mapped_ids_1_svc() [all …]
|