Lines Matching refs:system
51 int sub, system; in mach_error_type() local
56 system = err_get_system(err); in mach_error_type()
58 if (system > err_max_system in mach_error_type()
59 || sub >= errors[system].max_sub ) return( "(?/?)" ); in mach_error_type()
60 return( errors[system].subsystem[sub].subsys_name ); in mach_error_type()
70 int sub, system, code; in mach_error_string_int() local
75 system = err_get_system(err); in mach_error_string_int()
80 if (system > err_max_system) return( "(?/?) unknown error system" ); in mach_error_string_int()
81 if (sub >= errors[system].max_sub) return( errors[system].bad_sub ); in mach_error_string_int()
82 if (code >= errors[system].subsystem[sub].max_code) return ( NO_SUCH_ERROR ); in mach_error_string_int()
85 return( errors[system].subsystem[sub].codes[code] ); in mach_error_string_int()