Searched refs:bytes_to_read (Results 1 - 16 of 16) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/saa7164/
H A Dsaa7164-bus.c286 u32 bytes_to_read, write_distance, curr_grp, curr_gwp, local
321 bytes_to_read = sizeof(*msg);
332 if (bytes_to_read > write_distance) {
339 new_grp = curr_grp + bytes_to_read;
348 bytes_to_read - space_rem);
352 memcpy(&msg_tmp, bus->m_pdwGetRing + curr_grp, bytes_to_read);
377 bytes_to_read = sizeof(*msg) + msg->size;
387 if (bytes_to_read > write_distance) {
395 new_grp = curr_grp + bytes_to_read;
422 bus->m_pdwGetRing, bytes_to_read
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c330 ssize_t bytes_to_read = 0; local
344 bytes_to_read =
349 if (copy_to_user(buf, drvdata->read_buffer, bytes_to_read)) {
353 drvdata->read_buffer_in_use -= bytes_to_read;
355 drvdata->read_buffer + bytes_to_read,
356 4 - bytes_to_read);
374 bytes_to_read = words << 2;
376 if (bytes_to_read > PAGE_SIZE)
377 bytes_to_read = PAGE_SIZE;
380 bytes_remaining = bytes_to_read
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/misc/
H A Dldusb.c437 size_t bytes_to_read; local
478 bytes_to_read = min(count, *actual_buffer);
479 if (bytes_to_read < *actual_buffer)
481 *actual_buffer-bytes_to_read);
484 if (copy_to_user(buffer, actual_buffer+1, bytes_to_read)) {
490 retval = bytes_to_read;
H A Dlegousbtower.c518 size_t bytes_to_read; local
576 bytes_to_read = min(count, dev->read_packet_length);
578 if (copy_to_user (buffer, dev->read_buffer, bytes_to_read)) {
584 dev->read_buffer_length -= bytes_to_read;
585 dev->read_packet_length -= bytes_to_read;
587 dev->read_buffer[i] = dev->read_buffer[i+bytes_to_read];
591 retval = bytes_to_read;
H A Dadutux.c399 size_t bytes_to_read = count; local
431 while (bytes_to_read) {
439 int amount = bytes_to_read < data_in_secondary ? bytes_to_read : data_in_secondary;
447 bytes_to_read -= (amount - i);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/
H A Dsf-pcap-ng.c208 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, argument
213 amt_read = fread(buf, 1, bytes_to_read, fp);
214 if (amt_read != bytes_to_read) {
224 (unsigned long)bytes_to_read,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/mpt2sas/
H A Dmpt2sas_ctl.h401 * @bytes_to_read - number of bytes to copy from the drivers buffer into the
412 uint32_t bytes_to_read; member in struct:mpt2_diag_read_buffer
H A Dmpt2sas_ctl.c2001 if ((karg.starting_offset % 4) || (karg.bytes_to_read % 4)) {
2003 "or bytes_to_read are not 4 byte aligned\n", ioc->name,
2011 diag_data, karg.starting_offset, karg.bytes_to_read));
2014 diag_data, karg.bytes_to_read)) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/pcmcia/
H A Dcm4040_cs.c222 size_t bytes_to_read; local
263 bytes_to_read = 5 + le32_to_cpu(*(__le32 *)&dev->r_buf[1]);
265 DEBUGP(6, dev, "BytesToRead=%zu\n", bytes_to_read);
267 min_bytes_to_read = min(count, bytes_to_read + 5);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/pwc/
H A Dpwc-if.c1302 int bytes_to_read, rv = 0; local
1358 bytes_to_read = pdev->frame_size + sizeof(struct pwc_raw_frame);
1360 bytes_to_read = pdev->view.size;
1363 if (count + pdev->image_read_pos > bytes_to_read)
1364 count = bytes_to_read - pdev->image_read_pos;
1373 if (pdev->image_read_pos >= bytes_to_read) { /* All data has been read */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jfs/
H A Dxattr.c376 s32 bytes_to_read; local
407 bytes_to_read =
411 if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1)))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/
H A Dbufferevent_openssl.c717 bytes_to_read(struct bufferevent_openssl *bev) function
777 n_to_read = bytes_to_read(bev_ssl);
811 n_to_read = bytes_to_read(bev_ssl);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/cipher/
H A Dac.c1020 size_t bytes_to_read;
1027 bytes_to_read = bytes_available;
1029 bytes_to_read = bytes_wanted;
1031 memcpy (buffer, ac_io->io.readable.string.data + nread, bytes_to_read);
1032 *buffer_n = bytes_to_read;
1017 size_t bytes_to_read; local
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Dac.c1020 size_t bytes_to_read;
1027 bytes_to_read = bytes_available;
1029 bytes_to_read = bytes_wanted;
1031 memcpy (buffer, ac_io->io.readable.string.data + nread, bytes_to_read);
1032 *buffer_n = bytes_to_read;
1017 size_t bytes_to_read; local
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/asihpi/
H A Dhpi.h1420 u8 *pb_read_buf, u32 bytes_to_read);
H A Dhpifunc.c1204 u8 *pb_data, u32 bytes_to_read)
1212 hm.u.d.u.data.data_size = bytes_to_read;
1203 hpi_instream_read_buf(const struct hpi_hsubsys *ph_subsys, u32 h_instream, u8 *pb_data, u32 bytes_to_read) argument

Completed in 289 milliseconds