Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c208 struct ars_state { struct
212 } ars_state; member
532 static void post_ars_status(struct ars_state *ars_state, in post_ars_status() argument
541 ars_state->deadline = jiffies + 1*HZ; in post_ars_status()
542 ars_status = ars_state->ars_status; in post_ars_status()
572 struct ars_state *ars_state, in nfit_test_cmd_ars_start() argument
579 spin_lock(&ars_state->lock); in nfit_test_cmd_ars_start()
580 if (time_before(jiffies, ars_state->deadline)) { in nfit_test_cmd_ars_start()
586 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
590 spin_unlock(&ars_state->lock); in nfit_test_cmd_ars_start()
[all …]
/Linux-v5.10/drivers/acpi/nfit/
Dcore.c3123 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in ars_register()
3126 set_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); in ars_register()
3128 set_bit(ARS_REQ_LONG, &nfit_spa->ars_state); in ars_register()
3139 set_bit(ARS_FAILED, &nfit_spa->ars_state); in ars_register()
3142 clear_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); in ars_register()
3164 set_bit(ARS_FAILED, &nfit_spa->ars_state); in ars_register()
3176 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in ars_complete_all()
3217 if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
3221 if (test_bit(ARS_REQ_SHORT, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
3223 else if (test_bit(ARS_REQ_LONG, &nfit_spa->ars_state)) in __acpi_nfit_scrub()
[all …]
Dnfit.h166 unsigned long ars_state; member