Home
last modified time | relevance | path

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

/drivers/scsi/fnic/
Dfnic_trace.c357 (u64)atomic64_read(&stats->reset_stats.device_resets), in fnic_get_stats_data()
358 (u64)atomic64_read(&stats->reset_stats.device_reset_failures), in fnic_get_stats_data()
359 (u64)atomic64_read(&stats->reset_stats.device_reset_aborts), in fnic_get_stats_data()
360 (u64)atomic64_read(&stats->reset_stats.device_reset_timeouts), in fnic_get_stats_data()
362 &stats->reset_stats.device_reset_terminates), in fnic_get_stats_data()
363 (u64)atomic64_read(&stats->reset_stats.fw_resets), in fnic_get_stats_data()
364 (u64)atomic64_read(&stats->reset_stats.fw_reset_completions), in fnic_get_stats_data()
365 (u64)atomic64_read(&stats->reset_stats.fw_reset_failures), in fnic_get_stats_data()
366 (u64)atomic64_read(&stats->reset_stats.fnic_resets), in fnic_get_stats_data()
368 &stats->reset_stats.fnic_reset_completions), in fnic_get_stats_data()
[all …]
Dfnic_stats.h69 struct reset_stats { struct
127 struct reset_stats reset_stats; member
Dfnic_scsi.c241 atomic64_inc(&fnic->fnic_stats.reset_stats.fw_resets); in fnic_fw_reset_handler()
630 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in DEF_SCSI_QCMD() local
634 atomic64_inc(&reset_stats->fw_reset_completions); in DEF_SCSI_QCMD()
666 atomic64_inc(&reset_stats->fw_reset_failures); in DEF_SCSI_QCMD()
674 atomic64_inc(&reset_stats->fw_reset_failures); in DEF_SCSI_QCMD()
1565 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in fnic_rport_exch_reset() local
1630 atomic64_inc(&reset_stats->device_reset_terminates); in fnic_rport_exch_reset()
1690 struct reset_stats *reset_stats; in fnic_terminate_rport_io() local
1720 reset_stats = &fnic->fnic_stats.reset_stats; in fnic_terminate_rport_io()
1779 atomic64_inc(&reset_stats->device_reset_terminates); in fnic_terminate_rport_io()
[all …]
Dfnic_debugfs.c490 len = sprintf(buf, "%u\n", fnic->reset_stats); in fnic_reset_stats_read()
534 fnic->reset_stats = val; in fnic_reset_stats_write()
536 if (fnic->reset_stats) { in fnic_reset_stats_write()
546 memset(&stats->reset_stats, 0, sizeof(struct reset_stats)); in fnic_reset_stats_write()
Dfnic.h241 unsigned int reset_stats; member
/drivers/scsi/snic/
Dsnic_debugfs.c95 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read()
140 snic->reset_stats = val; in snic_reset_stats_write()
142 if (snic->reset_stats) { in snic_reset_stats_write()
Dsnic.h329 unsigned int reset_stats; member
/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c821 dev->reset_stats.type = OCRDMA_RESET_STATS; in ocrdma_add_port_stats()
822 dev->reset_stats.dev = dev; in ocrdma_add_port_stats()
823 debugfs_create_file("reset_stats", 0200, dev->dir, &dev->reset_stats, in ocrdma_add_port_stats()
Docrdma.h310 struct ocrdma_stats reset_stats; member
Docrdma_sli.h2056 u8 reset_stats; member
Docrdma_hw.c1315 req->reset_stats = reset; in ocrdma_mbx_rdma_stats()
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1933 if (!cdev->reset_stats) in qed_get_vport_stats()
1938 ((u64 *)stats)[i] -= ((u64 *)cdev->reset_stats)[i]; in qed_get_vport_stats()
1980 if (!cdev->reset_stats) { in qed_reset_vport_stats()
1983 _qed_get_vport_stats(cdev, cdev->reset_stats); in qed_reset_vport_stats()
1984 cdev->reset_stats->common.link_change_count = 0; in qed_reset_vport_stats()
Dqed.h817 struct qed_eth_stats *reset_stats; member
Dqed_dev.c1382 kfree(cdev->reset_stats); in qed_resc_free()
1383 cdev->reset_stats = NULL; in qed_resc_free()
2361 cdev->reset_stats = kzalloc(sizeof(*cdev->reset_stats), GFP_KERNEL); in qed_resc_alloc()
2362 if (!cdev->reset_stats) in qed_resc_alloc()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h991 u8 reset_stats; member
Dbe_cmds.c1651 req->cmd_params.params.reset_stats = 0; in lancer_cmd_get_pport_stats()