Lines Matching refs:len
880 int len; in parse_grep() local
899 len = strlen(cp); in parse_grep()
900 if (len == 0) { in parse_grep()
921 len = strlen(cp); in parse_grep()
923 if (*(cp+len-1) == '$') { in parse_grep()
925 *(cp+len-1) = '\0'; in parse_grep()
927 len = strlen(cp); in parse_grep()
928 if (!len) in parse_grep()
930 if (len >= KDB_GREP_STRLEN) { in parse_grep()
1199 size_t len = strlen(buf); in drop_newline() local
1201 if (len == 0) in drop_newline()
1203 if (*(buf + len - 1) == '\n') in drop_newline()
1204 *(buf + len - 1) = '\0'; in drop_newline()
1882 int len = kdb_check_regs(); in kdb_rd() local
1892 if (len) in kdb_rd()
1893 return len; in kdb_rd()
1899 if (len + strlen(dbg_reg_def[i].name) + 4 + rsize > 80) { in kdb_rd()
1900 len = 0; in kdb_rd()
1903 if (len) in kdb_rd()
1904 len += kdb_printf(" "); in kdb_rd()
1910 len += kdb_printf("%s: %02x", rname, reg8); in kdb_rd()
1916 len += kdb_printf("%s: %04x", rname, reg16); in kdb_rd()
1922 len += kdb_printf("%s: %08x", rname, reg32); in kdb_rd()
1928 len += kdb_printf("%s: %016llx", rname, reg64); in kdb_rd()
1931 len += kdb_printf("%s: ??", dbg_reg_def[i].name); in kdb_rd()
1936 if (len) in kdb_rd()
1937 return len; in kdb_rd()
2091 size_t len; in kdb_dmesg() local
2149 while (kmsg_dump_get_line(&iter, 1, buf, sizeof(buf), &len)) { in kdb_dmesg()
2159 kdb_printf("%.*s\n", (int)len - 1, buf); in kdb_dmesg()
2658 void kdb_register_table(kdbtab_t *kp, size_t len) in kdb_register_table() argument
2660 while (len--) { in kdb_register_table()