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_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.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.h184 unsigned int to_read);
186 struct page *page, unsigned int to_read);
Dconnect.c570 unsigned int to_read) in cifs_read_from_socket() argument
573 struct kvec iov = {.iov_base = buf, .iov_len = to_read}; in cifs_read_from_socket()
574 iov_iter_kvec(&smb_msg.msg_iter, READ | ITER_KVEC, &iov, 1, to_read); in cifs_read_from_socket()
581 unsigned int to_read) in cifs_read_page_from_socket() argument
584 struct bio_vec bv = {.bv_page = page, .bv_len = to_read}; in cifs_read_page_from_socket()
585 iov_iter_bvec(&smb_msg.msg_iter, READ | ITER_BVEC, &bv, 1, to_read); in cifs_read_page_from_socket()