Home
last modified time | relevance | path

Searched refs:linelen (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/tools/testing/selftests/memfd/
Dcommon.c23 size_t linelen = 0; in default_huge_page_size() local
28 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
/linux-6.1.9/tools/testing/selftests/vm/
Dthuge-gen.c81 size_t linelen = 0; in default_huge_page_size() local
85 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
111 size_t linelen = 0; in read_sysfs() local
127 if (getline(&line, &linelen, f) > 0) { in read_sysfs()
Dhugetlb-madvise.c46 size_t linelen = 0; in default_huge_page_size() local
51 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
67 size_t linelen = 0; in get_free_hugepages() local
72 while (getline(&line, &linelen, f) > 0) { in get_free_hugepages()
Duserfaultfd.c1684 size_t linelen = 0; in default_huge_page_size() local
1689 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
/linux-6.1.9/drivers/video/fbdev/
Datafb.c584 int linelen; in tt_decode_var() local
642 linelen = xres * bpp / 8; in tt_decode_var()
643 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var()
645 if (yres * linelen > screen_len && screen_len) in tt_decode_var()
650 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
651 par->next_line = linelen; in tt_decode_var()
657 int linelen; in tt_encode_var() local
723 linelen = var->xres_virtual * var->bits_per_pixel / 8; in tt_encode_var()
731 var->yres_virtual = screen_len / linelen; in tt_encode_var()
740 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
[all …]
/linux-6.1.9/lib/
Dhexdump.c266 int i, linelen, remaining = len; in print_hex_dump() local
273 linelen = min(remaining, rowsize); in print_hex_dump()
276 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in print_hex_dump()
Dseq_buf.c366 int i, linelen, remaining = len; local
374 linelen = min(remaining, rowsize);
377 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
/linux-6.1.9/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c123 u_int32_t linelen = m2info->fbcon.var.xres_virtual * (m2info->fbcon.var.bits_per_pixel >> 3); in matroxfb_dh_restore() local
127 mga_outl(0x3C28, pos + linelen); /* field #0 vmemory start */ in matroxfb_dh_restore()
128 linelen <<= 1; in matroxfb_dh_restore()
134 mga_outl(0x3C40, linelen); in matroxfb_dh_restore()
171 unsigned int linelen; in matroxfb_dh_pan_var() local
178 linelen = m2info->fbcon.var.xres_virtual * pixelsize; in matroxfb_dh_pan_var()
179 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var()
183 mga_outl(0x3C28, pos + linelen); in matroxfb_dh_pan_var()
Dmatroxfb_base.c587 unsigned int linelen; in matroxfb_decode_var() local
588 unsigned int m1 = linelen = var->xres_virtual * bpp / 8; in matroxfb_decode_var()
596 m2 = linelen * PAGE_SIZE / m2; in matroxfb_decode_var()
598 max_yres = (vramlen - m2) / linelen; in matroxfb_decode_var()
/linux-6.1.9/arch/x86/kernel/cpu/mtrr/
Dif.c102 size_t linelen; in mtrr_write() local
111 linelen = strlen(line); in mtrr_write()
112 ptr = line + linelen - 1; in mtrr_write()
113 if (linelen && *ptr == '\n') in mtrr_write()
/linux-6.1.9/drivers/tty/hvc/
Dhvc_xen.c667 unsigned int linelen, off = 0; in xenboot_write_console() local
681 linelen = pos-string+off; in xenboot_write_console()
682 if (off + linelen > len) in xenboot_write_console()
684 domU_write_console(0, string+off, linelen); in xenboot_write_console()
686 off += linelen + 1; in xenboot_write_console()
/linux-6.1.9/tools/testing/selftests/net/
Dtcp_mmap.c354 size_t linelen = 0; in default_huge_page_size() local
359 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
/linux-6.1.9/drivers/scsi/
Dscsi_logging.c209 size_t linelen = min(cmd->cmd_len - k, 16); in scsi_print_command() local
217 hex_dump_to_buffer(&cmd->cmnd[k], linelen, in scsi_print_command()
/linux-6.1.9/fs/
Dseq_file.c869 int i, linelen, remaining = len; in seq_hex_dump() local
878 linelen = min(remaining, rowsize); in seq_hex_dump()
894 ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in seq_hex_dump()