Lines Matching refs:strindx
135 int strindx = KDBG_TRIAGE_EXTRACT_CODE(debugid); in kernel_triage_convert_to_string() local
136 if (strindx >= 1) { /* 0 is reserved for prefix */ in kernel_triage_convert_to_string()
137 if (strindx < VM_MAX_TRIAGE_STRINGS) { in kernel_triage_convert_to_string()
138 …msglen = MIN(KDBG_TRIAGE_MAX_STRLEN - prefixlen, strlen(*vm_triage_strings[strindx]) + 1); /* incl… in kernel_triage_convert_to_string()
139 strlcpy(buf + prefixlen, (const char*)(*vm_triage_strings[strindx]), msglen); in kernel_triage_convert_to_string()
156 int strindx = KDBG_TRIAGE_EXTRACT_CODE(debugid); in kernel_triage_convert_to_string() local
157 if (strindx >= 1) { /* 0 is reserved for prefix */ in kernel_triage_convert_to_string()
158 if (strindx < CLUSTER_MAX_TRIAGE_STRINGS) { in kernel_triage_convert_to_string()
159 …msglen = MIN(KDBG_TRIAGE_MAX_STRLEN - prefixlen, strlen(*cluster_triage_strings[strindx]) + 1); /*… in kernel_triage_convert_to_string()
160 strlcpy(buf + prefixlen, (const char*)(*cluster_triage_strings[strindx]), msglen); in kernel_triage_convert_to_string()
176 int strindx = KDBG_TRIAGE_EXTRACT_CODE(debugid); in kernel_triage_convert_to_string() local
177 if (strindx >= 1) { /* 0 is reserved for prefix */ in kernel_triage_convert_to_string()
178 if (strindx < SHARED_REGION_MAX_TRIAGE_STRINGS) { in kernel_triage_convert_to_string()
179 …msglen = MIN(KDBG_TRIAGE_MAX_STRLEN - prefixlen, strlen(*shared_region_triage_strings[strindx]) + … in kernel_triage_convert_to_string()
180 strlcpy(buf + prefixlen, (const char*)(*shared_region_triage_strings[strindx]), msglen); in kernel_triage_convert_to_string()