| /linux-4.1.27/drivers/char/xilinx_hwicap/ | 
| D | xilinx_hwicap.c | 355 	ssize_t bytes_to_read = 0;  in hwicap_read()  local 369 		bytes_to_read =  in hwicap_read() 374 		if (copy_to_user(buf, drvdata->read_buffer, bytes_to_read)) {  in hwicap_read() 378 		drvdata->read_buffer_in_use -= bytes_to_read;  in hwicap_read() 380 		       drvdata->read_buffer + bytes_to_read,  in hwicap_read() 381 		       4 - bytes_to_read);  in hwicap_read() 399 		bytes_to_read = words << 2;  in hwicap_read() 401 		if (bytes_to_read > PAGE_SIZE)  in hwicap_read() 402 			bytes_to_read = PAGE_SIZE;  in hwicap_read() 405 		bytes_remaining = bytes_to_read & 3;  in hwicap_read() [all …] 
 | 
| /linux-4.1.27/drivers/media/pci/saa7164/ | 
| D | saa7164-bus.c | 323 	u32 bytes_to_read, write_distance, curr_grp, curr_gwp,  in saa7164_bus_get()  local 359 	bytes_to_read = sizeof(*msg);  in saa7164_bus_get() 370 	if (bytes_to_read > write_distance) {  in saa7164_bus_get() 377 	new_grp = curr_grp + bytes_to_read;  in saa7164_bus_get() 386 			bytes_to_read - space_rem);  in saa7164_bus_get() 390 		memcpy_fromio(&msg_tmp, bus->m_pdwGetRing + curr_grp, bytes_to_read);  in saa7164_bus_get() 419 	bytes_to_read = sizeof(*msg) + msg->size;  in saa7164_bus_get() 429 	if (bytes_to_read > write_distance) {  in saa7164_bus_get() 437 	new_grp = curr_grp + bytes_to_read;  in saa7164_bus_get() 464 					bus->m_pdwGetRing, bytes_to_read -  in saa7164_bus_get()
  | 
| /linux-4.1.27/drivers/hv/ | 
| D | connection.c | 313 	u32 bytes_to_read;  in process_chn_event()  local 353 				bytes_to_read = hv_end_read(&channel->inbound);  in process_chn_event() 355 				bytes_to_read = 0;  in process_chn_event() 356 		} while (read_state && (bytes_to_read != 0));  in process_chn_event()
  | 
| /linux-4.1.27/drivers/usb/misc/ | 
| D | legousbtower.c | 550 	size_t bytes_to_read;  in tower_read()  local 606 	bytes_to_read = min(count, dev->read_packet_length);  in tower_read() 608 	if (copy_to_user (buffer, dev->read_buffer, bytes_to_read)) {  in tower_read() 614 	dev->read_buffer_length -= bytes_to_read;  in tower_read() 615 	dev->read_packet_length -= bytes_to_read;  in tower_read() 617 		dev->read_buffer[i] = dev->read_buffer[i+bytes_to_read];  in tower_read() 621 	retval = bytes_to_read;  in tower_read()
  | 
| D | ldusb.c | 456 	size_t bytes_to_read;  in ld_usb_read()  local 497 	bytes_to_read = min(count, *actual_buffer);  in ld_usb_read() 498 	if (bytes_to_read < *actual_buffer)  in ld_usb_read() 500 			 *actual_buffer-bytes_to_read);  in ld_usb_read() 503 	if (copy_to_user(buffer, actual_buffer+1, bytes_to_read)) {  in ld_usb_read() 509 	retval = bytes_to_read;  in ld_usb_read()
  | 
| D | adutux.c | 346 	size_t bytes_to_read = count;  in adu_read()  local 374 	while (bytes_to_read) {  in adu_read() 383 			int amount = bytes_to_read < data_in_secondary ? bytes_to_read : data_in_secondary;  in adu_read() 391 			bytes_to_read -= (amount - i);  in adu_read()
  | 
| /linux-4.1.27/drivers/i2c/busses/ | 
| D | i2c-bcm-kona.c | 329 	unsigned int bytes_to_read = MAX_RX_FIFO_SIZE;  in bcm_kona_i2c_read_fifo()  local 339 			bytes_to_read = msg->len - bytes_read;  in bcm_kona_i2c_read_fifo() 342 		rc = bcm_kona_i2c_read_fifo_single(dev, tmp_buf, bytes_to_read,  in bcm_kona_i2c_read_fifo() 347 		bytes_read += bytes_to_read;  in bcm_kona_i2c_read_fifo() 348 		tmp_buf += bytes_to_read;  in bcm_kona_i2c_read_fifo()
  | 
| /linux-4.1.27/drivers/char/pcmcia/ | 
| D | cm4040_cs.c | 220 	size_t bytes_to_read;  in cm4040_read()  local 261 	bytes_to_read = 5 + le32_to_cpu(*(__le32 *)&dev->r_buf[1]); 263 	DEBUGP(6, dev, "BytesToRead=%zu\n", bytes_to_read); 265 	min_bytes_to_read = min(count, bytes_to_read + 5);
  | 
| /linux-4.1.27/drivers/scsi/mpt3sas/ | 
| D | mpt3sas_ctl.h | 414 	uint32_t bytes_to_read;  member
  | 
| D | mpt3sas_ctl.c | 2002 	if ((karg.starting_offset % 4) || (karg.bytes_to_read % 4)) {  in _ctl_diag_read_buffer() 2016 	    diag_data, karg.starting_offset, karg.bytes_to_read));  in _ctl_diag_read_buffer() 2019 	if ((diag_data + karg.bytes_to_read < diag_data) ||  in _ctl_diag_read_buffer() 2020 	    (diag_data + karg.bytes_to_read > request_data + request_size))  in _ctl_diag_read_buffer() 2023 		copy_size = karg.bytes_to_read;  in _ctl_diag_read_buffer()
  | 
| /linux-4.1.27/drivers/scsi/mpt2sas/ | 
| D | mpt2sas_ctl.h | 414 	uint32_t bytes_to_read;  member
  | 
| D | mpt2sas_ctl.c | 1971 	if ((karg.starting_offset % 4) || (karg.bytes_to_read % 4)) {  in _ctl_diag_read_buffer() 1984 	    diag_data, karg.starting_offset, karg.bytes_to_read));  in _ctl_diag_read_buffer() 1987 	if ((diag_data + karg.bytes_to_read < diag_data) ||  in _ctl_diag_read_buffer() 1988 	    (diag_data + karg.bytes_to_read > request_data + request_size))  in _ctl_diag_read_buffer() 1991 		copy_size = karg.bytes_to_read;  in _ctl_diag_read_buffer()
  | 
| /linux-4.1.27/fs/jfs/ | 
| D | xattr.c | 376 	s32 bytes_to_read;  in ea_read()  local 407 		bytes_to_read =  in ea_read() 411 		if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1)))  in ea_read()
  | 
| /linux-4.1.27/sound/pci/asihpi/ | 
| D | hpi.h | 1296 u16 hpi_instream_read_buf(u32 h_instream, u8 *pb_read_buf, u32 bytes_to_read);
  | 
| D | hpifunc.c | 921 u16 hpi_instream_read_buf(u32 h_instream, u8 *pb_data, u32 bytes_to_read)  in hpi_instream_read_buf()  argument 930 	hm.u.d.u.data.data_size = bytes_to_read;  in hpi_instream_read_buf()
  |