Searched defs:index (Results 501 - 525 of 945) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c432 int32_t i, index, status; local
462 * Here's the index of the partition we're dealing with
464 index = (int32_t)my_atoll(ident);
465 if ((index < 0) || (index >= NDKMAP)) {
467 gettext("Unknown partition %d"), index);
478 if ((index < 0) || (index > 2)) {
485 if (index != 2) {
492 DPRINTF1("\n Partition %d: ", index);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c123 * hashed by interface index.
463 * Return the first interface with the given index.
466 ifwithindex(ulong_t index, argument
472 for (phyi = HFIRST(&ihash_tbl, &index); phyi != NULL;
474 if (phyi->phyi_index == index)
1164 /* Get the interface index. */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c1229 int index; local
1231 for (index = 0; localeenv[index] != NULL; index++)
1234 * *lenvp is localenev[index] and valid.
1236 if (locale_envmatch(localeenv[index], *lenvp)) {
1370 static int index = 0; local
1375 if ((envinit == NULL) || (index == size)) {
1384 envinit[index++] = string;
1385 envinit[index]
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c1191 int i, index, prot_len; local
1224 index = 0;
1225 while (ripso_prot_tbl[index].name != NULL) {
1226 if (opt[3 + i] & ripso_prot_tbl[index].val) {
1236 ripso_prot_tbl[index].name,
1237 ripso_prot_tbl[index].val);
1239 index++;
1366 int index, numtokens, taglen; local
1397 index = 0;
1404 index < sizeo
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_svm_util.c713 uint32_t index = 0; local
718 (error = slice_get_index(slice, &index)) ||
722 (error = devconfig_set_slice_index(spare, index))) {
1165 * int *index)
1171 * OUTPUT: index - pointer to int to hold numeric part of name
1184 int *index)
1197 if (sscanf(cp, fmt, index) == 1)
1219 int index = -1; local
1221 if (extract_index(name, _dev_prefix, "%d", &index)) {
1222 if (index >
1180 extract_index( const char *name, const char *prefix, const char *num_fmt, int *index) argument
1248 int index = -1; local
1278 int index = -1; local
1306 int index = -1; local
1332 int index = -1; local
2028 is_reserved_replica_slice_index( char *diskset, char *dname, uint32_t index, boolean_t *bool) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nm.c180 nm_func_signature(ctf_file_t *fp, uint_t index, char *buf, size_t len) argument
190 if (ctf_func_info(fp, index, &f) == CTF_ERR)
204 (void) ctf_func_args(fp, index, sizeof (argv) / sizeof (argv[0]), argv);
247 uint_t index = niip->nii_id; local
252 str = nm_func_signature(fp, index, buf, sizeof (buf));
253 else if ((id = ctf_lookup_by_symbol(fp, index)) != CTF_ERR)
268 uint_t index = niip->nii_id; local
271 if (fp != NULL && (id = ctf_lookup_by_symbol(fp, index)) != CTF_ERR) {
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/
H A Dsctp.c990 int index; member in struct:fanout_walk_data
1069 fw->index++;
1073 for (; fw->index < fw->size; fw->index++) {
1076 (uintptr_t)(fw->fanout + fw->index)) == -1) {
1078 fw->fanout + fw->index);
1106 lw->index = 0;
1243 * the current index to the sctp_saddrs[], and the current count of the
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mover.c875 * information to position to the right index on tape,
2509 int bidx; /* buffer index */
2658 int bidx; /* buffer index */
2817 int n, index; local
2821 for (index = 0, toread = read_size; toread > 0; ) {
2823 NDMP_LOG(LOG_DEBUG, "index: %d, toread: %d", index, toread);
2825 n = read(session->ns_mover.md_sock, &buf->tb_buffer_data[index],
2832 index += n;
2843 if (index >
3694 ulong_t index; local
[all...]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c145 /* name, field width, index */
175 /* name, fieldwidth, index, callback */
326 uint_t index; local
380 index = optind;
382 if ((index != (argc - 1)) || match_attr(argv[index]) != NULL) {
386 if (strlen(argv[index]) >= MAXFLOWNAMELEN)
388 name = argv[index];
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcache.c136 " index = %d\n"
201 cmd_ptrsubtype_t pstype, int32_t index, int8_t way, int16_t bit)
208 (Lxcache->Lxcache_index == (uint32_t)index) &&
219 nvlist_t *modasru, cmd_ptrsubtype_t pstype, int32_t index,
229 "\n%s:cpu_id %d:Creating new Lxcache for index=%d way=%d bit=%d\n",
230 pstype_name, cpu->cpu_cpuid, index, way, bit);
240 Lxcache->Lxcache_index = (uint32_t)index;
272 index, way, bit);
278 index)) != 0 ||
290 "%s_asru_%d_%d_%d", pstype_name, index, wa
200 cmd_Lxcache_lookup_by_type_index_way_bit(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index, int8_t way, int16_t bit) argument
218 cmd_Lxcache_create(fmd_hdl_t *hdl, cmd_xr_t *xr, cmd_cpu_t *cpu, nvlist_t *modasru, cmd_ptrsubtype_t pstype, int32_t index, int8_t way, int16_t bit) argument
301 cmd_Lxcache_lookup_by_index_way(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index, int8_t way) argument
472 cmd_Lxcache_serdnm_create(fmd_hdl_t *hdl, uint32_t cpu_id, cmd_ptrsubtype_t pstype, int32_t index, int8_t way, int16_t bit) argument
489 cmd_Lxcache_anonymous_serdnm_create(fmd_hdl_t *hdl, uint32_t cpu_id, cmd_ptrsubtype_t pstype, int32_t index, int8_t way, int16_t bit) argument
704 get_tagdata(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index, uint64_t *tag_data) argument
759 get_index_retired_ways(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index) argument
879 cmd_Lxcache_lookup_by_type_index_way_flags(cmd_cpu_t *cpu, cmd_ptrsubtype_t type, int32_t index, int8_t way, int32_t flags) argument
897 cmd_Lxcache_get_bit_array_of_available_ways(cmd_cpu_t *cpu, cmd_ptrsubtype_t type, int32_t index) argument
984 cmd_Lxcache_get_next_retirable_way(cmd_cpu_t *cpu, int32_t index, cmd_ptrsubtype_t pstype, int8_t specified_way) argument
1005 cmd_Lxcache_get_lowest_retirable_way(cmd_cpu_t *cpu, int32_t index, cmd_ptrsubtype_t pstype) argument
1017 cmd_Lxcache_lookup_by_type_index_way_reason(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index, int8_t way, int32_t reason) argument
1036 cmd_Lxcache_lookup_by_type_index_bit_reason(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index, int16_t bit, int32_t reason) argument
1055 cmd_Lxcache_destroy_anonymous_serd_engines(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_ptrsubtype_t type, int32_t index, int16_t bit) argument
1092 uint32_t index; local
[all...]
H A Dcmd_Lxcacheerr.c349 int32_t index = -1; local
353 index = (int32_t)((tag_afar & PN_L2_INDEX_MASK)
357 index = (int32_t)((tag_afar & PN_L3_TAG_RD_MASK)
361 return (index);
391 int32_t index; local
402 index = get_index(pstype, tag_afar);
417 return (get_tagdata(cpu, pstype, index, tag_data));
421 "\n%s: cpu_id = %d index = %d could not find %s"
423 fltnm, cpu->cpu_cpuid, index, payload_namep);
428 return (get_tagdata(cpu, pstype, index,
882 find_and_destroy_anonymous_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, int32_t index) argument
962 int32_t index; local
1584 int32_t index = -1; local
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.c116 /* index section */
121 /* section index, not name */
125 SYM_OPT_F_SHNDX = 32, /* -shndx ndx: section spec. by index */
127 SYM_OPT_F_SYMNDX = 128 /* -symndx: Sym specified by index */
150 Word ndx; /* If argstate.argc > 0, this is the table index */
245 char index[MAXNDXSIZE]; local
263 /* If there is a versym index section, fetch it */
267 /* If there is an extended index section, fetch it */
274 (void) snprintf(index, MAXNDXSIZE,
284 Elf_syms_table_entry(NULL, ELF_DBG_ELFDUMP, index, osab
1051 Word index; local
[all...]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.h246 int index; /* index in the graph list */ member in struct:nl
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c2703 Word index = 0; local
2718 enp->ec_ordndx = ++index;
2724 Word index = 0; local
2735 enp->ec_ordndx = ++index;
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dsymtab.c892 get_entry_table(EHEAD *t, int index) argument
896 } else if (index > t->used) {
899 return (&(t->entry[index]));
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c1829 * For listen fd's index is always less than end_listen_fds.
1834 is_listen_fd_index(int index) argument
1836 return (index < end_listen_fds);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_phys.c417 i = 0; /* index into secobj_name */
418 j = 0; /* index into name */
1125 uint_t i, index = 0; local
1132 index = s->nwamd_wifi_scan_curr_num;
1133 if (index == NWAMD_MAX_NUM_WLANS) {
1140 (void) strlcpy(s->nwamd_wifi_scan_curr[index].nww_essid, essid_name,
1141 sizeof (s->nwamd_wifi_scan_curr[index].nww_essid));
1142 (void) strlcpy(s->nwamd_wifi_scan_curr[index].nww_bssid, bssid_name,
1143 sizeof (s->nwamd_wifi_scan_curr[index].nww_bssid));
1144 (void) strlcpy(s->nwamd_wifi_scan_curr[index]
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c1773 * For listen fd's index is always less than end_listen_fds.
1779 is_listen_fd_index(int index) argument
1781 return (index < end_listen_fds);
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c96 #define index(s, r) strchr(s, r) macro
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c835 int index = read_extvtoc(fd, &vtoc); local
837 if (index >= 0) {
840 if (index == VT_ENOTSUP || index == VT_ERROR) {
842 index = efi_alloc_and_read(fd, &efi_vtoc);
843 if (index >= 0)
848 if (index < 0) {
858 switch (index) {
884 slicesize = efi_vtoc->efi_parts[index].p_size;
887 slicesize = vtoc.v_part[index]
[all...]
/illumos-gate/usr/src/cmd/stat/fsstat/
H A Dfsstat.c144 int index; local
160 index = 0;
163 index++;
178 (double)num / (1ULL << 10 * index), u);
181 (double)num / (1ULL << 10 * index), u);
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c117 fprintf( stderr, gettext("\t\t'after' are the number of entries surrounding 'index.'\n"));
304 int c, index; local
312 index = 0;
316 if ((c != EOF) && (index == ((increment * BUFSIZ) -1))) {
326 linep[index++] = c;
334 linep[index] = '\0';
499 * above is index, count encoding
510 /* we have an index + count option */
896 printf(gettext("index %lu content count %lu\n"), vpos, vcount);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsml.c58 * smlGetParamByTag - Get a parameter by tag and index
59 * smlGetParamByTagParam Get parameter given tag name, index,
61 * smlGetParamName - Get the name of a tag parameter given its index
64 * smlGetTagByName - Get an element given a name and an index
65 * smlGetTagByTagParam - Get element given tag name, index, parameter name,
196 /* if index is out of range or -1, append to tag object */
242 int index; local
265 /* determine index into tag object of element to remove */
266 for (index = 0; index < ta
509 smlGetParamName(SML_TAG *tag, int index) argument
564 smlGetParamByTag(SML_TAG *tag, int index, char *tagName, char *paramName) argument
614 smlGetTagByTagParam(SML_TAG *tag, int index, char *tagName, char *paramName, char *paramValue) argument
723 smlGetParamByTagParam(SML_TAG *tag, int index, char *tagName, char *paramName, char *paramValue, char *paramReturn) argument
847 smlGetTag(SML_TAG *tag, int index) argument
889 smlGetTagByName(SML_TAG *tag, int index, char *name) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_rts.c299 ushort_t index; local
352 &author_v6, &if_addr_v6, &src_addr_v6, &index, &af, &rtsecattr,
411 if (index != 0) {
414 ill = ill_lookup_on_ifindex(index, af == AF_INET6, ipst);
434 index = ipmp_ill_get_ipmp_ifindex(ill);
436 if (index == 0) {
H A Dipclassifier.c172 * parameter interface index is also compared.
2259 int index; local
2268 index = ipst->ips_conn_g_index & (CONN_G_HASH_SIZE - 1);
2277 connfp = &ipst->ips_ipcl_globalhash_fanout[index];

Completed in 154 milliseconds

<<21222324252627282930>>