Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dtransport_tcp.c309 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 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()
/openbmc/qemu/block/
H A Dio_uring.c41 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 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()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H 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 …]
/openbmc/linux/fs/smb/client/
H A Dtransport.c1662 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()
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()
1790 len = data_offset - server->total_read; in cifs_readv_receive()
1797 server->total_read += length; in cifs_readv_receive()
1820 server->total_read += length; in cifs_readv_receive()
1823 server->total_read, buflen, data_len); in cifs_readv_receive()
[all …]
H A Dmisc.c329 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 Dconnect.c705 int total_read; in cifs_readv_from_socket() local
707 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
755 return total_read; in cifs_readv_from_socket()
1071 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
1081 server->total_read += length; in standard_receive3()
1083 dump_smb(buf, server->total_read); in standard_receive3()
1105 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
1193 server->total_read = length; in cifs_demultiplex_thread()
1195 server->total_read = 0; in cifs_demultiplex_thread()
1225 server->total_read += length; in cifs_demultiplex_thread()
[all …]
H A Dfile.c4234 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()
4482 if (total_read) { in cifs_read()
4489 cifs_stats_bytes_read(tcon, total_read); in cifs_read()
[all …]
H A Dsmb2ops.c407 if (!server->ops->check_message(buf, server->total_read, server)) { in smb2_dump_detail()
4482 server->total_read = buf_data_size + iter_size; in decrypt_raw_data()
4757 server->total_read += rc; in receive_encrypted_read()
4788 server->total_read += rc; in receive_encrypted_read()
4865 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
4874 server->total_read += length; in receive_encrypted_standard()
H A Dcifs_debug.c46 if (!server->ops->check_message(buf, server->total_read, server)) { in cifs_dump_detail()
H A Dcifsglob.h761 unsigned int total_read; /* total amount of data read in this pass */ member
/openbmc/linux/kernel/trace/
H A Dring_buffer.c6158 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()