/openbmc/linux/fs/smb/server/ |
H A D | transport_tcp.c | 309 int total_read; in ksmbd_tcp_readv() local 322 for (total_read = 0; to_read; total_read += length, to_read -= length) { in ksmbd_tcp_readv() 326 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 329 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in ksmbd_tcp_readv() 335 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 338 total_read = -EAGAIN; in ksmbd_tcp_readv() 346 total_read = length; in ksmbd_tcp_readv() 356 total_read = length; in ksmbd_tcp_readv() 360 return total_read; in ksmbd_tcp_readv()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_console.c | 480 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()
|
/openbmc/qemu/block/ |
H A D | io_uring.c | 41 int total_read; member 90 luringcb->total_read += nread; in luring_resubmit_short_read() 91 remaining = luringcb->qiov->size - luringcb->total_read; in luring_resubmit_short_read() 100 qemu_iovec_concat(resubmit_qiov, luringcb->qiov, luringcb->total_read, in luring_resubmit_short_read() 166 total_bytes = ret + luringcb->total_read; in luring_process_completions()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A 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()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A 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 …]
|
/openbmc/linux/fs/smb/client/ |
H A D | transport.c | 1662 server->total_read; in cifs_discard_remaining_data() 1672 server->total_read += length; in cifs_discard_remaining_data() 1725 server->total_read += length; in cifs_readv_receive() 1744 server->total_read - HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive() 1760 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive() 1762 __func__, server->total_read, in cifs_readv_receive() 1770 if (data_offset < server->total_read) { in cifs_readv_receive() 1778 data_offset = server->total_read; in cifs_readv_receive() 1788 __func__, server->total_read, data_offset); in cifs_readv_receive() 1790 len = data_offset - server->total_read; in cifs_readv_receive() [all …]
|
H A D | misc.c | 329 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument 335 total_read, rfclen); in checkSMB() 338 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB() 339 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB() 345 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB() 366 } else if (total_read < sizeof(*smb) + 2 * smb->WordCount) { in checkSMB() 377 if (4 + rfclen != total_read) { in checkSMB() 434 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
|
H A D | connect.c | 717 int total_read; in cifs_readv_from_socket() local 719 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 767 return total_read; in cifs_readv_from_socket() 1090 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3() 1100 server->total_read += length; in standard_receive3() 1102 dump_smb(buf, server->total_read); in standard_receive3() 1121 rc = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard() 1124 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard() 1212 server->total_read = length; in cifs_demultiplex_thread() 1214 server->total_read = 0; in cifs_demultiplex_thread() [all …]
|
H A D | file.c | 4234 ssize_t rc, total_read = 0; in __cifs_readv() local 4339 total_read = ctx->total_len; in __cifs_readv() 4343 total_read = ctx->total_len; in __cifs_readv() 4348 if (total_read) { in __cifs_readv() 4349 iocb->ki_pos += total_read; in __cifs_readv() 4350 return total_read; in __cifs_readv() 4410 unsigned int total_read; in cifs_read() local 4451 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read() 4452 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 4454 current_read_size = min_t(uint, read_size - total_read, in cifs_read() [all …]
|
H A D | smb2ops.c | 407 if (!server->ops->check_message(buf, server->total_read, server)) { in smb2_dump_detail() 4498 server->total_read = buf_data_size + iter_size; in decrypt_raw_data() 4773 server->total_read += rc; in receive_encrypted_read() 4804 server->total_read += rc; in receive_encrypted_read() 4881 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard() 4890 server->total_read += length; in receive_encrypted_standard()
|
H A D | cifs_debug.c | 46 if (!server->ops->check_message(buf, server->total_read, server)) { in cifs_dump_detail()
|
H A D | cifsglob.h | 762 unsigned int total_read; /* total amount of data read in this pass */ member
|
/openbmc/linux/kernel/trace/ |
H A D | ring_buffer.c | 6158 unsigned long total_read = 0; in test_ringbuffer() local 6202 total_read++; in test_ringbuffer() 6209 pr_info(" read events: %ld\n", total_read); in test_ringbuffer() 6211 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer() 6222 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()
|