| /Linux-v6.1/fs/ksmbd/ |
| 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-v6.1/drivers/net/ethernet/cavium/liquidio/ |
| 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-v6.1/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_counter.c | 18 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-v6.1/drivers/infiniband/hw/hfi1/ |
| D | debugfs.c | 787 int total_read; in __i2c_debugfs_read() local 803 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read() 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 907 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read() 908 if (total_read < 0) { in __qsfp_debugfs_read() [all …]
|
| /Linux-v6.1/fs/cifs/ |
| D | transport.c | 1644 server->total_read; in cifs_discard_remaining_data() 1654 server->total_read += length; in cifs_discard_remaining_data() 1707 server->total_read += length; in cifs_readv_receive() 1726 server->total_read - HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive() 1742 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive() 1744 __func__, server->total_read, in cifs_readv_receive() 1752 if (data_offset < server->total_read) { in cifs_readv_receive() 1760 data_offset = server->total_read; in cifs_readv_receive() 1770 __func__, server->total_read, data_offset); in cifs_readv_receive() 1772 len = data_offset - server->total_read; in cifs_readv_receive() [all …]
|
| D | misc.c | 315 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument 321 total_read, rfclen); in checkSMB() 324 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB() 325 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB() 331 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB() 359 if (4 + rfclen != total_read) { in checkSMB() 416 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
|
| D | connect.c | 703 int total_read; in cifs_readv_from_socket() local 705 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 753 return total_read; in cifs_readv_from_socket() 1057 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3() 1067 server->total_read += length; in standard_receive3() 1069 dump_smb(buf, server->total_read); in standard_receive3() 1088 rc = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard() 1091 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard() 1178 server->total_read = length; in cifs_demultiplex_thread() 1180 server->total_read = 0; in cifs_demultiplex_thread() [all …]
|
| D | file.c | 4233 ssize_t rc, total_read = 0; in __cifs_readv() local 4321 total_read = ctx->total_len; in __cifs_readv() 4325 total_read = ctx->total_len; in __cifs_readv() 4330 if (total_read) { in __cifs_readv() 4331 iocb->ki_pos += total_read; in __cifs_readv() 4332 return total_read; in __cifs_readv() 4392 unsigned int total_read; in cifs_read() local 4433 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read() 4434 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 4436 current_read_size = min_t(uint, read_size - total_read, in cifs_read() [all …]
|
| D | smb2ops.c | 4540 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data() 4568 server->total_read += length; in read_data_into_pages() 4853 server->total_read += rc; in receive_encrypted_read() 4959 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard() 4968 server->total_read += length; in receive_encrypted_standard()
|
| D | cifsglob.h | 696 unsigned int total_read; /* total amount of data read in this pass */ member
|
| /Linux-v6.1/kernel/trace/ |
| D | ring_buffer.c | 6126 unsigned long total_read = 0; in test_ringbuffer() local 6170 total_read++; in test_ringbuffer() 6177 pr_info(" read events: %ld\n", total_read); in test_ringbuffer() 6179 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer() 6190 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()
|