Searched refs:err_inj (Results 1 – 2 of 2) sorted by relevance
816 struct nd_cmd_ars_err_inj *err_inj, unsigned int buf_len) in nfit_test_cmd_ars_error_inject() argument820 if (buf_len != sizeof(*err_inj)) { in nfit_test_cmd_ars_error_inject()825 if (err_inj->err_inj_spa_range_length <= 0) { in nfit_test_cmd_ars_error_inject()830 rc = badrange_add(&t->badrange, err_inj->err_inj_spa_range_base, in nfit_test_cmd_ars_error_inject()831 err_inj->err_inj_spa_range_length); in nfit_test_cmd_ars_error_inject()835 if (err_inj->err_inj_options & (1 << ND_ARS_ERR_INJ_OPT_NOTIFY)) in nfit_test_cmd_ars_error_inject()838 err_inj->status = 0; in nfit_test_cmd_ars_error_inject()842 err_inj->status = NFIT_ARS_INJECT_INVALID; in nfit_test_cmd_ars_error_inject()
153 err_inj : 3, /* 3-5 */599 err_type_info.err_type_info_u.err_inj=0;739 int err_inj()1061 err_inj();