Searched refs:blk_errors (Results 1 – 2 of 2) sorted by relevance
152 } blk_errors[] = { variable185 for (i = 0; i < ARRAY_SIZE(blk_errors); i++) { in errno_to_blk_status()186 if (blk_errors[i].errno == errno) in errno_to_blk_status()198 if (WARN_ON_ONCE(idx >= ARRAY_SIZE(blk_errors))) in blk_status_to_errno()200 return blk_errors[idx].errno; in blk_status_to_errno()208 if (WARN_ON_ONCE(idx >= ARRAY_SIZE(blk_errors))) in blk_status_to_str()210 return blk_errors[idx].name; in blk_status_to_str()
172 } blk_errors[] = { variable201 for (i = 0; i < ARRAY_SIZE(blk_errors); i++) { in errno_to_blk_status()202 if (blk_errors[i].errno == errno) in errno_to_blk_status()214 if (WARN_ON_ONCE(idx >= ARRAY_SIZE(blk_errors))) in blk_status_to_errno()216 return blk_errors[idx].errno; in blk_status_to_errno()225 if (WARN_ON_ONCE(idx >= ARRAY_SIZE(blk_errors))) in print_req_error()231 caller, blk_errors[idx].name, in print_req_error()