Lines Matching refs:badrange
213 struct badrange badrange; member
530 struct badrange *badrange, u64 addr, u64 len) in post_ars_status() argument
545 spin_lock(&badrange->lock); in post_ars_status()
546 list_for_each_entry(be, &badrange->list, list) { in post_ars_status()
562 spin_unlock(&badrange->lock); in post_ars_status()
583 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
625 badrange_forget(&t->badrange, clear_err->address, clear_err->length); in nfit_test_cmd_clear_error()
838 rc = badrange_add(&t->badrange, err_inj->err_inj_spa_range_base, in nfit_test_cmd_ars_error_inject()
869 badrange_forget(&t->badrange, err_clr->err_inj_clr_spa_range_base, in nfit_test_cmd_ars_inject_clear()
889 spin_lock(&t->badrange.lock); in nfit_test_cmd_ars_inject_status()
890 list_for_each_entry(be, &t->badrange.list, list) { in nfit_test_cmd_ars_inject_status()
897 spin_unlock(&t->badrange.lock); in nfit_test_cmd_ars_inject_status()
2687 post_ars_status(&t->ars_state, &t->badrange, t->spa_set_dma[0], in nfit_test0_setup()
2829 post_ars_status(&t->ars_state, &t->badrange, t->spa_set_dma[0], in nfit_test1_setup()
3312 badrange_init(&nfit_test->badrange); in nfit_test_init()