Home
last modified time | relevance | path

Searched refs:to_read (Results 1 – 7 of 7) sorted by relevance

/fs/ncpfs/
Dmmap.c58 int to_read; in ncp_file_mmap_fault() local
60 to_read = bufsize - (pos % bufsize); in ncp_file_mmap_fault()
62 to_read = min_t(unsigned int, to_read, count - already_read); in ncp_file_mmap_fault()
66 pos, to_read, in ncp_file_mmap_fault()
74 if (read_this_time < to_read) { in ncp_file_mmap_fault()
Dfile.c137 size_t to_read = min_t(size_t, in ncp_file_read_iter() local
143 pos, to_read, to, &read_this_time, in ncp_file_read_iter()
152 if (read_this_time != to_read) in ncp_file_read_iter()
Dncplib_kernel.c968 __u32 offset, __u16 to_read, char *target, int *bytes_read) in ncp_read_kernel() argument
977 ncp_add_be16(server, to_read); in ncp_read_kernel()
983 if (*bytes_read > to_read) { in ncp_read_kernel()
1008 __u32 offset, __u16 to_read, struct iov_iter *to, in ncp_read_bounce() argument
1017 ncp_add_be16(server, to_read); in ncp_read_bounce()
1024 if (len <= to_read) { in ncp_read_bounce()
/fs/ntfs/
Dlogfile.c390 int have_read, to_read; in ntfs_check_and_load_restart_page() local
396 to_read = le32_to_cpu(rp->system_page_size) - size; in ntfs_check_and_load_restart_page()
409 size = min_t(int, to_read, PAGE_CACHE_SIZE); in ntfs_check_and_load_restart_page()
413 to_read -= size; in ntfs_check_and_load_restart_page()
415 } while (to_read > 0); in ntfs_check_and_load_restart_page()
/fs/jffs2/
Dreadinode.c943 int err, to_read = needed_len - *rdlen; in read_more() local
948 int rem = to_read % c->wbuf_pagesize; in read_more()
951 to_read += c->wbuf_pagesize - rem; in read_more()
957 dbg_readinode("read more %d bytes\n", to_read); in read_more()
959 err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen); in read_more()
962 "error code: %d.\n", to_read, offs, err); in read_more()
966 if (retlen < to_read) { in read_more()
968 offs, retlen, to_read); in read_more()
972 *rdlen += to_read; in read_more()
/fs/cifs/
Dcifsproto.h185 unsigned int to_read);
188 unsigned int to_read);
Dconnect.c629 unsigned int nr_segs, unsigned int to_read) in cifs_readv_from_socket() argument
644 for (total_read = 0; to_read; total_read += length, to_read -= length) { in cifs_readv_from_socket()
655 iov, segs, to_read, 0); in cifs_readv_from_socket()
677 "got %d", to_read, length); in cifs_readv_from_socket()
688 unsigned int to_read) in cifs_read_from_socket() argument
693 iov.iov_len = to_read; in cifs_read_from_socket()
695 return cifs_readv_from_socket(server, &iov, 1, to_read); in cifs_read_from_socket()