Searched defs:index (Results 376 - 400 of 945) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dproblem.c58 * Update types. Single-index and all are mutually exclusive.
117 faultevent_lookup_index_exact(sunFmProblem_data_t *data, ulong_t index) argument
119 if (index > data->d_nsuspects)
125 return (data->d_suspects[index - 1]);
129 faultstatus_lookup_index_exact(sunFmProblem_data_t *data, ulong_t index) argument
131 if (index > data->d_nsuspects)
140 return (data->d_statuses[index - 1]);
283 * for the use of index-only updates; therefore we always do a full
285 * index, the contexts can be queued by the handler instead.
504 DEBUGMSGTL((MODNAME_STR, "nextpr: built fake index
593 ulong_t index; local
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c429 /* this is old form so give an index of "0" */
665 * find_resource_by_index(share, index)
667 * Search the resource records on the share for the id index.
670 find_resource_by_index(sa_share_t share, char *index) argument
681 if (strcmp(id, index) == 0) {
777 * If sectype[0] is a digit, then it is an index into
/illumos-gate/usr/src/lib/libcpc/common/
H A Dlibcpc.c570 cpc_request_preset(cpc_t *cpc, int index, uint64_t preset) argument
572 return (syscall(SYS_cpc, CPC_PRESET, -1, index,
719 * Gets or sets the value of the request specified by index.
723 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val) argument
725 *val = buf->cb_data[index];
732 cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t val) argument
734 buf->cb_data[index] = val;
782 void (*action)(void *arg, int index, const char *event, uint64_t preset,
781 cpc_walk_requests(cpc_t *cpc, cpc_set_t *set, void *arg, void (*action)(void *arg, int index, const char *event, uint64_t preset, uint_t flags, int nattrs, const cpc_attr_t *attrs)) argument
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c71 #define index(s, c) strchr(s, c) macro
74 char *index();
803 if ((domainp = index(ldomain, '.')) == (char *)NULL) {
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h668 int index; /* argv[optind] index */ member in struct:getopt_state
670 mbstate_t st; /* State of argv[optind][index] */
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dm_cc.c263 __m_tty_wc(int index, wchar_t *wcp) argument
274 mb = (char)PTERMIOS(_shell)->c_cc[index];
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c513 int index; local
516 for (index = 0; NULL != list[index]; index ++)
517 sfree(list[index]);
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddstream.c226 int index, sum; local
231 &index, tmpvol) >= 1) {
234 sum += index;
237 ds_volpart = index;
680 int nparts, n, index; local
688 (void) sscanf(ds_volnos, "%d %[ 0-9]", &index, tmpvol);
690 ds_curpartcnt += index;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c563 int index; local
567 index = 0;
571 (compat->size - index))
573 index += strlen(tval) + 1;
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Ddoprnt.c200 int index = 0; /* argument placeolder */ local
424 index = width = 0;
427 index = width = width * 10 + n;
476 if (index <= MAXARGS) {
477 args = arglst[index - 1];
480 _getarg(sformat, &args, index);
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dcall_frame_inst.c188 fix_reg(struct _Unwind_Context *ctx, struct register_state *rs, int index) argument
190 switch (rs[index].rule) {
192 ctx->entry_regs[index] = ctx->current_regs[index];
195 ctx->entry_regs[index] = *(uint64_t *)
196 (ctx->cfa + rs[index].offset);
199 ctx->entry_regs[index] = ctx->cfa + rs[index].offset;
202 ctx->entry_regs[index] =
203 ctx->current_regs[rs[index]
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c749 int index; local
760 if ((index = nss_dbop_search(dbname, (uint32_t)dbop)) < 0)
764 dbop, rlen, getXbyY_to_dbop[index].tostr));
872 int *dbop, nss_XbyY_args_t *arg, int index)
892 strtype = getXbyY_to_dbop[index].tostr;
1055 nss_pinit_funcs(int index, nss_db_initf_t *initf, nss_str2ent_t *s2e) argument
1086 if (getXbyY_to_dbop[index].initfnp == NULL) {
1087 name = getXbyY_to_dbop[index].initfn;
1091 if (getXbyY_to_dbop[index].initfnp == NULL)
1092 getXbyY_to_dbop[index]
871 nss_upack_key2arg(void *buffer, size_t length, char **dbname, int *dbop, nss_XbyY_args_t *arg, int index) argument
1124 int index; local
1189 int index; local
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Djoin.c292 * read in a record from file <index> and split into fields
295 getrec(Join_t* jp, int index, int discard) argument
298 register File_t* fp = &jp->file[index];
313 jp->outmode &= ~(1<<index);
451 _trace_getrec(Join_t* jp, int index, int discard) argument
455 r = getrec(jp, index, discard);
466 * print field <n> from file <index>
469 outfield(Join_t* jp, int index, register int n, int last) argument
471 register File_t* fp = &jp->file[index];
852 cp = argv[opt_info.index
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dlibipadm.c300 * Stores the index value of the interface in `ifname' for the address
301 * family `af' into the buffer pointed to by `index'.
305 int *index)
319 *index = lifr.lifr_index;
348 int index; local
357 retv = i_ipadm_get_index(handle, lifname, af, &index);
374 if (index == msg.ifm.ifm_index && (msg.ifm.ifm_flags & IFF_UP))
304 i_ipadm_get_index(ipadm_handle_t iph, const char *ifname, sa_family_t af, int *index) argument
/illumos-gate/usr/src/common/lzma/
H A DLzFind.c51 Byte MatchFinder_GetIndexByte(CMatchFinder *p, Int32 index) { return p->buffer[index]; } argument
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dundi.c148 int index; local
154 index = FIRING_SQUAD_TARGET_INDEX ( target );
156 lineup->targets[index] = ( shoot << bit ) |
157 ( lineup->targets[index] & ~( 1 << bit ) );
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c145 int image_read, index, color; local
166 for (index = 1; index < 15; index++) {
167 color = (image_read ? splash_palette[index] : background);
168 graphics_set_palette(index, PALETTE_RED(color),
/illumos-gate/usr/src/cmd/oawk/
H A Db.c58 * leaf (CCL, NCCL, CHAR, DOT): left is index,
450 char index[MAXLIN]; local
464 for (i = 0; i <= line; i++) index[i] = iposns[i] = setvec[i] = 0;
601 if (iposns[curpos] != 1 && index[curpos] != 1) {
602 index[curpos] = 1;
731 index[sposns[i]] = 0;
/illumos-gate/usr/src/cmd/od/
H A Dod.c81 int prod; /* producer index */
82 int cons; /* consumer index */
83 int mask; /* buffer size - 1, wraparound index */
124 get_ ## typ(buffer_t *b, int index) \
126 typ val = *(typ *)(void *)(b->data + index); \
143 do_ ## nm(buffer_t *buf, int index) \
145 typ v = get_ ## typ(buf, index); \
193 do_ascii(buffer_t *buf, int index) argument
195 uint8_t v = get_u8(buf, index);
206 do_char(buffer_t *buf, int index) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil_impl.h95 int index; member in struct:__anon1074
153 #define rowcmd_index u.row.index
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dpiclsmc.c452 int index = 0; local
467 store[index] = x;
481 store[index+1] = x;
491 store[index+2] = x;
494 store[index + 3] = (data[i + 2] >> 2) + ASCII_MAP;
495 index += 4;
502 int i, j, index = 0; local
520 store[index++] = tmp + 48;
527 store[index++] = ' ';
530 store[index
702 int index = 0; local
755 int index = 0; local
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c227 uint32_t index; local
238 for (index = 0; index < mnt_cache->hash_size; index++) {
239 for (entry = mnt_cache->mounts[index]; entry != NULL;
787 uint32_t index; local
797 for (index = 0; index < (*cachep)->hash_size; index++) {
798 entry = (*cachep)->mounts[index];
864 uint32_t index; local
954 uint32_t index; local
1049 uint32_t index; local
[all...]
H A Drcm_lock.c1365 int index = polllist.n_pids; local
1369 return (index);
1388 return (index);
1397 int fd, index; local
1413 index = find_pid_index(pid);
1414 if (index != -1) {
1415 polllist.refcnt[index]++;
1423 * and reacquired rcm_req_lock. So find the index again.
1425 index = find_pid_index(pid);
1426 if (index !
1463 int i, index; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c983 * ncount is the next to be used index into (*kcmdp)->servers
986 adjust_srv_info_cmd(ilb_servers_info_cmd_t **kcmdp, int index) argument
991 if (kcmd != NULL && kcmd->num_servers > index + 1)
996 * by using index (which is one less than the total needed) here,
999 sz = sizeof (*kcmd) + (index * sizeof (ilb_server_info_t));
1007 kcmd->num_servers = index;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c97 * can be used as the index into this array for the common case.
98 * It is still necessary to check that the code and index match,
289 int index; local
299 for (index = 0; index < end; index++) {
300 (void) snprintf(&buf[index * 3], 4, " %.2x", payload[index]);

Completed in 488 milliseconds

<<11121314151617181920>>