Home
last modified time | relevance | path

Searched refs:reset_stats (Results 1 – 16 of 16) sorted by relevance

/drivers/scsi/fnic/
Dfnic_trace.c343 (u64)atomic64_read(&stats->reset_stats.device_resets), in fnic_get_stats_data()
344 (u64)atomic64_read(&stats->reset_stats.device_reset_failures), in fnic_get_stats_data()
345 (u64)atomic64_read(&stats->reset_stats.device_reset_aborts), in fnic_get_stats_data()
346 (u64)atomic64_read(&stats->reset_stats.device_reset_timeouts), in fnic_get_stats_data()
348 &stats->reset_stats.device_reset_terminates), in fnic_get_stats_data()
349 (u64)atomic64_read(&stats->reset_stats.fw_resets), in fnic_get_stats_data()
350 (u64)atomic64_read(&stats->reset_stats.fw_reset_completions), in fnic_get_stats_data()
351 (u64)atomic64_read(&stats->reset_stats.fw_reset_failures), in fnic_get_stats_data()
352 (u64)atomic64_read(&stats->reset_stats.fnic_resets), in fnic_get_stats_data()
354 &stats->reset_stats.fnic_reset_completions), in fnic_get_stats_data()
[all …]
Dfnic_stats.h55 struct reset_stats { struct
113 struct reset_stats reset_stats; member
Dfnic_debugfs.c471 len = sprintf(buf, "%u\n", fnic->reset_stats); in fnic_reset_stats_read()
515 fnic->reset_stats = val; in fnic_reset_stats_write()
517 if (fnic->reset_stats) { in fnic_reset_stats_write()
527 memset(&stats->reset_stats, 0, sizeof(struct reset_stats)); in fnic_reset_stats_write()
Dfnic_scsi.c230 atomic64_inc(&fnic->fnic_stats.reset_stats.fw_resets); in fnic_fw_reset_handler()
620 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in DEF_SCSI_QCMD() local
624 atomic64_inc(&reset_stats->fw_reset_completions); in DEF_SCSI_QCMD()
656 atomic64_inc(&reset_stats->fw_reset_failures); in DEF_SCSI_QCMD()
664 atomic64_inc(&reset_stats->fw_reset_failures); in DEF_SCSI_QCMD()
1562 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in fnic_rport_abort_io_iter() local
1612 atomic64_inc(&reset_stats->device_reset_terminates); in fnic_rport_abort_io_iter()
2209 struct reset_stats *reset_stats; in fnic_device_reset() local
2222 reset_stats = &fnic->fnic_stats.reset_stats; in fnic_device_reset()
2224 atomic64_inc(&reset_stats->device_resets); in fnic_device_reset()
[all …]
Dfnic.h245 unsigned int reset_stats; member
/drivers/scsi/snic/
Dsnic_debugfs.c81 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read()
126 snic->reset_stats = val; in snic_reset_stats_write()
128 if (snic->reset_stats) { in snic_reset_stats_write()
Dsnic.h315 unsigned int reset_stats; member
/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c818 dev->reset_stats.type = OCRDMA_RESET_STATS; in ocrdma_add_port_stats()
819 dev->reset_stats.dev = dev; in ocrdma_add_port_stats()
820 debugfs_create_file("reset_stats", 0200, dev->dir, &dev->reset_stats, in ocrdma_add_port_stats()
Docrdma.h308 struct ocrdma_stats reset_stats; member
Docrdma_sli.h2056 u8 reset_stats; member
Docrdma_hw.c1314 req->reset_stats = reset; in ocrdma_mbx_rdma_stats()
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1922 if (!cdev->reset_stats) in qed_get_vport_stats_context()
1927 ((u64 *)stats)[i] -= ((u64 *)cdev->reset_stats)[i]; in qed_get_vport_stats_context()
1969 if (!cdev->reset_stats) { in qed_reset_vport_stats()
1972 _qed_get_vport_stats(cdev, cdev->reset_stats, false); in qed_reset_vport_stats()
1973 cdev->reset_stats->common.link_change_count = 0; in qed_reset_vport_stats()
Dqed.h786 struct qed_eth_stats *reset_stats; member
Dqed_dev.c1364 kfree(cdev->reset_stats); in qed_resc_free()
1365 cdev->reset_stats = NULL; in qed_resc_free()
2367 cdev->reset_stats = kzalloc(sizeof(*cdev->reset_stats), GFP_KERNEL); in qed_resc_alloc()
2368 if (!cdev->reset_stats) in qed_resc_alloc()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h991 u8 reset_stats; member
Dbe_cmds.c1654 req->cmd_params.params.reset_stats = 0; in lancer_cmd_get_pport_stats()