/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 123 int index; local 207 for (index = optind; index < argc; index++) { 208 if (verifyarg(argv[index], addflag)) 212 for (index = optind; index < argc; index++) { 213 setaux(argv[index]); 215 addtolist(argv[index]); 660 int index; local [all...] |
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_target.c | 79 * information, a few bits of pre-processed section index information, and 88 size_t dt_shstrndx; /* section index of .shstrtab */ 89 size_t dt_symidx; /* section index of symbol table */ 135 int *index = data; local 137 *index += 1; 139 tgt->dt_shnmap[*index].dm_name = scn->ds_name; 140 tgt->dt_shnmap[*index].dm_start = scn->ds_shdr.sh_addr; 141 tgt->dt_shnmap[*index].dm_length = scn->ds_shdr.sh_size; 142 tgt->dt_shnmap[*index].dm_mapped = B_FALSE; 148 tgt->dt_symidx = *index; [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | lgrp.c | 236 uintptr_t index; local 269 index = mdb_strtoull(s_index); 310 ((s_index == NULL) || ((int)index != LGRP_NONE))) 321 if ((s_index != NULL) && index != (uintptr_t)lgrp.lgrp_id)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/ |
H A D | ipc.c | 396 uint_t index; local 408 index = (uint_t)id & (service.ipcs_tabsz - 1); 409 slotptr = (uintptr_t)(service.ipcs_table + index);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/ |
H A D | qlc.c | 326 mdb_printf("%<u>vp baseaddr\t\tvp index%</u>\n"); 808 uint16_t index, count; local 857 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) { 860 if (dev[index].first == NULL) { 864 mdb_printf("dev array index = %x\n", index); 869 nextlink = get_first_link(&dev[index], tqlink); 872 * traverse the targets linked list at this device array index 1472 uint32_t index; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 504 mdb_printf("pos: %d len: %d qpos: %d flag: %x iostatus: %d index: %d" 506 aio->iostatus, aio->index, aio->seq); 592 urdc = &rdc_u_info[krdc->index]; 624 mdb_printf("index: %d %8Trindex: %d %8Tbusyc: %d %8Tmaxfbas: %d\n", 625 krdc->index, krdc->remote_index, krdc->busy_count, krdc->maxfbas); 713 krdc = &rdc_k_info[urdc->index]; 792 mdb_printf("index: %d %8Tsync_pos: %d%8T vsize: %d\n", 793 urdc->index, urdc->sync_pos, urdc->volume_size); 952 urdc = &rdc_u_info[krdc->index]; 981 krdc = &rdc_k_info[urdc->index]; 1002 int index; local 1054 int index; local 1327 int index; local 1415 int index; local [all...] |
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/ |
H A D | sfmmu.c | 373 int index = 0; local 376 index = (((uintptr_t)addr >> MMU_PAGESHIFT) & (NHMENTS-1)); 380 *hmenump = index; 383 return (&hmeblkp->hblk_hme[index]);
|
/illumos-gate/usr/src/cmd/expr/ |
H A D | expr.c | 96 "substr", "length", "index", 348 index(char *s, char *t) function 633 r1 = index(rb, ra);
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcinfo-list.c | 121 * port attributes as well as the port index 288 int index; local 323 for (index = 0; index < portattrs.NumberOfNPIVPorts; index++) { 326 portindex, index, &npivattrs); 331 portindex, index, &npivattrs); 340 "attributes reason: "), index); 346 gettext("\t Virtual Port%d:\n"), index+1); 1043 * index [all...] |
/illumos-gate/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 550 int index; local 560 for (index = 0; index < total_cnt; index++) {
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | main.c | 58 * their index, name, or type. 71 MATCH_OPT_NDX, /* Record contains a single index */ 72 MATCH_OPT_RANGE, /* Record contains an index range */ 160 * the index of the first byte in the row. 183 char index[MAXNDXSIZE]; local 189 * Determine the width to use for the index string. We follow 196 (void) snprintf(index, sizeof (index), 198 index_width = strlen(index); 217 (void) snprintf(index, sizeo 595 char index[MAXNDXSIZE]; local [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 108 * Return the index of the first section that has the given name. 115 * On success, returns the section index. On failure, an error 143 * Return the index of the first section that has the given type. 150 * On success, returns the section index. On failure, an error 185 * Locate the index of the first symbol that has the given name 194 * ret_symndx - Address of variable to receive index. 245 * Given a section index, turn it into a descriptive string. 550 * section index given by index. If False, we return 552 * index, nam 568 elfedit_sec_getsymtab(elfedit_obj_state_t *obj_state, int by_index, Word index, const char *name, Sym **sym, Word *num, elfedit_symtab_t **aux_info) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | str.c | 101 STR_OPT_F_SHNDX = 16, /* -shndx ndx: strtab spec. by index */ 103 STR_OPT_F_STRNDX = 64, /* -strndx: String specified by index */ 195 * Given a section index, attempt to convert it into an index 276 case STR_OPT_F_SHNDX: /* -shndx index */ 350 * string table index. If these match, then we have the 393 * If the -strndx option was specified, arg is an index 427 char index[(MAXNDXSIZE * 2) + 4]; local 493 (void) snprintf(index, sizeof (index), 500 elfedit_printf(MSG_ORIG(MSG_FMT_DUMPENTRY), index); local [all...] |
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | printgprof.c | 67 int i, index; local 85 index = 0; 88 sortednlp[index++] = &(mi->nl[i]); 93 for (index = 0; (index < total_names) && print_flag; index += 1) { 94 np = sortednlp[index]; 240 "index", "%time", "self", "descendents", 241 "called", "self", "name", "index"); 252 (void) sprintf(kirkbuffer, "[%d]", np->index); 294 int index; local 942 int index, nnames, todo, i, j; local [all...] |
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 435 /* e_ident[] is identification index which holds values */ 614 size_t index; /* temp section header table index */ local 630 /* start with null section; section index = 0 */ 651 /* index to section header for dynamic string table */ 652 index = scurrent->sh_link; 654 scn = elf_getscn(c->obj->elf, index); 849 * INPUTS: shndx - section header index
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcms.c | 621 int index; local 628 index = pflg ? PRIME : NONPRIME; 629 if (p1->pcm_cpu[index] == p2->pcm_cpu[index]) 631 return ((p2->pcm_cpu[index] > p1->pcm_cpu[index])? 1 : -1); 645 int index; local 652 index = pflg ? PRIME : NONPRIME; 653 if (p1->pcm_kcore[index] == p2->pcm_kcore[index]) 669 int index; local [all...] |
/illumos-gate/usr/src/cmd/avs/sv/ |
H A D | svadm.c | 601 int index; local 608 index = read_config_file(conf_file, svn); 612 for (cnt = 0; cnt < index; cnt++) { 812 int index = 0; /* Current location in svn array */ local 813 sv_name_t *cur_svn; /* Pointer to svn[index] */ 865 cur_svn = &svn[index]; /* For easier reading below */ 879 index++; 883 svn[index].svn_path[0] = '\0'; 887 return (index); 1269 int index local [all...] |
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 68 int disklist_index; /* index to disk_list of the mapped path */ 81 * array to hold mappings. Element at index X corresponds to BIOS device 308 * returns the index to the disklist to the disk with matching path 356 * path exists. Return the index of in disk_list for the mapped 365 int index; local 491 index = search_disklist_match_path(devfspath); 493 if (index >= 0) 494 return (index); 502 * one from bdd. On the first match, return the index of path in
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/ |
H A D | ncab2clf.c | 206 sMonth(int index) argument 208 return (sMonthStr[index]);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 57 #define index(s, r) strchr(s, r) macro 108 #define ONERROR (0) /* index within fop_subopts */
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 852 static int index = 0; local 862 if (ARGUMENTSMAX <= index) index = 0; 864 if (len[index] <= req_len) { 865 len[index] += 512; 866 free(ptr[index]); 867 ptr[index] = malloc_vital(len[index]); 869 hdp = ptr[index]; 895 return (ptr[index [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device.c | 1105 guint index) 1114 i = g_slist_nth (strlist, index); 1188 guint index) 1201 if (hal_property_strlist_remove_elem (prop, index)) { 1103 hal_device_property_get_strlist_elem(HalDevice *device, const char *key, guint index) argument 1186 hal_device_property_strlist_remove_elem(HalDevice *device, const char *key, guint index) argument
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | display.c | 554 static int index = 0; local 567 hint = HINTS[index]; 568 index = (index + 1) % (sizeof (HINTS) / sizeof (HINTS[0]));
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 43 * of nvlists which contain an index, domain string and offset 46 * two AVL trees are created. One tree is keyed by the index number 309 * If the dummy "nobody" domain then return an index of 0 360 * Query domain table by index, returning domain string 399 uint32_t index = FUID_INDEX(fuid); local 403 if (index == 0) 406 domain = zfs_fuid_find_by_idx(zfsvfs, index); 441 * First find fuid domain index in linked list
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 406 * Given an index into the section table and a module pointer, returns the 516 off_t index; local 528 index = offset / sizeof (sym); 530 sym = symtab[index]; 539 offset = (index + 1) * sizeof (sym); 544 for (index = offset / sizeof (sym); index < size / sizeof (sym); 545 index++) { 547 sym = symtab[index]; 585 * Construct an array to translate from a generic section header index [all...] |