Searched refs:bufptr (Results 1 - 25 of 27) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dflacdec.c52 uint8_t *bufptr = p->buf; local
55 if(ff_id3v2_match(bufptr))
56 bufptr += ff_id3v2_tag_len(bufptr);
58 if(bufptr > end-4 || memcmp(bufptr, "fLaC", 4)) return 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/shared/
H A Dwlutils.h68 * @param bufptr io buffer
73 extern int wl_iovar_setbuf(char *ifname, char *iovar, void *param, int paramlen, void *bufptr,
75 extern int wl_iovar_getbuf(char *ifname, char *iovar, void *param, int paramlen, void *bufptr,
78 extern int wl_iovar_get(char *ifname, char *iovar, void *bufptr, int buflen);
89 * @param bufptr io buffer
95 void *bufptr, int buflen);
97 void *bufptr, int buflen);
H A Dwl.c60 wl_iovar_getbuf(char *ifname, char *iovar, void *param, int paramlen, void *bufptr, int buflen) argument
73 memcpy(bufptr, iovar, namelen); /* copy iovar name including null */
74 memcpy((int8*)bufptr + namelen, param, paramlen);
76 err = wl_ioctl(ifname, WLC_GET_VAR, bufptr, buflen);
82 wl_iovar_setbuf(char *ifname, char *iovar, void *param, int paramlen, void *bufptr, int buflen) argument
94 memcpy(bufptr, iovar, namelen); /* copy iovar name including null */
95 memcpy((int8*)bufptr + namelen, param, paramlen);
97 return wl_ioctl(ifname, WLC_SET_VAR, bufptr, iolen);
109 wl_iovar_get(char *ifname, char *iovar, void *bufptr, int buflen) argument
116 ret = wl_iovar_getbuf(ifname, iovar, NULL, 0, bufptr, bufle
150 wl_bssiovar_mkbuf(char *iovar, int bssidx, void *param, int paramlen, void *bufptr, int buflen, int *plen) argument
195 wl_bssiovar_setbuf(char *ifname, char *iovar, int bssidx, void *param, int paramlen, void *bufptr, int buflen) argument
212 wl_bssiovar_getbuf(char *ifname, char *iovar, int bssidx, void *param, int paramlen, void *bufptr, int buflen) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dgetopt.c82 char *bufptr; local
101 bufptr = BUFFER;
102 *bufptr ++= '\'';
107 *bufptr ++= '\'';
108 *bufptr ++= '\\';
109 *bufptr ++= '\'';
110 *bufptr ++= '\'';
113 *bufptr ++= '\'';
114 *bufptr ++= '\\';
115 *bufptr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dwrapper.c27 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) argument
33 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG);
38 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB));
43 wd->ablk_size = be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE));
48 wd->ablk_start = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART));
50 extent = be32_to_cpu(get_unaligned((__be32 *)(bufptr + HFSP_WRAPOFF_EMBEDEXT)));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dwrapper.c27 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) argument
33 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG);
38 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB));
43 wd->ablk_size = be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE));
48 wd->ablk_start = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART));
50 extent = be32_to_cpu(get_unaligned((__be32 *)(bufptr + HFSP_WRAPOFF_EMBEDEXT)));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/random/
H A Drndw32ce.c115 memcpy (bufptr, &along, sizeof (along)); \
116 bufptr += sizeof (along); \
118 unsigned char buffer[20*sizeof(ulong)], *bufptr; local
120 bufptr = buffer;
136 gcry_assert ( bufptr-buffer < sizeof (buffer) );
137 (*add) ( buffer, bufptr-buffer, origin );
H A Drndw32.c832 byte buffer[20*sizeof(ulong)], *bufptr;
834 bufptr = buffer;
836 memcpy (bufptr, &along, sizeof (along) ); \
837 bufptr += sizeof (along); \
859 gcry_assert ( bufptr-buffer < sizeof (buffer) );
860 (*add) ( buffer, bufptr-buffer, origin );
831 byte buffer[20*sizeof(ulong)], *bufptr; local
H A Drandom-csprng.c468 const char *bufptr;
488 bufptr = buf;
494 add_randomness (bufptr, nbytes, RANDOM_ORIGIN_EXTERNAL);
496 bufptr += nbytes;
467 const char *bufptr; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/lib/
H A Dloop_wchar.h81 const char* bufptr = buf;
84 &bufptr,&bufleft,
199 const char* bufptr = buf; local
204 &bufptr,&bufleft,
251 const char* bufptr = buf; local
256 &bufptr,&bufleft,
330 char* bufptr = buf; local
334 &bufptr,&bufleft);
346 size_t bufcount = bufptr-buf; /* = BUF_SIZE-bufleft */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/scripts/kconfig/
H A Dmconf.c259 static char buf[4096], *bufptr = buf; variable
323 bufptr = buf;
339 *argptr = bufptr;
341 res = vsprintf(bufptr, fmt, ap);
343 bufptr += res;
350 *bufptr++ = 0;
359 *argptr++ = bufptr;
361 res = vsprintf(bufptr, fmt, ap);
363 bufptr += res;
364 *bufptr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpg.c216 char *bufptr; member in struct:pg
250 dev->bufptr = NULL;
532 dev->bufptr = kmalloc(PG_MAX_DATA, GFP_KERNEL);
533 if (dev->bufptr == NULL) {
548 kfree(dev->bufptr);
549 dev->bufptr = NULL;
598 if (copy_from_user(dev->bufptr, buf + hs, count - hs))
617 if (pg_completion(dev, dev->bufptr, dev->timeout))
638 if (copy_to_user(buf + hs, dev->bufptr, copy))
H A Dpt.c223 char *bufptr; member in struct:pt_unit
612 tape->bufptr = NULL;
674 tape->bufptr = kmalloc(PT_BUFSIZE, GFP_KERNEL);
675 if (tape->bufptr == NULL) {
737 kfree(tape->bufptr);
738 tape->bufptr = NULL;
820 pi_read_block(pi, tape->bufptr, k);
825 if (copy_to_user(buf + t, tape->bufptr, b)) {
924 if (copy_from_user(tape->bufptr, buf + t, b)) {
928 pi_write_block(pi, tape->bufptr,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/seq/
H A Dseq_memory.c129 static int seq_copy_in_kernel(char **bufptr, const void *src, int size) argument
131 memcpy(*bufptr, src, size);
132 *bufptr += size;
136 static int seq_copy_in_user(char __user **bufptr, const void *src, int size) argument
138 if (copy_to_user(*bufptr, src, size))
140 *bufptr += size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/emu10k1/
H A Dpassthrough.c148 DPF(2, "bufptr init\n");
183 u16 __user *bufptr = (u16 __user *) buffer + (bytes_copied/2); local
184 if (copy_from_user(pt->buf, bufptr, PT_BLOCKSIZE))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/
H A Dkgdb_stub.c1031 char *bufptr; local
1038 bufptr = gdbmsgbuf + 1;
1045 bufptr = pack_hex_byte(bufptr, s[i]);
1046 *bufptr = '\0';
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm_compat.c322 compat_caddr_t __user *bufptr; local
337 bufptr = compat_ptr(buf);
343 if (get_user(ptr, bufptr)) {
348 bufptr++;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dsis900.c108 u32 bufptr; member in struct:_BufferDesc
1062 sis_priv->tx_ring[i].bufptr = 0;
1097 sis_priv->rx_ring[i].bufptr = 0;
1113 sis_priv->rx_ring[i].bufptr = pci_map_single(sis_priv->pci_dev,
1461 sis_priv->tx_ring[i].bufptr, skb->len,
1466 sis_priv->tx_ring[i].bufptr = 0;
1518 sis_priv->tx_ring[entry].bufptr = pci_map_single(sis_priv->pci_dev,
1680 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE,
1726 sis_priv->rx_ring[entry].bufptr =
1757 sis_priv->rx_ring[entry].bufptr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/hamradio/
H A Dbaycom_epp.c191 unsigned char *bufptr; member in struct:baycom_state::__anon5508
201 unsigned char *bufptr; member in struct:baycom_state::__anon5509
417 bc->hdlctx.bufptr = bc->hdlctx.buf;
484 if (i != pp->ops->epp_write_data(pp, bc->hdlctx.bufptr, i, 0))
486 bc->hdlctx.bufptr += i;
599 bc->hdlcrx.bufptr = bc->hdlcrx.buf;
615 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/nm256/
H A Dnm256.c197 void __iomem *bufptr; /* mapped pointer */ member in struct:nm256_stream
699 memset_io(s->bufptr + pos, 0, count);
714 if (copy_from_user_toio(s->bufptr + pos, src, count))
733 if (copy_to_user_fromio(dst, s->bufptr + pos, count))
839 runtime->dma_area = (void __force *) s->bufptr;
936 s->bufptr = chip->buffer + (s->buf - chip->buffer_start);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Dazt3328.c1008 unsigned long bufptr, result; local
1012 bufptr = inl(chip->codec_port+IDX_IO_PLAY_DMA_START_1);
1014 bufptr = substream->runtime->dma_addr;
1019 result -= bufptr;
1029 unsigned long bufptr, result; local
1033 bufptr = inl(chip->codec_port+IDX_IO_REC_DMA_START_1);
1035 bufptr = substream->runtime->dma_addr;
1040 result -= bufptr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/mm/
H A Dsun4c.c1215 static __u32 sun4c_get_scsi_one(char *bufptr, unsigned long len, struct sbus_bus *sbus) argument
1219 page = ((unsigned long)bufptr) & PAGE_MASK;
1222 return (__u32)bufptr; /* already locked */
1224 return (__u32)sun4c_lockarea(bufptr, len);
1236 static void sun4c_release_scsi_one(__u32 bufptr, unsigned long len, struct sbus_bus *sbus) argument
1238 if (bufptr < sun4c_iobuffer_start)
1240 sun4c_unlockarea((char *)bufptr, len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dau1550_ac97.c993 char *bufptr = to_user ? db->nextOut : db->nextIn; local
997 if (bufptr + count > bufend) {
998 int partial = (int) (bufend - bufptr);
1001 bufptr, partial)) < 0)
1010 if ((cnt = translate_from_user(db, bufptr, userbuf,
1022 ret = translate_to_user(db, userbuf, bufptr, count);
1024 ret = translate_from_user(db, bufptr, userbuf, count);
H A Dau1550_i2s.c956 char *bufptr = to_user ? db->nextOut : db->nextIn; local
960 if (bufptr + count > bufend) {
961 int partial = (int) (bufend - bufptr);
964 bufptr, partial)) < 0)
973 if ((cnt = translate_from_user(db, bufptr, userbuf,
985 ret = translate_to_user(db, userbuf, bufptr, count);
987 ret = translate_from_user(db, bufptr, userbuf, count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnetdevice.h723 typedef int gifconf_func_t(struct net_device * dev, char __user * bufptr, int len);

Completed in 149 milliseconds

12