Searched refs:to_read (Results 1 – 6 of 6) sorted by relevance
/fs/ntfs/ |
D | logfile.c | 377 int have_read, to_read; in ntfs_check_and_load_restart_page() local 383 to_read = le32_to_cpu(rp->system_page_size) - size; in ntfs_check_and_load_restart_page() 396 size = min_t(int, to_read, PAGE_SIZE); in ntfs_check_and_load_restart_page() 400 to_read -= size; in ntfs_check_and_load_restart_page() 402 } while (to_read > 0); in ntfs_check_and_load_restart_page()
|
/fs/jffs2/ |
D | readinode.c | 943 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/ |
D | smbdirect.c | 1865 int to_copy, to_read, data_read, offset; in smbd_recv_buf() local 1891 to_read = size; in smbd_recv_buf() 1921 to_copy = min_t(int, data_length - offset, to_read); in smbd_recv_buf() 1952 to_read -= to_copy; in smbd_recv_buf() 1959 to_read, data_read, offset); in smbd_recv_buf() 2001 unsigned int to_read) in smbd_recv_page() argument 2010 info->reassembly_data_length >= to_read || in smbd_recv_page() 2020 page, to_address, to_read); in smbd_recv_page() 2022 ret = smbd_recv_buf(info, to_address, to_read); in smbd_recv_page() 2037 unsigned int to_read, page_offset; in smbd_recv() local [all …]
|
D | cifsproto.h | 219 unsigned int to_read); 223 unsigned int to_read);
|
D | connect.c | 843 unsigned int to_read) in cifs_read_from_socket() argument 846 struct kvec iov = {.iov_base = buf, .iov_len = to_read}; in cifs_read_from_socket() 847 iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read); in cifs_read_from_socket() 854 unsigned int page_offset, unsigned int to_read) in cifs_read_page_from_socket() argument 858 .bv_page = page, .bv_len = to_read, .bv_offset = page_offset}; in cifs_read_page_from_socket() 859 iov_iter_bvec(&smb_msg.msg_iter, READ, &bv, 1, to_read); in cifs_read_page_from_socket()
|
D | file.c | 4175 unsigned int to_read = rdata->pagesz; in readpages_fill_pages() local 4179 to_read -= page_offset; in readpages_fill_pages() 4183 n = to_read; in readpages_fill_pages() 4185 if (len >= to_read) { in readpages_fill_pages() 4186 len -= to_read; in readpages_fill_pages() 4189 zero_user(page, len + page_offset, to_read - len); in readpages_fill_pages()
|