Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c204 struct ars_state { struct
208 } ars_state; member
527 static void post_ars_status(struct ars_state *ars_state, in post_ars_status() argument
536 ars_state->deadline = jiffies + 1*HZ; in post_ars_status()
537 ars_status = ars_state->ars_status; in post_ars_status()
567 struct ars_state *ars_state, in nfit_test_cmd_ars_start() argument
574 spin_lock(&ars_state->lock); in nfit_test_cmd_ars_start()
575 if (time_before(jiffies, ars_state->deadline)) { in nfit_test_cmd_ars_start()
581 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
585 spin_unlock(&ars_state->lock); in nfit_test_cmd_ars_start()
[all …]
/Linux-v5.4/drivers/acpi/nfit/
Dcore.c3068 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in ars_register()
3071 set_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); in ars_register()
3073 set_bit(ARS_REQ_LONG, &nfit_spa->ars_state); in ars_register()
3084 set_bit(ARS_FAILED, &nfit_spa->ars_state); in ars_register()
3087 clear_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); in ars_register()
3109 set_bit(ARS_FAILED, &nfit_spa->ars_state); in ars_register()
3121 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in ars_complete_all()
3162 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
3166 if (test_bit(ARS_REQ_SHORT, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
3168 else if (test_bit(ARS_REQ_LONG, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
[all …]
Dnfit.h144 unsigned long ars_state; member