ars_state 3069 drivers/acpi/nfit/core.c if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) ars_state 3072 drivers/acpi/nfit/core.c set_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); ars_state 3074 drivers/acpi/nfit/core.c set_bit(ARS_REQ_LONG, &nfit_spa->ars_state); ars_state 3085 drivers/acpi/nfit/core.c set_bit(ARS_FAILED, &nfit_spa->ars_state); ars_state 3088 drivers/acpi/nfit/core.c clear_bit(ARS_REQ_SHORT, &nfit_spa->ars_state); ars_state 3110 drivers/acpi/nfit/core.c set_bit(ARS_FAILED, &nfit_spa->ars_state); ars_state 3122 drivers/acpi/nfit/core.c if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) ars_state 3163 drivers/acpi/nfit/core.c if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) ars_state 3167 drivers/acpi/nfit/core.c if (test_bit(ARS_REQ_SHORT, &nfit_spa->ars_state)) ars_state 3169 drivers/acpi/nfit/core.c else if (test_bit(ARS_REQ_LONG, &nfit_spa->ars_state)) ars_state 3190 drivers/acpi/nfit/core.c clear_bit(req_type, &nfit_spa->ars_state); ars_state 3202 drivers/acpi/nfit/core.c set_bit(ARS_FAILED, &nfit_spa->ars_state); ars_state 3259 drivers/acpi/nfit/core.c set_bit(ARS_FAILED, &nfit_spa->ars_state); ars_state 3275 drivers/acpi/nfit/core.c clear_bit(ARS_FAILED, &nfit_spa->ars_state); ars_state 3529 drivers/acpi/nfit/core.c if (test_bit(ARS_FAILED, &nfit_spa->ars_state)) ars_state 3532 drivers/acpi/nfit/core.c if (test_and_set_bit(req_type, &nfit_spa->ars_state)) ars_state 145 drivers/acpi/nfit/nfit.h unsigned long ars_state; ars_state 208 tools/testing/nvdimm/test/nfit.c } ars_state; ars_state 527 tools/testing/nvdimm/test/nfit.c static void post_ars_status(struct ars_state *ars_state, ars_state 536 tools/testing/nvdimm/test/nfit.c ars_state->deadline = jiffies + 1*HZ; ars_state 537 tools/testing/nvdimm/test/nfit.c ars_status = ars_state->ars_status; ars_state 567 tools/testing/nvdimm/test/nfit.c struct ars_state *ars_state, ars_state 574 tools/testing/nvdimm/test/nfit.c spin_lock(&ars_state->lock); ars_state 575 tools/testing/nvdimm/test/nfit.c if (time_before(jiffies, ars_state->deadline)) { ars_state 581 tools/testing/nvdimm/test/nfit.c post_ars_status(ars_state, &t->badrange, ars_start->address, ars_state 585 tools/testing/nvdimm/test/nfit.c spin_unlock(&ars_state->lock); ars_state 590 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_ars_status(struct ars_state *ars_state, ars_state 594 tools/testing/nvdimm/test/nfit.c if (buf_len < ars_state->ars_status->out_length) ars_state 597 tools/testing/nvdimm/test/nfit.c spin_lock(&ars_state->lock); ars_state 598 tools/testing/nvdimm/test/nfit.c if (time_before(jiffies, ars_state->deadline)) { ars_state 604 tools/testing/nvdimm/test/nfit.c memcpy(ars_status, ars_state->ars_status, ars_state 605 tools/testing/nvdimm/test/nfit.c ars_state->ars_status->out_length); ars_state 608 tools/testing/nvdimm/test/nfit.c spin_unlock(&ars_state->lock); ars_state 1350 tools/testing/nvdimm/test/nfit.c struct ars_state *ars_state = &t->ars_state; ars_state 1392 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_ars_start(t, ars_state, buf, ars_state 1396 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_ars_status(ars_state, buf, buf_len, ars_state 1510 tools/testing/nvdimm/test/nfit.c static int ars_state_init(struct device *dev, struct ars_state *ars_state) ars_state 1513 tools/testing/nvdimm/test/nfit.c ars_state->ars_status = devm_kzalloc(dev, ars_state 1515 tools/testing/nvdimm/test/nfit.c if (!ars_state->ars_status) ars_state 1517 tools/testing/nvdimm/test/nfit.c spin_lock_init(&ars_state->lock); ars_state 1749 tools/testing/nvdimm/test/nfit.c return ars_state_init(&t->pdev.dev, &t->ars_state); ars_state 1782 tools/testing/nvdimm/test/nfit.c return ars_state_init(&t->pdev.dev, &t->ars_state); ars_state 2494 tools/testing/nvdimm/test/nfit.c post_ars_status(&t->ars_state, &t->badrange, t->spa_set_dma[0], ars_state 2630 tools/testing/nvdimm/test/nfit.c post_ars_status(&t->ars_state, &t->badrange, t->spa_set_dma[0],