/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | fasttrap.c | 501 fasttrap_tracepoint_enable(proc_t *p, fasttrap_probe_t *probe, uint_t index) argument 509 ASSERT(index < probe->ftp_ntps); 512 pc = probe->ftp_tps[index].fit_tp->ftt_pc; 513 id = &probe->ftp_tps[index].fit_id; 515 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid); 634 new_tp = probe->ftp_tps[index].fit_tp; 674 fasttrap_tracepoint_disable(proc_t *p, fasttrap_probe_t *probe, uint_t index) argument 683 ASSERT(index < probe->ftp_ntps); 686 pc = probe->ftp_tps[index].fit_tp->ftt_pc; 687 id = &probe->ftp_tps[index] 2021 uint_t index; local [all...] |
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 107 /* name, field width, index, callback */ 236 int index; local 238 for (index = 0; (int)(num/1000) != 0; index++, num /= 1000) 241 switch (index) {
|
/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 157 * the index into argv of the first string that is not an option. If 942 int i, index, status, flags = 0; local 1137 * Here's the index of the partition we're dealing with 1139 index = ident[0] - PARTITION_BASE; 1153 vtoc_tag = pinfo->vtoc.v_part[index].p_tag; 1154 vtoc_flag = pinfo->vtoc.v_part[index].p_flag; 1245 pinfo->pinfo_map[index].dkl_cylno = val1; 1246 pinfo->pinfo_map[index].dkl_nblk = val2; 1247 pinfo->vtoc.v_part[index].p_tag = vtoc_tag; 1248 pinfo->vtoc.v_part[index] [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 309 * Given the index into a table (msgcvt_t) of messages, 319 DPRINTF("get_error_msg: bad error msg index: %d\n", msg_index); 463 DPRINTF("ib_err_msg: Unrecognized message index: %d\n", rv); 1644 int i, index, count; local 1799 index = 1; count = 0; 1810 ++index; 1814 * Check if the index doesn't go beyond the 1818 if (show_dynamic == 0 && index > num_devices) 1823 &(ap_id_list[0][index]);
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_pfp.c | 1052 * the index is returned as 0 for a couple of reasons: 1054 * (2) the MAC index is currently 32bits and sdl_index is 16. 1410 * its index. Both a mac_handle_t and mac_client_handle_t are acquired 1419 pfp_open_index(int index, mac_handle_t *mhp, mac_client_handle_t *mcip, argument 1430 error = mac_open_by_linkid(index, &mh);
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_mac.c | 40 static int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index); 473 * @index: receive address array register 475 * Sets the receive address array register at index to the address passed 478 static int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) argument 500 E1000_WRITE_REG(hw, E1000_RAL(index), rar_low); 502 E1000_WRITE_REG(hw, E1000_RAH(index), rar_high);
|
H A D | e1000_phy.c | 2410 u16 phy_data, index; local 2418 index = ((phy_data & M88E1000_PSSR_CABLE_LENGTH) >> 2421 if (index >= M88E1000_CABLE_LENGTH_TABLE_SIZE - 1) 2424 phy->min_cable_length = e1000_m88_cable_length_table[index]; 2425 phy->max_cable_length = e1000_m88_cable_length_table[index + 1]; 2437 u16 index, default_page; local 2518 index = (phy_data & M88E1000_PSSR_CABLE_LENGTH) >> 2521 if (index >= M88E1000_CABLE_LENGTH_TABLE_SIZE - 1) 2524 phy->min_cable_length = e1000_m88_cable_length_table[index]; 2525 phy->max_cable_length = e1000_m88_cable_length_table[index [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | bio.c | 408 uint_t index; local 456 index = bio_bhash(bp->b_edev, bp->b_blkno); 457 hmp = &hbuf[index].b_lock; 460 hp = &hbuf[index]; 476 dp = (struct buf *)&dwbuf[index]; 577 uint_t index; local 586 index = bio_bhash(dev, blkno); 587 hp = &hbuf[index]; 789 uint_t index; local 791 index 867 int i, index; local 962 uint_t index; local 1024 uint_t index; local 1896 uint_t index; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vgatext.c | 1289 int length, index; local 1297 for (index = 0; index < length / sizeof (pci_regspec_t); index++) { 1298 if ((reg[index].pci_phys_hi & himask) != hival) 1300 if (reg[index].pci_size_hi != 0) 1302 if (reg[index].pci_phys_mid != 0) 1304 if (reg[index].pci_phys_low > addr) 1306 if (reg[index].pci_phys_low + reg[index] 1348 int length, index; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 208 zfsctl_root_inode_cb(vnode_t *vp, int index) argument 212 ASSERT(index <= 2); 214 if (index == 0)
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_transceiver.c | 300 * sync the write-back head portion of the DMA space. Based on the index it 302 * indicated index and update HEAD to the new index. 312 * index into the free list and add things to it. In effect, we always push and 468 * are used to increment and decrement a descriptor index in the loop. Note, 1166 i40e_rx_bind(i40e_trqpair_t *itrq, i40e_rx_data_t *rxd, uint32_t index, argument 1180 rcb = rxd->rxd_work_list[index]; 1214 rxd->rxd_work_list[index] = rep_rcb; 1224 i40e_rx_copy(i40e_trqpair_t *itrq, i40e_rx_data_t *rxd, uint32_t index, argument 1231 ASSERT(index < rx 1951 uint32_t index; local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_mcdi.c | 1080 unsigned int index; local 1146 for (index = 1; 1147 index < 1 + MC_CMD_GET_ASSERTS_OUT_GP_REGS_OFFS_NUM; 1148 index++) { 1149 EFSYS_PROBE2(mcpu_register, unsigned int, index, unsigned int, 1884 * vf number is 0xffff. The vf number is the index of the vf on that
|
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 255 int index = 0; local 260 index++; 263 u = " KMGTPE"[index]; 265 if (index == 0) { 271 (double)num / (1ULL << 10 * index), u) <= 5)
|
/illumos-gate/usr/src/lib/libdns_sd/java/common/ |
H A D | JNISupport.c | 60 // /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h:609: warning: declaration of 'index' shadows a global declaration 61 // To work around this, we use the preprocessor to map the identifier 'index', which appears harmlessly in function prototype declarations, 63 #define index jni_index macro 65 #undef index macro
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_rx.c | 382 unsigned int index = srp->sr_index; local 383 sfxge_evq_t *sep = sp->s_sep[index]; 454 unsigned int index = srp->sr_index; local 455 sfxge_evq_t *sep = sp->s_sep[index]; 758 unsigned int index = srp->sr_index; local 759 sfxge_evq_t *sep = sp->s_sep[index]; 881 unsigned int index = srp->sr_index; local 882 sfxge_evq_t *sep = sp->s_sep[index]; 955 unsigned int index = srp->sr_index; local 956 sfxge_evq_t *sep = sp->s_sep[index]; 1034 unsigned int index = srp->sr_index; local 1080 unsigned int index = srp->sr_index; local 1095 unsigned int index = srp->sr_index; local 1122 unsigned int index = srp->sr_index; local 1160 unsigned int index = srp->sr_index; local 1213 sfxge_rx_qinit(sfxge_t *sp, unsigned int index) argument 1247 sfxge_rx_qstart(sfxge_t *sp, unsigned int index) argument 1696 unsigned int index = srp->sr_index; local 1922 unsigned int index = srp->sr_index; local 1945 unsigned int index = srp->sr_index; local 1965 sfxge_rx_qstop(sfxge_t *sp, unsigned int index) argument 2060 sfxge_rx_qfini(sfxge_t *sp, unsigned int index) argument 2086 unsigned int index; local 2138 unsigned int index; local 2289 unsigned int index; local 2334 unsigned int index; local 2536 int index; local 2607 int index; local 2753 int index; local 2784 int index; local 2808 int index; local [all...] |
H A D | sfxge_tx.c | 1028 unsigned int index = stp->st_index; local 1038 ddi_driver_name(dip), index); 1087 sfxge_tx_qinit(sfxge_t *sp, unsigned int index, sfxge_txq_type_t type, argument 1094 ASSERT3U(index, <, EFX_ARRAY_SIZE(sp->s_stp)); 1106 stp->st_index = index; 1132 ASSERT3P(sp->s_stp[index], ==, NULL); 1133 sp->s_stp[index] = stp; 1159 sfxge_tx_qstart(sfxge_t *sp, unsigned int index) argument 1161 sfxge_txq_t *stp = sp->s_stp[index]; 1208 if ((rc = efx_tx_qcreate(enp, index, st 2458 sfxge_tx_qflush(sfxge_t *sp, unsigned int index, boolean_t wait_for_flush) argument 2490 sfxge_tx_qstop(sfxge_t *sp, unsigned int index) argument 2557 sfxge_tx_qfini(sfxge_t *sp, unsigned int index) argument 2607 int index; local 2707 int index; local 2756 int index; local 3020 int index; local 3081 int index; local [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | doname.cc | 98 extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); 2993 * reset_locals(target, old_locals, conditional, index) 3001 * index into the old_locals vector 3007 reset_locals(register Name target, register Property old_locals, register Property conditional, register int index) argument 3020 reset_locals(target, old_locals, this_conditional, index+1); 3033 macro_prop)->body.macro = old_locals[index].body.macro; 3038 if (old_locals[index].body.macro.value != NULL) { 3044 old_locals[index].body.macro.value->
|
/illumos-gate/usr/src/common/ficl/ |
H A D | vm.c | 514 * local's index in the word's pfa 539 * local's index in the word's pfa 1209 ficlCell index, limit; local 1213 index = *dataTop--; 1219 *++returnTop = index; 1225 ficlCell index, limit, leave; local 1229 index = *dataTop--; 1234 if (limit.u == index.u) { 1240 *++returnTop = index; 1248 ficlInteger index; local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nandfs.c | 983 nandfs_mdt_trans(struct nandfs_mdt *mdt, uint64_t index, argument 991 group = index / mdt->entries_per_group; 992 group_offset = index % mdt->entries_per_group;
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | main.c | 458 dtlb_enter_sun4u(u_int index, u_long data, vm_offset_t virt) argument 461 return (OF_call_method("SUNW,dtlb-load", mmu, 3, 0, index, data, 466 itlb_enter_sun4u(u_int index, u_long data, vm_offset_t virt) argument 469 if (cpu_impl == CPU_IMPL_ULTRASPARCIIIp && index == 0 && 471 panic("%s: won't enter locked TLB entry at index 0 on USIII+", 473 return (OF_call_method("SUNW,itlb-load", mmu, 3, 0, index, data, 525 u_int index; local 563 index = dtlb_slot_max - dtlb_slot - 1; 564 if (dtlb_enter_sun4u(index, data, va) < 0) 566 "%#lx va %#lx", __func__, index, dat [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 1562 xattrdir_do_ino(vnode_t *vp, int index) argument 1565 * We use index 0 for the directory fid. Start 1568 return ((ino64_t)index+1);
|
/illumos-gate/usr/src/uts/common/io/axf/ |
H A D | axf_usbgem.c | 883 axf_mii_read(struct usbgem_dev *dp, uint_t index, int *errp) argument 889 dp->name, __func__, index)); 895 IN(dp, VCMD_READ_MII_REG, dp->mii_phy_addr, index, 910 axf_mii_write(struct usbgem_dev *dp, uint_t index, uint16_t val, int *errp) argument 915 dp->name, __func__, index, val)); 923 OUT(dp, VCMD_WRITE_MII_REG, dp->mii_phy_addr, index, 1023 * specified index. 1125 DPRINTF(0, (CE_CONT, "!%s: %s: index:%d, val %b != 0", 1140 "index:%d, pat:%x != val:%b",
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | token.c | 395 int index = 0; local 520 index += fwid; 522 (((index + fwid) > 75) || 525 index = 0; 675 int id; /* index of where we are in destination string */ 676 int is; /* index of where we are in source string */
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 714 dump_symtab(pgcore_t *pgc, file_info_t *fptr, uint_t index, int dynsym) argument 733 index + 1, sym->sym_hdr_pri.sh_info, sym->sym_hdr_pri.sh_addralign, 758 uint_t index = 1; local 792 symindex = index; 793 if (dump_symtab(pgc, fptr, index, dynsym) != 0) 795 index += 2; 811 index++; 819 if (dump_symtab(pgc, fptr, index, 0) != 0) 821 index += 2; 1092 * header, we'll need that program header at index zer 1614 uint_t index; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 572 int index = 0; local 577 index++; 580 u = " KMGTPE"[index]; 582 if (index == 0) { 584 } else if ((num & ((1ULL << 10 * index) - 1)) == 0) { 603 (double)num / (1ULL << 10 * index), u) <= 5) 1162 * (index, boolean, etc) if they are specified as strings and add the 1168 * command line utilities). This also handles converting index types 1169 * (compression, checksum, etc) from strings to their on-disk index.
|