Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/infiniband/hw/hfi1/
Ddebugfs.c781 int total_read; in __i2c_debugfs_read() local
797 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read()
798 if (total_read < 0) { in __i2c_debugfs_read()
799 ret = total_read; in __i2c_debugfs_read()
803 *ppos += total_read; in __i2c_debugfs_read()
805 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read()
811 ret = total_read; in __i2c_debugfs_read()
886 int total_read; in __qsfp_debugfs_read() local
901 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()
902 if (total_read < 0) { in __qsfp_debugfs_read()
[all …]
/Linux-v4.19/fs/cifs/
Dmisc.c304 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument
310 total_read, rfclen); in checkSMB()
313 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB()
314 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB()
320 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB()
348 if (4 + rfclen != total_read) { in checkSMB()
405 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
Dconnect.c540 int total_read; in cifs_readv_from_socket() local
545 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
582 return total_read; in cifs_readv_from_socket()
802 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
813 server->total_read += length; in standard_receive3()
815 dump_smb(buf, server->total_read); in standard_receive3()
835 length = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard()
838 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
894 server->total_read = 0; in cifs_demultiplex_thread()
896 server->total_read = length; in cifs_demultiplex_thread()
[all …]
Dfile.c3275 ssize_t total_read = 0; in cifs_user_readv() local
3341 total_read = ctx->total_len; in cifs_user_readv()
3345 total_read = ctx->total_len; in cifs_user_readv()
3350 if (total_read) { in cifs_user_readv()
3351 iocb->ki_pos += total_read; in cifs_user_readv()
3352 return total_read; in cifs_user_readv()
3402 unsigned int total_read; in cifs_read() local
3443 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
3444 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
3446 current_read_size = min_t(uint, read_size - total_read, in cifs_read()
[all …]
Dcifssmb.c1443 server->total_read; in cifs_discard_remaining_data()
1453 server->total_read += length; in cifs_discard_remaining_data()
1499 server->total_read += length; in cifs_readv_receive()
1523 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive()
1525 __func__, server->total_read, in cifs_readv_receive()
1533 if (data_offset < server->total_read) { in cifs_readv_receive()
1541 data_offset = server->total_read; in cifs_readv_receive()
1551 __func__, server->total_read, data_offset); in cifs_readv_receive()
1553 len = data_offset - server->total_read; in cifs_readv_receive()
1557 buf + server->total_read, len); in cifs_readv_receive()
[all …]
Dsmb2ops.c2807 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data()
2835 server->total_read += length; in read_data_into_pages()
3017 server->total_read += rc; in receive_encrypted_read()
3092 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
3101 server->total_read += length; in receive_encrypted_standard()
Dcifsglob.h679 unsigned int total_read; /* total amount of data read in this pass */ member
/Linux-v4.19/kernel/trace/
Dring_buffer.c5098 unsigned long total_read = 0; in test_ringbuffer() local
5142 total_read++; in test_ringbuffer()
5149 pr_info(" read events: %ld\n", total_read); in test_ringbuffer()
5151 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer()
5162 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()