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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/sbus/char/
H A Dflash.c31 unsigned long read_size; /* Size of read area */ member in struct:__anon6325
47 size = flash.read_size;
56 size = flash.read_size;
92 if (file->f_pos > flash.read_size)
93 file->f_pos = flash.read_size;
96 file->f_pos = flash.read_size;
113 if (count > flash.read_size - p)
114 count = flash.read_size - p;
177 flash.read_size = sdev->reg_addrs[0].reg_size;
179 flash.write_size = flash.read_size;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Damifd.h34 unsigned int read_size; /* raw read size for one track */ member in struct:fd_drive_type
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pptp/
H A Dpptp_ctrl.c83 size_t read_size, write_size; member in struct:PPTP_CONN
274 conn->read_size = conn->write_size = 0;
533 if (conn->read_size == conn->read_alloc) { /* need to alloc more memory */
542 retval = read(conn->inet_sock, conn->read_buffer + conn->read_size,
543 conn->read_alloc - conn->read_size);
556 conn->read_size += retval;
557 assert(conn->read_size <= conn->read_alloc);
568 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
578 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
592 conn->read_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Davisynth.c153 LONG read_size; local
166 res = AVIStreamRead(stream->handle, stream->read, stream->chunck_samples, pkt->data, stream->chunck_size, &read_size, NULL);
169 pkt->size = read_size;
H A Dutils.c1738 int read_size, i, ret; local
1759 read_size = 0;
1761 if (read_size >= DURATION_MAX_READ_SIZE)
1775 read_size += pkt->size;
1792 read_size = 0;
1794 if (read_size >= DURATION_MAX_READ_SIZE)
1800 read_size += pkt->size;
2038 int i, count, ret, read_size, j; local
2079 read_size = 0;
2110 if (read_size >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/
H A Difaddrs.c244 int result = 0, read_size; local
256 result = read_size =
258 if (read_size < 0 || (msg_flags & MSG_TRUNC))
264 if (read_size == 0)
268 NLMSG_OK (nh, read_size);
269 nh = (struct nlmsghdr *) NLMSG_NEXT (nh, read_size))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/
H A Dcifsfs.h73 size_t read_size, loff_t * poffset);
H A Dfile.c1476 size_t read_size, loff_t *poffset)
1504 read_size > total_read;
1506 current_read_size = min_t(const int, read_size - total_read,
1557 static ssize_t cifs_read(struct file *file, char *read_data, size_t read_size, argument
1585 read_size > total_read;
1587 current_read_size = min_t(const int, read_size - total_read,
1701 unsigned int read_size,i; local
1747 read_size = contig_pages * PAGE_CACHE_SIZE;
1749 read_size = min_t(const unsigned int, read_size,
1475 cifs_user_read(struct file *file, char __user *read_data, size_t read_size, loff_t *poffset) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/squashfs/
H A Dmksquashfs.c1947 int write_file_blocks(squashfs_inode *inode, struct dir_ent *dir_ent, long long read_size) argument
1954 int blocks = (read_size + block_size - 1) >> block_log;
1959 blocks = read_size >> block_log;
1960 frag_bytes = read_size % block_size;
1996 add_non_dup(read_size, file_bytes, block_list, start, fragment, 0, 0, FALSE);
1998 total_bytes += read_size;
1999 if(dir_ent->inode->nlink == 1 && read_size < ((long long) (1<<30) - 1))
2000 status = create_inode(inode, dir_ent, SQUASHFS_FILE_TYPE, read_size, start, blocks, block_list, fragment, NULL);
2002 status = create_inode(inode, dir_ent, SQUASHFS_LREG_TYPE, read_size, start, blocks, block_list, fragment, NULL);
2023 int write_file_blocks_dup(squashfs_inode *inode, struct dir_ent *dir_ent, long long read_size, in argument
2136 long long read_size = (size > SQUASHFS_MAX_FILE_SIZE) ? SQUASHFS_MAX_FILE_SIZE : size; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dclaw.c338 privptr->p_env->read_size = CLAW_FRAME_SIZE;
550 privptr->p_env->read_size=DEF_PACK_BUFSIZE;
555 privptr->p_env->read_size=CLAW_FRAME_SIZE;
629 if (privptr->p_env->read_size < PAGE_SIZE) {
1106 if (privptr->p_env->read_size < PAGE_SIZE) {
2136 if (privptr->p_env->read_size < PAGE_SIZE) {
2137 claw_reads_perpage= PAGE_SIZE / privptr->p_env->read_size;
2143 (privptr->p_env->read_size + PAGE_SIZE - 1) / PAGE_SIZE;
2157 (privptr->p_env->read_size + PAGE_SIZE - 1) / PAGE_SIZE;
2162 if (privptr->p_env->read_size < PAGE_SIZ
[all...]
H A Dclaw.h277 __u16 read_size; /* read buffer size */ member in struct:claw_env
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cdrom/
H A Dsonycd535.c799 unsigned int read_size; local
850 read_size = sony_toc->lead_out_start_lba - (block / 4);
853 read_size = sony_buffer_sectors;
855 size_to_buf(read_size, &params[3]);
881 int readStatus = seek_and_read_N_blocks(params, read_size,
882 status, sony_buffer, (read_size * CDU535_BLOCK_SIZE));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Damiflop.c590 custom.dsklen = unit[drive].type->read_size/sizeof(short) | DSKLEN_DMAEN;
591 custom.dsklen = unit[drive].type->read_size/sizeof(short) | DSKLEN_DMAEN;
728 end = raw + unit[drive].type->read_size;
1043 end = raw + unit[drive].type->read_size;
1494 if (copy_to_user(argp, raw_buf, unit[drive].type->read_size))
1497 return unit[drive].type->read_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/
H A Dnet_rpc_printer.c460 int read_size = io_bufsize; local
504 if (!(data = (char *)SMB_MALLOC(read_size))) {
505 d_printf("malloc fail for size %d\n", read_size);
530 read_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/client/
H A Dclient.c712 int read_size = io_bufsize; local
775 if(!(data = (char *)SMB_MALLOC(read_size))) {
776 d_printf("malloc fail for size %d\n", read_size);
782 int n = cli_read(targetcli, fnum, data, nread + start, read_size);
H A Dclitar.c607 int read_size = 65520; local
692 datalen = cli_read(cli, fnum, data, nread, read_size);

Completed in 171 milliseconds