to_read           434 drivers/hwtracing/coresight/coresight-etb10.c 	unsigned long offset, to_read = 0, flags;
to_read           479 drivers/hwtracing/coresight/coresight-etb10.c 		to_read = capacity;
to_read           482 drivers/hwtracing/coresight/coresight-etb10.c 		to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth);
to_read           483 drivers/hwtracing/coresight/coresight-etb10.c 		to_read *= ETB_FRAME_SIZE_WORDS;
to_read           496 drivers/hwtracing/coresight/coresight-etb10.c 	if (!buf->snapshot && to_read > handle->size) {
to_read           500 drivers/hwtracing/coresight/coresight-etb10.c 		to_read = handle->size & mask;
to_read           506 drivers/hwtracing/coresight/coresight-etb10.c 					to_read / ETB_FRAME_SIZE_WORDS;
to_read           530 drivers/hwtracing/coresight/coresight-etb10.c 	for (i = 0; i < to_read; i += 4) {
to_read           562 drivers/hwtracing/coresight/coresight-etb10.c 		handle->head += to_read;
to_read           569 drivers/hwtracing/coresight/coresight-etb10.c 	return to_read;
to_read           450 drivers/hwtracing/coresight/coresight-tmc-etf.c 	unsigned long offset, to_read = 0, flags;
to_read           481 drivers/hwtracing/coresight/coresight-tmc-etf.c 		to_read = drvdata->size;
to_read           483 drivers/hwtracing/coresight/coresight-tmc-etf.c 		to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->size);
to_read           493 drivers/hwtracing/coresight/coresight-tmc-etf.c 	if (!buf->snapshot && to_read > handle->size) {
to_read           500 drivers/hwtracing/coresight/coresight-tmc-etf.c 		to_read = handle->size & mask;
to_read           502 drivers/hwtracing/coresight/coresight-tmc-etf.c 		read_ptr = (write_ptr + drvdata->size) - to_read;
to_read           525 drivers/hwtracing/coresight/coresight-tmc-etf.c 	for (i = 0; i < to_read; i += 4) {
to_read           550 drivers/hwtracing/coresight/coresight-tmc-etf.c 		handle->head += to_read;
to_read           556 drivers/hwtracing/coresight/coresight-tmc-etf.c 	return to_read;
to_read           560 drivers/lightnvm/pblk-rb.c 	unsigned int pad = 0, to_read = nr_entries;
to_read           566 drivers/lightnvm/pblk-rb.c 		to_read = count;
to_read           573 drivers/lightnvm/pblk-rb.c 	c_ctx->nr_valid = to_read;
to_read           576 drivers/lightnvm/pblk-rb.c 	for (i = 0; i < to_read; i++) {
to_read          3435 drivers/md/raid5.c 				s->to_read--;
to_read          4425 drivers/md/raid5.c 			s->to_read++;
to_read          4746 drivers/md/raid5.c 	       s.locked, s.uptodate, s.to_read, s.to_write, s.failed,
to_read          4760 drivers/md/raid5.c 		if (s.to_read+s.to_write+s.written)
to_read          4837 drivers/md/raid5.c 	if (s.to_read || s.non_overwrite
to_read           275 drivers/md/raid5.h 	int locked, uptodate, to_read, to_write, failed, written;
to_read            37 drivers/media/usb/gspca/sn9c2028.c 	unsigned char to_read; /* length to read. 0 means no reply requested */
to_read           233 drivers/media/usb/gspca/sn9c2028.c 		switch (cam_commands[i].to_read) {
to_read           186 drivers/mtd/ubi/block.c 	int ret, leb, offset, bytes_left, to_read;
to_read           191 drivers/mtd/ubi/block.c 	to_read = blk_rq_bytes(req);
to_read           197 drivers/mtd/ubi/block.c 	bytes_left = to_read;
to_read           204 drivers/mtd/ubi/block.c 		if (offset + to_read > dev->leb_size)
to_read           205 drivers/mtd/ubi/block.c 			to_read = dev->leb_size - offset;
to_read           207 drivers/mtd/ubi/block.c 		ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read);
to_read           211 drivers/mtd/ubi/block.c 		bytes_left -= to_read;
to_read           212 drivers/mtd/ubi/block.c 		to_read = bytes_left;
to_read           752 drivers/mtd/ubi/eba.c 	int to_read;
to_read           760 drivers/mtd/ubi/eba.c 			to_read = len;
to_read           762 drivers/mtd/ubi/eba.c 			to_read = sg->length - sgl->page_pos;
to_read           766 drivers/mtd/ubi/eba.c 				       to_read, check);
to_read           770 drivers/mtd/ubi/eba.c 		offset += to_read;
to_read           771 drivers/mtd/ubi/eba.c 		len -= to_read;
to_read           773 drivers/mtd/ubi/eba.c 			sgl->page_pos += to_read;
to_read           163 drivers/mtd/ubi/gluebi.c 		size_t to_read = mtd->erasesize - offs;
to_read           165 drivers/mtd/ubi/gluebi.c 		if (to_read > bytes_left)
to_read           166 drivers/mtd/ubi/gluebi.c 			to_read = bytes_left;
to_read           168 drivers/mtd/ubi/gluebi.c 		err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);
to_read           174 drivers/mtd/ubi/gluebi.c 		bytes_left -= to_read;
to_read           175 drivers/mtd/ubi/gluebi.c 		buf += to_read;
to_read           421 drivers/staging/comedi/drivers/adl_pci9111.c 		unsigned int to_read;
to_read           425 drivers/staging/comedi/drivers/adl_pci9111.c 				to_read = cmd->chanlist_len -
to_read           428 drivers/staging/comedi/drivers/adl_pci9111.c 				if (to_read > samples - pos)
to_read           429 drivers/staging/comedi/drivers/adl_pci9111.c 					to_read = samples - pos;
to_read           431 drivers/staging/comedi/drivers/adl_pci9111.c 				comedi_buf_write_samples(s, buf + pos, to_read);
to_read           433 drivers/staging/comedi/drivers/adl_pci9111.c 				to_read = devpriv->chunk_num_samples -
to_read           436 drivers/staging/comedi/drivers/adl_pci9111.c 				if (to_read > samples - pos)
to_read           437 drivers/staging/comedi/drivers/adl_pci9111.c 					to_read = samples - pos;
to_read           440 drivers/staging/comedi/drivers/adl_pci9111.c 			pos += to_read;
to_read           441 drivers/staging/comedi/drivers/adl_pci9111.c 			devpriv->chunk_counter += to_read;
to_read          2231 drivers/usb/dwc2/gadget.c 	int to_read;
to_read          2250 drivers/usb/dwc2/gadget.c 	to_read = size;
to_read          2255 drivers/usb/dwc2/gadget.c 		__func__, to_read, max_req, read_ptr, hs_req->req.length);
to_read          2257 drivers/usb/dwc2/gadget.c 	if (to_read > max_req) {
to_read          2267 drivers/usb/dwc2/gadget.c 	hs_ep->total_data += to_read;
to_read          2268 drivers/usb/dwc2/gadget.c 	hs_req->req.actual += to_read;
to_read          2269 drivers/usb/dwc2/gadget.c 	to_read = DIV_ROUND_UP(to_read, 4);
to_read          2276 drivers/usb/dwc2/gadget.c 		       hs_req->req.buf + read_ptr, to_read);
to_read           219 fs/cifs/cifsproto.h 			         unsigned int to_read);
to_read           223 fs/cifs/cifsproto.h 					unsigned int to_read);
to_read           845 fs/cifs/connect.c 		      unsigned int to_read)
to_read           848 fs/cifs/connect.c 	struct kvec iov = {.iov_base = buf, .iov_len = to_read};
to_read           849 fs/cifs/connect.c 	iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read);
to_read           856 fs/cifs/connect.c 	unsigned int page_offset, unsigned int to_read)
to_read           860 fs/cifs/connect.c 		.bv_page = page, .bv_len = to_read, .bv_offset = page_offset};
to_read           861 fs/cifs/connect.c 	iov_iter_bvec(&smb_msg.msg_iter, READ, &bv, 1, to_read);
to_read          4145 fs/cifs/file.c 		unsigned int to_read = rdata->pagesz;
to_read          4149 fs/cifs/file.c 			to_read -= page_offset;
to_read          4153 fs/cifs/file.c 		n = to_read;
to_read          4155 fs/cifs/file.c 		if (len >= to_read) {
to_read          4156 fs/cifs/file.c 			len -= to_read;
to_read          4159 fs/cifs/file.c 			zero_user(page, len + page_offset, to_read - len);
to_read          1853 fs/cifs/smbdirect.c 	int to_copy, to_read, data_read, offset;
to_read          1879 fs/cifs/smbdirect.c 		to_read = size;
to_read          1909 fs/cifs/smbdirect.c 			to_copy = min_t(int, data_length - offset, to_read);
to_read          1940 fs/cifs/smbdirect.c 			to_read -= to_copy;
to_read          1947 fs/cifs/smbdirect.c 				to_read, data_read, offset);
to_read          1989 fs/cifs/smbdirect.c 		unsigned int to_read)
to_read          1998 fs/cifs/smbdirect.c 		info->reassembly_data_length >= to_read ||
to_read          2008 fs/cifs/smbdirect.c 		page, to_address, to_read);
to_read          2010 fs/cifs/smbdirect.c 	ret = smbd_recv_buf(info, to_address, to_read);
to_read          2025 fs/cifs/smbdirect.c 	unsigned int to_read, page_offset;
to_read          2039 fs/cifs/smbdirect.c 		to_read = msg->msg_iter.kvec->iov_len;
to_read          2040 fs/cifs/smbdirect.c 		rc = smbd_recv_buf(info, buf, to_read);
to_read          2046 fs/cifs/smbdirect.c 		to_read = msg->msg_iter.bvec->bv_len;
to_read          2047 fs/cifs/smbdirect.c 		rc = smbd_recv_page(info, page, page_offset, to_read);
to_read           927 fs/jffs2/readinode.c 	int err, to_read = needed_len - *rdlen;
to_read           932 fs/jffs2/readinode.c 		int rem = to_read % c->wbuf_pagesize;
to_read           935 fs/jffs2/readinode.c 			to_read += c->wbuf_pagesize - rem;
to_read           941 fs/jffs2/readinode.c 	dbg_readinode("read more %d bytes\n", to_read);
to_read           943 fs/jffs2/readinode.c 	err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen);
to_read           946 fs/jffs2/readinode.c 			"error code: %d.\n", to_read, offs, err);
to_read           950 fs/jffs2/readinode.c 	if (retlen < to_read) {
to_read           952 fs/jffs2/readinode.c 				offs, retlen, to_read);
to_read           956 fs/jffs2/readinode.c 	*rdlen += to_read;
to_read           377 fs/ntfs/logfile.c 		int have_read, to_read;
to_read           383 fs/ntfs/logfile.c 		to_read = le32_to_cpu(rp->system_page_size) - size;
to_read           396 fs/ntfs/logfile.c 			size = min_t(int, to_read, PAGE_SIZE);
to_read           400 fs/ntfs/logfile.c 			to_read -= size;
to_read           402 fs/ntfs/logfile.c 		} while (to_read > 0);
to_read           589 net/vmw_vsock/hyperv_transport.c 	u32 to_read;
to_read           603 net/vmw_vsock/hyperv_transport.c 	to_read = min_t(u32, len, hvs->recv_data_len);
to_read           604 net/vmw_vsock/hyperv_transport.c 	ret = memcpy_to_msg(msg, recv_buf->data + hvs->recv_data_off, to_read);
to_read           608 net/vmw_vsock/hyperv_transport.c 	hvs->recv_data_len -= to_read;
to_read           617 net/vmw_vsock/hyperv_transport.c 		hvs->recv_data_off += to_read;
to_read           620 net/vmw_vsock/hyperv_transport.c 	return to_read;
to_read          1378 security/selinux/ss/policydb.c 	int rc, to_read = 2;
to_read          1387 security/selinux/ss/policydb.c 		to_read = 3;
to_read          1389 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);
to_read          1434 security/selinux/ss/policydb.c 	int rc, to_read = 3;
to_read          1443 security/selinux/ss/policydb.c 		to_read = 4;
to_read          1445 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);
to_read          1508 security/selinux/ss/policydb.c 	int rc, to_read = 2;
to_read          1517 security/selinux/ss/policydb.c 		to_read = 3;
to_read          1519 security/selinux/ss/policydb.c 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);