Home
last modified time | relevance | path

Searched refs:total_read (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c481 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-v5.10/drivers/infiniband/hw/hfi1/
Ddebugfs.c829 int total_read; in __i2c_debugfs_read() local
845 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read()
846 if (total_read < 0) { in __i2c_debugfs_read()
847 ret = total_read; in __i2c_debugfs_read()
851 *ppos += total_read; in __i2c_debugfs_read()
853 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read()
859 ret = total_read; in __i2c_debugfs_read()
934 int total_read; in __qsfp_debugfs_read() local
949 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()
950 if (total_read < 0) { in __qsfp_debugfs_read()
[all …]
/Linux-v5.10/fs/cifs/
Dmisc.c319 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument
325 total_read, rfclen); in checkSMB()
328 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB()
329 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB()
335 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB()
363 if (4 + rfclen != total_read) { in checkSMB()
420 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
Dfile.c3858 ssize_t rc, total_read = 0; in __cifs_readv() local
3937 total_read = ctx->total_len; in __cifs_readv()
3941 total_read = ctx->total_len; in __cifs_readv()
3946 if (total_read) { in __cifs_readv()
3947 iocb->ki_pos += total_read; in __cifs_readv()
3948 return total_read; in __cifs_readv()
4008 unsigned int total_read; in cifs_read() local
4049 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
4050 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
4052 current_read_size = min_t(uint, read_size - total_read, in cifs_read()
[all …]
Dconnect.c695 int total_read; in cifs_readv_from_socket() local
700 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
743 return total_read; in cifs_readv_from_socket()
980 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
991 server->total_read += length; in standard_receive3()
993 dump_smb(buf, server->total_read); in standard_receive3()
1013 length = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard()
1016 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
1093 server->total_read = 0; in cifs_demultiplex_thread()
1095 server->total_read = length; in cifs_demultiplex_thread()
[all …]
Dcifssmb.c1449 server->total_read; in cifs_discard_remaining_data()
1459 server->total_read += length; in cifs_discard_remaining_data()
1513 server->total_read += length; in cifs_readv_receive()
1532 server->total_read - server->vals->header_preamble_size; in cifs_readv_receive()
1548 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive()
1550 __func__, server->total_read, in cifs_readv_receive()
1558 if (data_offset < server->total_read) { in cifs_readv_receive()
1566 data_offset = server->total_read; in cifs_readv_receive()
1576 __func__, server->total_read, data_offset); in cifs_readv_receive()
1578 len = data_offset - server->total_read; in cifs_readv_receive()
[all …]
Dsmb2ops.c4310 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data()
4338 server->total_read += length; in read_data_into_pages()
4615 server->total_read += rc; in receive_encrypted_read()
4715 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
4724 server->total_read += length; in receive_encrypted_standard()
Dcifsglob.h748 unsigned int total_read; /* total amount of data read in this pass */ member
/Linux-v5.10/kernel/trace/
Dring_buffer.c5688 unsigned long total_read = 0; in test_ringbuffer() local
5732 total_read++; in test_ringbuffer()
5739 pr_info(" read events: %ld\n", total_read); in test_ringbuffer()
5741 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer()
5752 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()