/linux-6.6.21/tools/lib/api/ |
D | io.h | 150 size_t line_len = 0; in io__getline() local 162 temp = realloc(line, line_len + sizeof(buf)); in io__getline() 166 memcpy(&line[line_len], buf, sizeof(buf)); in io__getline() 167 line_len += sizeof(buf); in io__getline() 172 temp = realloc(line, line_len + buf_pos + 1); in io__getline() 176 memcpy(&line[line_len], buf, buf_pos); in io__getline() 177 line[line_len + buf_pos] = '\0'; in io__getline() 178 line_len += buf_pos; in io__getline() 180 *line_len_out = line_len; in io__getline() 181 return line_len; in io__getline()
|
/linux-6.6.21/drivers/char/ |
D | powernv-op-panel.c | 148 u32 line_len; in oppanel_probe() local 151 rc = of_property_read_u32(np, "#length", &line_len); in oppanel_probe() 161 oppanel_size = line_len * num_lines; in oppanel_probe() 164 oppanel_size, num_lines, line_len); in oppanel_probe() 178 oppanel_lines[i].line_len = cpu_to_be64(line_len); in oppanel_probe() 180 line_len])); in oppanel_probe()
|
/linux-6.6.21/arch/arc/mm/ |
D | cache.c | 32 unsigned int sz_k, line_len, colors; member 56 l2_line_sz = p_slc->line_len = (slc_cfg.lsz == 0) ? 128 : 64; in read_decode_cache_bcr_arcv2() 59 p_slc->sz_k, p_slc->line_len, IS_USED_RUN(slc_enable)); in read_decode_cache_bcr_arcv2() 118 p_ic->line_len = 8 << ibcr.line_len; in arc_cache_mumbojumbo() 124 p_ic->sz_k, assoc, p_ic->line_len, in arc_cache_mumbojumbo() 144 p_dc->line_len = 16 << dbcr.line_len; in arc_cache_mumbojumbo() 149 p_dc->sz_k, assoc, p_dc->line_len, in arc_cache_mumbojumbo() 1115 if (!ic->line_len) in arc_cache_init_master() 1118 if (ic->line_len != L1_CACHE_BYTES) in arc_cache_init_master() 1120 ic->line_len, L1_CACHE_BYTES); in arc_cache_init_master() [all …]
|
/linux-6.6.21/tools/testing/selftests/tdx/ |
D | tdx_guest_test.c | 115 int i, j, line_len, rowsize = HEX_DUMP_SIZE; in print_array_hex() local 121 line_len = rowsize < (len - j) ? rowsize : (len - j); in print_array_hex() 123 for (i = 0; i < line_len; i++) in print_array_hex()
|
/linux-6.6.21/tools/perf/util/ |
D | srcline.c | 516 size_t line_len = 0; in read_addr2line_record() local 536 if (io__getline(io, &line, &line_len) < 0 || !line_len) in read_addr2line_record() 540 if (style == LLVM && line_len == 2 && line[0] == ',') { in read_addr2line_record() 552 if (line_len >= 2 || line[0] != '0' || line[1] != 'x') { in read_addr2line_record() 553 for (size_t i = 2; i < line_len; i++) { in read_addr2line_record() 582 if (first && (io__getline(io, &line, &line_len) < 0 || !line_len)) in read_addr2line_record() 590 line_len = 0; in read_addr2line_record() 593 if (io__getline(io, &line, &line_len) < 0 || !line_len) in read_addr2line_record() 607 line_len = 0; in read_addr2line_record()
|
D | util.c | 337 size_t line_len = 0; in fetch_ubuntu_kernel_version() local 352 len = getline(&line, &line_len, vsig); in fetch_ubuntu_kernel_version()
|
D | symbol.c | 663 ssize_t line_len; in modules__parse() local 665 line_len = getline(&line, &n, file); in modules__parse() 666 if (line_len < 0) { in modules__parse() 678 line[--line_len] = '\0'; /* \n */ in modules__parse() 1617 int line_len, len; in dso__load_perf_map() local 1619 line_len = getline(&line, &n, file); in dso__load_perf_map() 1620 if (line_len < 0) in dso__load_perf_map() 1626 line[--line_len] = '\0'; /* \n */ in dso__load_perf_map() 1631 if (len + 2 >= line_len) in dso__load_perf_map() 1637 if (len + 2 >= line_len) in dso__load_perf_map()
|
D | annotate.c | 1999 size_t line_len = strlen(line); in expand_tabs() local 2001 for (num_tabs = 0, i = 0; i < line_len; i++) in expand_tabs() 2012 new_storage_len = line_len + 1 + (num_tabs * 7); in expand_tabs() 2025 for (i = 0, src = 0, dst = 0; i < line_len && num_tabs; i++) { in expand_tabs() 2039 len = line_len - src; in expand_tabs() 2066 size_t line_len; in symbol__disassemble() local 2166 line_len = 0; in symbol__disassemble() 2173 if (getline(&line, &line_len, file) < 0 || !line) in symbol__disassemble() 2182 expanded_line = expand_tabs(expanded_line, &line, &line_len); in symbol__disassemble() 2803 size_t line_len = strlen(al->line); in annotation__set_offsets() local [all …]
|
D | probe-finder.c | 893 size_t line_len; in find_lazy_match_lines() local 905 while ((len = getline(&line, &line_len, fp)) > 0) { in find_lazy_match_lines()
|
/linux-6.6.21/tools/perf/tests/ |
D | api-io.c | 299 size_t i, line_len = 0; in test_get_line() local 313 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 513); in test_get_line() 318 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 510); in test_get_line()
|
D | code-reading.c | 130 size_t line_len, off_last = 0; in read_objdump_output() local 139 ret = getline(&line, &line_len, f); in read_objdump_output()
|
/linux-6.6.21/arch/arc/include/asm/ |
D | arcregs.h | 211 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; member 213 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12;
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | traps.c | 589 size_t line_len = sf->len - sf->off > STACK_DUMP_LINE_SIZE ? in show_stack_fragment_cb() local 596 __memcpy(line, sf->sp + sf->off, line_len); in show_stack_fragment_cb() 599 line, line_len, false); in show_stack_fragment_cb()
|
/linux-6.6.21/kernel/printk/ |
D | printk.c | 1391 size_t line_len; in record_print_text() local 1413 line_len = next - text; in record_print_text() 1418 line_len = text_len; in record_print_text() 1427 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text() 1443 len += prefix_len + line_len + 1; in record_print_text() 1444 if (text_len == line_len) { in record_print_text() 1449 text[prefix_len + line_len] = '\n'; in record_print_text() 1457 text += prefix_len + line_len + 1; in record_print_text() 1469 text_len -= line_len + 1; in record_print_text()
|
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 60 const unsigned line_len = fix->line_length / bytespp; in draw_pixel() local 68 p += y * line_len + x; in draw_pixel() 77 p += (y * line_len + x) * 3; in draw_pixel() 84 p += y * line_len + x; in draw_pixel()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | opal-api.h | 935 __be64 line_len; member
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 5394 size_t line_len = 0; in do_test_pprint() local 5463 while ((nread = getline(&line, &line_len, pin_file)) > 0 && in do_test_pprint() 5510 nread = getline(&line, &line_len, pin_file); in do_test_pprint() 5529 nread = getline(&line, &line_len, pin_file); in do_test_pprint() 5534 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
|
/linux-6.6.21/tools/perf/ui/browsers/ |
D | hists.c | 3582 size_t line_len = strlen(ev_name) + 7; in __evlist__tui_browse_hists() local 3584 if (menu.b.width < line_len) in __evlist__tui_browse_hists() 3585 menu.b.width = line_len; in __evlist__tui_browse_hists()
|