Home
last modified time | relevance | path

Searched refs:reset_stats (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A 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 in fnic_get_stats_data()
[all...]
H A Dfnic_stats.h69 struct reset_stats { struct
127 struct reset_stats reset_stats; member
H A Dfnic_scsi.c242 atomic64_inc(&fnic->fnic_stats.reset_stats.fw_resets); in fnic_fw_reset_handler()
634 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in fnic_fcpio_fw_reset_cmpl_handler() local
638 atomic64_inc(&reset_stats->fw_reset_completions); in fnic_fcpio_fw_reset_cmpl_handler()
670 atomic64_inc(&reset_stats->fw_reset_failures); in fnic_fcpio_fw_reset_cmpl_handler()
678 atomic64_inc(&reset_stats->fw_reset_failures); in fnic_fcpio_fw_reset_cmpl_handler()
1569 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in fnic_rport_exch_reset() local
1694 struct reset_stats *reset_stats; fnic_terminate_rport_io() local
2340 struct reset_stats *reset_stats; fnic_device_reset() local
2578 struct reset_stats *reset_stats; fnic_reset() local
[all...]
H A Dfnic_debugfs.c440 * fnic_reset_stats_open - Open the reset_stats file
445 * This routine opens a debugsfs file reset_stats and stores i_private data
468 * fnic_reset_stats_read - Read a reset_stats debugfs file
475 * This routine reads value of variable reset_stats
491 len = sprintf(buf, "%u\n", fnic->reset_stats); in fnic_reset_stats_read()
497 * fnic_reset_stats_write - Write to reset_stats debugfs file
535 fnic->reset_stats = val; in fnic_reset_stats_write()
537 if (fnic->reset_stats) { in fnic_reset_stats_write()
547 memset(&stats->reset_stats, 0, sizeof(struct reset_stats)); in fnic_reset_stats_write()
[all...]
H A Dfnic.h241 unsigned int reset_stats; member
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A 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 in fnic_get_stats_data()
[all...]
H A Dfnic_stats.h55 struct reset_stats { struct
113 struct reset_stats reset_stats; member
H A 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 fnic_fcpio_fw_reset_cmpl_handler() local
624 atomic64_inc(&reset_stats->fw_reset_completions); in fnic_fcpio_fw_reset_cmpl_handler()
656 atomic64_inc(&reset_stats->fw_reset_failures); in fnic_fcpio_fw_reset_cmpl_handler()
664 atomic64_inc(&reset_stats->fw_reset_failures); in fnic_fcpio_fw_reset_cmpl_handler()
1562 struct reset_stats *reset_stats = &fnic->fnic_stats.reset_stats; in fnic_rport_abort_io_iter() local
2209 struct reset_stats *reset_stats; fnic_device_reset() local
2453 struct reset_stats *reset_stats; fnic_reset() local
[all...]
H A Dfnic_debugfs.c420 * fnic_reset_stats_open - Open the reset_stats file
425 * This routine opens a debugsfs file reset_stats and stores i_private data
448 * fnic_reset_stats_read - Read a reset_stats debugfs file
455 * This routine reads value of variable reset_stats
471 len = sprintf(buf, "%u\n", fnic->reset_stats); in fnic_reset_stats_read()
477 * fnic_reset_stats_write - Write to reset_stats debugfs file
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()
[all...]
H A Dfnic.h245 unsigned int reset_stats; member
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
H A Doct_ilm.c14 static bool reset_stats; variable
61 reset_stats = true; in reset_statistics()
120 if (reset_stats) { in cvm_oct_ciu_timer_interrupt()
122 reset_stats = false; in cvm_oct_ciu_timer_interrupt()
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/
H A Doct_ilm.c14 static bool reset_stats; variable
50 reset_stats = true; in reset_statistics()
109 if (reset_stats) { in cvm_oct_ciu_timer_interrupt()
111 reset_stats = false; in cvm_oct_ciu_timer_interrupt()
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dsnic_debugfs.c59 * snic_reset_stats_open - Open the reset_stats file
71 * snic_reset_stats_read - Read a reset_stats debugfs file
78 * This routine reads value of variable reset_stats
95 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read()
101 * snic_reset_stats_write - Write to reset_stats debugfs file
140 snic->reset_stats = val; in snic_reset_stats_write()
142 if (snic->reset_stats) { in snic_reset_stats_write()
145 * for pending active IOs after reset_stats in snic_reset_stats_write()
371 * It will create file stats and reset_stats under statistics/host# directory
386 snic->reset_stats_file = debugfs_create_file("reset_stats", in snic_stats_debugfs_init()
[all...]
H A Dsnic.h329 unsigned int reset_stats; member
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_debugfs.c45 * snic_reset_stats_open - Open the reset_stats file
57 * snic_reset_stats_read - Read a reset_stats debugfs file
64 * This routine reads value of variable reset_stats
81 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read()
87 * snic_reset_stats_write - Write to reset_stats debugfs file
126 snic->reset_stats = val; in snic_reset_stats_write()
128 if (snic->reset_stats) { in snic_reset_stats_write()
131 * for pending active IOs after reset_stats in snic_reset_stats_write()
339 * It will create file stats and reset_stats under statistics/host# directory
354 snic->reset_stats_file = debugfs_create_file("reset_stats", in snic_stats_debugfs_init()
[all...]
H A Dsnic.h315 unsigned int reset_stats; member
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dvgic_irq.c144 static void reset_stats(void) in reset_stats() function
253 reset_stats(); in test_inject_fail()
268 reset_stats(); in guest_inject()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A 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()
H A Docrdma.h308 struct ocrdma_stats reset_stats; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A 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()
H A Docrdma.h308 struct ocrdma_stats reset_stats; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c1912 if (!cdev->reset_stats) in qed_get_vport_stats()
1917 ((u64 *)stats)[i] -= ((u64 *)cdev->reset_stats)[i]; in qed_get_vport_stats()
1959 if (!cdev->reset_stats) { in qed_reset_vport_stats()
1962 _qed_get_vport_stats(cdev, cdev->reset_stats); in qed_reset_vport_stats()
1963 cdev->reset_stats->common.link_change_count = 0; in qed_reset_vport_stats()
H A Dqed.h794 struct qed_eth_stats *reset_stats; member
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A 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()
H A Dqed.h786 struct qed_eth_stats *reset_stats; member

Completed in 35 milliseconds

12