| /linux-4.4.14/drivers/isdn/hardware/eicon/ | 
| D | istream.c | 156 	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.4.14/fs/ncpfs/ | 
| D | mmap.c | 58 			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()
  | 
| D | file.c | 137 		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()
  | 
| D | ncplib_kernel.c | 968 	     __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() 1004 	 __u32 offset, __u16 to_read, struct iov_iter *to,  in ncp_read_bounce()  argument 1013 	ncp_add_be16(server, to_read);  in ncp_read_bounce() 1020 		if (len <= to_read) {  in ncp_read_bounce()
  | 
| /linux-4.4.14/drivers/spi/ | 
| D | spi-bcm53xx.c | 196 			size_t to_read = min_t(size_t, 16 - b53spi->read_offset,  in bcm53xxspi_transfer_one()  local 198 			bool cont = left - to_read > 0;  in bcm53xxspi_transfer_one() 200 			bcm53xxspi_buf_read(b53spi, buf, to_read, cont);  in bcm53xxspi_transfer_one() 201 			left -= to_read;  in bcm53xxspi_transfer_one() 202 			buf += to_read;  in bcm53xxspi_transfer_one()
  | 
| /linux-4.4.14/drivers/staging/comedi/drivers/ | 
| D | adl_pci9111.c | 430 		unsigned int to_read;  in pci9111_handle_fifo_half_full()  local 434 				to_read = cmd->chanlist_len -  in pci9111_handle_fifo_half_full() 437 				if (to_read > samples - pos)  in pci9111_handle_fifo_half_full() 438 					to_read = samples - pos;  in pci9111_handle_fifo_half_full() 440 				comedi_buf_write_samples(s, buf + pos, to_read);  in pci9111_handle_fifo_half_full() 442 				to_read = devpriv->chunk_num_samples -  in pci9111_handle_fifo_half_full() 445 				if (to_read > samples - pos)  in pci9111_handle_fifo_half_full() 446 					to_read = samples - pos;  in pci9111_handle_fifo_half_full() 449 			pos += to_read;  in pci9111_handle_fifo_half_full() 450 			devpriv->chunk_counter += to_read;  in pci9111_handle_fifo_half_full()
  | 
| /linux-4.4.14/drivers/mtd/ubi/ | 
| D | block.c | 192 	int ret, leb, offset, bytes_left, to_read;  in ubiblock_read()  local 197 	to_read = blk_rq_bytes(req);  in ubiblock_read() 203 	bytes_left = to_read;  in ubiblock_read() 210 		if (offset + to_read > dev->leb_size)  in ubiblock_read() 211 			to_read = dev->leb_size - offset;  in ubiblock_read() 213 		ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read);  in ubiblock_read() 217 		bytes_left -= to_read;  in ubiblock_read() 218 		to_read = bytes_left;  in ubiblock_read()
  | 
| D | gluebi.c | 181 		size_t to_read = mtd->erasesize - offs;  in gluebi_read()  local 183 		if (to_read > bytes_left)  in gluebi_read() 184 			to_read = bytes_left;  in gluebi_read() 186 		err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);  in gluebi_read() 192 		bytes_left -= to_read;  in gluebi_read() 193 		buf += to_read;  in gluebi_read()
  | 
| D | eba.c | 519 	int to_read;  in ubi_eba_read_leb_sg()  local 527 			to_read = len;  in ubi_eba_read_leb_sg() 529 			to_read = sg->length - sgl->page_pos;  in ubi_eba_read_leb_sg() 533 				       to_read, check);  in ubi_eba_read_leb_sg() 537 		offset += to_read;  in ubi_eba_read_leb_sg() 538 		len -= to_read;  in ubi_eba_read_leb_sg() 540 			sgl->page_pos += to_read;  in ubi_eba_read_leb_sg()
  | 
| /linux-4.4.14/fs/ntfs/ | 
| D | logfile.c | 390 		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_CACHE_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()
  | 
| /linux-4.4.14/fs/jffs2/ | 
| D | readinode.c | 927 	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()
  | 
| /linux-4.4.14/drivers/media/usb/gspca/ | 
| D | sn9c2028.c | 50 	unsigned char to_read; /* length to read. 0 means no reply requested */  member 244 		switch (cam_commands[i].to_read) {  in run_start_commands()
  | 
| /linux-4.4.14/drivers/usb/dwc2/ | 
| D | gadget.c | 1443 	int to_read;  in dwc2_hsotg_rx_data()  local 1463 	to_read = size;  in dwc2_hsotg_rx_data() 1468 		__func__, to_read, max_req, read_ptr, hs_req->req.length);  in dwc2_hsotg_rx_data() 1470 	if (to_read > max_req) {  in dwc2_hsotg_rx_data() 1480 	hs_ep->total_data += to_read;  in dwc2_hsotg_rx_data() 1481 	hs_req->req.actual += to_read;  in dwc2_hsotg_rx_data() 1482 	to_read = DIV_ROUND_UP(to_read, 4);  in dwc2_hsotg_rx_data() 1488 	ioread32_rep(fifo, hs_req->req.buf + read_ptr, to_read);  in dwc2_hsotg_rx_data()
  | 
| /linux-4.4.14/drivers/md/ | 
| D | raid5.h | 265 	int locked, uptodate, to_read, to_write, failed, written;  member
  | 
| D | raid5.c | 3163 				s->to_read--;  in handle_failed_stripe() 4061 			s->to_read++;  in analyse_stripe() 4363 	       s.locked, s.uptodate, s.to_read, s.to_write, s.failed,  in handle_stripe() 4372 		if (s.to_read+s.to_write+s.written)  in handle_stripe() 4444 	if (s.to_read || s.non_overwrite  in handle_stripe()
  | 
| /linux-4.4.14/fs/cifs/ | 
| D | cifsproto.h | 184 		     unsigned int to_read); 187 		unsigned int to_read);
  | 
| D | connect.c | 556 		       unsigned int nr_segs, unsigned int to_read)  in cifs_readv_from_socket()  argument 571 	for (total_read = 0; to_read; total_read += length, to_read -= length) {  in cifs_readv_from_socket() 582 					iov, segs, to_read, 0);  in cifs_readv_from_socket() 604 				 "got %d", to_read, length);  in cifs_readv_from_socket() 615 		      unsigned int to_read)  in cifs_read_from_socket()  argument 620 	iov.iov_len = to_read;  in cifs_read_from_socket() 622 	return cifs_readv_from_socket(server, &iov, 1, to_read);  in cifs_read_from_socket()
  | 
| /linux-4.4.14/security/selinux/ss/ | 
| D | policydb.c | 1410 	int rc, to_read = 2;  in role_read()  local 1420 		to_read = 3;  in role_read() 1422 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);  in role_read() 1467 	int rc, to_read = 3;  in type_read()  local 1477 		to_read = 4;  in type_read() 1479 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);  in type_read() 1542 	int rc, to_read = 2;  in user_read()  local 1552 		to_read = 3;  in user_read() 1554 	rc = next_entry(buf, fp, sizeof(buf[0]) * to_read);  in user_read()
  |