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.c138 size_t to_read = min_t(size_t, in ncp_file_read_iter() local
144 pos, to_read, to, &read_this_time, in ncp_file_read_iter()
153 if (read_this_time != to_read) in ncp_file_read_iter()
Dncplib_kernel.c969 __u32 offset, __u16 to_read, char *target, int *bytes_read) in ncp_read_kernel() argument
978 ncp_add_be16(server, to_read); in ncp_read_kernel()
984 if (*bytes_read > to_read) { in ncp_read_kernel()
1009 __u32 offset, __u16 to_read, struct iov_iter *to, in ncp_read_bounce() argument
1018 ncp_add_be16(server, to_read); in ncp_read_bounce()
1025 if (len <= to_read) { in ncp_read_bounce()
/fs/ntfs/
Dlogfile.c391 int have_read, to_read; in ntfs_check_and_load_restart_page() local
397 to_read = le32_to_cpu(rp->system_page_size) - size; in ntfs_check_and_load_restart_page()
410 size = min_t(int, to_read, PAGE_SIZE); in ntfs_check_and_load_restart_page()
414 to_read -= size; in ntfs_check_and_load_restart_page()
416 } while (to_read > 0); in ntfs_check_and_load_restart_page()
/fs/jffs2/
Dreadinode.c927 int err, to_read = needed_len - *rdlen; in read_more() local
932 int rem = to_read % c->wbuf_pagesize; in read_more()
935 to_read += c->wbuf_pagesize - rem; in read_more()
941 dbg_readinode("read more %d bytes\n", to_read); in read_more()
943 err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen); in read_more()
946 "error code: %d.\n", to_read, offs, err); in read_more()
950 if (retlen < to_read) { in read_more()
952 offs, retlen, to_read); in read_more()
956 *rdlen += to_read; in read_more()
/fs/cifs/
Dcifsproto.h196 unsigned int to_read);
198 struct page *page, unsigned int to_read);
Dconnect.c650 unsigned int to_read) in cifs_read_from_socket() argument
653 struct kvec iov = {.iov_base = buf, .iov_len = to_read}; in cifs_read_from_socket()
654 iov_iter_kvec(&smb_msg.msg_iter, READ | ITER_KVEC, &iov, 1, to_read); in cifs_read_from_socket()
661 unsigned int to_read) in cifs_read_page_from_socket() argument
664 struct bio_vec bv = {.bv_page = page, .bv_len = to_read}; in cifs_read_page_from_socket()
665 iov_iter_bvec(&smb_msg.msg_iter, READ | ITER_BVEC, &bv, 1, to_read); in cifs_read_page_from_socket()