| /linux/fs/smb/server/ |
| H A D | transport_tcp.c | 343 int total_read; in ksmbd_tcp_readv() local 356 for (total_read = 0; to_read; total_read += length, to_read -= length) { in ksmbd_tcp_readv() 360 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 363 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in ksmbd_tcp_readv() 369 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 372 total_read = -EAGAIN; in ksmbd_tcp_readv() 380 total_read = length; in ksmbd_tcp_readv() 390 total_read = length; in ksmbd_tcp_readv() 394 return total_read; in ksmbd_tcp_readv()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_console.c | 480 s32 bytes_read, tries, total_read; in check_console() local 490 total_read = 0; in check_console() 500 total_read += bytes_read; in check_console() 518 if (console->print && (total_read == 0) && in check_console() 578 s32 bytes_read, tries, total_read; in octeon_get_uboot_version() local 602 total_read = 0; in octeon_get_uboot_version() 610 console_num, buf + total_read, in octeon_get_uboot_version() 612 total_read); in octeon_get_uboot_version() 616 total_read += bytes_read; in octeon_get_uboot_version() 630 if ((total_read == 0) && (console->leftover[0])) { in octeon_get_uboot_version()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_counter.c | 18 u32 total_read; member 366 counter->total_read = 0; in prestera_counter_stats_work() 372 err = prestera_hw_counters_get(counter->sw, counter->total_read, in prestera_counter_stats_work() 374 &block->stats[counter->total_read]); in prestera_counter_stats_work() 379 counter->total_read += count; in prestera_counter_stats_work() 380 if (!done || counter->total_read < block->num_counters) { in prestera_counter_stats_work()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | debugfs.c | 759 int total_read; in __i2c_debugfs_read() local 775 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read() 776 if (total_read < 0) { in __i2c_debugfs_read() 777 ret = total_read; in __i2c_debugfs_read() 781 *ppos += total_read; in __i2c_debugfs_read() 783 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read() 789 ret = total_read; in __i2c_debugfs_read() 864 int total_read; in __qsfp_debugfs_read() local 879 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read() 880 if (total_read < 0) { in __qsfp_debugfs_read() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_iter_batch.c | 868 int err, i, nread, to_read, total_read, iter_fd = -1; in do_test() local 917 total_read = 0; in do_test() 923 total_read += nread; in do_test() 929 } while (total_read < to_read); in do_test() 931 ASSERT_EQ(total_read, to_read, "total_read"); in do_test() 938 total_read = 0; in do_test() 944 total_read += nread; in do_test() 948 } while (total_read <= to_read); in do_test() 958 ASSERT_EQ(total_read, to_read, "total_read"); in do_test()
|
| /linux/fs/smb/client/ |
| H A D | connect.c | 736 int total_read; in cifs_readv_from_socket() local 738 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 786 return total_read; in cifs_readv_from_socket() 1170 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3() 1180 server->total_read += length; in standard_receive3() 1182 dump_smb(buf, server->total_read); in standard_receive3() 1202 server->total_read, server); in cifs_handle_standard() 1205 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard() 1292 server->total_read = 0; in cifs_demultiplex_thread() 1321 server->total_read += length; in cifs_demultiplex_thread() [all …]
|
| H A D | smb2ops.c | 443 if (!server->ops->check_message(buf, buf_len, server->total_read, server)) { in smb2_dump_detail() 4673 server->total_read = buf_data_size + iter_size; in decrypt_raw_data() 4946 server->total_read += rc; in receive_encrypted_read() 4965 server->total_read += rc; in receive_encrypted_read() 5045 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard() 5054 server->total_read += length; in receive_encrypted_standard()
|
| /linux/kernel/trace/ |
| H A D | ring_buffer.c | 7733 unsigned long total_read = 0; in test_ringbuffer() local 7777 total_read++; in test_ringbuffer() 7784 pr_info(" read events: %ld\n", total_read); in test_ringbuffer() 7786 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer() 7797 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()
|