Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/
H A Dssvdevice.c95 size_t total_read = 0; in read_line() local
100 total_read = -EINVAL; in read_line()
118 if (total_read == 0) in read_line()
126 if (total_read < size - 1) { in read_line()
127 total_read++; in read_line()
138 return total_read; in read_line()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A 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()
H A Dfile.c3888 ssize_t rc, total_read = 0; in __cifs_readv() local
3976 total_read = ctx->total_len; in __cifs_readv()
3980 total_read = ctx->total_len; in __cifs_readv()
3985 if (total_read) { in __cifs_readv()
3986 iocb->ki_pos += total_read; in __cifs_readv()
3987 return total_read; in __cifs_readv()
4047 unsigned int total_read; in cifs_read() local
4088 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
4089 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
4091 current_read_size = min_t(uint, read_size - total_read, in cifs_read()
[all …]
H A Dconnect.c696 int total_read; in cifs_readv_from_socket() local
698 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
741 return total_read; in cifs_readv_from_socket()
993 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
1004 server->total_read += length; in standard_receive3()
1006 dump_smb(buf, server->total_read); in standard_receive3()
1026 length = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard()
1029 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
1106 server->total_read = 0; in cifs_demultiplex_thread()
1108 server->total_read = length; in cifs_demultiplex_thread()
[all …]
H A 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 …]
H A Dsmb2ops.c4497 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data()
4525 server->total_read += length; in read_data_into_pages()
4802 server->total_read += rc; in receive_encrypted_read()
4902 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
4911 server->total_read += length; in receive_encrypted_standard()
H A Dcifsglob.h748 unsigned int total_read; /* total amount of data read in this pass */ member
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dring_buffer.c5843 unsigned long total_read = 0; in test_ringbuffer() local
5887 total_read++; in test_ringbuffer()
5894 pr_info(" read events: %ld\n", total_read); in test_ringbuffer()
5896 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer()
5907 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()