Searched refs:ars_state (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/tools/testing/nvdimm/test/ |
D | nfit.c | 201 struct ars_state { struct 205 } ars_state; member 521 static void post_ars_status(struct ars_state *ars_state, in post_ars_status() argument 530 ars_state->deadline = jiffies + 1*HZ; in post_ars_status() 531 ars_status = ars_state->ars_status; in post_ars_status() 561 struct ars_state *ars_state, in nfit_test_cmd_ars_start() argument 568 spin_lock(&ars_state->lock); in nfit_test_cmd_ars_start() 569 if (time_before(jiffies, ars_state->deadline)) { in nfit_test_cmd_ars_start() 575 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start() 579 spin_unlock(&ars_state->lock); in nfit_test_cmd_ars_start() [all …]
|
/Linux-v4.19/drivers/acpi/nfit/ |
D | core.c | 2480 if (test_bit(ARS_SHORT, &nfit_spa->ars_state)) in ars_start() 2556 if (test_bit(ARS_DONE, &nfit_spa->ars_state)) in ars_complete() 2559 if (!test_and_clear_bit(ARS_REQ, &nfit_spa->ars_state)) in ars_complete() 2569 test_bit(ARS_SHORT, &nfit_spa->ars_state) in ars_complete() 2571 clear_bit(ARS_SHORT, &nfit_spa->ars_state); in ars_complete() 2572 if (test_and_clear_bit(ARS_REQ_REDO, &nfit_spa->ars_state)) { in ars_complete() 2573 set_bit(ARS_SHORT, &nfit_spa->ars_state); in ars_complete() 2574 set_bit(ARS_REQ, &nfit_spa->ars_state); in ars_complete() 2577 set_bit(ARS_DONE, &nfit_spa->ars_state); in ars_complete() 2866 set_bit(ARS_REQ, &nfit_spa->ars_state); in ars_register() [all …]
|
D | nfit.h | 131 unsigned long ars_state; member
|