Home
last modified time | relevance | path

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

123

/linux/security/integrity/ima/
A 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
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()
91 seq_printf(m, "%s", buf_ptr); in ima_show_template_data_ascii()
[all …]
/linux/drivers/usb/host/
A Dfhci-tds.c67 __be32 buf_ptr; member
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()
477 in_be32(&td->buf_ptr); in fhci_flush_bds()
499 out_be32(&td->buf_ptr, 0); in fhci_flush_bds()
505 out_be32(&td->buf_ptr, 0); in fhci_flush_bds()
526 u32 buf_ptr; in fhci_flush_actual_frame() local
537 buf_ptr = in_be32(&td->buf_ptr); in fhci_flush_actual_frame()
543 out_be32(&td->buf_ptr, 0); in fhci_flush_actual_frame()
[all …]
/linux/arch/mips/cavium-octeon/executive/
A 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()
295 config.s.buf_ptr = 0; in cvmx_pko_shutdown()
423 uint64_t *buf_ptr = NULL; in cvmx_pko_config_port() local
518 buf_ptr = in cvmx_pko_config_port()
522 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); in cvmx_pko_config_port()
524 config.s.buf_ptr = 0; in cvmx_pko_config_port()
/linux/drivers/media/usb/pvrusb2/
A 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/drivers/hwtracing/coresight/
A 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()
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
542 *(u32 *)buf_ptr = read_data; in etb_update_buffer()
[all …]
A 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/drivers/rtc/
A 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/drivers/usb/serial/
A Diuu_phoenix.c185 *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()
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()
607 *buf_ptr++ = IUU_UART_ESC; in iuu_bulk_write()
608 *buf_ptr++ = IUU_UART_TX; in iuu_bulk_write()
609 *buf_ptr++ = priv->writelen; in iuu_bulk_write()
[all …]
/linux/drivers/crypto/cavium/cpt/
A 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/drivers/scsi/bfa/
A 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/arch/mips/fw/cfe/
A 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()
/linux/drivers/media/i2c/
A 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/samples/bpf/
A 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/drivers/net/ethernet/sfc/falcon/
A Dselftest.h44 void ef4_loopback_rx_packet(struct ef4_nic *efx, const char *buf_ptr,
A 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/drivers/net/ethernet/sfc/
A Dselftest.h44 void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
A 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/arch/mips/include/asm/octeon/
A 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/drivers/tee/optee/
A Dsmc_abi.c71 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in from_msg_param_tmp_mem()
160 mp->u.tmem.buf_ptr = 0; in to_msg_param_tmp_mem()
168 mp->u.tmem.buf_ptr = pa; in to_msg_param_tmp_mem()
429 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
655 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
665 arg->params[0].u.tmem.buf_ptr = pa; in handle_rpc_func_cmd_shm_alloc()
/linux/drivers/net/ethernet/marvell/
A 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
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()
1090 if (!IS_TSO_HEADER(txq, desc->buf_ptr)) { in txq_reclaim()
1094 desc->buf_ptr, in txq_reclaim()
[all …]
/linux/include/uapi/linux/
A Dfsverity.h94 __u64 buf_ptr; member
/linux/drivers/net/ethernet/ti/
A 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 …]
/linux/drivers/media/usb/cx231xx/
A 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/include/linux/dma/
A 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/drivers/atm/
A Dhorizon.c711 u16 buf_ptr = RX_CHANNEL_IDLE; in hrz_open_rx() local
729 buf_ptr = dev->spare_buffers[--dev->noof_spare_buffers]; in hrz_open_rx()
730 PRINTD (DBG_VCC, "using a spare buffer: %u", buf_ptr); in hrz_open_rx()
732 if (buf_ptr == RX_CHANNEL_DISABLED || buf_ptr == RX_CHANNEL_IDLE) { in hrz_open_rx()
735 buf_ptr = RX_CHANNEL_IDLE; in hrz_open_rx()
747 buf_ptr | CHANNEL_TYPE_AAL5 | FIRST_CELL_OF_AAL5_FRAME); in hrz_open_rx()
748 if (buf_ptr != RX_CHANNEL_IDLE) in hrz_open_rx()
749 wr_mem (dev, &rx_desc->rd_buf_type, buf_ptr); in hrz_open_rx()

Completed in 61 milliseconds

123