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

12345

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ubifs/
H A Dio.c300 struct ubifs_wbuf *wbuf = container_of(timer, struct ubifs_wbuf, timer); local
302 dbg_io("jhead %s", dbg_jhead(wbuf->jhead));
303 wbuf->need_sync = 1;
304 wbuf->c->need_wbuf_sync = 1;
305 ubifs_wake_up_bgt(wbuf->c);
311 * @wbuf: write-buffer descriptor
313 static void new_wbuf_timer_nolock(struct ubifs_wbuf *wbuf) argument
315 ubifs_assert(!hrtimer_active(&wbuf->timer));
317 if (wbuf->no_timer)
320 dbg_jhead(wbuf
332 cancel_wbuf_timer_nolock(struct ubifs_wbuf *wbuf) argument
347 ubifs_wbuf_sync_nolock(struct ubifs_wbuf *wbuf) argument
402 ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs, int dtype) argument
454 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; local
485 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; local
509 ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len) argument
697 ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, int lnum, int offs) argument
832 ubifs_wbuf_init(struct ubifs_info *c, struct ubifs_wbuf *wbuf) argument
874 ubifs_wbuf_add_ino_nolock(struct ubifs_wbuf *wbuf, ino_t inum) argument
894 wbuf_has_ino(struct ubifs_wbuf *wbuf, ino_t inum) argument
923 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; local
[all...]
H A Dgc.c84 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; local
88 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum,
89 c->leb_size - wbuf->offs - wbuf->used);
91 err = ubifs_wbuf_sync_nolock(wbuf);
108 err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, 0, UBI_LONGTERM);
269 * @wbuf
275 move_node(struct ubifs_info *c, struct ubifs_scan_leb *sleb, struct ubifs_scan_node *snod, struct ubifs_wbuf *wbuf) argument
307 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; local
427 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; local
575 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; local
877 struct ubifs_wbuf *wbuf; local
[all...]
H A Djournal.c118 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; local
127 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead);
134 avail = c->leb_size - wbuf->offs - wbuf->used;
135 if (wbuf->lnum != -1 && avail >= len)
162 mutex_unlock(&wbuf->io_mutex);
173 * because we dropped @wbuf->io_mutex, so try once
187 mutex_lock_nested(&wbuf
252 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; local
284 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; local
616 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; local
1001 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; local
1410 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; local
[all...]
H A Dmisc.h109 * @wbuf: write-buffer to synchronize
114 static inline int ubifs_wbuf_sync(struct ubifs_wbuf *wbuf) argument
118 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead);
119 err = ubifs_wbuf_sync_nolock(wbuf);
120 mutex_unlock(&wbuf->io_mutex);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/dvb-usb/
H A Dfriio.c30 * this func sends wbuf[1..] to the I2C register wbuf[0] at addr (= at FE).
34 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
36 u16 index = wbuf[0]; /* must be JDVBT90502_2ND_I2C_REG(=0xFE) */
42 wbuf[1], wbuf[0], wlen - 1);
50 &wbuf[1], wlen - 1, 2000);
58 * write to the register wbuf[0] at I2C address addr with the value wbuf[1],
59 * or read from the register wbuf[
33 gl861_i2c_ctrlmsg_data(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
62 gl861_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
223 u8 wbuf[3]; local
[all...]
H A Dau6610.c32 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
40 index = wbuf[0] << 8;
43 index = wbuf[0] << 8;
44 index += wbuf[1];
68 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
79 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen);
31 au6610_usb_msg(struct dvb_usb_device *d, u8 operation, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
67 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
16 if (!d || wbuf == NULL || wlen == 0)
28 debug_dump(wbuf,wlen,deb_xfer);
31 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen,
H A Dgl861.c22 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
39 index = wbuf[0];
42 index = wbuf[0];
43 value = value + wbuf[1];
21 gl861_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Dfriio-fe.c31 u8 wbuf[3]; local
34 wbuf[0] = reg & 0xFF;
35 wbuf[1] = 0;
36 wbuf[2] = reg >> 8;
40 msg[0].buf = wbuf;
41 msg[0].len = sizeof(wbuf);
61 u8 wbuf[2]; local
63 wbuf[0] = reg;
64 wbuf[1] = val;
68 msg.buf = wbuf;
[all...]
H A Ddtv5100.c35 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
55 value = wbuf[1];
61 index = (addr << 8) + wbuf[0];
34 dtv5100_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
/netgear-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/tests/mbconv/
H A Dconvautotest.cpp74 wxWCharBuffer wbuf = wxConvAuto().cMB2WC(src); local
75 CPPUNIT_ASSERT( wbuf );
76 CPPUNIT_ASSERT_EQUAL( wch, *wbuf );
/netgear-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/ssl/
H A Ds2_lib.c341 * wbuf needs one byte more because when using two-byte headers, we leave
344 if ((s2->wbuf =
353 if (s2->wbuf != NULL)
354 OPENSSL_free(s2->wbuf);
372 if (s2->wbuf != NULL)
373 OPENSSL_free(s2->wbuf);
382 unsigned char *rbuf, *wbuf; local
387 wbuf = s2->wbuf;
392 s2->wbuf
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/ssl/
H A Ds2_lib.c341 * wbuf needs one byte more because when using two-byte headers, we leave
344 if ((s2->wbuf =
353 if (s2->wbuf != NULL)
354 OPENSSL_free(s2->wbuf);
372 if (s2->wbuf != NULL)
373 OPENSSL_free(s2->wbuf);
382 unsigned char *rbuf, *wbuf; local
387 wbuf = s2->wbuf;
392 s2->wbuf
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/tests/strings/
H A Dunicode.cpp153 wxWCharBuffer wbuf = wxConvLibc.cMB2WC("", 0, &len); local
204 wxWCharBuffer wbuf = conv.cMB2WC(s, (size_t)-1, NULL);
208 CPPUNIT_ASSERT( wbuf.data() );
209 CPPUNIT_ASSERT( wx_wcscmp(wbuf, ws) == 0 );
213 CPPUNIT_ASSERT_EQUAL( (wchar_t *)NULL, wbuf.data() );
304 wxWCharBuffer wbuf(conv.cMB2WC("\x01\0\0B\0C" /* A macron BC */, 6, &len));
328 wxWCharBuffer wbuf(conv.cMB2WC("\0\0\x01\0\0\0\0B\0\0\0C" /* A macron BC */,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dsstream.cpp202 wxWCharBuffer wbuf(m_conv.cMB2WC(src, srcLen, NULL /* out len */));
203 if ( wbuf )
208 *m_str += wbuf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/
H A Dwbuf.c57 /* Look to see if the inode in question is pending in the wbuf */
252 c->wbuf, c->wbuf_pagesize, 0);
264 /* Recover from failure to write wbuf. Recover the nodes up to the
265 * wbuf, not the one which we were starting to try to write. */
289 node which ends before the wbuf starts, or which is obsolete. */
324 dbg_noderef("wbuf recover %08x-%08x (%d bytes in %d nodes)\n",
334 printk(KERN_CRIT "Malloc failure in wbuf recovery. Data loss ensues.\n");
348 printk(KERN_CRIT "Old data are already lost in wbuf recovery. Data loss ensues.\n");
366 /* It wasn't. Go on and try to recover nodes complete in the wbuf */
368 dbg_noderef("wbuf no
[all...]
H A DMakefile13 jffs2-$(CONFIG_JFFS2_FS_WRITEBUFFER) += wbuf.o
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/test/
H A Dregress_iocp.c211 static struct evbuffer *rbuf = NULL, *wbuf = NULL; variable in typeref:struct:
229 evbuffer_commit_write(wbuf, nbytes);
254 wbuf = evbuffer_overlapped_new(data->pair[1]);
256 evbuffer_enable_locking(wbuf, NULL);
261 tt_assert(wbuf);
267 evbuffer_add(wbuf, junk, sizeof(junk));
278 tt_assert(!evbuffer_launch_write(wbuf, 512, &wol));
290 evbuffer_free(wbuf);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dstrerror.c634 wchar_t wbuf[256]; local
635 wbuf[0] = L'\0';
638 LANG_NEUTRAL, wbuf, sizeof(wbuf)/sizeof(wchar_t), NULL);
639 wcstombs(buf,wbuf,max);
1073 wchar_t wbuf[256]; local
1074 wbuf[0] = L'\0';
1079 wbuf, sizeof(wbuf)/sizeof(wchar_t), NULL)) {
1080 wcstombs(msgbuf,wbuf,sizeo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jbd/
H A Dcommit.c175 static void journal_do_submit_data(struct buffer_head **wbuf, int bufs, argument
181 wbuf[i]->b_end_io = end_buffer_write_sync;
183 submit_bh(write_op, wbuf[i]);
198 struct buffer_head **wbuf = journal->j_wbuf; local
231 journal_do_submit_data(wbuf, bufs, write_op);
256 wbuf[bufs++] = bh;
262 journal_do_submit_data(wbuf, bufs, write_op);
292 journal_do_submit_data(wbuf, bufs, write_op);
307 struct buffer_head **wbuf = journal->j_wbuf; local
584 wbuf[buf
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/lirc/
H A Dlirc_parallel.c378 int *wbuf; local
388 wbuf = memdup_user(buf, n);
389 if (IS_ERR(wbuf))
390 return PTR_ERR(wbuf);
404 helper = ((unsigned long long) wbuf[i])*timer;
406 wbuf[i] = (int) helper;
425 } while (counttimer < wbuf[i]);
441 } while (counttimer < wbuf[i]);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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
2086 unsigned char rbuf[4], wbuf[4]; local
[all...]

Completed in 102 milliseconds

12345