/linux-6.12.1/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 104 static void update_stats(struct stats * const ustats, in update_stats() argument 107 ustats->total += measurement; in update_stats() 108 ustats->bytes += bytes; in update_stats() 109 ustats->count++; in update_stats() 112 static void print_ustats(const struct stats * const ustats) in print_ustats() argument 115 ustats->name, ustats->count, in print_ustats() 116 (float)ustats->total / (float)ustats->count, in print_ustats() 117 (float)ustats->bytes / (float)ustats->count); in print_ustats()
|
/linux-6.12.1/drivers/misc/sgi-gru/ |
D | grufault.c | 433 gts->ustats.tlbdropin++; in gru_try_dropin() 576 gts->ustats.fmm_tlbmiss++; in gru_intr() 620 gts->ustats.upm_tlbmiss++; in gru_user_dropin() 838 memcpy(&req.stats, >s->ustats, sizeof(gts->ustats)); in gru_get_gseg_statistics() 841 memset(&req.stats, 0, sizeof(gts->ustats)); in gru_get_gseg_statistics()
|
D | grutables.h | 375 struct gru_gseg_statistics ustats; /* User statistics */ member
|
D | grumain.c | 832 gts->ustats.context_stolen++; in gru_steal_context()
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 1685 *p_addr = p_resp->pfdev_info.stats_info.ustats.address; in __qed_get_vport_ustats_addrlen() 1686 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen() 1694 struct eth_ustorm_per_queue_stat ustats; in __qed_get_vport_ustats() local 1700 memset(&ustats, 0, sizeof(ustats)); in __qed_get_vport_ustats() 1701 qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, ustats_len); in __qed_get_vport_ustats() 1704 HILO_64_REGPAIR(ustats.rcv_ucast_bytes); in __qed_get_vport_ustats() 1706 HILO_64_REGPAIR(ustats.rcv_mcast_bytes); in __qed_get_vport_ustats() 1708 HILO_64_REGPAIR(ustats.rcv_bcast_bytes); in __qed_get_vport_ustats() 1709 p_stats->common.rx_ucast_pkts += HILO_64_REGPAIR(ustats.rcv_ucast_pkts); in __qed_get_vport_ustats() 1710 p_stats->common.rx_mcast_pkts += HILO_64_REGPAIR(ustats.rcv_mcast_pkts); in __qed_get_vport_ustats() [all …]
|
D | qed_iscsi.c | 929 struct ustorm_iscsi_stats_drv ustats; in _qed_iscsi_get_ustats() local 932 memset(&ustats, 0, sizeof(ustats)); in _qed_iscsi_get_ustats() 935 qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, sizeof(ustats)); in _qed_iscsi_get_ustats() 938 HILO_64_REGPAIR(ustats.iscsi_rx_data_pdu_cnt); in _qed_iscsi_get_ustats() 940 HILO_64_REGPAIR(ustats.iscsi_rx_r2t_pdu_cnt); in _qed_iscsi_get_ustats() 942 HILO_64_REGPAIR(ustats.iscsi_rx_total_pdu_cnt); in _qed_iscsi_get_ustats()
|
D | qed_ll2.c | 2279 struct core_ll2_ustorm_per_queue_stat ustats; in _qed_ll2_get_ustats() local 2283 memset(&ustats, 0, sizeof(ustats)); in _qed_ll2_get_ustats() 2286 qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, sizeof(ustats)); in _qed_ll2_get_ustats() 2288 p_stats->rcv_ucast_bytes += HILO_64_REGPAIR(ustats.rcv_ucast_bytes); in _qed_ll2_get_ustats() 2289 p_stats->rcv_mcast_bytes += HILO_64_REGPAIR(ustats.rcv_mcast_bytes); in _qed_ll2_get_ustats() 2290 p_stats->rcv_bcast_bytes += HILO_64_REGPAIR(ustats.rcv_bcast_bytes); in _qed_ll2_get_ustats() 2291 p_stats->rcv_ucast_pkts += HILO_64_REGPAIR(ustats.rcv_ucast_pkts); in _qed_ll2_get_ustats() 2292 p_stats->rcv_mcast_pkts += HILO_64_REGPAIR(ustats.rcv_mcast_pkts); in _qed_ll2_get_ustats() 2293 p_stats->rcv_bcast_pkts += HILO_64_REGPAIR(ustats.rcv_bcast_pkts); in _qed_ll2_get_ustats()
|
D | qed_vf.h | 147 struct pfvf_storm_stats ustats; member
|
D | qed.h | 416 struct storm_stats ustats; member
|
D | qed_sriov.c | 1523 p_stats->ustats.address = PXP_VF_BAR0_START_USDM_ZONE_B + in qed_iov_vf_mbx_acquire_stats() 1526 p_stats->ustats.len = sizeof(struct eth_ustorm_per_queue_stat); in qed_iov_vf_mbx_acquire_stats()
|
/linux-6.12.1/drivers/scsi/ |
D | megaraid.c | 2969 megastat_t __user *ustats = NULL; in megadev_ioctl() local 3039 ustats = uioc.uioc_uaddr; in megadev_ioctl() 3041 if( copy_from_user(&num_ldrv, &ustats->num_ldrv, sizeof(int)) ) in megadev_ioctl() 3049 if( copy_to_user(ustats->nreads, adapter->nreads, in megadev_ioctl() 3053 if( copy_to_user(ustats->nreadblocks, adapter->nreadblocks, in megadev_ioctl() 3057 if( copy_to_user(ustats->nwrites, adapter->nwrites, in megadev_ioctl() 3061 if( copy_to_user(ustats->nwriteblocks, adapter->nwriteblocks, in megadev_ioctl() 3065 if( copy_to_user(ustats->rd_errors, adapter->rd_errors, in megadev_ioctl() 3069 if( copy_to_user(ustats->wr_errors, adapter->wr_errors, in megadev_ioctl()
|