Home
last modified time | relevance | path

Searched refs:num_read (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dio.c121 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-v5.10/drivers/tty/serial/8250/
D8250_early.c119 int num_read = 0; in early_serial8250_read() local
121 while (num_read < count) { in early_serial8250_read()
125 s[num_read++] = serial8250_early_in(port, UART_RX); in early_serial8250_read()
128 return num_read; in early_serial8250_read()
/Linux-v5.10/drivers/thermal/qcom/
Dtsens-8960.c220 ssize_t num_read = priv->num_sensors; in calibrate_8960() local
229 for (i = 0; i < num_read; i++, s++) in calibrate_8960()
/Linux-v5.10/drivers/tty/serial/
Dqcom_geni_serial.c1156 int num_read = 0; in qcom_geni_serial_earlycon_read() local
1159 while (num_read < n) { in qcom_geni_serial_earlycon_read()
1163 s[num_read++] = ch; in qcom_geni_serial_earlycon_read()
1166 return num_read; in qcom_geni_serial_earlycon_read()
Damba-pl011.c2455 int ch, num_read = 0; in pl011_early_read() local
2457 while (num_read < n) { in pl011_early_read()
2462 s[num_read++] = ch; in pl011_early_read()
2465 return num_read; in pl011_early_read()
/Linux-v5.10/fs/fuse/
Dfile.c787 static void fuse_short_read(struct inode *inode, u64 attr_ver, size_t num_read, in fuse_short_read() argument
799 int start_idx = num_read >> PAGE_SHIFT; in fuse_short_read()
800 size_t off = num_read & (PAGE_SIZE - 1); in fuse_short_read()
807 loff_t pos = page_offset(ap->pages[0]) + num_read; in fuse_short_read()
879 size_t num_read = args->out_args[0].size; in fuse_readpages_end() local
891 if (!err && num_read < count) in fuse_readpages_end()
892 fuse_short_read(inode, ia->read.attr_ver, num_read, ap); in fuse_readpages_end()