Searched refs:os_err_num (Results 1 – 2 of 2) sorted by relevance
584 int sg_convert_errno(int os_err_num);
1932 sg_convert_errno(int os_err_num) in sg_convert_errno() argument1934 if (os_err_num <= 0) { in sg_convert_errno()1935 if (os_err_num < -1) in sg_convert_errno()1937 return os_err_num; in sg_convert_errno()1939 if (os_err_num < (SG_LIB_CAT_MALFORMED - SG_LIB_OS_BASE_ERR)) in sg_convert_errno()1940 return SG_LIB_OS_BASE_ERR + os_err_num; in sg_convert_errno()