Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v5.15/security/integrity/ima/
Dima_template_lib.c36 u8 *buf, *buf_ptr; in ima_write_template_field_data() local
56 for (buf_ptr = buf; buf_ptr - buf < datalen; buf_ptr++) in ima_write_template_field_data()
57 if (*buf_ptr == ' ') in ima_write_template_field_data()
58 *buf_ptr = '_'; in ima_write_template_field_data()
71 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii() local
76 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
77 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
81 buf_ptr += 2; in ima_show_template_data_ascii()
82 buflen -= buf_ptr - field_data->data; in ima_show_template_data_ascii()
88 ima_print_digest(m, buf_ptr, buflen); in ima_show_template_data_ascii()
[all …]
/Linux-v5.15/drivers/usb/host/
Dfhci-tds.c67 __be32 buf_ptr; member
87 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd()
213 out_be32(&td->buf_ptr, 0); in fhci_create_ep()
296 buf = in_be32(&td->buf_ptr); in fhci_td_transaction_confirm()
309 out_be32(&td->buf_ptr, 0); in fhci_td_transaction_confirm()
405 out_be32(&td->buf_ptr, virt_to_phys(pkt->data)); in fhci_host_transaction()
477 in_be32(&td->buf_ptr); in fhci_flush_bds()
484 else if (in_be32(&td->buf_ptr) == DUMMY_BD_BUFFER) in fhci_flush_bds()
485 out_be32(&td->buf_ptr, DUMMY2_BD_BUFFER); in fhci_flush_bds()
499 out_be32(&td->buf_ptr, 0); in fhci_flush_bds()
[all …]
/Linux-v5.15/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.h16 char *buf_ptr, unsigned int buf_size);
22 char *buf_ptr,unsigned int buf_size);
26 const char *buf_ptr,unsigned int buf_size);
/Linux-v5.15/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c79 uint64_t *buf_ptr; in __cvmx_pko_iport_config() local
103 buf_ptr = (uint64_t *)cvmx_cmd_queue_buffer( in __cvmx_pko_iport_config()
105 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr) >> 7; in __cvmx_pko_iport_config()
309 config.s.buf_ptr = 0; in cvmx_pko_shutdown()
437 uint64_t *buf_ptr = NULL; in cvmx_pko_config_port() local
532 buf_ptr = in cvmx_pko_config_port()
536 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); in cvmx_pko_config_port()
538 config.s.buf_ptr = 0; in cvmx_pko_config_port()
/Linux-v5.15/drivers/rtc/
Dsysfs.c159 const char *buf_ptr; in wakealarm_store() local
170 buf_ptr = buf; in wakealarm_store()
171 if (*buf_ptr == '+') { in wakealarm_store()
172 buf_ptr++; in wakealarm_store()
173 if (*buf_ptr == '=') { in wakealarm_store()
174 buf_ptr++; in wakealarm_store()
180 retval = kstrtos64(buf_ptr, 0, &alarm); in wakealarm_store()
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-etb10.c287 u8 *buf_ptr; in etb_dump_hw() local
318 buf_ptr = drvdata->buf; in etb_dump_hw()
322 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
323 buf_ptr += 4; in etb_dump_hw()
330 buf_ptr -= (frame_endoff * 4); in etb_dump_hw()
332 *buf_ptr++ = 0x0; in etb_dump_hw()
333 *buf_ptr++ = 0x0; in etb_dump_hw()
334 *buf_ptr++ = 0x0; in etb_dump_hw()
335 *buf_ptr++ = 0x0; in etb_dump_hw()
433 u8 *buf_ptr; in etb_update_buffer() local
[all …]
Dcoresight-tmc-etf.c451 u32 *buf_ptr; in tmc_update_etf_buffer() local
530 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
531 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
534 *buf_ptr = *barrier; in tmc_update_etf_buffer()
/Linux-v5.15/drivers/usb/serial/
Diuu_phoenix.c181 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() local
185 *buf_ptr++ = IUU_RST_SET; in iuu_reset()
186 *buf_ptr++ = IUU_DELAY_MS; in iuu_reset()
187 *buf_ptr++ = wt; in iuu_reset()
188 *buf_ptr = IUU_RST_CLEAR; in iuu_reset()
350 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() local
353 buf_ptr[0] = IUU_SET_LED; in iuu_led_activity_on()
354 get_random_bytes(buf_ptr + 1, 6); in iuu_led_activity_on()
355 buf_ptr[7] = 1; in iuu_led_activity_on()
357 iuu_rgbf_fill_buffer(buf_ptr, 255, 255, 0, 0, 0, 0, 255); in iuu_led_activity_on()
[all …]
/Linux-v5.15/drivers/crypto/cavium/cpt/
Drequest_manager.h52 struct buf_ptr { struct
67 struct buf_ptr in[MAX_BUF_CNT]; argument
68 struct buf_ptr out[MAX_BUF_CNT];
/Linux-v5.15/drivers/scsi/bfa/
Dbfad_bsg.h242 u64 buf_ptr; member
286 u64 buf_ptr; member
400 u64 buf_ptr; member
521 u64 buf_ptr; member
530 u64 buf_ptr; member
561 u64 buf_ptr; member
665 u64 buf_ptr; member
674 u64 buf_ptr; member
/Linux-v5.15/arch/mips/fw/cfe/
Dcfe_api.c191 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
316 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
336 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
361 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
406 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
Dcfe_api_int.h47 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/
Dselftest.h44 void ef4_loopback_rx_packet(struct ef4_nic *efx, const char *buf_ptr,
Dselftest.c284 const char *buf_ptr, int pkt_len) in ef4_loopback_rx_packet() argument
290 BUG_ON(!buf_ptr); in ef4_loopback_rx_packet()
298 received = (struct ef4_loopback_payload *) buf_ptr; in ef4_loopback_rx_packet()
365 buf_ptr, pkt_len, 0); in ef4_loopback_rx_packet()
/Linux-v5.15/drivers/net/ethernet/sfc/
Dselftest.h44 void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
Dselftest.c282 const char *buf_ptr, int pkt_len) in efx_loopback_rx_packet() argument
288 BUG_ON(!buf_ptr); in efx_loopback_rx_packet()
296 received = (struct efx_loopback_payload *) buf_ptr; in efx_loopback_rx_packet()
363 buf_ptr, pkt_len, 0); in efx_loopback_rx_packet()
/Linux-v5.15/drivers/media/i2c/
Dsaa6588.c172 unsigned char __user *buf_ptr = a->buffer; in read_from_buf() local
208 if (copy_to_user(buf_ptr, buf, 3)) { in read_from_buf()
212 buf_ptr += 3; in read_from_buf()
/Linux-v5.15/samples/bpf/
Dxdp_router_ipv4_user.c96 char *buf_ptr; in recv_msg() local
98 buf_ptr = buf; in recv_msg()
100 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()
104 nh = (struct nlmsghdr *)buf_ptr; in recv_msg()
108 buf_ptr += len; in recv_msg()
/Linux-v5.15/include/uapi/linux/
Dfsverity.h94 __u64 buf_ptr; member
/Linux-v5.15/drivers/tee/optee/
Doptee_msg.h113 u64 buf_ptr; member
/Linux-v5.15/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h731 uint64_t buf_ptr:33; member
737 uint64_t buf_ptr:33;
748 uint64_t buf_ptr:33; member
754 uint64_t buf_ptr:33;
782 uint64_t buf_ptr:33; member
788 uint64_t buf_ptr:33;
1018 uint64_t buf_ptr:31; member
1030 uint64_t buf_ptr:31;
1172 uint64_t buf_ptr:36; member
1182 uint64_t buf_ptr:36;
/Linux-v5.15/drivers/net/ethernet/marvell/
Dmv643xx_eth.c194 u32 buf_ptr; /* Descriptor buffer pointer */ member
202 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
209 u32 buf_ptr; /* Descriptor buffer pointer */ member
217 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
532 dma_unmap_single(mp->dev->dev.parent, rx_desc->buf_ptr, in rxq_process()
629 rx_desc->buf_ptr = dma_map_single(mp->dev->dev.parent, in rxq_refill()
747 desc->buf_ptr = txq->tso_hdrs_dma in txq_put_data_tso()
752 desc->buf_ptr = dma_map_single(dev->dev.parent, data, in txq_put_data_tso()
755 desc->buf_ptr))) { in txq_put_data_tso()
799 desc->buf_ptr = txq->tso_hdrs_dma + in txq_put_hdr_tso()
[all …]
/Linux-v5.15/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c82 u8 *buf_ptr = NULL; in cx231xx_i2c_send_bytes() local
134 buf_ptr = (u8 *) (msg->buf + 1); in cx231xx_i2c_send_bytes()
143 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()
/Linux-v5.15/include/linux/dma/
Dti-cppi5.h46 u64 buf_ptr; member
482 desc->buf_ptr = buf; in cppi5_hdesc_attach_buf()
497 desc->buf_ptr = desc->org_buf_ptr; in cppi5_hdesc_reset_to_original()
/Linux-v5.15/drivers/net/ethernet/ti/
Dnetcp_core.c584 void *buf_ptr; in netcp_free_rx_desc_chain() local
599 buf_ptr = (void *)GET_SW_DATA0(ndesc); in netcp_free_rx_desc_chain()
602 __free_page(buf_ptr); in netcp_free_rx_desc_chain()
608 buf_ptr = (void *)GET_SW_DATA0(desc); in netcp_free_rx_desc_chain()
611 if (buf_ptr) in netcp_free_rx_desc_chain()
612 netcp_frag_free(buf_len <= PAGE_SIZE, buf_ptr); in netcp_free_rx_desc_chain()
794 void *buf_ptr; in netcp_free_rx_buf() local
808 buf_ptr = (void *)GET_SW_DATA0(desc); in netcp_free_rx_buf()
816 if (unlikely(!buf_ptr)) { in netcp_free_rx_buf()
825 netcp_frag_free((buf_len <= PAGE_SIZE), buf_ptr); in netcp_free_rx_buf()
[all …]

123