Lines Matching refs:lockup_detected

290 static u32 lockup_detected(struct ctlr_info *h);
404 static u32 lockup_detected(struct ctlr_info *h);
413 ld = lockup_detected(h); in host_show_lockup_detected()
861 static DEVICE_ATTR(lockup_detected, S_IRUGO,
2652 if (unlikely(lockup_detected(h))) { in hpsa_scsi_do_simple_cmd()
2659 static u32 lockup_detected(struct ctlr_info *h) in lockup_detected() function
2662 u32 rc, *lockup_detected; in lockup_detected() local
2665 lockup_detected = per_cpu_ptr(h->lockup_detected, cpu); in lockup_detected()
2666 rc = *lockup_detected; in lockup_detected()
2951 lockup_detected(h)); in hpsa_do_reset()
2953 if (unlikely(lockup_detected(h))) { in hpsa_do_reset()
5159 if (unlikely(lockup_detected(h))) { in hpsa_scsi_queue_command()
5205 if (unlikely(lockup_detected(h))) in hpsa_scan_start()
5224 if (unlikely(lockup_detected(h))) in hpsa_scan_start()
5448 if (lockup_detected(h)) in hpsa_eh_device_reset_handler()
5458 if (lockup_detected(h)) { in hpsa_eh_device_reset_handler()
5832 if (lockup_detected(h)) { in hpsa_eh_abort_handler()
5921 abort->scsi_cmd != sc || lockup_detected(h)); in hpsa_eh_abort_handler()
5923 return !lockup_detected(h) ? SUCCESS : FAILED; in hpsa_eh_abort_handler()
8033 free_percpu(h->lockup_detected); /* init_one 2 */ in hpsa_undo_allocations_after_kdump_soft_reset()
8034 h->lockup_detected = NULL; /* init_one 2 */ in hpsa_undo_allocations_after_kdump_soft_reset()
8074 u32 *lockup_detected; in set_lockup_detected_for_all_cpus() local
8075 lockup_detected = per_cpu_ptr(h->lockup_detected, cpu); in set_lockup_detected_for_all_cpus()
8076 *lockup_detected = value; in set_lockup_detected_for_all_cpus()
8084 u32 lockup_detected; in controller_lockup_detected() local
8088 lockup_detected = readl(h->vaddr + SA5_SCRATCHPAD_OFFSET); in controller_lockup_detected()
8089 if (!lockup_detected) { in controller_lockup_detected()
8094 lockup_detected = 0xffffffff; in controller_lockup_detected()
8096 set_lockup_detected_for_all_cpus(h, lockup_detected); in controller_lockup_detected()
8099 lockup_detected, h->heartbeat_sample_interval / HZ); in controller_lockup_detected()
8309 if (lockup_detected(h)) in hpsa_monitor_ctlr_worker()
8385 h->lockup_detected = alloc_percpu(u32); in hpsa_init_one()
8386 if (!h->lockup_detected) { in hpsa_init_one()
8573 if (h->lockup_detected) { in hpsa_init_one()
8574 free_percpu(h->lockup_detected); in hpsa_init_one()
8575 h->lockup_detected = NULL; in hpsa_init_one()
8596 if (unlikely(lockup_detected(h))) in hpsa_flush_cache()
8630 if (unlikely(h->lockup_detected)) in hpsa_disable_rld_caching()
8760 free_percpu(h->lockup_detected); /* init_one 2 */ in hpsa_remove_one()
8761 h->lockup_detected = NULL; /* init_one 2 */ in hpsa_remove_one()