Searched defs:index (Results 751 - 775 of 945) sorted by relevance

<<3132333435363738

/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_kernel.c2691 * Sets the current index in a result set.
2695 pool_knl_rs_set_index(pool_result_set_t *set, int index) argument
2699 if (index < 0 || index >= kset->pkr_count) {
2703 kset->prs_index = index;
2708 * Return the current index in a result set.
2709 * Returns current index
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent.c491 if ((pstr = index(pstr, ':')) == NULL)
1174 int index; local
1182 index = CLASS_HASH(class);
1183 c_list = class_hash[index];
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c1532 int i, index; local
1536 index = 0;
1591 if (++index >= size) {
1600 if (index < size) {
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c527 uint8_t *port_wwn, uint32_t index, fc_tgt_hba_port_attributes_t *port_attr,
544 if (index >= iport->iport_nrps_login) {
554 if ((index + 1) <= count)
526 fct_get_discovered_port_attr(fct_i_remote_port_t *remote_port, uint8_t *port_wwn, uint32_t index, fc_tgt_hba_port_attributes_t *port_attr, uint32_t *error_detail) argument
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c3775 index = COMPUTE_INDEX(hash, mac_srs->srs_tx_ring_count), \
3776 softring = mac_srs->srs_tx_soft_rings[index]; \
3778 DTRACE_PROBE2(tx__fanout, uint64_t, hash, uint_t, index); \
3787 uint_t index; local
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c1567 #define SET_ACE(acl, index, who, mask, type, flags) { \
1568 acl[0][index].a_who = (uint32_t)who; \
1569 acl[0][index].a_type = type; \
1570 acl[0][index].a_flags = flags; \
1571 acl[0][index++].a_access_mask = mask; \
1640 int index = 0; local
1658 SET_ACE(acl, index, -1, masks.allow0,
1662 SET_ACE(acl, index, -1, masks.deny1,
1666 SET_ACE(acl, index, -1, masks.deny2,
1670 SET_ACE(acl, index,
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit.c3165 * index into the same location in the array.
3174 uint32_t index; local
3190 index = ntohl(cmdsn) % ISCSIT_RXPDU_QUEUE_LEN;
3200 if (cbuf->cb_buffer[index] != NULL) {
3203 cbuf->cb_buffer[index] = rx_pdu;
3213 uint32_t index; local
3216 index = cmdsn % ISCSIT_RXPDU_QUEUE_LEN;
3217 if ((pdu = cbuf->cb_buffer[index]) != NULL) {
3220 cbuf->cb_buffer[index] = NULL;
3377 uint32_t index, next_cmds local
[all...]
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c1331 * selected by MapMask register (index 0x02)
1457 int length, index; local
1465 for (index = 0; index < length / sizeof (pci_regspec_t); index++) {
1466 if ((reg[index].pci_phys_hi & himask) != hival)
1468 if (reg[index].pci_size_hi != 0)
1470 if (reg[index].pci_phys_mid != 0)
1472 if (reg[index].pci_phys_low > addr)
1474 if (reg[index]
1516 int length, index; local
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_eeprom.c2633 uint8_t index, uint16_t *config)
2641 switch (index) {
2666 uint8_t index, uint16_t *config)
2672 switch (index) {
2686 uint8_t index, uint16_t *config)
2693 index, config);
2696 index, config);
2631 ath9k_hw_get_def_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
2664 ath9k_hw_get_4k_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
2684 ath9k_hw_get_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
H A Darn_main.c527 * XXX select protection rate index from rate table.
680 int nchan, i, index; local
703 index = ath9k_hw_mhz2ieee(ah, c->channel, c->channelFlags);
705 if (index > IEEE80211_CHAN_MAX) {
709 index, c->channel, c->channelFlags));
713 if (index < 0) {
722 index, c->channel, c->channelFlags));
735 if (ic->ic_sup_channels[index].ich_freq == 0) {
736 ic->ic_sup_channels[index].ich_freq = c->channel;
737 ic->ic_sup_channels[index]
2337 uint32_t val, index, bit; local
[all...]
H A Darn_xmit.c246 int index, cindex; local
248 index = ATH_BA_INDEX(tid->seq_start, seqno);
249 cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1);
264 int index, cindex; local
269 index = ATH_BA_INDEX(tid->seq_start, bf->bf_seqno);
270 cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1);
275 if (index >= ((tid->baw_tail - tid->baw_head) &
1249 * rix - rate index
1416 "index:%d"
1772 uint32_t index; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A Ddns-sd.c87 typedef PCHAR (WINAPI * if_indextoname_funcptr_t)(ULONG index, PCHAR name);
93 unsigned index = 0; local
103 index = if_nametoindex_funcptr(ifname);
109 return index;
1266 // Return the recognized option in optstr and the option index of the next arg.
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1480 uint64_t *index = NULL; local
1586 * Calculate the number of index entries required.
1587 * index entries are stored as an array. adding
1592 index = malloc(sizeof (*index) * index_sz);
1594 if (index == NULL)
1656 index[count] = BE_64(offset);
1667 * The last index entry is a sentinel entry. It does not point to
1670 * computed by subtracting the current index value from the next
1673 index[coun
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c1034 uint_t index; local
1038 index = off / size;
1043 n = mdb_snprintf(buf, len, "[%u]", index);
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c130 * index just before the entry it is the index for. Changing the order
131 * can cause breakage. E.g OPT_RW is index 1 and must precede the
254 * index.
264 return (optdefs[i].index);
984 "NFS: index=\"%s\" not valid;"
991 /* valid index file string */
1001 "index property\n"));
2216 if (optdefs[optindex].index == OPT_PUBLIC) {
2478 int index; member in struct:proto_option_defs
2631 int index; local
2986 nfs_minmax_check(int index, int value) argument
3037 nfs_validate_proto_prop(int index, char *name, char *value) argument
3151 int index = findprotoopt(name, 1); local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_anon.c259 int index; local
262 index = ANON_HASH(ap->an_vp, ap->an_off);
263 ap->an_hash = anon_hash[index];
264 anon_hash[index] = ap;
379 * specified anon index.
412 * starting from the given index.
415 anon_get_next_ptr(struct anon_hdr *ahp, ulong_t *index) argument
424 i = *index;
437 *index = i;
454 *index
1348 ulong_t index; local
1399 ulong_t index, off; local
1509 ulong_t index, off; local
1591 anon_free(struct anon_hdr *ahp, ulong_t index, size_t size) argument
1628 ulong_t index, off; local
1673 anon_disclaim(struct anon_map *amp, ulong_t index, size_t size, uint_t behav, pgcnt_t *purged) argument
2859 ulong_t p_index, index; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c737 /* get block id from index */
863 int idx; /* index within a block */
1255 nvlist_array(char *nvlist, int index) argument
1259 for (i = 0; i < index; i++) {
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_api.c724 * @index: led number to turn on
728 s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index) argument
730 return ixgbe_call_func(hw, hw->mac.ops.led_on, (hw, index),
737 * @index: led number to turn off
741 s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index) argument
743 return ixgbe_call_func(hw, hw->mac.ops.led_off, (hw, index),
750 * @index: led number to blink
752 * Blink LED based on index.
754 s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index) argument
756 return ixgbe_call_func(hw, hw->mac.ops.blink_led_start, (hw, index),
766 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index) argument
901 ixgbe_set_rar(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument
915 ixgbe_clear_rar(struct ixgbe_hw *hw, u32 index) argument
[all...]
/illumos-gate/usr/src/common/ficl/
H A Dficl.h829 * the block of text it's working on and an index to the next
843 ficlInteger index; member in struct:__anon487
1147 * as a pointer to the start of the buffer, and an index to the
1157 #define ficlVmGetInBuf(vm) ((vm)->tib.text + (vm)->tib.index)
1160 #define ficlVmGetTibIndex(vm) ((vm)->tib.index)
1161 #define ficlVmSetTibIndex(vm, i) ((vm)->tib.index = i)
1163 ((vm)->tib.index = (str) - (vm)->tib.text)
1359 * Highest index is the first list in the search order.
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c104 * entry - index of BE.
118 int index; local
150 * else stop if index == entry.
152 index = 0;
159 if (index == entry)
161 index++;
/illumos-gate/usr/src/uts/common/os/
H A Dlog_sysevent.c889 char *event_class, int index)
906 c_list->cl_next = chan->scd_class_list_tbl[index];
907 chan->scd_class_list_tbl[index] = c_list;
888 create_channel_registration(sysevent_channel_descriptor_t *chan, char *event_class, int index) argument
/illumos-gate/usr/src/uts/i86pc/io/
H A Dmp_platform_common.c220 * First available slot to be used as IRQ index into the apic_irq_table
586 int i, intmax, index; local
634 apic_nproc = index = 1;
653 ASSERT(index == 1);
657 local_ids[index] = mpa->Id;
658 proc_ids[index] = mpa->ProcessorId;
659 index++;
773 ASSERT(index == 1);
777 local_ids[index] = mpx2a->LocalApicId;
778 proc_ids[index]
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c292 int n; /* index for newsec - newsecinfo */
1443 * Check the index flag. Do this here to avoid holding the
1444 * lock while dealing with the index option (as we do with
2050 * (7 for NFS2), subsequent SNEGO MCLs will have a larger index
2590 * load the index file from user space into kernel space.
2596 char index[MAXNAMELEN+1]; local
2604 if (error = copyinstr(kex->ex_index, index, sizeof (index), &len))
2608 bcopy(index, kex->ex_index, len);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c539 * if spill would occur the index in the attribute array is returned
546 dmu_buf_t *db, sa_buf_type_t buftype, int *index, int *total,
557 *index = 0;
562 *index = -1;
602 if (*index != -1)
606 if (*index == -1)
607 *index = i;
614 * find index of where spill *could* occur.
619 if (buftype == SA_BONUS && *index == -1 &&
622 *index
545 sa_find_sizes(sa_os_t *sa, sa_bulk_attr_t *attr_desc, int attr_count, dmu_buf_t *db, sa_buf_type_t buftype, int *index, int *total, boolean_t *will_spill) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipnet/
H A Dipnet.c921 uint64_t index = ipnetif->if_index; local
928 err = ip_join_allmulti(index, B_FALSE, ipst);
934 err = ip_join_allmulti(index, B_TRUE, ipst);
937 (void) ip_leave_allmulti(index, B_FALSE, ipst);
956 uint64_t index = ipnetif->if_index; local
962 err = ip_leave_allmulti(index, B_FALSE, ipst);
967 err = ip_leave_allmulti(index, B_TRUE, ipst);
1286 ipnetif_create(const char *name, uint64_t index, ipnet_stack_t *ips, argument
1306 ipnetif->if_index = (uint_t)index;
1315 VERIFY(avl_find(&ips->ips_avl_by_index, &index,
[all...]

Completed in 343 milliseconds

<<3132333435363738