Searched refs:to_read (Results 1 - 25 of 56) sorted by relevance

123

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hardware/eicon/
H A Distream.c156 int read = 0, to_read = -1; local
170 if (to_read < 0)
175 if (to_read < 0)
179 to_read = min(max_length, (int)tmp[1]);
180 if (to_read) {
188 (word)to_read);
189 max_length -= to_read;
190 read += to_read;
191 data_ptr += to_read;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hardware/eicon/
H A Distream.c156 int read = 0, to_read = -1; local
170 if (to_read < 0)
175 if (to_read < 0)
179 to_read = min(max_length, (int)tmp[1]);
180 if (to_read) {
188 (word)to_read);
189 max_length -= to_read;
190 read += to_read;
191 data_ptr += to_read;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ncpfs/
H A Dmmap.c55 int to_read; local
57 to_read = bufsize - (pos % bufsize);
59 to_read = min_t(unsigned int, to_read, count - already_read);
63 pos, to_read,
71 if (read_this_time < to_read) {
H A Dfile.c149 size_t to_read = min_t(unsigned int, local
155 pos, to_read, buf, &read_this_time,
165 if (read_this_time != to_read) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ncpfs/
H A Dmmap.c55 int to_read; local
57 to_read = bufsize - (pos % bufsize);
59 to_read = min_t(unsigned int, to_read, count - already_read);
63 pos, to_read,
71 if (read_this_time < to_read) {
H A Dfile.c149 size_t to_read = min_t(unsigned int, local
155 pos, to_read, buf, &read_this_time,
165 if (read_this_time != to_read) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/modules/
H A Dvfs_preopen.c37 size_t to_read; /* How many bytes to read in children? */ member in struct:preopen_state
146 size_t to_read, void *filebuf)
181 nread = read(fd, filebuf, to_read);
189 static bool preopen_helper(int fd, size_t to_read) argument
199 readbuf = talloc_size(NULL, to_read);
205 while (preopen_helper_open_one(fd, &namebuf, to_read, readbuf)) {
233 preopen_helper(fdpair[1], h->state->to_read);
249 static NTSTATUS preopen_init_helpers(TALLOC_CTX *mem_ctx, size_t to_read, argument
269 result->to_read = to_read;
145 preopen_helper_open_one(int sock_fd, char **pnamebuf, size_t to_read, void *filebuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/modules/
H A Dvfs_preopen.c37 size_t to_read; /* How many bytes to read in children? */ member in struct:preopen_state
146 size_t to_read, void *filebuf)
181 nread = read(fd, filebuf, to_read);
189 static bool preopen_helper(int fd, size_t to_read) argument
199 readbuf = talloc_size(NULL, to_read);
205 while (preopen_helper_open_one(fd, &namebuf, to_read, readbuf)) {
233 preopen_helper(fdpair[1], h->state->to_read);
249 static NTSTATUS preopen_init_helpers(TALLOC_CTX *mem_ctx, size_t to_read, argument
269 result->to_read = to_read;
145 preopen_helper_open_one(int sock_fd, char **pnamebuf, size_t to_read, void *filebuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/modules/
H A Dvfs_preopen.c37 size_t to_read; /* How many bytes to read in children? */ member in struct:preopen_state
146 size_t to_read, void *filebuf)
181 nread = read(fd, filebuf, to_read);
189 static bool preopen_helper(int fd, size_t to_read) argument
199 readbuf = talloc_size(NULL, to_read);
205 while (preopen_helper_open_one(fd, &namebuf, to_read, readbuf)) {
233 preopen_helper(fdpair[1], h->state->to_read);
249 static NTSTATUS preopen_init_helpers(TALLOC_CTX *mem_ctx, size_t to_read, argument
269 result->to_read = to_read;
145 preopen_helper_open_one(int sock_fd, char **pnamebuf, size_t to_read, void *filebuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/libbb/
H A Dread_printf.c116 size_t to_read; local
119 to_read = maxsz_p ? *maxsz_p : (INT_MAX - 4095); /* max to read */
131 if (to_read < size)
132 size = to_read;
142 if (to_read <= rd_size)
144 to_read -= rd_size;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/gdb/
H A Dser-base.c354 int to_read = 80; local
360 to_read = (num_bytes < to_read) ? num_bytes : to_read;
362 if (to_read == 0)
365 s = read (scb->error_fd, &buf, to_read);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/libbb/
H A Dread_printf.c116 size_t to_read; local
119 to_read = maxsz_p ? *maxsz_p : (INT_MAX - 4095); /* max to read */
131 if (to_read < size)
132 size = to_read;
142 if (to_read <= rd_size)
144 to_read -= rd_size;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/libbb/
H A Dread_printf.c116 size_t to_read; local
119 to_read = maxsz_p ? *maxsz_p : (INT_MAX - 4095); /* max to read */
131 if (to_read < size)
132 size = to_read;
142 if (to_read <= rd_size)
144 to_read -= rd_size;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/gdb/
H A Dser-base.c354 int to_read = 80; local
360 to_read = (num_bytes < to_read) ? num_bytes : to_read;
362 if (to_read == 0)
365 s = read (scb->error_fd, &buf, to_read);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/gdb/
H A Dser-base.c354 int to_read = 80; local
360 to_read = (num_bytes < to_read) ? num_bytes : to_read;
362 if (to_read == 0)
365 s = read (scb->error_fd, &buf, to_read);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/tsocket/
H A Dtsocket_helpers.c212 size_t to_read = 0; local
233 size_t tmp = to_read;
236 if (tmp < to_read) {
241 to_read = tmp;
248 if (to_read == 0) {
253 if (state->total_read + to_read < state->total_read) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mtd/ubi/
H A Dgluebi.c185 size_t to_read = mtd->erasesize - offs; local
187 if (to_read > total_read)
188 to_read = total_read;
190 err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);
196 total_read -= to_read;
197 buf += to_read;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mtd/ubi/
H A Dgluebi.c185 size_t to_read = mtd->erasesize - offs; local
187 if (to_read > total_read)
188 to_read = total_read;
190 err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);
196 total_read -= to_read;
197 buf += to_read;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/tsocket/
H A Dtsocket_helpers.c212 size_t to_read = 0; local
233 size_t tmp = to_read;
236 if (tmp < to_read) {
241 to_read = tmp;
248 if (to_read == 0) {
253 if (state->total_read + to_read < state->total_read) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/tsocket/
H A Dtsocket_helpers.c212 size_t to_read = 0; local
233 size_t tmp = to_read;
236 if (tmp < to_read) {
241 to_read = tmp;
248 if (to_read == 0) {
253 if (state->total_read + to_read < state->total_read) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/comedi/drivers/
H A Dadl_pci9111.c1035 int to_read; local
1040 to_read =
1044 if (to_read >
1046 to_read =
1055 to_read * sizeof(short));
1057 to_read =
1061 if (to_read >
1063 to_read =
1068 sizeof(short) * to_read;
1071 position += to_read;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/comedi/drivers/
H A Dadl_pci9111.c1035 int to_read; local
1040 to_read =
1044 if (to_read >
1046 to_read =
1055 to_read * sizeof(short));
1057 to_read =
1061 if (to_read >
1063 to_read =
1068 sizeof(short) * to_read;
1071 position += to_read;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/archival/libunarchive/
H A Ddecompress_unzip.c88 off_t to_read; /* compressed bytes to read (unzip only, -1 for gunzip) */ member in struct:state_t
130 #define to_read (S()to_read ) macro
259 if (to_read >= 0 && to_read < sz) /* unzip only */
260 sz = to_read;
268 if (to_read >= 0) /* unzip only */
269 to_read -= bytebuffer_size;
1047 to_read = compr_size;
1197 to_read
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/archival/libunarchive/
H A Ddecompress_unzip.c88 off_t to_read; /* compressed bytes to read (unzip only, -1 for gunzip) */ member in struct:state_t
130 #define to_read (S()to_read ) macro
259 if (to_read >= 0 && to_read < sz) /* unzip only */
260 sz = to_read;
268 if (to_read >= 0) /* unzip only */
269 to_read -= bytebuffer_size;
1047 to_read = compr_size;
1197 to_read
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/archival/libunarchive/
H A Ddecompress_unzip.c88 off_t to_read; /* compressed bytes to read (unzip only, -1 for gunzip) */ member in struct:state_t
130 #define to_read (S()to_read ) macro
259 if (to_read >= 0 && to_read < sz) /* unzip only */
260 sz = to_read;
268 if (to_read >= 0) /* unzip only */
269 to_read -= bytebuffer_size;
1047 to_read = compr_size;
1197 to_read
[all...]

Completed in 320 milliseconds

123