Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/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.c398 int i, linelen, remaining = len; local
406 linelen = min(remaining, rowsize);
409 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
/linux-6.6.21/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.6.21/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.6.21/drivers/tty/hvc/
Dhvc_xen.c699 unsigned int linelen, off = 0; in xenboot_write_console() local
713 linelen = pos-string+off; in xenboot_write_console()
714 if (off + linelen > len) in xenboot_write_console()
716 domU_write_console(0, string+off, linelen); in xenboot_write_console()
718 off += linelen + 1; in xenboot_write_console()
/linux-6.6.21/tools/testing/selftests/mm/
Dthuge-gen.c94 size_t linelen = 0; in read_sysfs() local
110 if (getline(&line, &linelen, f) > 0) { in read_sysfs()
Dvm_util.c185 size_t linelen = 0; in default_huge_page_size() local
190 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
Dhugetlb-madvise.c43 size_t linelen = 0; in get_free_hugepages() local
48 while (getline(&line, &linelen, f) > 0) { in get_free_hugepages()
/linux-6.6.21/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.6.21/tools/testing/selftests/net/
Dtcp_mmap.c410 size_t linelen = 0; in default_huge_page_size() local
415 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
/linux-6.6.21/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()