| /linux/fs/smb/server/ |
| H A D | transport_tcp.c | 402 int total_read; in ksmbd_tcp_readv() 415 for (total_read = 0; to_read; total_read += length, to_read -= length) { 419 total_read = -ESHUTDOWN; 422 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); 428 total_read = -ESHUTDOWN; in ksmbd_tcp_read() 431 total_read = -EAGAIN; in ksmbd_tcp_read() 439 total_read = length; in ksmbd_tcp_writev() 449 total_read = length; in ksmbd_tcp_disconnect() 453 return total_read; in ksmbd_tcp_shutdown() 359 int total_read; ksmbd_tcp_readv() local [all...] |
| /linux/fs/smb/client/ |
| H A D | transport.c | 1210 size_t remaining = rfclen - server->total_read; in cifs_readv_receive() 1220 server->total_read += length; in cifs_readv_receive() 1273 server->total_read += length; in cifs_readv_receive() 1289 rdata->iov[0].iov_len = server->total_read; in cifs_readv_receive() 1303 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive() 1305 __func__, server->total_read, in cifs_readv_receive() 1308 server->total_read, server->vals->read_rsp_size); in cifs_readv_receive() 1313 if (data_offset < server->total_read) { in cifs_readv_receive() 1321 data_offset = server->total_read; in cifs_readv_receive() 1331 cifs_dbg(FYI, "%s: total_read in cifs_readv_receive() [all...] |
| H A D | connect.c | 764 int total_read; in cifs_readv_from_socket() 766 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 814 return total_read; in cifs_discard_from_socket() 1209 memcpy(server->bigbuf, buf, server->total_read); in cifs_handle_standard() 1219 server->total_read += length; in cifs_handle_standard() 1221 dump_smb(buf, server->total_read); in cifs_handle_standard() 1241 server->total_read, server); in smb2_add_credits_from_hdr() 1244 min_t(unsigned int, server->total_read, 48)); in smb2_add_credits_from_hdr() 1330 server->total_read in cifs_demultiplex_thread() 742 int total_read; cifs_readv_from_socket() local [all...] |
| H A D | smb2ops.c | 460 if (!server->ops->check_message(buf, buf_len, server->total_read, server)) { 5077 server->total_read = buf_data_size + iter_size; in cifs_copy_folioq_to_iter() 5365 server->total_read += rc; in receive_encrypted_read() 5392 server->total_read += rc; in receive_encrypted_read() 5474 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard() 5483 server->total_read += length; in receive_encrypted_standard() 5495 server->total_read = next_cmd ? next_cmd : pdu_length; in receive_encrypted_standard()
|
| H A D | cifsglob.h | 769 unsigned int total_read; /* total amount of data read in this pass */ member
|
| /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/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_pcl.c | 251 unsigned int max_len, bound, total_read; in pcl_check_read_chunk_positions() local 268 total_read = 0; in pcl_check_read_chunk_positions() 270 if (chunk->ch_position - total_read > bound) in pcl_check_read_chunk_positions() 281 total_read += chunk->ch_length; in pcl_check_read_chunk_positions()
|
| /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/kernel/trace/ |
| H A D | ring_buffer.c | 8381 unsigned long total_read = 0; in test_ringbuffer() 8425 total_read++; in test_ringbuffer() 8432 pr_info(" read events: %ld\n", total_read); in test_ringbuffer() 8434 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer() 8445 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) 8367 unsigned long total_read = 0; test_ringbuffer() local
|