/linux/arch/x86/boot/ |
A D | cmdline.c | 34 char *bufptr = buffer; in __cmdline_find_option() local 62 bufptr = buffer; in __cmdline_find_option() 81 *bufptr++ = c; in __cmdline_find_option() 89 *bufptr = '\0'; in __cmdline_find_option()
|
/linux/arch/x86/lib/ |
A D | cmdline.c | 127 char *bufptr = buffer; in __cmdline_find_option() local 164 bufptr = buffer; in __cmdline_find_option() 192 *bufptr++ = c; in __cmdline_find_option() 199 *bufptr = '\0'; in __cmdline_find_option()
|
/linux/fs/hfsplus/ |
A D | wrapper.c | 95 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument 101 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG); in hfsplus_read_mdb() 106 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB)); in hfsplus_read_mdb() 112 be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE)); in hfsplus_read_mdb() 118 be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); in hfsplus_read_mdb() 120 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
|
/linux/drivers/staging/media/atomisp/i2c/ |
A D | atomisp-libmsrlisthelper.c | 50 static int set_msr_configuration(struct i2c_client *client, uint8_t *bufptr, in set_msr_configuration() argument 64 u8 *ptr = bufptr; in set_msr_configuration() 66 while (ptr < bufptr + size) { in set_msr_configuration() 79 if (ptr > bufptr + size) in set_msr_configuration()
|
/linux/drivers/input/touchscreen/ |
A D | pixcir_i2c_ts.c | 98 u8 *bufptr; in pixcir_ts_parse() local 132 bufptr = &rdbuf[2]; in pixcir_ts_parse() 136 get_unaligned_le16(bufptr), in pixcir_ts_parse() 137 get_unaligned_le16(bufptr + 2)); in pixcir_ts_parse() 139 report->ids[i] = bufptr[4]; in pixcir_ts_parse() 140 bufptr = bufptr + 5; in pixcir_ts_parse() 142 bufptr = bufptr + 4; in pixcir_ts_parse()
|
/linux/drivers/block/paride/ |
A D | pg.c | 219 char *bufptr; member 255 dev->bufptr = NULL; in pg_init_units() 550 dev->bufptr = kmalloc(PG_MAX_DATA, GFP_KERNEL); in pg_open() 551 if (dev->bufptr == NULL) { in pg_open() 569 kfree(dev->bufptr); in pg_release() 570 dev->bufptr = NULL; in pg_release() 619 if (copy_from_user(dev->bufptr, buf + hs, count - hs)) in pg_write() 638 if (pg_completion(dev, dev->bufptr, dev->timeout)) in pg_read() 660 if (copy_to_user(buf + hs, dev->bufptr, copy)) in pg_read()
|
A D | pt.c | 226 char *bufptr; member 623 tape->bufptr = NULL; in pt_detect() 689 tape->bufptr = kmalloc(PT_BUFSIZE, GFP_KERNEL); in pt_open() 690 if (tape->bufptr == NULL) { in pt_open() 756 kfree(tape->bufptr); in pt_release() 757 tape->bufptr = NULL; in pt_release() 839 pi_read_block(pi, tape->bufptr, k); in pt_read() 844 if (copy_to_user(buf + t, tape->bufptr, b)) { in pt_read() 943 if (copy_from_user(tape->bufptr, buf + t, b)) { in pt_write() 947 pi_write_block(pi, tape->bufptr, k); in pt_write()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | manage.c | 185 u8 *bufptr = buffer; in e1000_mng_host_if_write() local 201 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write() 220 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write() 229 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
|
/linux/sound/core/seq/ |
A D | seq_memory.c | 116 static int seq_copy_in_kernel(char **bufptr, const void *src, int size) in seq_copy_in_kernel() argument 118 memcpy(*bufptr, src, size); in seq_copy_in_kernel() 119 *bufptr += size; in seq_copy_in_kernel() 123 static int seq_copy_in_user(char __user **bufptr, const void *src, int size) in seq_copy_in_user() argument 125 if (copy_to_user(*bufptr, src, size)) in seq_copy_in_user() 127 *bufptr += size; in seq_copy_in_user()
|
/linux/drivers/net/ethernet/sis/ |
A D | sis900.c | 159 u32 bufptr; member 1146 sis_priv->tx_ring[i].bufptr = 0; in sis900_init_tx_ring() 1181 sis_priv->rx_ring[i].bufptr = 0; in sis900_init_rx_ring() 1574 sis_priv->tx_ring[i].bufptr, in sis900_tx_timeout() 1579 sis_priv->tx_ring[i].bufptr = 0; in sis900_tx_timeout() 1792 sis_priv->rx_ring[entry].bufptr, in sis900_rx() 1838 sis_priv->rx_ring[entry].bufptr = in sis900_rx() 1873 sis_priv->rx_ring[entry].bufptr = in sis900_rx() 1948 sis_priv->tx_ring[entry].bufptr = 0; in sis900_finish_xmit() 1995 sis_priv->rx_ring[i].bufptr, in sis900_close() [all …]
|
/linux/drivers/comedi/drivers/ |
A D | pcl816.c | 227 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument 233 val = ptr[bufptr++]; in transfer_from_dma_buf() 249 unsigned int bufptr; in pcl816_interrupt() local 264 bufptr = devpriv->ai_poll_ptr; in pcl816_interrupt() 271 transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples); in pcl816_interrupt()
|
A D | pcl812.c | 801 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument 807 val = ptr[bufptr++]; in transfer_from_dma_buf() 822 int bufptr; in pcl812_handle_dma() local 826 bufptr = devpriv->ai_poll_ptr; in pcl812_handle_dma() 833 transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples); in pcl812_handle_dma()
|
/linux/drivers/video/fbdev/ |
A D | udlfb.c | 1153 char *bufptr; in dlfb_ops_blank() local 1170 bufptr = (char *) urb->transfer_buffer; in dlfb_ops_blank() 1171 bufptr = dlfb_vidreg_lock(bufptr); in dlfb_ops_blank() 1172 bufptr = dlfb_blanking(bufptr, blank_mode); in dlfb_ops_blank() 1173 bufptr = dlfb_vidreg_unlock(bufptr); in dlfb_ops_blank() 1176 bufptr = dlfb_dummy_render(bufptr); in dlfb_ops_blank() 1178 dlfb_submit_urb(dlfb, urb, bufptr - in dlfb_ops_blank()
|
/linux/kernel/debug/ |
A D | gdbstub.c | 197 char *bufptr; in gdbstub_msg_write() local 209 bufptr = gdbmsgbuf + 1; in gdbstub_msg_write() 219 bufptr = hex_byte_pack(bufptr, s[i]); in gdbstub_msg_write() 220 *bufptr = '\0'; in gdbstub_msg_write()
|
/linux/sound/pci/nm256/ |
A D | nm256.c | 180 void __iomem *bufptr; /* mapped pointer */ member 687 memset_io(s->bufptr + pos, 0, count); in snd_nm256_playback_silence() 699 if (copy_from_user_toio(s->bufptr + pos, src, count)) in snd_nm256_playback_copy() 712 memcpy_toio(s->bufptr + pos, src, count); in snd_nm256_playback_copy_kernel() 727 if (copy_to_user_fromio(dst, s->bufptr + pos, count)) in snd_nm256_capture_copy() 740 memcpy_fromio(dst, s->bufptr + pos, count); in snd_nm256_capture_copy_kernel() 845 runtime->dma_area = (void __force *) s->bufptr; in snd_nm256_setup_stream() 941 s->bufptr = chip->buffer + (s->buf - chip->buffer_start); in snd_nm256_pcm()
|
/linux/drivers/net/hamradio/ |
A D | baycom_epp.c | 177 unsigned char *bufptr; member 187 unsigned char *bufptr; member 412 bc->hdlctx.bufptr = bc->hdlctx.buf; in encode_hdlc() 479 if (i != pp->ops->epp_write_data(pp, bc->hdlctx.bufptr, i, 0)) in transmit() 481 bc->hdlctx.bufptr += i; in transmit() 594 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive() 610 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_common.c | 956 dma_addr_t bufptr; in otx2_pool_refill_task() local 966 if (otx2_alloc_rbuf(pfvf, rbpool, &bufptr)) { in otx2_pool_refill_task() 981 pfvf->hw_ops->aura_freeptr(pfvf, qidx, bufptr + OTX2_HEAD_ROOM); in otx2_pool_refill_task() 1283 dma_addr_t bufptr; in otx2_sq_aura_pool_init() local 1329 if (otx2_alloc_rbuf(pfvf, pool, &bufptr)) in otx2_sq_aura_pool_init() 1331 pfvf->hw_ops->aura_freeptr(pfvf, pool_id, bufptr); in otx2_sq_aura_pool_init() 1332 sq->sqb_ptrs[sq->sqb_count++] = (u64)bufptr; in otx2_sq_aura_pool_init() 1349 dma_addr_t bufptr; in otx2_rq_aura_pool_init() local 1379 if (otx2_alloc_rbuf(pfvf, pool, &bufptr)) in otx2_rq_aura_pool_init() 1382 bufptr + OTX2_HEAD_ROOM); in otx2_rq_aura_pool_init()
|
A D | cn10k.c | 116 dma_addr_t bufptr; in cn10k_refill_pool_ptrs() local 120 if (otx2_alloc_buffer(pfvf, cq, &bufptr)) { in cn10k_refill_pool_ptrs() 127 ptrs[num_ptrs] = (u64)bufptr + OTX2_HEAD_ROOM; in cn10k_refill_pool_ptrs()
|
A D | otx2_txrx.c | 422 dma_addr_t bufptr; in otx2_refill_pool_ptrs() local 425 if (otx2_alloc_buffer(pfvf, cq, &bufptr)) in otx2_refill_pool_ptrs() 427 otx2_aura_freeptr(pfvf, cq->cq_idx, bufptr + OTX2_HEAD_ROOM); in otx2_refill_pool_ptrs()
|
/linux/sound/core/ |
A D | pcm_compat.c | 335 compat_caddr_t __user *bufptr; in snd_pcm_ioctl_xfern_compat() local 353 bufptr = compat_ptr(buf); in snd_pcm_ioctl_xfern_compat() 359 if (get_user(ptr, bufptr)) { in snd_pcm_ioctl_xfern_compat() 364 bufptr++; in snd_pcm_ioctl_xfern_compat()
|
/linux/drivers/scsi/ |
A D | scsi_logging.c | 24 static void scsi_log_release_buffer(char *bufptr) in scsi_log_release_buffer() argument 26 kfree(bufptr); in scsi_log_release_buffer()
|
A D | initio.c | 1096 scb->bufptr = scb->senseptr; in tulip_main() 1572 scb->bufptr += ((u32) (i - scb->sgidx) << 3); in initio_state_5() 1584 scb->bufptr += (u32) xcnt; in initio_state_5() 1683 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_in() 1687 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_in() 1715 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_out() 1719 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_out() 2579 cblk->bufptr = (u32)dma_addr; in initio_build_scb()
|
A D | initio.h | 371 u32 bufptr; /*28 Data Buffer Pointer */ member
|
/linux/drivers/usb/gadget/udc/ |
A D | amd5536udc.h | 470 u32 bufptr; member
|
/linux/drivers/net/ethernet/ti/ |
A D | netcp_core.c | 859 void *bufptr; in netcp_allocate_rx_buf() local 876 bufptr = netdev_alloc_frag(primary_buf_len); in netcp_allocate_rx_buf() 879 if (unlikely(!bufptr)) { in netcp_allocate_rx_buf() 884 dma = dma_map_single(netcp->dev, bufptr, buf_len, in netcp_allocate_rx_buf() 892 sw_data[0] = (u32)bufptr; in netcp_allocate_rx_buf()
|