Searched refs:lstats (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/net/ |
D | loopback.c | 87 lb_stats = this_cpu_ptr(dev->lstats); in loopback_xmit() 112 lb_stats = per_cpu_ptr(dev->lstats, i); in loopback_get_stats64() 139 dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); in loopback_dev_init() 140 if (!dev->lstats) in loopback_dev_init() 148 free_percpu(dev->lstats); in loopback_dev_free()
|
D | nlmon.c | 18 struct pcpu_lstats *stats = this_cpu_ptr(dev->lstats); in nlmon_xmit() 50 dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); in nlmon_dev_init() 51 return dev->lstats == NULL ? -ENOMEM : 0; in nlmon_dev_init() 56 free_percpu(dev->lstats); in nlmon_dev_uninit() 90 nl_stats = per_cpu_ptr(dev->lstats, i); in nlmon_get_stats64()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_fcpim.c | 379 bfa_fcpim_add_stats(struct bfa_itnim_iostats_s *lstats, in bfa_fcpim_add_stats() argument 382 bfa_fcpim_add_iostats(lstats, rstats, total_ios); in bfa_fcpim_add_stats() 383 bfa_fcpim_add_iostats(lstats, rstats, qresumes); in bfa_fcpim_add_stats() 384 bfa_fcpim_add_iostats(lstats, rstats, no_iotags); in bfa_fcpim_add_stats() 385 bfa_fcpim_add_iostats(lstats, rstats, io_aborts); in bfa_fcpim_add_stats() 386 bfa_fcpim_add_iostats(lstats, rstats, no_tskims); in bfa_fcpim_add_stats() 387 bfa_fcpim_add_iostats(lstats, rstats, iocomp_ok); in bfa_fcpim_add_stats() 388 bfa_fcpim_add_iostats(lstats, rstats, iocomp_underrun); in bfa_fcpim_add_stats() 389 bfa_fcpim_add_iostats(lstats, rstats, iocomp_overrun); in bfa_fcpim_add_stats() 390 bfa_fcpim_add_iostats(lstats, rstats, iocomp_aborted); in bfa_fcpim_add_stats() [all …]
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 397 } lstats; member 1428 lp->lstats.rx_ints++; in tc35815_do_interrupt() 1432 lp->lstats.tx_ints++; in tc35815_do_interrupt() 1714 if (lp->lstats.tx_underrun < TX_THRESHOLD_KEEP_LIMIT) { in tc35815_check_tx_stat() 1715 lp->lstats.tx_underrun++; in tc35815_check_tx_stat() 1716 if (lp->lstats.tx_underrun >= TX_THRESHOLD_KEEP_LIMIT) { in tc35815_check_tx_stat() 1816 if (lp->lstats.max_tx_qlen < qlen) in tc35815_txdone() 1817 lp->lstats.max_tx_qlen = qlen; in tc35815_txdone() 2013 return sizeof(lp->lstats) / sizeof(int); in tc35815_get_sset_count() 2022 data[0] = lp->lstats.max_tx_qlen; in tc35815_get_ethtool_stats() [all …]
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 662 struct iscsi_logout_stats *lstats = &tiqn->logout_stats; in iscsi_stat_logout_show_attr_normal_logouts() local 664 return snprintf(page, PAGE_SIZE, "%u\n", lstats->normal_logouts); in iscsi_stat_logout_show_attr_normal_logouts() 673 struct iscsi_logout_stats *lstats = &tiqn->logout_stats; in iscsi_stat_logout_show_attr_abnormal_logouts() local 675 return snprintf(page, PAGE_SIZE, "%u\n", lstats->abnormal_logouts); in iscsi_stat_logout_show_attr_abnormal_logouts()
|
/linux-4.1.27/include/linux/ |
D | netdevice.h | 1718 struct pcpu_lstats __percpu *lstats; member
|