/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | lcgen.c | 48 int index; member in struct:Link_s 102 int index; member in struct:Territory_s 152 v->index = tab->count++; 533 ap->link.index = i++; 728 fprintf(lf, "&lc_charsets[%d],0,", lp->charset ? lp->charset->link.index : 0); 731 fprintf(lf, "&attribute_%s[%d],", lp->link.code, al->attribute->link.index); 755 fprintf(lf, "&lc_languages[%d],", ll->language->link.index); 769 fprintf(lf, "&lc_languages[%d],", mp->language->link.index); 770 fprintf(lf, "&lc_territories[%d],", mp->territory->link.index); 771 fprintf(lf, "&lc_charsets[%d],", mp->charset ? mp->charset->link.index [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 833 * the instance number (i.e. PPA) of the device, to use as an index to 1310 mac_group_add_ring(mac_group_handle_t gh, int index) argument 1317 ret = i_mac_group_add_ring(group, NULL, index);
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc_bd.c | 89 int index; local 92 index = FHC_B_SEARCH(boards, board); 93 ASSERT(index != -1); 94 return (boards.boards[index]->flags & BDF_DISABLED); 206 int index; local 209 index = FHC_B_SEARCH(boards, board); 210 ASSERT(index != -1); 211 return (boards.boards[index]->sc.in_transition); 217 int index; local 220 index 231 int index; local 267 int index; local 316 int index; local 371 int index; local 404 int index; local 418 int index; local 436 int index; local 510 int index; local 713 int index; local [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetahplus.c | 170 int index = 0; local 200 * CPUs, set "index" to the highest numbered CPU in 211 index = (int)i; 288 uint16_t next = (uint16_t)index; 315 for ((index = ((int)next - 1)); 316 index >= 0; index--) 317 if (CPU_IN_SET(set, index)) { 318 next = (uint16_t)index; 930 * index i [all...] |
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/ |
H A D | i2bsc.c | 834 i2bsc_put8(i2bsc_t *i2c, uint8_t space, uint8_t index, uint8_t value) argument 838 i2bsc_trace(i2c, '@', "i2bsc_put8", "(space,index)<-val (%d,%d)<-%d", 839 space, index, value); 853 I2BSC_NEXUS_ADDR(i2c, space, index), value); 868 i2bsc_get8(i2bsc_t *i2c, uint8_t space, uint8_t index) argument 885 I2BSC_NEXUS_ADDR(i2c, space, index)); 898 i2bsc_trace(i2c, '@', "i2bsc_get8", "(space,index)->val (%d,%d)->%d", 899 space, index, value); 904 i2bsc_put8_once(i2bsc_t *i2c, uint8_t space, uint8_t index, uint8_t value) argument 907 "(space,index)< 919 i2bsc_get8_once(i2bsc_t *i2c, uint8_t space, uint8_t index) argument [all...] |
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fcalupdate.c | 298 findversion(int index, uchar_t *version) argument 312 if ((dev_type = g_get_path_type(&sbussoc_list[index][0])) == 0) { 319 (void) sprintf(socal, "%s:0", &sbussoc_list[index][0]); 321 (void) sprintf(socal, "%s:1", &sbussoc_list[index][0]); 325 &sbussoc_list[index][0]); 370 &sbussoc_list[index][0]); 373 &sbussoc_list[index][0]); 377 &sbussoc_list[index][0]);
|
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_devconfig.c | 680 * Set the the slice index 685 * @param index 686 * the value to set as the the slice index 698 uint16_t index) 700 return (set_uint16(slice->attributes, ATTR_SLICE_INDEX, index)); 704 * Get the slice index 709 * @param index 710 * RETURN: the slice index 722 uint16_t *index) 724 int error = get_uint16(slice->attributes, ATTR_SLICE_INDEX, index); 696 devconfig_set_slice_index( devconfig_t *slice, uint16_t index) argument 720 devconfig_get_slice_index( devconfig_t *slice, uint16_t *index) argument [all...] |
/illumos-gate/usr/src/uts/common/io/efe/ |
H A D | efe.c | 738 int index; local 754 index = val / MCHASHSZ; 760 efep->efe_mchash[index] |= bit; 767 efep->efe_mchash[index] &= ~bit;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_table.cc | 657 * We're returning an index of the table array, so the caller 658 * should hold a lock until done with the index. To save us 1052 * Add the entry indicated by 'loc' to the enumIndex array, at 'index'. 1055 db_table::enumSetup(entryp loc, long index) { argument 1057 index < 0 || index >= enumCount.flag) 1060 ((entryp *)enumIndex.ptr)[index] = loc; 1061 ((entry_object **)enumArray.ptr)[index] = tab[loc];
|
H A D | ldap_nisdbquery.c | 211 * Given an array index[0..num-1] of pointers to strings of the form 218 * If 'rvP' is non-NULL, the searchable columns from the 'index' 221 * and object attributes. Names/values supplied in 'index' override 225 createQuery(int num, char **index, __nis_table_mapping_t *t, argument 264 if ((value = strchr(index[n], '=')) == 0) { 267 myself, index[n]); 275 if (strcmp(index[n], t->column[a]) == 0) { 278 if (addSCol2RuleValue(index[n], value, rvq)) { 290 myself, NIL(index[n])); 295 * Find out if any of the columns specified via the 'index' 906 int index; local 1217 queryFromComponent(db_query *q, int index, db_query *qbuf) argument [all...] |
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 439 int index, ans = 0; local 450 for (index = 0; map_list[index] != NULL; index ++) 451 if (map_name_len < strlen(map_list[index])) 452 map_name_len = strlen(map_list[index]); 463 for (index = 0; map_list[index] != NULL; index ++) { 471 strcat(map_name, map_list[index]); [all...] |
/illumos-gate/usr/src/uts/common/io/virtio/ |
H A D | virtio.c | 150 virtio_read_device_config_1(struct virtio_softc *sc, unsigned int index) argument 154 (uint8_t *)(sc->sc_io_addr + sc->sc_config_offset + index)); 158 virtio_read_device_config_2(struct virtio_softc *sc, unsigned int index) argument 163 (uint16_t *)(sc->sc_io_addr + sc->sc_config_offset + index)); 167 virtio_read_device_config_4(struct virtio_softc *sc, unsigned int index) argument 172 (uint32_t *)(sc->sc_io_addr + sc->sc_config_offset + index)); 176 virtio_read_device_config_8(struct virtio_softc *sc, unsigned int index) argument 184 index + sizeof (uint32_t))); 190 (uint32_t *)(sc->sc_io_addr + sc->sc_config_offset + index)); 195 virtio_write_device_config_1(struct virtio_softc *sc, unsigned int index, argument 204 virtio_write_device_config_2(struct virtio_softc *sc, unsigned int index, uint16_t value) argument 214 virtio_write_device_config_4(struct virtio_softc *sc, unsigned int index, uint32_t value) argument 224 virtio_write_device_config_8(struct virtio_softc *sc, unsigned int index, uint64_t value) argument 419 virtio_alloc_vq(struct virtio_softc *sc, unsigned int index, unsigned int size, unsigned int indirect_num, const char *name) argument [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | io.c | 452 int interactive, help, i, length, index, tied; local 948 * match the token. If a match is made, return the index 974 length = index = tied = 0; 998 index = str - strings; 1023 * We matched one. Return the index of the string we matched. 1025 return (index);
|
H A D | menu_command.c | 117 int index; local 155 if (geti(cleantoken, &index, (int *)NULL)) 161 if ((index < 0) || (index >= i)) { 162 err_print("`%d' is out of range.\n", index); 254 index = input(FIO_INT, "Specify disk (enter its number)", ':', 257 if (index >= i) { 269 if (i == index) 359 int i, index, deflt, *defltptr = NULL; local 415 index [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | physmem.c | 127 int index; local 131 index = PHYSMEM_HASH(curproc); 133 walker = &pph[index]; 159 int index; local 165 index = PHYSMEM_HASH(curproc); 169 iterator = pph[index]; 203 newp->pph_next = pph[index]; 206 pph[index] = newp; 225 int index; local 231 index 253 int index; local 286 int index; local [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xpvtap.c | 1411 uint_t index; local 1441 for (index = 0; index < array_size; index++) { 1442 rstruct->rs_free[index] = (uint64_t)0xFFFFFFFFFFFFFFFF; 1485 uint_t index; local 1505 for (index = min; index <= max; index++) { 1595 uint_t index; local [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc.c | 907 urdc = &rdc_u_info[krdc->index]; 996 rdc_kstat_create(int index) argument 998 int j = index; 999 rdc_k_info_t *krdc = &rdc_k_info[index]; 1000 rdc_u_info_t *urdc = &rdc_u_info[krdc->index]; 1049 rdc_kstat_delete(int index) argument 1051 rdc_k_info_t *krdc = &rdc_k_info[index]; 1071 * by the arg index. 1076 int index; local 1079 index [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_filter.c | 38 #define EFE_SPEC(eftp, index) ((eftp)->eft_entry[(index)].efe_spec) 43 __in unsigned int index) 45 return ((efx_filter_spec_t *)(EFE_SPEC(eftp, index) & 52 __in unsigned int index) 54 if (EFE_SPEC(eftp, index) & EFX_EF10_FILTER_FLAG_BUSY) 63 __in unsigned int index) 65 if (EFE_SPEC(eftp, index) & EFX_EF10_FILTER_FLAG_AUTO_OLD) 74 __in unsigned int index, 77 EFE_SPEC(eftp, index) 41 ef10_filter_entry_spec( __in const ef10_filter_table_t *eftp, __in unsigned int index) argument 50 ef10_filter_entry_is_busy( __in const ef10_filter_table_t *eftp, __in unsigned int index) argument 61 ef10_filter_entry_is_auto_old( __in const ef10_filter_table_t *eftp, __in unsigned int index) argument 72 ef10_filter_set_entry( __inout ef10_filter_table_t *eftp, __in unsigned int index, __in_opt const efx_filter_spec_t *efsp) argument 81 ef10_filter_set_entry_busy( __inout ef10_filter_table_t *eftp, __in unsigned int index) argument 89 ef10_filter_set_entry_not_busy( __inout ef10_filter_table_t *eftp, __in unsigned int index) argument 97 ef10_filter_set_entry_auto_old( __inout ef10_filter_table_t *eftp, __in unsigned int index) argument 106 ef10_filter_set_entry_not_auto_old( __inout ef10_filter_table_t *eftp, __in unsigned int index) argument [all...] |
H A D | efx_filter.c | 620 __in unsigned int index) 623 return ((sftp->sft_bitmap[index / 32] & (1 << (index % 32))) != 0); 629 __in unsigned int index) 632 sftp->sft_bitmap[index / 32] |= (1 << (index % 32)); 639 __in unsigned int index) 642 sftp->sft_bitmap[index / 32] &= ~(1 << (index % 32)); 889 __in int index, 618 siena_filter_test_used( __in siena_filter_tbl_t *sftp, __in unsigned int index) argument 627 siena_filter_set_used( __in siena_filter_tbl_t *sftp, __in unsigned int index) argument 637 siena_filter_clear_used( __in siena_filter_tbl_t *sftp, __in unsigned int index) argument 886 siena_filter_push_entry( __inout efx_nic_t *enp, __in siena_filter_type_t type, __in int index, __in efx_oword_t *eop) argument 1001 siena_filter_clear_entry( __in efx_nic_t *enp, __in siena_filter_tbl_t *sftp, __in int index) argument 1028 int index; local 1357 int index = 0; local [all...] |
H A D | efx_tx.c | 57 __in unsigned int index, 290 __in unsigned int index, 320 etp->et_index = index; 324 /* Initial descriptor index may be modified by etxo_qcreate */ 327 if ((rc = etxop->etxo_qcreate(enp, index, label, esmp, 885 __in unsigned int index, 913 if (index >= encp->enc_txq_limit) { 288 efx_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __deref_out efx_txq_t **etpp, __out unsigned int *addedp) argument 883 siena_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __in efx_txq_t *etp, __out unsigned int *addedp) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSUNP.c | 92 int flags, myflags, index, plen, scope; local 114 &index, &plen, &scope, &flags, ifname) != EOF) { 166 /* Add interface index */ 167 ifi->ifi_index = index; 531 int index = 200; local 594 // fprintf(stderr, "intf %p name=%s AF=%d\n", index, ifr->ifr_name, ifr->ifr_addr.sa_family); 638 ifi->ifi_index = index++; /* SIOCGIFINDEX is broken on Solaris 2.5ish, so fake it */
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_ev.c | 207 unsigned int index = sep->se_index; local 208 sfxge_rxq_t *srp = sp->s_srp[index]; 221 ASSERT3U(stp->st_evq, ==, index); 354 unsigned int index; local 366 index = srp->sr_index; 367 if (index == sep->se_index) { 373 sep_targetq = sp->s_sep[index]; 394 unsigned int index; local 406 index = srp->sr_index; 407 if (index 606 sfxge_ev_timer(void *arg, uint32_t index) argument 614 sfxge_ev_wake_up(void *arg, uint32_t index) argument 669 unsigned int index = sep->se_index; local 731 sfxge_ev_qinit(sfxge_t *sp, unsigned int index, unsigned int ev_batch) argument 779 sfxge_ev_qstart(sfxge_t *sp, unsigned int index) argument 895 sfxge_ev_qpoll(sfxge_t *sp, unsigned int index) argument 961 sfxge_ev_qprime(sfxge_t *sp, unsigned int index) argument 993 sfxge_ev_qmoderate(sfxge_t *sp, unsigned int index, unsigned int us) argument 1004 sfxge_ev_qstop(sfxge_t *sp, unsigned int index) argument 1037 sfxge_ev_qfini(sfxge_t *sp, unsigned int index) argument 1167 int index; local 1238 int index; local 1281 int index; local 1309 int index; local 1326 int index; local [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 913 * pcibios-find-devclass (class index -- locator) 915 * Finds the index'th instance of class in the pci tree. 918 * index 0..N (set to 0, increment until error) 925 uint32_t index, class, locator; local 927 index = ficlStackPopInteger(ficlVmGetDataStack(pVM)); 930 if (biospci_find_devclass(class, index, &locator)) 937 * pcibios-find-device(devid index -- locator) 939 * Finds the index'th instance of devid in the pci tree. 942 * index 0..N (set to 0, increment until error) 949 uint32_t index, devi local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_api.c | 843 * @index: the RAR to set 847 int e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) argument 850 return hw->mac.ops.rar_set(hw, addr, index);
|
/illumos-gate/usr/src/uts/common/io/udmf/ |
H A D | udmf_usbgem.c | 609 udmf_mii_read(struct usbgem_dev *dp, uint_t index, int *errp) argument 614 (dp->mii_phy_addr << EPAR_PHYADR_SHIFT) | index, errp); 620 udmf_mii_write(struct usbgem_dev *dp, uint_t index, uint16_t val, int *errp) argument 623 (dp->mii_phy_addr << EPAR_PHYADR_SHIFT) | index, val, errp); 660 udmf_eeprom_read(struct usbgem_dev *dp, uint_t index, int *errp) argument 664 val = udmf_ep_read(dp, 0, index, errp);
|