Lines Matching refs:curr_index
12 int i, first, curr_index, index; in printcpulist() local
19 curr_index = 0; in printcpulist()
25 index = snprintf(&str[curr_index], in printcpulist()
26 str_len - curr_index, ","); in printcpulist()
27 curr_index += index; in printcpulist()
28 if (curr_index >= str_len) in printcpulist()
31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist()
33 curr_index += index; in printcpulist()
34 if (curr_index >= str_len) in printcpulist()
45 int size, index, curr_index; in printcpumask() local
66 curr_index = 0; in printcpumask()
68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask()
70 curr_index += index; in printcpumask()
71 if (curr_index >= str_len) in printcpumask()
74 strncat(&str[curr_index], ",", str_len - curr_index); in printcpumask()
75 curr_index++; in printcpumask()
77 if (curr_index >= str_len) in printcpumask()