Searched refs:err_injection (Results 1 – 3 of 3) sorted by relevance
76 ocs_err_injection_e err_injection; /**< for error injection testing */ member
1103 (ocs->err_injection == INJECT_DROP_CMD ? 1:0)); in get_inject_drop_cmd()1110 (ocs->err_injection == INJECT_FREE_DROPPED ? 1:0)); in get_inject_free_drop_cmd()1117 (ocs->err_injection == INJECT_DROP_DATA ? 1:0)); in get_inject_drop_data()1124 (ocs->err_injection == INJECT_DROP_RESP ? 1:0)); in get_inject_drop_resp()2481 ocs->err_injection = (ocs_strtoul(value, NULL, 0) == 0 ? NO_ERR_INJECT : INJECT_DROP_CMD); in set_inject_drop_cmd()2489 ocs->err_injection = (ocs_strtoul(value, NULL, 0) == 0 ? NO_ERR_INJECT : INJECT_FREE_DROPPED); in set_inject_free_drop_cmd()2497 ocs->err_injection = (ocs_strtoul(value, NULL, 0) == 0 ? NO_ERR_INJECT : INJECT_DROP_DATA); in set_inject_drop_data()2505 ocs->err_injection = (ocs_strtoul(value, NULL, 0) == 0 ? NO_ERR_INJECT : INJECT_DROP_RESP); in set_inject_drop_resp()2522 ocs->err_injection = (ocs->delay_value_msec == 0 ? NO_ERR_INJECT : INJECT_DELAY_CMD); in set_cmd_delay_value()
208 ocs_err_injection_e err_injection; member