Searched refs:total_read (Results 1 – 4 of 4) sorted by relevance
1605 unsigned int total_read = 0; in cifs_user_read() local1628 for (total_read = 0, current_offset = read_data; in cifs_user_read()1629 read_size > total_read; in cifs_user_read()1630 total_read += bytes_read, current_offset += bytes_read) { in cifs_user_read()1631 current_read_size = min_t(const int, read_size - total_read, in cifs_user_read()1665 if (total_read) { in cifs_user_read()1677 return total_read; in cifs_user_read()1686 unsigned int total_read; in cifs_read() local1708 for (total_read = 0, current_offset = read_data; in cifs_read()1709 read_size > total_read; in cifs_read()[all …]
323 unsigned int pdu_length, total_read; in cifs_demultiplex_thread() local515 for (total_read = 0; total_read < pdu_length; in cifs_demultiplex_thread()516 total_read += length) { in cifs_demultiplex_thread()518 pdu_length - total_read, 0); in cifs_demultiplex_thread()541 pdu_length - total_read)); in cifs_demultiplex_thread()557 if (checkSMB(smb_buffer, smb_buffer->Mid, total_read+4)) { in cifs_demultiplex_thread()
371 unsigned long total_read = 0; in btrfs_defrag_file() local384 if (total_read % ra_pages == 0) { in btrfs_defrag_file()388 total_read++; in btrfs_defrag_file()
4490 unsigned int total_read = 0; in relocate_inode_pages() local4509 if (total_read % ra->ra_pages == 0) { in relocate_inode_pages()4513 total_read++; in relocate_inode_pages()