/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efinet.c | 266 struct netif_stats *stats; local 293 stats = calloc(nifs, sizeof(struct netif_stats)); 318 dif->dif_stats = &stats[i];
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index.cc | 370 db_index::stats(long *tsize, long *tcount) function in class:db_index 372 READLOCKV(this, "r db_index::stats"); 375 READUNLOCKV(this, "ru db_index::stats");
|
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 60 kcf_prov_cpu_t stats; local 110 if (mdb_vread(&stats, sizeof (kcf_prov_cpu_t), 117 holdcnt += stats.kp_holdcnt; 118 jobcnt += stats.kp_jobcnt; 119 dtotal += stats.kp_ndispatches; 120 ftotal += stats.kp_nfails; 121 btotal += stats.kp_nbusy_rval;
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | hash.h | 57 struct __db_h_stat stats; /* Hash statistics. */ member in struct:cursor_t
|
/illumos-gate/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 925 DB_TXN_STAT *stats; local 943 if ((ret = __os_malloc(nbytes, db_malloc, &stats)) != 0) 947 stats->st_last_txnid = mgr->region->last_txnid; 948 stats->st_last_ckp = mgr->region->last_ckp; 949 stats->st_maxtxns = mgr->region->maxtxns; 950 stats->st_naborts = mgr->region->naborts; 951 stats->st_nbegins = mgr->region->nbegins; 952 stats->st_ncommits = mgr->region->ncommits; 953 stats->st_pending_ckp = mgr->region->pending_ckp; 954 stats [all...] |
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | cmd.c | 79 static FILE *stats(char *, struct stat *); 118 f = stats(gfile, &stbuf); /* gfile is set by match */ 563 f = stats(cmd_info->namv[i], &stbuf); 647 stats(char *file, struct stat *stbuf) function
|
/illumos-gate/usr/src/cmd/streams/strcmd/ |
H A D | strchg.c | 126 struct stat stats; /* stream stats */ local 145 if (fstat(0, &stats) < 0) { 151 if (euid != stats.st_uid) {
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_htable.c | 83 iphtstat_t stats; local 85 if (op->iplo_size != sizeof(stats)) 88 stats.iphs_tables = ifs->ifs_ipf_htables[op->iplo_unit]; 89 stats.iphs_numtables = ifs->ifs_ipf_nhtables[op->iplo_unit]; 90 stats.iphs_numnodes = ifs->ifs_ipf_nhtnodes[op->iplo_unit]; 91 stats.iphs_nomem = ifs->ifs_ipht_nomem[op->iplo_unit]; 93 return COPYOUT(&stats, op->iplo_struct, sizeof(stats));
|
H A D | ip_pool.c | 293 ip_pool_stat_t stats; local 299 bcopy((char *)&ifs->ifs_ipoolstat, (char *)&stats, sizeof(stats)); 303 stats.ipls_list[i] = ifs->ifs_ip_pool_list[i]; 306 stats.ipls_list[unit] = ip_pool_find(unit, 309 stats.ipls_list[unit] = ifs->ifs_ip_pool_list[unit]; 313 err = COPYOUT(&stats, op->iplo_struct, sizeof(stats));
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 330 sctp_clr_kstats2(sctp_kstat_t *stats) argument 332 stats->sctp_add_faddr.value.ui64 = 0; 333 stats->sctp_add_timer.value.ui64 = 0; 334 stats->sctp_conn_create.value.ui64 = 0; 335 stats->sctp_find_next_tq.value.ui64 = 0; 336 stats->sctp_fr_add_hdr.value.ui64 = 0; 337 stats->sctp_fr_not_found.value.ui64 = 0; 338 stats->sctp_output_failed.value.ui64 = 0; 339 stats->sctp_rexmit_failed.value.ui64 = 0; 340 stats 412 sctp_kstat_t *stats; local [all...] |
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 375 * To add stats from one mib2_udp_t to another. Static fields are not added. 461 udp_clr_stats(udp_stat_t *stats) argument 463 stats->udp_sock_fallback.value.ui64 = 0; 464 stats->udp_out_opt.value.ui64 = 0; 465 stats->udp_out_err_notconn.value.ui64 = 0; 466 stats->udp_out_err_output.value.ui64 = 0; 467 stats->udp_out_err_tudr.value.ui64 = 0; 469 stats->udp_data_conn.value.ui64 = 0; 470 stats->udp_data_notconn.value.ui64 = 0; 471 stats 482 udp_stat_t *stats; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_niv.c | 294 * written to the SHMEM for NIV stats. 296 * @param pdev the device to take the stats from 301 b10_l2_chip_statistics_t stats = {0}; local 302 lm_stats_fw_t *fw_stats = &pdev->vars.stats.stats_mirror.stats_fw; 303 fcoe_stats_info_t *fcoe_stats_mfw = &pdev->vars.stats.stats_mirror.stats_drv.drv_info_to_mfw.fcoe_stats; 306 lm_stats_get_l2_chip_stats(pdev, &stats, L2_CHIP_STATISTICS_VER_NUM_1); 308 sum_64 = stats.IfHCOutUcastPkts + fw_stats->fcoe.fcoe_tx_pkt_cnt + (HILO_U64(fcoe_stats_mfw->tx_frames_hi, fcoe_stats_mfw->tx_frames_lo )); 311 sum_64 = stats.IfHCOutUcastOctets + fw_stats->fcoe.fcoe_tx_byte_cnt + (HILO_U64(fcoe_stats_mfw->tx_bytes_hi, fcoe_stats_mfw->tx_bytes_lo )); 314 NIV_STATS_ASSIGN_HI_LO(p_afex_stats->tx_multicast_frames, stats.IfHCOutMulticastPkts ); 315 NIV_STATS_ASSIGN_HI_LO(p_afex_stats->tx_multicast_bytes, stats [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_rxdma.c | 506 rdc_rcr_qlen_t stats; local 514 RXDMA_REG_READ64(handle, RDC_RCR_QLEN, rdc, &stats.value); 515 *rcr_qlen = stats.bits.qlen; 518 rdc, *rcr_qlen, stats.bits.qlen));
|
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tokenmtddi.c | 69 /* Initialize stats */ 309 /* parse stats */ 312 cfg_parms->stats = B_FALSE; 314 cfg_parms->stats = (bstats == 0) ? B_FALSE : B_TRUE; 326 /* Initialize stats, if required */ 327 if (cfg_parms->stats) { 376 if (cfg_parms->stats) { 377 ipp_stat_destroy(tokenmt_data->stats); 583 /* parse stats, if present */ 585 cfg_parms->stats 770 meter_stat_t *stats = (meter_stat_t *)sp->ipps_data; local [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/notify/ |
H A D | md_notify.c | 589 notify_test_stats(md_notify_stats_t *stats) argument 591 stats->mds_eventq_mx = &md_eventq_mx; 592 stats->mds_reap_count = md_reap_count; 593 stats->mds_reap = md_reap; 594 stats->mds_max_queue = md_max_notify_queue; 595 stats->mds_reap_off = md_reap_off;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_soft_ring.c | 655 mac_tx_stats_t stats; local 678 mp = mac_tx_send(arg1, arg2, mp, &stats); 686 (saved_pkt_count - stats.mts_opackets); 687 ringp->s_ring_size += (saved_size - stats.mts_obytes); 703 SRS_TX_STATS_UPDATE(mac_srs, &stats); 704 SOFTRING_TX_STATS_UPDATE(ringp, &stats);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | soconfig.c | 154 struct stat stats; local 174 if (stat(buf, &stats) == -1) { 180 if (!S_ISREG(stats.st_mode)) 350 struct stat stats; local 353 stat(path, &stats) == -1) {
|
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 43 static struct stats { struct
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82543.c | 402 * e1000_tbi_adjust_stats_82543 - Adjust stats when TBI enabled 404 * @stats: Struct containing statistic register values 412 struct e1000_hw_stats *stats, u32 frame_len, 426 stats->crcerrs--; 428 stats->gprc++; 431 stats->gorc += frame_len; 440 stats->bprc++; 443 stats->mprc++; 449 if ((frame_len == max_frame_size) && (stats->roc > 0)) 450 stats 411 e1000_tbi_adjust_stats_82543(struct e1000_hw *hw, struct e1000_hw_stats *stats, u32 frame_len, u8 *mac_addr, u32 max_frame_size) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_dcb.c | 387 * @stats: pointer to statistics structure 392 s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, argument 398 ret = ixgbe_dcb_get_tc_stats_82598(hw, stats, tc_count); 405 ret = ixgbe_dcb_get_tc_stats_82599(hw, stats, tc_count); 417 * @stats: pointer to statistics structure 422 s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, argument 428 ret = ixgbe_dcb_get_pfc_stats_82598(hw, stats, tc_count); 435 ret = ixgbe_dcb_get_pfc_stats_82599(hw, stats, tc_count);
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 196 nvlist_t *stats; local 206 if (nvlist_alloc(&stats, NVATTRS_STAT, 0) != 0) { 211 if ((*errp = add_inuse(dp->name, stats)) != 0) { 216 if (nvlist_lookup_string(stats, DM_USED_BY, &str) != 0) { 251 if ((*errp = add_inuse(localpath, stats)) != 0) { 262 return (stats);
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 86 struct stats { struct 122 static struct stats * stats; variable in typeref:struct:stats 156 stats = malloc((max_size+1) * sizeof (struct stats)); 157 if (freelists == NULL || stats == NULL) { 163 memset(stats, 0, (max_size + 1) * sizeof (struct stats)); 213 stats[max_size].gets++; 214 stats[max_siz [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | esclex.c | 44 #include "stats.h" 58 /* some misc stats we keep on the lexer & parser */ 59 static struct stats *Tokcount; 60 static struct stats *Lexelapse; 61 struct stats *Filecount; 64 struct stats *stats; member in struct:filestats 65 struct stats *idstats; 319 /* add name to stats for visibility */ 326 nfs->stats [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 785 tcp_stat_t *stats; local 801 stats = (tcp_stat_t *)kp->ks_data; 802 tcp_clr_stats(stats); 810 tcp_add_stats(&tcps->tcps_sc[i]->tcp_sc_stats, stats); 817 * To add stats from one mib2_tcp_t to another. Static fields are not added. 876 * To sum up all MIB2 stats for a tcp_stack_t from all per CPU stats. The 878 * just adds up all the per CPU stats. 899 tcp_clr_stats(tcp_stat_t *stats) argument 901 stats [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | gmac.h | 108 struct cmac_statistics stats; member in struct:cmac
|