Lines Matching refs:sys_p
118 const struct error_system *sys_p; in mach_error_type() local
124 sys_p = &_mach_errors[system]; in mach_error_type()
127 if (system <= err_max_system && sys_p->map_table) { in mach_error_type()
128 sub = err_sparse_mapit(sub, sys_p->map_table, sys_p->map_count); in mach_error_type()
131 if (system > err_max_system || sub >= sys_p->max_sub) { in mach_error_type()
134 return (char *) (sys_p->subsystem[sub].subsys_name); in mach_error_type()
142 const struct error_system *sys_p; in mach_error_string_int() local
149 sys_p = &_mach_errors[system]; in mach_error_string_int()
157 } else if (sys_p->map_table) { in mach_error_string_int()
158 sub = err_sparse_mapit(sub, sys_p->map_table, sys_p->map_count); in mach_error_string_int()
161 if (sub >= sys_p->max_sub) { in mach_error_string_int()
162 return (char *)sys_p->bad_sub; in mach_error_string_int()
165 sub_p = &sys_p->subsystem[sub]; in mach_error_string_int()