Searched refs:avail (Results 1 - 25 of 96) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dfd_ostream.priv.h13 size_t avail; member in struct:fd_ostream_representation
H A Dfd-ostream.oo.c41 size_t avail; /* Number of bytes available in the buffer. */ member in struct:ostream
56 assert (stream->avail > 0);
60 size_t n = (len <= stream->avail ? len : stream->avail);
63 memcpy (stream->buffer + BUFSIZE - stream->avail, data, n);
65 stream->avail -= n;
68 if (stream->avail == 0)
73 stream->avail = BUFSIZE;
78 if (len < stream->avail)
81 memcpy (stream->buffer + BUFSIZE - stream->avail, dat
[all...]
H A Dfd-ostream.c65 assert (stream->avail > 0);
69 size_t n = (len <= stream->avail ? len : stream->avail);
72 memcpy (stream->buffer + BUFSIZE - stream->avail, data, n);
74 stream->avail -= n;
77 if (stream->avail == 0)
82 stream->avail = BUFSIZE;
87 if (len < stream->avail)
90 memcpy (stream->buffer + BUFSIZE - stream->avail, data, len);
91 stream->avail
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/
H A Dfd-ostream.oo.c41 size_t avail; /* Number of bytes available in the buffer. */ member in struct:ostream
56 assert (stream->avail > 0);
60 size_t n = (len <= stream->avail ? len : stream->avail);
63 memcpy (stream->buffer + BUFSIZE - stream->avail, data, n);
65 stream->avail -= n;
68 if (stream->avail == 0)
73 stream->avail = BUFSIZE;
78 if (len < stream->avail)
81 memcpy (stream->buffer + BUFSIZE - stream->avail, dat
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gdbm-1.8.3/
H A Dfalloc.c48 Each hash bucket has a fixed size avail table. We first check this
49 avail table to satisfy the request for space. In most cases we can
53 satisfied from the file header avail block. If nothing is there that
55 and the unused portion is returned to the avail block. This routine
57 the size is larger than a single block. The avail structure is
76 /* If the header avail table is less than half full, and there's
78 if ((dbf->header->avail.count <= (dbf->header->avail.size >> 1))
79 && (dbf->header->avail.next_block != 0))
82 /* check the header avail tabl
[all...]
H A Dtestgdbm.c81 /* Print the the header avail block. */
83 dbf->header->avail.size, dbf->header->avail.count);
84 for (temp = 0; temp < dbf->header->avail.count; temp++)
86 printf (" %15d %10d \n", dbf->header->avail.av_table[temp].av_size,
87 dbf->header->avail.av_table[temp].av_adr);
90 /* Initialize the variables for a pass throught the avail stack. */
91 temp = dbf->header->avail.next_block;
92 size = ( ( (dbf->header->avail.size * sizeof (avail_elem)) >> 1)
452 printf (" avail siz
[all...]
H A Dgdbmdefs.h41 /* The available file space is stored in an "avail" table. The one with
43 one filles up, it is split in half and half is pushed on an "avail
44 stack." When the active avail table is empty and the "avail stack" is
45 not empty, the top of the stack is popped into the active avail table. */
53 /* This is the actual table. The in-memory images of the avail blocks are
56 int size; /* The number of avail elements in the table.*/
58 off_t next_block; /* The file address of the next avail block. */
74 avail_block avail; /* This must be last because of the psuedo member in struct:__anon2160
75 array in avail
[all...]
H A Dgdbmopen.c275 /* Initialize the active avail block. */
276 dbf->header->avail.size
279 dbf->header->avail.count = 0;
280 dbf->header->avail.next_block = 0;
284 /* Block 0 is the file header and active avail block. */
349 num_bytes = read (dbf->desc, &dbf->header->avail.av_table[1],
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/util/
H A DFastInputStream.java146 int avail = len - off;
147 if (avail <= 0) {
150 if (length > avail) {
151 length = avail;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Drawmidi.c86 return runtime->avail >= runtime->avail_min;
93 return runtime->avail >= runtime->avail_min &&
94 (!substream->append || runtime->avail >= count);
129 runtime->avail = 0;
131 runtime->avail = runtime->buffer_size;
177 runtime->avail = runtime->buffer_size;
191 (runtime->avail >= runtime->buffer_size),
195 if (runtime->avail < runtime->buffer_size && !timeout) {
196 snd_printk(KERN_WARNING "rawmidi drain error (avail = %li, buffer_size = %li)\n", (long)runtime->avail, (lon
[all...]
H A Drawmidi_compat.c59 u32 avail; member in struct:snd_rawmidi_status32
90 put_user(status.avail, &src->avail) ||
H A Dpcm_lib.c69 snd_pcm_sframes_t avail = snd_pcm_playback_hw_avail(runtime); local
70 runtime->silence_filled = avail > 0 ? avail : 0;
165 snd_pcm_uframes_t avail; local
168 avail = snd_pcm_playback_avail(runtime);
170 avail = snd_pcm_capture_avail(runtime);
171 if (avail > runtime->avail_max)
172 runtime->avail_max = avail;
173 if (avail >= runtime->stop_threshold) {
180 if (avail >
1481 snd_pcm_uframes_t avail, dist; local
1649 snd_pcm_uframes_t avail; local
1925 snd_pcm_uframes_t avail; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/hwregs/iop/
H A Diop_fifo_in_defs.h190 unsigned int avail : 1; member in struct:__anon8295
202 unsigned int avail : 1; member in struct:__anon8296
214 unsigned int avail : 1; member in struct:__anon8297
225 unsigned int avail : 1; member in struct:__anon8298
H A Diop_fifo_in_extra_defs.h115 unsigned int avail : 1; member in struct:__anon8302
127 unsigned int avail : 1; member in struct:__anon8303
139 unsigned int avail : 1; member in struct:__anon8304
150 unsigned int avail : 1; member in struct:__anon8305
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavdevice/
H A Ddv1394.c47 int avail; /* Number of frames available for reading */ member in struct:dv1394_data
71 dv->avail = dv->done = 0;
141 if (!dv->avail) {
185 dv->avail = s.n_clear_frames;
199 av_log(context, AV_LOG_DEBUG, "index %d, avail %d, done %d\n", dv->index, dv->avail,
207 dv->done++; dv->avail--;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Daudit.c1060 int len, avail; local
1069 avail = skb_tailroom(skb);
1070 if (avail == 0) {
1071 avail = audit_expand(ab, AUDIT_BUFSIZ);
1072 if (!avail)
1076 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args);
1077 if (len >= avail) {
1081 avail = audit_expand(ab,
1082 max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail));
1083 if (!avail)
1126 int i, avail, new_len; local
1162 int avail, new_len; local
[all...]
H A Drelay.c872 size_t padding, avail = 0; local
884 avail = write_offset - (read_offset + padding);
886 avail = (subbuf_size - padding) - read_offset;
888 return avail;
953 size_t avail,
961 ret = avail;
962 if (copy_to_user(desc->arg.buf, from, avail)) {
978 size_t avail,
989 while (avail) {
994 if (len > avail)
951 subbuf_read_actor(size_t read_start, struct rchan_buf *buf, size_t avail, read_descriptor_t *desc, read_actor_t actor) argument
976 subbuf_send_actor(size_t read_start, struct rchan_buf *buf, size_t avail, read_descriptor_t *desc, read_actor_t actor) argument
1025 size_t read_start, avail; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-core/
H A Ddvb_ringbuffer.c77 ssize_t avail; local
79 avail = rbuf->pwrite - rbuf->pread;
80 if (avail < 0)
81 avail += rbuf->size;
82 return avail;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/romfs/
H A Dinode.c197 unsigned long avail, maxsize, res; local
211 avail = ROMBSIZE - (offset & ROMBMASK);
212 maxsize = min_t(unsigned long, count, avail);
226 avail = strnlen(bh->b_data, maxsize);
227 res += avail;
229 if (avail < maxsize)
239 unsigned long avail, maxsize, res; local
249 avail = ROMBSIZE - (offset & ROMBMASK);
250 maxsize = min_t(unsigned long, count, avail);
419 loff_t offset, avail, readle local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/
H A Dum_arch.c339 unsigned long avail, diff; local
447 avail = get_kmem_end() - start_vm;
448 if(physmem_size > avail) virtmem_size = avail;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/
H A Dmd4.c168 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); local
172 if (avail > len) {
173 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
178 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
179 data, avail);
182 data += avail;
183 len -= avail;
H A Dmd5.c163 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); local
167 if (avail > len) {
168 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
173 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
174 data, avail);
177 data += avail;
178 len -= avail;
H A Dlrw.c129 unsigned int avail; local
140 if (!(avail = w->nbytes))
167 } while ((avail -= bs) >= bs);
169 err = blkcipher_walk_done(d, w, avail);
170 if (!(avail = w->nbytes))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/
H A Dav7110_ca.c191 int avail; local
202 avail = dvb_ringbuffer_avail(cibuf);
203 if (avail < 4)
207 if (avail < len + 2 || count < len)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/power/
H A Duser.c222 loff_t avail; local
291 avail = count_swap_pages(data->swap, 1);
292 avail <<= PAGE_SHIFT;
293 error = put_user(avail, (loff_t __user *)arg);

Completed in 205 milliseconds

1234