Searched refs:num_read (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | io.c | 121 ssize_t num_read = 0; in test_read() local 143 rc, num_read, num_left); in test_read() 149 num_read += rc; in test_read() 154 } while (num_read < count); in test_read() 156 return num_read; in test_read()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | vm_util.c | 58 ssize_t num_read; in read_pmd_pagesize() local 64 num_read = read(fd, buf, 19); in read_pmd_pagesize() 65 if (num_read < 1) { in read_pmd_pagesize() 69 buf[num_read] = '\0'; in read_pmd_pagesize()
|
/linux-6.1.9/drivers/tty/serial/8250/ |
D | 8250_early.c | 117 int num_read = 0; in early_serial8250_read() local 119 while (num_read < count) { in early_serial8250_read() 123 s[num_read++] = serial8250_early_in(port, UART_RX); in early_serial8250_read() 126 return num_read; in early_serial8250_read()
|
/linux-6.1.9/drivers/tty/serial/ |
D | qcom_geni_serial.c | 1195 int num_read = 0; in qcom_geni_serial_earlycon_read() local 1198 while (num_read < n) { in qcom_geni_serial_earlycon_read() 1202 s[num_read++] = ch; in qcom_geni_serial_earlycon_read() 1205 return num_read; in qcom_geni_serial_earlycon_read()
|
D | samsung_tty.c | 3002 int ch, ufstat, num_read = 0; in samsung_early_read() local 3004 while (num_read < n) { in samsung_early_read() 3012 s[num_read++] = ch; in samsung_early_read() 3015 return num_read; in samsung_early_read()
|
D | amba-pl011.c | 2574 int ch, num_read = 0; in pl011_early_read() local 2576 while (num_read < n) { in pl011_early_read() 2581 s[num_read++] = ch; in pl011_early_read() 2584 return num_read; in pl011_early_read()
|
/linux-6.1.9/fs/fuse/ |
D | file.c | 813 static void fuse_short_read(struct inode *inode, u64 attr_ver, size_t num_read, in fuse_short_read() argument 824 loff_t pos = page_offset(ap->pages[0]) + num_read; in fuse_short_read() 897 size_t num_read = args->out_args[0].size; in fuse_readpages_end() local 909 if (!err && num_read < count) in fuse_readpages_end() 910 fuse_short_read(inode, ia->read.attr_ver, num_read, ap); in fuse_readpages_end()
|