Searched refs:total_read (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/ksmbd/ |
| A D | transport_tcp.c | 293 int total_read; in ksmbd_tcp_readv() local 306 for (total_read = 0; to_read; total_read += length, to_read -= length) { in ksmbd_tcp_readv() 310 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 313 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in ksmbd_tcp_readv() 319 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 322 total_read = -EAGAIN; in ksmbd_tcp_readv() 329 total_read = -EAGAIN; in ksmbd_tcp_readv() 333 return total_read; in ksmbd_tcp_readv()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| A D | octeon_console.c | 481 s32 bytes_read, tries, total_read; in check_console() local 491 total_read = 0; in check_console() 501 total_read += bytes_read; in check_console() 519 if (console->print && (total_read == 0) && in check_console() 579 s32 bytes_read, tries, total_read; in octeon_get_uboot_version() local 603 total_read = 0; in octeon_get_uboot_version() 611 console_num, buf + total_read, in octeon_get_uboot_version() 613 total_read); in octeon_get_uboot_version() 617 total_read += bytes_read; in octeon_get_uboot_version() 631 if ((total_read == 0) && (console->leftover[0])) { in octeon_get_uboot_version()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| A D | debugfs.c | 788 int total_read; in __i2c_debugfs_read() local 805 if (total_read < 0) { in __i2c_debugfs_read() 806 ret = total_read; in __i2c_debugfs_read() 810 *ppos += total_read; in __i2c_debugfs_read() 812 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read() 818 ret = total_read; in __i2c_debugfs_read() 893 int total_read; in __qsfp_debugfs_read() local 909 if (total_read < 0) { in __qsfp_debugfs_read() 910 ret = total_read; in __qsfp_debugfs_read() 914 *ppos += total_read; in __qsfp_debugfs_read() [all …]
|
| /linux/fs/cifs/ |
| A D | misc.c | 307 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument 313 total_read, rfclen); in checkSMB() 316 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB() 317 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB() 323 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB() 351 if (4 + rfclen != total_read) { in checkSMB() 408 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
|
| A D | connect.c | 569 int total_read; in cifs_readv_from_socket() local 574 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 617 return total_read; in cifs_readv_from_socket() 876 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3() 887 server->total_read += length; in standard_receive3() 889 dump_smb(buf, server->total_read); in standard_receive3() 912 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard() 999 server->total_read = 0; in cifs_demultiplex_thread() 1001 server->total_read = length; in cifs_demultiplex_thread() 1031 server->total_read += length; in cifs_demultiplex_thread() [all …]
|
| A D | file.c | 3956 ssize_t rc, total_read = 0; in __cifs_readv() local 4035 total_read = ctx->total_len; in __cifs_readv() 4039 total_read = ctx->total_len; in __cifs_readv() 4044 if (total_read) { in __cifs_readv() 4045 iocb->ki_pos += total_read; in __cifs_readv() 4046 return total_read; in __cifs_readv() 4106 unsigned int total_read; in cifs_read() local 4147 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read() 4178 if (total_read) { in cifs_read() 4185 cifs_stats_bytes_read(tcon, total_read); in cifs_read() [all …]
|
| A D | cifssmb.c | 1336 server->total_read; in cifs_discard_remaining_data() 1346 server->total_read += length; in cifs_discard_remaining_data() 1400 server->total_read += length; in cifs_readv_receive() 1437 __func__, server->total_read, in cifs_readv_receive() 1445 if (data_offset < server->total_read) { in cifs_readv_receive() 1453 data_offset = server->total_read; in cifs_readv_receive() 1465 len = data_offset - server->total_read; in cifs_readv_receive() 1472 server->total_read += length; in cifs_readv_receive() 1490 server->total_read += length; in cifs_readv_receive() 1493 server->total_read, buflen, data_len); in cifs_readv_receive() [all …]
|
| A D | smb2ops.c | 4722 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data() 4750 server->total_read += length; in read_data_into_pages() 5031 server->total_read += rc; in receive_encrypted_read() 5137 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard() 5146 server->total_read += length; in receive_encrypted_standard()
|
| A D | cifsglob.h | 659 unsigned int total_read; /* total amount of data read in this pass */ member
|
| /linux/kernel/trace/ |
| A D | ring_buffer.c | 5961 unsigned long total_read = 0; in test_ringbuffer() local 6005 total_read++; in test_ringbuffer() 6012 pr_info(" read events: %ld\n", total_read); in test_ringbuffer() 6014 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer() 6025 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()
|
Completed in 61 milliseconds