Home
last modified time | relevance | path

Searched refs:ars_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c205 struct ars_state { struct
209 } ars_state; member
529 static void post_ars_status(struct ars_state *ars_state, in post_ars_status() argument
538 ars_state->deadline = jiffies + 1*HZ; in post_ars_status()
539 ars_status = ars_state->ars_status; in post_ars_status()
569 struct ars_state *ars_state, in nfit_test_cmd_ars_start() argument
576 spin_lock(&ars_state->lock); in nfit_test_cmd_ars_start()
577 if (time_before(jiffies, ars_state->deadline)) { in nfit_test_cmd_ars_start()
583 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
587 spin_unlock(&ars_state->lock); in nfit_test_cmd_ars_start()
[all …]
/linux-6.1.9/drivers/acpi/nfit/
Dcore.c2754 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in ars_register()
2757 set_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); in ars_register()
2759 set_bit(ARS_REQ_LONG, &nfit_spa->ars_state); in ars_register()
2770 set_bit(ARS_FAILED, &nfit_spa->ars_state); in ars_register()
2773 clear_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); in ars_register()
2795 set_bit(ARS_FAILED, &nfit_spa->ars_state); in ars_register()
2807 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in ars_complete_all()
2848 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
2852 if (test_bit(ARS_REQ_SHORT, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
2854 else if (test_bit(ARS_REQ_LONG, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
[all …]
Dnfit.h166 unsigned long ars_state; member