Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ksmbd/
A Dtransport_tcp.c306 int total_read; in ksmbd_tcp_readv() local
320 for (total_read = 0; to_read; total_read += length, to_read -= length) { in ksmbd_tcp_readv()
324 total_read = -ESHUTDOWN; in ksmbd_tcp_readv()
327 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in ksmbd_tcp_readv()
333 total_read = -ESHUTDOWN; in ksmbd_tcp_readv()
336 total_read = -EAGAIN; in ksmbd_tcp_readv()
345 total_read = -EAGAIN; in ksmbd_tcp_readv()
349 return total_read; in ksmbd_tcp_readv()
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Docteon_console.c480 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-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A Dprestera_counter.c18 u32 total_read; member
368 counter->total_read = 0; in prestera_counter_stats_work()
374 err = prestera_hw_counters_get(counter->sw, counter->total_read, in prestera_counter_stats_work()
376 &block->stats[counter->total_read]); in prestera_counter_stats_work()
381 counter->total_read += count; in prestera_counter_stats_work()
382 if (!done || counter->total_read < block->num_counters) { in prestera_counter_stats_work()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Ddebugfs.c787 int total_read; in __i2c_debugfs_read() local
804 if (total_read < 0) { in __i2c_debugfs_read()
805 ret = total_read; in __i2c_debugfs_read()
809 *ppos += total_read; in __i2c_debugfs_read()
811 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read()
817 ret = total_read; in __i2c_debugfs_read()
892 int total_read; in __qsfp_debugfs_read() local
908 if (total_read < 0) { in __qsfp_debugfs_read()
909 ret = total_read; in __qsfp_debugfs_read()
913 *ppos += total_read; in __qsfp_debugfs_read()
[all …]
/linux-6.3-rc2/fs/cifs/
A Dtransport.c1642 server->total_read; in cifs_discard_remaining_data()
1652 server->total_read += length; in cifs_discard_remaining_data()
1705 server->total_read += length; in cifs_readv_receive()
1742 __func__, server->total_read, in cifs_readv_receive()
1750 if (data_offset < server->total_read) { in cifs_readv_receive()
1758 data_offset = server->total_read; in cifs_readv_receive()
1770 len = data_offset - server->total_read; in cifs_readv_receive()
1777 server->total_read += length; in cifs_readv_receive()
1800 server->total_read += length; in cifs_readv_receive()
1803 server->total_read, buflen, data_len); in cifs_readv_receive()
[all …]
A Dmisc.c316 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument
322 total_read, rfclen); in checkSMB()
325 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB()
326 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB()
332 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB()
360 if (4 + rfclen != total_read) { in checkSMB()
417 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
A Dconnect.c646 int total_read; in cifs_readv_from_socket() local
648 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
696 return total_read; in cifs_readv_from_socket()
1014 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
1024 server->total_read += length; in standard_receive3()
1026 dump_smb(buf, server->total_read); in standard_receive3()
1048 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
1135 server->total_read = length; in cifs_demultiplex_thread()
1137 server->total_read = 0; in cifs_demultiplex_thread()
1165 server->total_read += length; in cifs_demultiplex_thread()
[all …]
A Dfile.c4104 ssize_t rc, total_read = 0; in __cifs_readv() local
4209 total_read = ctx->total_len; in __cifs_readv()
4213 total_read = ctx->total_len; in __cifs_readv()
4218 if (total_read) { in __cifs_readv()
4219 iocb->ki_pos += total_read; in __cifs_readv()
4220 return total_read; in __cifs_readv()
4280 unsigned int total_read; in cifs_read() local
4321 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
4352 if (total_read) { in cifs_read()
4359 cifs_stats_bytes_read(tcon, total_read); in cifs_read()
[all …]
A Dsmb2ops.c4594 server->total_read = buf_data_size + iter_size; in decrypt_raw_data()
4869 server->total_read += rc; in receive_encrypted_read()
4900 server->total_read += rc; in receive_encrypted_read()
4976 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
4985 server->total_read += length; in receive_encrypted_standard()
A Dcifsglob.h693 unsigned int total_read; /* total amount of data read in this pass */ member
/linux-6.3-rc2/kernel/trace/
A Dring_buffer.c6125 unsigned long total_read = 0; in test_ringbuffer() local
6169 total_read++; in test_ringbuffer()
6176 pr_info(" read events: %ld\n", total_read); in test_ringbuffer()
6178 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer()
6189 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()

Completed in 76 milliseconds