Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/arch/x86/lib/
H A Dcmdline.c127 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()
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dcmdline.c34 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()
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dcmdline.c34 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()
/kernel/linux/linux-6.6/arch/x86/lib/
H A Dcmdline.c129 char *bufptr = buffer; in __cmdline_find_option() local
166 bufptr = buffer; in __cmdline_find_option()
194 *bufptr++ = c; in __cmdline_find_option()
201 *bufptr = '\0'; in __cmdline_find_option()
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dwrapper.c95 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()
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dwrapper.c93 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
99 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG); in hfsplus_read_mdb()
104 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB)); in hfsplus_read_mdb()
110 be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE)); in hfsplus_read_mdb()
116 be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); in hfsplus_read_mdb()
118 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
H A Datomisp-libmsrlisthelper.c50 static int set_msr_configuration(struct i2c_client *client, uint8_t *bufptr, in set_msr_configuration() argument
62 u8 *ptr = bufptr; in set_msr_configuration()
64 while (ptr < bufptr + size) { in set_msr_configuration()
77 if (ptr > bufptr + size) in set_msr_configuration()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/
H A Datomisp-libmsrlisthelper.c50 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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dpixcir_i2c_ts.c98 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()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dpixcir_i2c_ts.c98 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()
/kernel/linux/linux-5.10/drivers/block/paride/
H A Dpg.c219 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()
H A Dpt.c226 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, in pt_write()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c185 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c185 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()
/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_memory.c117 char **bufptr = ptr; in seq_copy_in_kernel() local
119 memcpy(*bufptr, src, size); in seq_copy_in_kernel()
120 *bufptr += size; in seq_copy_in_kernel()
126 char __user **bufptr = ptr; in seq_copy_in_user() local
128 if (copy_to_user(*bufptr, src, size)) in seq_copy_in_user()
130 *bufptr += size; in seq_copy_in_user()
/kernel/linux/linux-6.6/sound/core/seq/
H A Dseq_memory.c140 char **bufptr = ptr; in seq_copy_in_kernel() local
142 memcpy(*bufptr, src, size); in seq_copy_in_kernel()
143 *bufptr += size; in seq_copy_in_kernel()
149 char __user **bufptr = ptr; in seq_copy_in_user() local
151 if (copy_to_user(*bufptr, src, size)) in seq_copy_in_user()
153 *bufptr += size; in seq_copy_in_user()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos_sq.c40 dma_addr_t bufptr; in otx2_qos_sq_aura_pool_init() local
85 err = otx2_alloc_rbuf(pfvf, pool, &bufptr); in otx2_qos_sq_aura_pool_init()
88 pfvf->hw_ops->aura_freeptr(pfvf, pool_id, bufptr); in otx2_qos_sq_aura_pool_init()
89 sq->sqb_ptrs[sq->sqb_count++] = (u64)bufptr; in otx2_qos_sq_aura_pool_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
H A Dsis900.c159 u32 bufptr; member
1139 sis_priv->tx_ring[i].bufptr = 0; in sis900_init_tx_ring()
1174 sis_priv->rx_ring[i].bufptr = 0; in sis900_init_rx_ring()
1190 sis_priv->rx_ring[i].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_init_rx_ring()
1195 sis_priv->rx_ring[i].bufptr))) { in sis900_init_rx_ring()
1567 sis_priv->tx_ring[i].bufptr, in sis900_tx_timeout()
1572 sis_priv->tx_ring[i].bufptr = 0; in sis900_tx_timeout()
1617 sis_priv->tx_ring[entry].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_start_xmit()
1621 sis_priv->tx_ring[entry].bufptr))) { in sis900_start_xmit()
1785 sis_priv->rx_ring[entry].bufptr, in sis900_rx()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sis/
H A Dsis900.c159 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()
1197 sis_priv->rx_ring[i].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_init_rx_ring()
1202 sis_priv->rx_ring[i].bufptr))) { 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()
1624 sis_priv->tx_ring[entry].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_start_xmit()
1628 sis_priv->tx_ring[entry].bufptr))) { in sis900_start_xmit()
1792 sis_priv->rx_ring[entry].bufptr, in sis900_rx()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c890 s64 bufptr; in otx2_pool_refill_task() local
900 bufptr = otx2_alloc_rbuf(pfvf, rbpool); in otx2_pool_refill_task()
901 if (bufptr <= 0) { in otx2_pool_refill_task()
916 otx2_aura_freeptr(pfvf, qidx, bufptr + OTX2_HEAD_ROOM); in otx2_pool_refill_task()
1216 s64 bufptr; in otx2_sq_aura_pool_init() local
1261 bufptr = otx2_alloc_rbuf(pfvf, pool); in otx2_sq_aura_pool_init()
1262 if (bufptr <= 0) in otx2_sq_aura_pool_init()
1263 return bufptr; in otx2_sq_aura_pool_init()
1264 otx2_aura_freeptr(pfvf, pool_id, bufptr); in otx2_sq_aura_pool_init()
1265 sq->sqb_ptrs[sq->sqb_count++] = (u64)bufptr; in otx2_sq_aura_pool_init()
1282 s64 bufptr; otx2_rq_aura_pool_init() local
[all...]
/kernel/linux/linux-5.10/kernel/debug/
H A Dgdbstub.c200 char *bufptr; in gdbstub_msg_write() local
212 bufptr = gdbmsgbuf + 1; in gdbstub_msg_write()
222 bufptr = hex_byte_pack(bufptr, s[i]); in gdbstub_msg_write()
223 *bufptr = '\0'; in gdbstub_msg_write()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dpcl816.c227 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf()
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()
224 transfer_from_dma_buf(struct comedi_device *dev, struct comedi_subdevice *s, unsigned short *ptr, unsigned int bufptr, unsigned int len) transfer_from_dma_buf() argument
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dpcl816.c225 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf()
231 val = ptr[bufptr++]; in transfer_from_dma_buf()
247 unsigned int bufptr; in pcl816_interrupt() local
262 bufptr = devpriv->ai_poll_ptr; in pcl816_interrupt()
269 transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples); in pcl816_interrupt()
222 transfer_from_dma_buf(struct comedi_device *dev, struct comedi_subdevice *s, unsigned short *ptr, unsigned int bufptr, unsigned int len) transfer_from_dma_buf() argument
/kernel/linux/linux-6.6/kernel/debug/
H A Dgdbstub.c197 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()
/kernel/linux/linux-5.10/sound/pci/nm256/
H A Dnm256.c182 void __iomem *bufptr; /* mapped pointer */ member
691 memset_io(s->bufptr + pos, 0, count); in snd_nm256_playback_silence()
703 if (copy_from_user_toio(s->bufptr + pos, src, count)) in snd_nm256_playback_copy()
716 memcpy_toio(s->bufptr + pos, src, count); in snd_nm256_playback_copy_kernel()
731 if (copy_to_user_fromio(dst, s->bufptr + pos, count)) in snd_nm256_capture_copy()
744 memcpy_fromio(dst, s->bufptr + pos, count); in snd_nm256_capture_copy_kernel()
849 runtime->dma_area = (void __force *) s->bufptr; in snd_nm256_setup_stream()
945 s->bufptr = chip->buffer + (s->buf - chip->buffer_start); in snd_nm256_pcm()

Completed in 23 milliseconds

123