Searched refs:bufptr (Results 51 - 75 of 117) sorted by relevance

12345

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/block/paride/
H A Dpg.c217 char *bufptr; member in struct:pg
251 dev->bufptr = NULL;
539 dev->bufptr = kmalloc(PG_MAX_DATA, GFP_KERNEL);
540 if (dev->bufptr == NULL) {
558 kfree(dev->bufptr);
559 dev->bufptr = NULL;
608 if (copy_from_user(dev->bufptr, buf + hs, count - hs))
627 if (pg_completion(dev, dev->bufptr, dev->timeout))
648 if (copy_to_user(buf + hs, dev->bufptr, copy))
H A Dpt.c223 char *bufptr; member in struct:pt_unit
612 tape->bufptr = NULL;
677 tape->bufptr = kmalloc(PT_BUFSIZE, GFP_KERNEL);
678 if (tape->bufptr == NULL) {
743 kfree(tape->bufptr);
744 tape->bufptr = NULL;
826 pi_read_block(pi, tape->bufptr, k);
831 if (copy_to_user(buf + t, tape->bufptr, b)) {
930 if (copy_from_user(tape->bufptr, buf + t, b)) {
934 pi_write_block(pi, tape->bufptr,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/core/seq/
H A Dseq_memory.c128 static int seq_copy_in_kernel(char **bufptr, const void *src, int size) argument
130 memcpy(*bufptr, src, size);
131 *bufptr += size;
135 static int seq_copy_in_user(char __user **bufptr, const void *src, int size) argument
137 if (copy_to_user(*bufptr, src, size))
139 *bufptr += size;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/core/seq/
H A Dseq_memory.c128 static int seq_copy_in_kernel(char **bufptr, const void *src, int size) argument
130 memcpy(*bufptr, src, size);
131 *bufptr += size;
135 static int seq_copy_in_user(char __user **bufptr, const void *src, int size) argument
137 if (copy_to_user(*bufptr, src, size))
139 *bufptr += size;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/libgcrypt-1.5.1/random/
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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libgcrypt-1.5.1/random/
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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/libgcrypt-1.5.1/random/
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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/block/paride/
H A Dpt.c223 char *bufptr; member in struct:pt_unit
612 tape->bufptr = NULL;
677 tape->bufptr = kmalloc(PT_BUFSIZE, GFP_KERNEL);
678 if (tape->bufptr == NULL) {
743 kfree(tape->bufptr);
744 tape->bufptr = NULL;
826 pi_read_block(pi, tape->bufptr, k);
831 if (copy_to_user(buf + t, tape->bufptr, b)) {
930 if (copy_from_user(tape->bufptr, buf + t, b)) {
934 pi_write_block(pi, tape->bufptr,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/ath/ath5k/
H A Dbase.h169 struct ath5k_buf *bufptr; /* allocated buffer ptr */ member in struct:ath5k_softc
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/ath/ath5k/
H A Dbase.h169 struct ath5k_buf *bufptr; /* allocated buffer ptr */ member in struct:ath5k_softc
/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 Dpcl818.c601 int i, len, bufptr; local
629 bufptr = 0;
632 if ((ptr[bufptr] & 0xf) != devpriv->act_chanlist[devpriv->act_chanlist_pos]) { /* dropout! */
635 (ptr[bufptr] & 0xf),
644 comedi_buf_put(s->async, ptr[bufptr++] >> 4); /* get one sample */
681 unsigned int top1, top2, i, bufptr; local
723 bufptr = devpriv->last_top_dma;
726 if ((dmabuf[bufptr] & 0xf) != devpriv->act_chanlist[devpriv->act_chanlist_pos]) { /* dropout! */
729 (dmabuf[bufptr] & 0xf),
739 comedi_buf_put(s->async, dmabuf[bufptr
[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 Dpcl818.c601 int i, len, bufptr; local
629 bufptr = 0;
632 if ((ptr[bufptr] & 0xf) != devpriv->act_chanlist[devpriv->act_chanlist_pos]) { /* dropout! */
635 (ptr[bufptr] & 0xf),
644 comedi_buf_put(s->async, ptr[bufptr++] >> 4); /* get one sample */
681 unsigned int top1, top2, i, bufptr; local
723 bufptr = devpriv->last_top_dma;
726 if ((dmabuf[bufptr] & 0xf) != devpriv->act_chanlist[devpriv->act_chanlist_pos]) { /* dropout! */
729 (dmabuf[bufptr] & 0xf),
739 comedi_buf_put(s->async, dmabuf[bufptr
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/udlfb/
H A Dudlfb.c900 char *bufptr; local
906 bufptr = (char *) urb->transfer_buffer;
910 bufptr = dlfb_vidreg_lock(bufptr);
913 bufptr = dlfb_enable_hvsync(bufptr, false);
916 bufptr = dlfb_enable_hvsync(bufptr, true);
918 bufptr = dlfb_vidreg_unlock(bufptr);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/udlfb/
H A Dudlfb.c900 char *bufptr; local
906 bufptr = (char *) urb->transfer_buffer;
910 bufptr = dlfb_vidreg_lock(bufptr);
913 bufptr = dlfb_enable_hvsync(bufptr, false);
916 bufptr = dlfb_enable_hvsync(bufptr, true);
918 bufptr = dlfb_vidreg_unlock(bufptr);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/debug/
H A Dgdbstub.c189 char *bufptr; local
201 bufptr = gdbmsgbuf + 1;
211 bufptr = pack_hex_byte(bufptr, s[i]);
212 *bufptr = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/debug/
H A Dgdbstub.c189 char *bufptr; local
201 bufptr = gdbmsgbuf + 1;
211 bufptr = pack_hex_byte(bufptr, s[i]);
212 *bufptr = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/cfe/cfe/ui/
H A Dui_flash.c115 void ui_get_flash_buf(uint8_t **bufptr, int *bufsize);
261 * ui_get_flashbuf(bufptr, bufsize)
266 * bufptr - address to return buffer location
271 void ui_get_flash_buf(uint8_t **bufptr, int *bufsize) argument
286 *bufptr = (uint8_t *) KERNADDR(FLASH_STAGING_BUFFER);
295 *bufptr = (uint8_t *) KERNADDR(FLASH_STAGING_BUFFER);
298 *bufptr = (uint8_t *) KERNADDR(mem_topofmem);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/libiberty/
H A Dpex-win32.c557 char *bufptr; local
569 bufptr = env_block;
571 bufptr = stpcpy (bufptr, env_copy[var]) + 1;
573 *bufptr = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/
H A Dcmdutils.c642 int read_file(const char *filename, char **bufptr, size_t *size) argument
653 *bufptr = av_malloc(*size + 1);
654 if (!*bufptr) {
659 fread(*bufptr, 1, *size, f);
660 (*bufptr)[*size++] = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/
H A Dcmdutils.c642 int read_file(const char *filename, char **bufptr, size_t *size) argument
653 *bufptr = av_malloc(*size + 1);
654 if (!*bufptr) {
659 fread(*bufptr, 1, *size, f);
660 (*bufptr)[*size++] = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/libiberty/
H A Dpex-win32.c557 char *bufptr; local
569 bufptr = env_block;
571 bufptr = stpcpy (bufptr, env_copy[var]) + 1;
573 *bufptr = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/
H A Dcmdutils.c642 int read_file(const char *filename, char **bufptr, size_t *size) argument
653 *bufptr = av_malloc(*size + 1);
654 if (!*bufptr) {
659 fread(*bufptr, 1, *size, f);
660 (*bufptr)[*size++] = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/libiberty/
H A Dpex-win32.c557 char *bufptr; local
569 bufptr = env_block;
571 bufptr = stpcpy (bufptr, env_copy[var]) + 1;
573 *bufptr = '\0';
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/core/
H A Dpcm_compat.c320 compat_caddr_t __user *bufptr; local
335 bufptr = compat_ptr(buf);
341 if (get_user(ptr, bufptr)) {
346 bufptr++;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/core/
H A Dpcm_compat.c320 compat_caddr_t __user *bufptr; local
335 bufptr = compat_ptr(buf);
341 if (get_user(ptr, bufptr)) {
346 bufptr++;

Completed in 264 milliseconds

12345