Searched defs:index (Results 901 - 925 of 945) sorted by relevance

<<3132333435363738

/illumos-gate/usr/src/uts/common/os/
H A Dstrsubr.c1625 findlinks(stdata_t *stp, int index, int type, str_stack_t *ss) argument
1637 (!index || (index == linkp->li_lblk.l_index))) {
1647 if ((index == 0) || (index == mep->me_muxid))
H A Dsunpm.c773 * (struct contains index unless it is a continuous level).
848 PMD(PMD_FAIL, ("%s: index=%d, level=%d\n",
1397 * Converts a power level value to its index
1406 /* convert power value into index (i) */
1421 int index; local
1427 (index = power_val_to_index(cp, val)) == -1)
1430 return (cp->pmc_comp.pmc_lnames[index]);
2407 * Convert a power level to an index into the levels array (or
2990 * Stash the old power index, update curpwr, and flag
3649 * Compute next lower component power level given power index
[all...]
H A Dsunmdi.c1382 int index; local
1387 index = i_mdi_get_hash_key(ct->ct_guid);
1388 head = &vh->vh_client_table[index];
1403 int index; local
1412 index = i_mdi_get_hash_key(guid);
1413 head = &vh->vh_client_table[index];
1497 int index; local
1503 index = i_mdi_get_hash_key(guid);
1504 head = &vh->vh_client_table[index];
7874 * the bus specific address belongs to. These integers are used as an index
[all...]
H A Dkmem.c2923 size_t index; local
2926 if ((index = ((size - 1) >> KMEM_ALIGN_SHIFT)) < KMEM_ALLOC_TABLE_MAX) {
2927 kmem_cache_t *cp = kmem_alloc_table[index];
2953 size_t index; local
2957 if ((index = ((size - 1) >> KMEM_ALIGN_SHIFT)) < KMEM_ALLOC_TABLE_MAX) {
2958 cp = kmem_alloc_table[index];
2961 } else if ((index = ((size - 1) >> KMEM_BIG_SHIFT)) <
2963 cp = kmem_big_alloc_table[index];
3000 size_t index; local
3003 if ((index
5009 avl_index_t index; local
5075 avl_index_t index; local
[all...]
/illumos-gate/usr/src/uts/common/pcmcia/sys/
H A Dcis_handlers.h172 uint32_t hr; /* highest config register index found */
175 uint32_t last; /* last config index */
884 uint32_t index; /* configuration index number */ member in struct:cistpl_cftable_entry_t
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c358 * A Pos is an index in the character window. We use short instead of
402 * Link to older string with same hash index. To limit the
404 * the last 32K strings. An index in this array is thus a
405 * window index modulo 32K.
410 uInt ins_h; /* hash index of string to be inserted */
532 uInt last_lit; /* running index in l_buf */
1468 * we prevent matches with the string of window index 0.
1983 * with the string of window index 0 (in
2110 * with the string of window index 0 (in
2338 int extra_base; /* base index fo
4173 uInt index; /* index into blens (or border) */ member in struct:inflate_blocks_state::__anon6454::__anon6455
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c7256 /* un_curdens is used as an index into densities table */
13700 int index; local
13713 index = 0;
13717 index = 1;
13721 index = 2;
13728 byte_pos = st_cln_bit_position[index].cln_bit_byte;
13729 bit_mask = st_cln_bit_position[index].cln_bit_mask;
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c981 * Add device id information for locator index to device id area in set.
993 uint_t index,
1013 did_info = &(did_blk->blk_info[index]);
1034 * This allows the side locator driver name index to get
1048 s->s_did_icp->did_ic_devid[index] = devid_ptr;
1055 * Delete device id information for locator index from device id area in set.
1064 mddb_devid_delete(mddb_set_t *s, uint_t index) argument
1075 did_info = &(did_blk->blk_info[index]);
1089 s->s_did_icp->did_ic_devid[index] = (ddi_devid_t)NULL;
1099 * Check if there is a device id for a locator index
991 mddb_devid_add( mddb_set_t *s, uint_t index, ddi_devid_t devid, char *minor_name ) argument
1106 mddb_devid_get( mddb_set_t *s, uint_t index, ddi_devid_t *devid, char **minor_name ) argument
4489 int index = -1; local
6018 int index = -1; local
8133 int index = 0; local
8287 int index; local
[all...]
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c2507 * Free all transmit buffers up until the specified index
3774 myri10ge_fill_group(void *arg, mac_ring_type_t rtype, const int index, argument
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge.h520 /* "producer index" */
547 * the s/w producer index
561 * index (tc_next).
565 /* ("consumer index") */
597 offset_t index; member in struct:__anon6235
857 * Next/Prev value of a cyclic index
859 #define NEXT(index, limit) ((index) + 1 < (limit) ? (index) + 1 : 0)
860 #define PREV(index, limi
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_proto.c946 int index; local
952 index = 0;
954 index = (msg & IDNP_ACK) ? 3 : (msg & IDNP_NACK) ? 4 : -1;
956 index = (msg & IDNP_ACK) ? 2 :
959 if (index == -1) {
977 n_xstate = idnxs_state_table[(int)o_xstate][index][0];
981 return (idnxs_state_table[(int)o_xstate][index][1]);
983 return (idnxs_state_table[(int)o_xstate][index][err ? 1 : 0]);
5890 * the master his assigned index. Since the
5893 * based on the offset and given index
6386 int index; local
10613 register int index; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c241 /* Next index in a write queue */
426 int index; /* dring elem index for task */ member in struct:vd_task
434 uint32_t write_index; /* index in the write_queue */
449 uint32_t write_index; /* next write index */
2585 status = vd_mark_elem_done(vd, task->index,
4237 status = vd_mark_elem_done(vd, task->index,
4523 vd->inband_task.index = 0;
4661 vd->dring_task[i].index = i;
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire.c1854 * Use the 8-bit syndrome to index the ecc_syndrome_tab
2831 int index; local
2842 for (index = HB_FULL_DIV; index <= HB_LOWEST_DIV; index++) {
2843 if (hb_eclk[index] == cur_mask) {
2844 cur_divisor = index;
3470 * adjusting the ecache line index appropriately
3477 uint32_t index = ssmp->ecache_flush_index; local
3543 ec_tag = get_ecache_tag(index,
3999 ecache_scrub_tag_err(uint64_t afsr, uchar_t state, uint32_t index) argument
[all...]
H A Dus3_common.c166 static void cpu_dcache_parity_check(ch_async_flt_t *ch_flt, int index);
170 static void cpu_icache_parity_check(ch_async_flt_t *ch_flt, int index);
172 static void cpu_pcache_parity_check(ch_async_flt_t *ch_flt, int index);
2091 int index, way, word; local
2140 for (index = 0; index < dc_set_size;
2141 index += dcache_linesize) {
2142 get_dcache_dtag(index + way *
2866 * be one greater than the index which hit. For Panther we
3418 * Use the syndrome to index th
3972 int index; local
3990 cpu_dcache_parity_check(ch_async_flt_t *ch_flt, int index) argument
4107 int index; local
4129 cpu_icache_parity_check(ch_async_flt_t *ch_flt, int index) argument
4244 int index; local
4262 cpu_pcache_parity_check(ch_async_flt_t *ch_flt, int index) argument
5641 int index = csi->csi_index; local
5854 int index = csmp->chsm_flush_index[CACHE_SCRUBBER_INFO_D]; local
5923 int index = csmp->chsm_flush_index[CACHE_SCRUBBER_INFO_I]; local
5996 int index = csmp->chsm_flush_index[CACHE_SCRUBBER_INFO_E]; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c216 /* Global hba index */
227 /* Device AL_PA to Device Head Queue index array. */
1767 uint16_t index; local
1846 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) {
1847 link = ha->dev[index].first;
1863 for (index = 0; index < QL_UB_LIMIT; index
3248 uint32_t index; local
3485 uint32_t index; local
3586 uint32_t index; local
3989 uint16_t index; local
5552 uint16_t index, loop_id; local
6149 uint16_t index; local
6213 uint16_t index; local
6380 uint16_t index; local
6589 int index; local
6740 uint16_t index; local
6788 uint16_t index; local
6865 uint16_t index; local
9016 uint16_t index; local
9100 uint16_t index; local
9249 uint16_t index, loop_id; local
9405 uint16_t index; local
9457 ql_ub_frame_hdr(ql_adapter_state_t *ha, ql_tgt_t *tq, uint16_t index, ql_head_t *done_q) argument
9868 uint16_t index; local
10012 uint32_t index; local
10123 uint16_t index; local
10170 uint16_t index, count; local
10215 uint16_t index; local
10266 uint16_t index; local
10373 uint16_t index; local
10656 uint16_t index; local
10691 uint16_t index; local
15416 uint16_t index; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c507 * When mac_tx() returns a cookie, the cookie is hashed into an index into
8963 * as an index to the ncec itself.
11025 /* bump route index for next pass */
11151 /* bump route index for next pass */
13182 uint_t index; local
13200 index = tx_list->txl_drain_index;
13201 ASSERT(index < ipst->ips_conn_drain_list_cnt);
13202 connp->conn_idl = &tx_list->txl_drain_list[index];
13203 index++;
13204 if (index
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c3009 * prints the name associated with interface with index ifindex to fp.
3077 * it's index and compare with ifindex param. Break if equal.
3092 IPQOSCDBG1(L1, "Failed to find if index %u in returned "
3229 * the index value it was derived from.
4561 * retrieves the index associated with the interface named ifname and assigns
5034 * which is used to index into these maps, the function creates x new entries
5067 int index = 0; local
5081 * with the index from the value parameter or the end.
5091 if (index++ == value) {
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c4840 devfsadm_enumerate_int(char *devfs_path, int index, char **buf, argument
4844 devfs_path, index, "0", INTEGER, buf, 0));
4848 disk_enumerate_int(char *devfs_path, int index, char **buf, argument
4852 devfs_path, index, "0", INTEGER, buf, 1));
4860 devfsadm_enumerate_int_start(char *devfs_path, int index, char **buf, argument
4864 devfs_path, index, start, INTEGER, buf, 0));
4872 devfsadm_enumerate_char(char *devfs_path, int index, char **buf, argument
4876 devfs_path, index, "a", LETTER, buf, 0));
4884 devfsadm_enumerate_char_start(char *devfs_path, int index, char **buf, argument
4888 devfs_path, index, star
4901 find_enum_id(devfsadm_enumerate_t rules[], int nrules, char *devfs_path, int index, char *min, int type, char **buf, int multiple) argument
5002 lookup_enum_cache(numeral_set_t *set, char *cmp_str, devfsadm_enumerate_t rules[], int index, numeral_t **matchnpp) argument
5393 enumerate_parse(char *rsvstr, char *path_left, numeral_set_t *setp, devfsadm_enumerate_t rules[], int index) argument
5509 enumerate_recurse(char *current_dir, char *path_left, numeral_set_t *setp, devfsadm_enumerate_t rules[], int index) argument
5664 create_cached_numeral(char *path, numeral_set_t *setp, char *numeral_id, devfsadm_enumerate_t rules[], int index) argument
8474 int index; local
8493 int index; local
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_sw.h315 * Defined for ring index operations
316 * ASSERT(index < limit)
321 #define NEXT_INDEX(index, step, limit) (((index) + (step)) < (limit) ? \
322 (index) + (step) : (index) + (step) - (limit))
323 #define PREV_INDEX(index, step, limit) ((index) >= (step) ? \
324 (index) - (step) : (index)
458 uint32_t index; /* Ring index */ member in struct:ixgbe_tx_ring
573 uint32_t index; /* Ring index */ member in struct:ixgbe_rx_ring
603 uint32_t index; /* Group index */ member in struct:ixgbe_rx_group
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c792 int ndx; /* table index. */
1141 int index, seqid, cotype; local
1150 index = ((char *)addr - (char *)coargs->co_table) /
1152 cotype = index & CALLOUT_TYPE_MASK;
1153 seqid = TABLE_TO_SEQID(index);
1216 coargs->ndx = index;
4164 { "modhash", "?[-ceht] [-k key] [-v val] [-i index]",
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c8711 int index, start_index; local
8719 index = ext_selftest_log->
8721 index |= ext_selftest_log->
8723 if (index == 0)
8726 --index; /* Correct for 0 origin */
8727 start_index = index; /* remember where we started */
8728 block_num = index / ENTRIES_PER_EXT_SELFTEST_LOG_BLK;
8736 index %= ENTRIES_PER_EXT_SELFTEST_LOG_BLK;
8739 smart_ext_selftest_log_entries[index];
8753 if (index
8943 int index; local
9220 int i, rval, index; local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_page.c275 page_hash_search(ulong_t index, vnode_t *vnode, u_offset_t off) argument
280 for (page = page_hash[index]; page; page = page->p_hash, mylen++)
726 ulong_t index; local
741 index = PAGE_HASH_FUNC(vp, off);
744 pp = page_hash_search(index, vp, off);
760 phm = PAGE_HASH_MUTEX(index);
797 phm = PAGE_HASH_MUTEX(index);
831 phm = PAGE_HASH_MUTEX(index);
878 phm = PAGE_HASH_MUTEX(index);
935 ulong_t index; local
1003 ulong_t index; local
1030 ulong_t index; local
1063 ulong_t index; local
1300 ulong_t index; local
2372 ulong_t index; local
3222 ulong_t index; local
3392 ulong_t index; local
3539 ulong_t index; local
6007 pgcnt_t index; local
6246 page_capture_register_callback(uint_t index, clock_t duration, int (*cb_func)(page_t *, void *, uint_t)) argument
6259 page_capture_unregister_callback(uint_t index) argument
6328 int index; local
6379 int index; local
6749 int index; local
7040 int index; local
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c3803 mac_init_ring(mac_impl_t *mip, mac_group_t *group, int index, argument
3815 * Ring index is numbered to be unique across a particular device.
3816 * Ring index computation makes following assumptions:
3818 * ring index exchanged with the driver (e.g. during mr_rget)
3823 ring->mr_index = group->mrg_index * group->mrg_info.mgi_count + index;
3836 index, &ring_info, (mac_ring_handle_t)ring);
3907 int index; local
3913 for (index = size - 1; index >= 0; index
4387 mac_find_ring(mac_group_handle_t gh, int index) argument
4408 i_mac_group_add_ring(mac_group_t *group, mac_ring_t *ring, int index) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c153 int index = 0; local
158 index++;
161 u = &" \0K\0M\0G\0T\0P\0E\0"[index*2];
163 if (index == 0) {
168 num, 1ULL << 10 * index, 2);
172 num, 1ULL << 10 * index, 1);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c2250 ztest_od_init(ztest_od_t *od, uint64_t id, char *tag, uint64_t index, argument
2265 tag, (int64_t)id, index);
3568 * for any index n, there are three bufwads that should be identical:
3612 * Pick a random index and compute the offsets into packobj and bigobj.
3679 * For each index from n to n + s, verify that the existing bufwad
3700 fatal(0, "wrong index: got %llx, wanted %llx+%llx",
3781 * For each index from n to n + s, verify that the existing bufwad
3802 fatal(0, "wrong index: got %llx, wanted %llx+%llx",
3846 * for any index n, there are three bufwads that should be identical:
3877 * Pick a random index an
[all...]

Completed in 500 milliseconds

<<3132333435363738