/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 183 iptun_m_getstat(void *arg, uint_t stat, uint64_t *val) argument 188 switch (stat) { 2055 * Frees a packet or packet chain and bumps stat for each freed packet. 2058 iptun_drop_pkt(mblk_t *mp, uint64_t *stat) argument 2065 if (stat != NULL) 2066 atomic_inc_64(stat); 2920 * Process output packets with outer IPv4 headers. Frees mp and bumps stat on
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 1517 typegraph_stat_print(char *name, size_t stat) argument 1526 mdb_printf("%30s => %ld\n", name, stat); 1536 typegraph_stat_perc(char *name, size_t stat, size_t total) argument 1538 int perc = (stat * 100) / total; 1539 int tenths = ((stat * 1000) / total) % 10; 1541 mdb_printf("typegraph: %30s => %-13ld (%2d.%1d%%)\n", name, stat,
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 39 #include <sys/stat.h> 1394 stat_flags = args.stat; 1763 if (args.stat & DSW_COPYINGP) 1823 struct stat mstat, sstat, bstat; 1978 if (stat(master_volume, &mstat) != 0) 1986 if (stat(shadow_volume, &sstat) != 0) 2002 if (stat(bitmap_volume, &bstat) != 0) { 2166 spcs_s_info_t *stat; local 2220 stat = &parms.status; 2224 stat 2304 spcs_s_info_t *stat; local [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | backend.c | 48 #include <sys/stat.h> 477 statvfs64_t stat; local 479 if (statvfs64(path, &stat) == 0 && (stat.f_flag & ST_RDONLY)) 874 struct stat s_rep, s_backup; 1495 struct stat s_buf; 1737 struct stat s_buf; 1748 if (stat(fast_db, &s_buf) < 0) { 2782 struct stat sb; 2784 if ((stat(REPOSITORY_CHECKPOIN [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dlinet.c | 299 enum clnt_stat stat; local 336 &stat)) { 340 switch (stat) { 406 enum clnt_stat stat; local 419 stat = pmap_kgetport(&dl_udp_netconf, sa, (rpcprog_t)MOUNTPROG, 422 if (stat == RPC_TIMEDOUT) { 426 } else if (stat != RPC_SUCCESS) { 429 stat, clnt_sperrno(stat)); 432 } while (stat 486 enum clnt_stat stat; local 585 enum clnt_stat stat; local 640 enum clnt_stat stat; local 823 enum clnt_stat stat; local 1867 enum clnt_stat stat; local 1950 enum clnt_stat stat; local [all...] |
H A D | nfs_server.c | 46 #include <sys/stat.h> 569 rdma_stat stat; local 614 stat = rdma_kwait(); 621 if ((stat == RDMA_HCA_DETACH || stat == RDMA_INTR) && 631 if (stat == RDMA_INTR) 639 if ((stat == RDMA_HCA_ATTACH) && (svc_state == 0)) 2014 int i, nfsflavor, rpcflavor, stat, access; local 2053 stat = sec_svc_getcred(req, cr, &principal, &nfsflavor); 2059 if (!stat [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 45 #include <sys/stat.h> 355 bridge_m_getstat(void *arg, uint_t stat, uint64_t *val) argument
|
H A D | pcic.c | 54 #include <sys/stat.h> 419 int stat; local 422 if ((stat = ddi_soft_state_init(&pcic_soft_state_p, 424 return (stat); 426 if ((stat = mod_install(&modlinkage)) != 0) 429 return (stat); 435 int stat = 0; local 437 if ((stat = mod_remove(&modlinkage)) != 0) 438 return (stat); 454 return (stat); [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | lgrp.c | 968 lgrp_stat_t stat; local 972 for (stat = 0; stat < LGRP_NUM_STATS; stat++) 973 kstat_named_init(&lgrp_kstat_data[stat], 974 lgrp_kstat_names[stat], KSTAT_DATA_INT64); 1676 lgrp_stat_add(lgrp_id_t lgrpid, lgrp_stat_t stat, int64_t val) argument 1688 atomic_add_64((uint64_t *)LGRP_STAT_WRITE_PTR(pstats, stat), val); 1692 lgrp_stat_read(lgrp_id_t lgrpid, lgrp_stat_t stat) argument 1701 LGRP_STAT_READ(pstats, stat, va 1711 lgrp_stat_t stat; local 1731 lgrp_stat_t stat; local 3637 int stat = 0; local [all...] |
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.c | 2141 hme_m_stat(void *arg, uint_t stat, uint64_t *val) argument 2153 if (mii_m_getstat(hmep->hme_mii, stat, val) == 0) { 2156 switch (stat) {
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_kstats.c | 2105 uint_t stat) 2126 switch (stat) { 2151 uint_t stat) 2172 switch (stat) { 2197 nxge_rx_ring_stat(mac_ring_driver_t rdriver, uint_t stat, uint64_t *val) argument 2212 switch (stat) { 2237 nxge_tx_ring_stat(mac_ring_driver_t rdriver, uint_t stat, uint64_t *val) argument 2252 switch (stat) { 2275 nxge_m_stat(void *arg, uint_t stat, uint64_t *value) argument 2284 switch (stat) { 2103 nxge_m_rx_stat( nxge_t *nxgep, uint_t stat) argument 2149 nxge_m_tx_stat( nxge_t *nxgep, uint_t stat) argument [all...] |
H A D | nxge_mac.c | 2554 #define NXGE_SET_PHY_TUNABLES(nxgep, phy_port, stat) \ 2560 if ((stat = nxge_mdio_write(nxgep, phy_port, \ 2883 uint16_t stat; local 2898 (void) nxge_mdio_read(nxgep, ctrl_port, phy_dev, phy_reg, &stat); 2899 while ((stat != 0x01) && (count-- > 0)) { 2901 &stat);
|
H A D | nxge_rxdma.c | 4479 rx_ctl_dat_fifo_stat_t stat; local 4489 rs = npi_rxdma_rxctl_fifo_error_intr_get(handle, &stat); 4494 if (stat.bits.ldw.id_mismatch) { 4501 if ((stat.bits.ldw.zcp_eop_err) || (stat.bits.ldw.ipp_eop_err)) { 4504 if ((stat.bits.ldw.zcp_eop_err & FIFO_EOP_PORT0) || 4505 (stat.bits.ldw.ipp_eop_err & FIFO_EOP_PORT0)) { 4507 zcp_err_status = stat.bits.ldw.zcp_eop_err; 4508 ipp_err_status = stat.bits.ldw.ipp_eop_err; 4512 if ((stat [all...] |
/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | rtw.c | 38 #include <sys/stat.h> 2592 RTW_DPRINTF(RTW_DEBUG_RECV, "%s: stat=%x\n", __func__, hstat); 2736 "%s rtw_ring_recycling: stat=%x, pri=%x\n", 3046 rtw_m_stat(void *arg, uint_t stat, uint64_t *val) argument 3054 switch (stat) { 3092 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/urtw/ |
H A D | urtw.c | 4107 urtw_m_stat(void *arg, uint_t stat, uint64_t *val) argument 4115 switch (stat) { 4160 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh.c | 37 #include <sys/stat.h> 2322 iwh_rx_phy_res_t *stat; local 2329 stat = (iwh_rx_phy_res_t *)sc->sc_rx_phy_res.buf; 2330 if (stat->cfg_phy_cnt > 20) { 2334 phyinfo = (struct iwh_rx_non_cfg_phy *)stat->non_cfg_phy; 2372 "cfg_phy_count=%x tail=%x", ring->cur, sizeof (*stat), 2373 len, stat->rate.r.s.rate, stat->channel, 2374 LE_32(stat->timestampl), stat 2442 iwh_tx_stat_t *stat = (iwh_tx_stat_t *)(desc + 1); local 3587 iwh_m_stat(void *arg, uint_t stat, uint64_t *val) argument [all...] |
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp.c | 37 #include <sys/stat.h> 2226 iwp_rx_phy_res_t *stat; local 2233 stat = (iwp_rx_phy_res_t *)sc->sc_rx_phy_res.buf; 2234 if (stat->cfg_phy_cnt > 20) { 2238 phyinfo = (struct iwp_rx_non_cfg_phy *)stat->non_cfg_phy; 2276 "cfg_phy_count=%x tail=%x", ring->cur, sizeof (*stat), 2277 len, stat->rate.r.s.rate, stat->channel, 2278 LE_32(stat->timestampl), stat 2346 iwp_tx_stat_t *stat = (iwp_tx_stat_t *)(desc + 1); local 3422 iwp_m_stat(void *arg, uint_t stat, uint64_t *val) argument [all...] |
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 39 #include <sys/stat.h> 46 #include <sys/stat.h> 552 ring->cur = ring->next = ring->stat = 0; 2230 /* XXX stat+msg */ 3561 mwl_m_stat(void *arg, uint_t stat, uint64_t *val) argument 3569 switch (stat) { 3616 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_var.h | 42 #include <sys/stat.h> 203 #define ostat stat.un.s 223 struct myri10ge_tx_pkt_stats stat; member in struct:myri10ge_tx_buffer_state
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pcisch.c | 2145 uint64_t stat; local 2153 if (!((stat = *iommu_p->iommu_ctrl_reg) & TOMATILLO_IOMMU_ERR)) { 2169 if (stat & TOMATILLO_IOMMU_ERR_ILLTSBTBW) { 2179 if (stat & TOMATILLO_IOMMU_ERR_BAD_VA) { 2190 stat = ((stat & TOMATILLO_IOMMU_ERRSTS) >> 2192 switch (stat) { 2363 * 3. check pci config header stat reg to see MA/TA is
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | mc-opl.c | 32 #include <sys/stat.h> 2175 uint32_t stat, cntl; local 2191 stat = ldphysio(MAC_PTRL_STAT(mcp, i)); 2199 if (mc_debug_show_all || stat) { 2200 MC_LOG("/LSB%d/B%d stat %x cntl %x\n", 2201 mcp->mc_board_num, i, stat, cntl); 2279 } else if (stat & MAC_STAT_MI_ERRS) { 2293 } else if (stat & (MAC_STAT_PTRL_ERRS | 3137 uint32_t data, stat; local 3371 stat [all...] |
/illumos-gate/usr/src/uts/sun/io/ |
H A D | socal.c | 58 #include <sys/stat.h> 427 int stat; local 432 stat = ddi_soft_state_init(&socal_soft_state_p, 434 if (stat != 0) 435 return (stat); 438 stat = mod_install(&modlinkage); 439 if (stat != 0) 442 DEBUGF(4, (CE_CONT, "socal: _init: return=%d\n", stat)); 443 return (stat); 449 int stat; local [all...] |
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 53 #include <sys/stat.h> 1188 dnet_m_getstat(void *arg, uint_t stat, uint64_t *val) argument 1192 switch (stat) { 3394 cmn_err(CE_NOTE, "%s upsamples:%d stat:%x polarity:%x "
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 4228 gem_m_getstat(void *arg, uint_t stat, uint64_t *valp) argument 4253 switch (stat) { 4533 __func__, stat);
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair.c | 211 nv_priv_init(nvpriv_t *priv, nv_alloc_t *nva, uint32_t stat) argument 216 priv->nvp_stat = stat;
|