Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 2 of 2) sorted by relevance

/fs/orangefs/
Dorangefs-utils.c576 int orangefs_normalize_to_errno(__s32 error_code) in orangefs_normalize_to_errno() argument
581 if (error_code == 0) { in orangefs_normalize_to_errno()
587 } else if (error_code > 0) { in orangefs_normalize_to_errno()
590 error_code = -error_code; in orangefs_normalize_to_errno()
602 if ((-error_code) & ORANGEFS_NON_ERRNO_ERROR_BIT) { in orangefs_normalize_to_errno()
603 if (((-error_code) & in orangefs_normalize_to_errno()
610 error_code = -ETIMEDOUT; in orangefs_normalize_to_errno()
613 gossip_err("orangefs: warning: got error code without errno equivalent: %d.\n", error_code); in orangefs_normalize_to_errno()
614 error_code = -EINVAL; in orangefs_normalize_to_errno()
618 } else if ((-error_code) & ORANGEFS_ERROR_BIT) { in orangefs_normalize_to_errno()
[all …]
Dorangefs-kernel.h516 int orangefs_normalize_to_errno(__s32 error_code);