Lines Matching refs:count
92 int count; in get_packet() local
107 count = 0; in get_packet()
112 while (count < (BUFMAX - 1)) { in get_packet()
117 buffer[count] = ch; in get_packet()
118 count = count + 1; in get_packet()
134 buffer[count] = 0; in get_packet()
145 int count; in put_packet() local
154 count = 0; in put_packet()
156 while ((ch = buffer[count])) { in put_packet()
159 count++; in put_packet()
236 char *kgdb_mem2hex(char *mem, char *buf, int count) in kgdb_mem2hex() argument
245 tmp = buf + count; in kgdb_mem2hex()
247 err = copy_from_kernel_nofault(tmp, mem, count); in kgdb_mem2hex()
250 while (count > 0) { in kgdb_mem2hex()
253 count--; in kgdb_mem2hex()
265 int kgdb_hex2mem(char *buf, char *mem, int count) in kgdb_hex2mem() argument
274 tmp_raw = buf + count * 2; in kgdb_hex2mem()
283 return copy_to_kernel_nofault(mem, tmp_raw, count); in kgdb_hex2mem()
323 static int kgdb_ebin2mem(char *buf, char *mem, int count) in kgdb_ebin2mem() argument
328 while (count-- > 0) { in kgdb_ebin2mem()