Lines Matching refs:badrange
216 struct badrange badrange; member
533 struct badrange *badrange, u64 addr, u64 len) in post_ars_status() argument
548 spin_lock(&badrange->lock); in post_ars_status()
549 list_for_each_entry(be, &badrange->list, list) { in post_ars_status()
565 spin_unlock(&badrange->lock); in post_ars_status()
586 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
628 badrange_forget(&t->badrange, clear_err->address, clear_err->length); in nfit_test_cmd_clear_error()
841 rc = badrange_add(&t->badrange, err_inj->err_inj_spa_range_base, in nfit_test_cmd_ars_error_inject()
872 badrange_forget(&t->badrange, err_clr->err_inj_clr_spa_range_base, in nfit_test_cmd_ars_inject_clear()
892 spin_lock(&t->badrange.lock); in nfit_test_cmd_ars_inject_status()
893 list_for_each_entry(be, &t->badrange.list, list) { in nfit_test_cmd_ars_inject_status()
900 spin_unlock(&t->badrange.lock); in nfit_test_cmd_ars_inject_status()
2682 post_ars_status(&t->ars_state, &t->badrange, t->spa_set_dma[0], in nfit_test0_setup()
2824 post_ars_status(&t->ars_state, &t->badrange, t->spa_set_dma[0], in nfit_test1_setup()
3436 badrange_init(&nfit_test->badrange); in nfit_test_init()