Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/isdn/hardware/eicon/
Distream.c156 int read = 0, to_read = -1; in diva_istream_read() local
170 if (to_read < 0) in diva_istream_read()
175 if (to_read < 0) in diva_istream_read()
179 to_read = min(max_length, (int)tmp[1]); in diva_istream_read()
180 if (to_read) { in diva_istream_read()
188 (word)to_read); in diva_istream_read()
189 max_length -= to_read; in diva_istream_read()
190 read += to_read; in diva_istream_read()
191 data_ptr += to_read; in diva_istream_read()
/linux-4.19.296/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()
/linux-4.19.296/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()
/linux-4.19.296/fs/cifs/
Dsmbdirect.c1958 int to_copy, to_read, data_read, offset; in smbd_recv_buf() local
1989 to_read = size; in smbd_recv_buf()
2019 to_copy = min_t(int, data_length - offset, to_read); in smbd_recv_buf()
2050 to_read -= to_copy; in smbd_recv_buf()
2057 to_read, data_read, offset); in smbd_recv_buf()
2094 unsigned int to_read) in smbd_recv_page() argument
2103 info->reassembly_data_length >= to_read || in smbd_recv_page()
2113 page, to_address, to_read); in smbd_recv_page()
2115 ret = smbd_recv_buf(info, to_address, to_read); in smbd_recv_page()
2130 unsigned int to_read, page_offset; in smbd_recv() local
[all …]
Dcifsproto.h206 unsigned int to_read);
210 unsigned int to_read);
Dfile.c3681 unsigned int to_read = rdata->pagesz; in readpages_fill_pages() local
3685 to_read -= page_offset; in readpages_fill_pages()
3689 n = to_read; in readpages_fill_pages()
3691 if (len >= to_read) { in readpages_fill_pages()
3692 len -= to_read; in readpages_fill_pages()
3695 zero_user(page, len + page_offset, to_read - len); in readpages_fill_pages()
Dconnect.c665 unsigned int to_read) in cifs_read_from_socket() argument
668 struct kvec iov = {.iov_base = buf, .iov_len = to_read}; in cifs_read_from_socket()
669 iov_iter_kvec(&smb_msg.msg_iter, READ | ITER_KVEC, &iov, 1, to_read); in cifs_read_from_socket()
676 unsigned int page_offset, unsigned int to_read) in cifs_read_page_from_socket() argument
680 .bv_page = page, .bv_len = to_read, .bv_offset = page_offset}; in cifs_read_page_from_socket()
681 iov_iter_bvec(&smb_msg.msg_iter, READ | ITER_BVEC, &bv, 1, to_read); in cifs_read_page_from_socket()
/linux-4.19.296/drivers/lightnvm/
Dpblk-rb.c522 unsigned int pad = 0, to_read = nr_entries; in pblk_rb_read_to_bio() local
528 to_read = count; in pblk_rb_read_to_bio()
532 c_ctx->nr_valid = to_read; in pblk_rb_read_to_bio()
535 for (i = 0; i < to_read; i++) { in pblk_rb_read_to_bio()
/linux-4.19.296/drivers/media/usb/gspca/
Dsn9c2028.c46 unsigned char to_read; /* length to read. 0 means no reply requested */ member
242 switch (cam_commands[i].to_read) { in run_start_commands()