Searched refs:total_read (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | debugfs.c | 509 int total_read; in __i2c_debugfs_read() local 523 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read() 524 if (total_read < 0) { in __i2c_debugfs_read() 525 ret = total_read; in __i2c_debugfs_read() 529 *ppos += total_read; in __i2c_debugfs_read() 531 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read() 537 ret = total_read; in __i2c_debugfs_read() 627 int total_read; in __qsfp_debugfs_read() local 643 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read() 644 if (total_read < 0) { in __qsfp_debugfs_read() [all …]
|
/linux-4.4.14/fs/cifs/ |
D | misc.c | 313 checkSMB(char *buf, unsigned int total_read) in checkSMB() argument 319 total_read, rfclen); in checkSMB() 322 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB() 323 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB() 329 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB() 357 if (4 + rfclen != total_read) { in checkSMB()
|
D | connect.c | 559 int total_read; in cifs_readv_from_socket() local 571 for (total_read = 0; to_read; total_read += length, to_read -= length) { in cifs_readv_from_socket() 575 total_read = -ECONNABORTED; in cifs_readv_from_socket() 579 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in cifs_readv_from_socket() 585 total_read = -ESHUTDOWN; in cifs_readv_from_socket() 589 total_read = -ECONNABORTED; in cifs_readv_from_socket() 606 total_read = -ECONNABORTED; in cifs_readv_from_socket() 610 return total_read; in cifs_readv_from_socket() 809 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3() 818 server->total_read += length; in standard_receive3() [all …]
|
D | file.c | 2976 ssize_t total_read = 0; in cifs_user_readv() local 3060 total_read = len - iov_iter_count(to); in cifs_user_readv() 3062 cifs_stats_bytes_read(tcon, total_read); in cifs_user_readv() 3068 if (total_read) { in cifs_user_readv() 3069 iocb->ki_pos += total_read; in cifs_user_readv() 3070 return total_read; in cifs_user_readv() 3120 unsigned int total_read; in cifs_read() local 3161 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read() 3162 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 3164 current_read_size = min_t(uint, read_size - total_read, in cifs_read() [all …]
|
D | cifssmb.c | 1402 int remaining = rfclen + 4 - server->total_read; in discard_remaining_data() 1412 server->total_read += length; in discard_remaining_data() 1456 server->total_read += length; in cifs_readv_receive() 1473 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive() 1475 __func__, server->total_read, in cifs_readv_receive() 1482 if (data_offset < server->total_read) { in cifs_readv_receive() 1490 data_offset = server->total_read; in cifs_readv_receive() 1500 __func__, server->total_read, data_offset); in cifs_readv_receive() 1502 len = data_offset - server->total_read; in cifs_readv_receive() 1505 rdata->iov.iov_base = buf + server->total_read; in cifs_readv_receive() [all …]
|
D | cifsglob.h | 619 unsigned int total_read; /* total amount of data read in this pass */ member
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_console.c | 491 s32 bytes_read, tries, total_read; in check_console() local 500 total_read = 0; in check_console() 510 total_read += bytes_read; in check_console() 532 (total_read == 0) && (console->leftover[0])) { in check_console()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer.c | 4936 unsigned long total_read = 0; in test_ringbuffer() local 4980 total_read++; in test_ringbuffer() 4987 pr_info(" read events: %ld\n", total_read); in test_ringbuffer() 4989 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer() 5000 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()
|