Searched refs:wbuf (Results 1 - 25 of 55) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dsha1.c52 w[i] = htonl(ctx->wbuf[i]);
108 memcpy(((unsigned char *) ctx->wbuf) + pos, sp, freeb);
116 memcpy(((unsigned char *) ctx->wbuf) + pos, sp, length);
138 ctx->wbuf[cnt >> 2] =
139 (ctx->wbuf[cnt >> 2] & mask[cnt & 3]) | bits[cnt & 3];
146 ctx->wbuf[15] = 0;
153 ctx->wbuf[cnt++] = 0;
158 ctx->wbuf[14] = htonl((ctx->count[1] << 3) | (ctx->count[0] >> 29));
159 ctx->wbuf[15] = htonl(ctx->count[0] << 3);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-usb/
H A Dau6610.c23 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
31 index = wbuf[0] << 8;
34 index = wbuf[0] << 8;
35 index += wbuf[1];
60 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
71 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen);
22 au6610_usb_msg(struct dvb_usb_device *d, u8 operation, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
59 au6610_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Ddvb-usb-urb.c11 int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, argument
21 if (wbuf == NULL || wlen == 0)
28 debug_dump(wbuf,wlen,deb_xfer);
31 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen,
H A Dgl861.c20 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
37 index = wbuf[0];
40 index = wbuf[0];
41 value = value + wbuf[1];
19 gl861_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Ddibusb-common.c103 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
113 memcpy(&sndbuf[2],wbuf,wlen);
163 u8 wbuf[1] = { offs }; local
164 return dibusb_i2c_msg(d, 0x50, wbuf, 1, val, 1);
102 dibusb_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Dttusb2.c45 u8 *wbuf, int wlen, u8 *rbuf, int rlen)
57 memcpy(&s[4],wbuf,wlen);
44 ttusb2_msg(struct dvb_usb_device *d, u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/srclib/
H A Derror.c144 wchar_t *wbuf = (len < ALLOCA_LIMIT local
145 ? alloca (len * sizeof *wbuf)
146 : len <= SIZE_MAX / sizeof *wbuf
147 ? malloc (len * sizeof *wbuf)
150 if (wbuf)
156 res = mbsrtowcs (wbuf, &tmp, len, &st);
157 wmessage = res == (size_t) -1 ? L"???" : wbuf;
162 free (wbuf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/ssl/
H A Ds2_lib.c284 /* wbuf needs one byte more because when using two-byte headers,
286 if ((s2->wbuf=OPENSSL_malloc(
295 if (s2->wbuf != NULL) OPENSSL_free(s2->wbuf);
311 if (s2->wbuf != NULL) OPENSSL_free(s2->wbuf);
320 unsigned char *rbuf,*wbuf; local
325 wbuf=s2->wbuf;
330 s2->wbuf
[all...]
H A Ds3_pkt.c577 if (s->s3->wbuf.left != 0)
593 wb= &(s->s3->wbuf);
622 if (s->s3->wbuf.len < (size_t)prefix_len + SSL3_RT_MAX_PACKET_SIZE)
718 /* if s->s3->wbuf.left != 0, we need to call this */
741 (char *)&(s->s3->wbuf.buf[s->s3->wbuf.offset]),
742 (unsigned int)s->s3->wbuf.left);
749 if (i == s->s3->wbuf.left)
751 s->s3->wbuf.left=0;
757 s->s3->wbuf
[all...]
H A Ds3_lib.c1093 if (s->s3->wbuf.buf != NULL)
1094 OPENSSL_free(s->s3->wbuf.buf);
1130 wp = s->s3->wbuf.buf;
1132 wlen = s->s3->wbuf.len;
1139 s->s3->wbuf.buf = wp;
1141 s->s3->wbuf.len = wlen;
1782 (s->s3->wbuf.left == 0) &&
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/ssl/
H A Ds2_lib.c255 /* wbuf needs one byte more because when using two-byte headers,
257 if ((s2->wbuf=OPENSSL_malloc(
266 if (s2->wbuf != NULL) OPENSSL_free(s2->wbuf);
282 if (s2->wbuf != NULL) OPENSSL_free(s2->wbuf);
291 unsigned char *rbuf,*wbuf; local
296 wbuf=s2->wbuf;
301 s2->wbuf
[all...]
H A Ds3_pkt.c578 if (s->s3->wbuf.left != 0)
594 wb= &(s->s3->wbuf);
623 if (s->s3->wbuf.len < (size_t)prefix_len + SSL3_RT_MAX_PACKET_SIZE)
719 /* if s->s3->wbuf.left != 0, we need to call this */
742 (char *)&(s->s3->wbuf.buf[s->s3->wbuf.offset]),
743 (unsigned int)s->s3->wbuf.left);
750 if (i == s->s3->wbuf.left)
752 s->s3->wbuf.left=0;
758 s->s3->wbuf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/
H A Dwbuf.c57 /* Look to see if the inode in question is pending in the wbuf */
223 /* Recover from failure to write wbuf. Recover the nodes up to the
224 * wbuf, not the one which we were starting to try to write. */
248 node which ends before the wbuf starts, or which is obsolete. */
283 dbg_noderef("wbuf recover %08x-%08x (%d bytes in %d nodes)\n",
293 printk(KERN_CRIT "Malloc failure in wbuf recovery. Data loss ensues.\n");
307 printk(KERN_CRIT "Old data are already lost in wbuf recovery. Data loss ensues.\n");
325 /* It wasn't. Go on and try to recover nodes complete in the wbuf */
327 dbg_noderef("wbuf now recover %08x-%08x (%d bytes in %d nodes)\n",
331 /* Read succeeded. Copy the remaining data from the wbuf */
[all...]
H A DMakefile13 jffs2-$(CONFIG_JFFS2_FS_WRITEBUFFER) += wbuf.o
H A Djffs2_fs_sb.h86 struct list_head erasable_pending_wbuf_list; /* Blocks which need erasing but only after the current wbuf is flushed */
107 uint32_t wbuf_pagesize; /* 0 for NOR and other flashes with no wbuf */
110 unsigned char *wbuf; /* Write-behind buffer for NAND flash */ member in struct:jffs2_sb_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dstrerror.c621 wchar_t wbuf[256]; local
622 wbuf[0] = L'\0';
625 LANG_NEUTRAL, wbuf, sizeof(wbuf)/sizeof(wchar_t), NULL);
626 wcstombs(buf,wbuf,max);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/
H A Dcommit.c162 static void journal_do_submit_data(struct buffer_head **wbuf, int bufs) argument
167 wbuf[i]->b_end_io = end_buffer_write_sync;
169 submit_bh(WRITE, wbuf[i]);
183 struct buffer_head **wbuf = journal->j_wbuf; local
215 journal_do_submit_data(wbuf, bufs);
240 wbuf[bufs++] = bh;
246 journal_do_submit_data(wbuf, bufs);
274 journal_do_submit_data(wbuf, bufs);
287 struct buffer_head **wbuf = journal->j_wbuf; local
544 wbuf[buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/
H A Dcommit.c162 static void journal_do_submit_data(struct buffer_head **wbuf, int bufs) argument
167 wbuf[i]->b_end_io = end_buffer_write_sync;
169 submit_bh(WRITE, wbuf[i]);
183 struct buffer_head **wbuf = journal->j_wbuf; local
215 journal_do_submit_data(wbuf, bufs);
240 wbuf[bufs++] = bh;
246 journal_do_submit_data(wbuf, bufs);
274 journal_do_submit_data(wbuf, bufs);
295 struct buffer_head **wbuf = journal->j_wbuf; local
553 wbuf[buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/wavefront/
H A Dwavefront_synth.c334 int cmd, unsigned char *rbuf, unsigned char *wbuf)
375 if (wavefront_write (dev, wbuf[i])) {
383 i, wbuf[i]);
602 unsigned char wbuf[2];
605 wbuf[0] = sample_num & 0x7f;
606 wbuf[1] = sample_num >> 7;
608 if ((x = snd_wavefront_cmd (dev, WFC_DELETE_SAMPLE, NULL, wbuf)) == 0) {
620 unsigned char rbuf[32], wbuf[32];
625 if (snd_wavefront_cmd (dev, WFC_GET_NSAMPLES, rbuf, wbuf)) {
634 wbuf[
333 snd_wavefront_cmd(snd_wavefront_t *dev, int cmd, unsigned char *rbuf, unsigned char *wbuf) argument
600 unsigned char wbuf[2]; local
618 unsigned char rbuf[32], wbuf[32]; local
2124 unsigned char rbuf[4], wbuf[4]; local
[all...]
H A Dwavefront_midi.c480 unsigned char rbuf[4], wbuf[4]; local
524 if (snd_wavefront_cmd (dev, WFC_MISYNTH_ON, rbuf, wbuf)) {
539 if (snd_wavefront_cmd (dev, WFC_VMIDI_OFF, rbuf, wbuf)) {
546 if (snd_wavefront_cmd (dev, WFC_VMIDI_ON, rbuf, wbuf)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dcommit.c196 struct buffer_head **wbuf = journal->j_wbuf; local
382 wbuf[bufs++] = bh;
386 ll_rw_block(SWRITE, bufs, wbuf);
387 hfsplus_jbd_brelse_array(wbuf, bufs);
409 ll_rw_block(SWRITE, bufs, wbuf);
410 hfsplus_jbd_brelse_array(wbuf, bufs);
537 wbuf[bufs++] = bh;
592 wbuf[bufs++] = hfsplus_jh2bh(new_jh);
650 struct buffer_head *bh = wbuf[i];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/chips/
H A Dm41t00.c174 u8 wbuf[9], *buf = &wbuf[1], msgbuf[1] = { 0 }; local
200 /* Read reg values into buf[0..7]/wbuf[1..8] */
206 wbuf[0] = 0; /* offset into rtc's regs */
214 if (i2c_master_send(save_client, wbuf, 9) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/apps/
H A Ds_server.c365 EBCDIC_OUTBUFF *wbuf; local
367 wbuf = (EBCDIC_OUTBUFF *)OPENSSL_malloc(sizeof(EBCDIC_OUTBUFF) + 1024);
368 wbuf->alloced = 1024;
369 wbuf->buff[0] = '\0';
371 bi->ptr=(char *)wbuf;
403 EBCDIC_OUTBUFF *wbuf; local
411 wbuf=(EBCDIC_OUTBUFF *)b->ptr;
413 if (inl > (num = wbuf->alloced))
418 OPENSSL_free(wbuf);
419 wbuf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/apps/
H A Ds_server.c415 EBCDIC_OUTBUFF *wbuf; local
417 wbuf = (EBCDIC_OUTBUFF *)OPENSSL_malloc(sizeof(EBCDIC_OUTBUFF) + 1024);
418 wbuf->alloced = 1024;
419 wbuf->buff[0] = '\0';
421 bi->ptr=(char *)wbuf;
453 EBCDIC_OUTBUFF *wbuf; local
461 wbuf=(EBCDIC_OUTBUFF *)b->ptr;
463 if (inl > (num = wbuf->alloced))
468 OPENSSL_free(wbuf);
469 wbuf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/
H A Dav7110_ca.c233 struct dvb_ringbuffer *wbuf = &av7110->ci_wbuffer; local
239 poll_wait(file, &wbuf->queue, wait);
244 if (dvb_ringbuffer_free(wbuf) > 1024)

Completed in 268 milliseconds

123