Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 - 25 of 118) sorted by relevance

12345

/kernel/linux/linux-6.6/security/integrity/ima/
H A Dima_template_lib.c49 u8 *buf, *buf_ptr; in ima_write_template_field_data() local
69 for (buf_ptr = buf; buf_ptr - buf < datalen; buf_ptr++) in ima_write_template_field_data()
70 if (*buf_ptr == ' ') in ima_write_template_field_data()
71 *buf_ptr = '_'; in ima_write_template_field_data()
84 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii() local
90 buf_ptr = strrchr(field_data->data, ':'); in ima_show_template_data_ascii()
91 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
95 buf_ptr in ima_show_template_data_ascii()
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A 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, in fhci_flush_bds()
526 u32 buf_ptr; fhci_flush_actual_frame() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A 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, in fhci_flush_bds()
526 u32 buf_ptr; fhci_flush_actual_frame() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
H 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);
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
H 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);
/kernel/linux/linux-5.10/security/integrity/ima/
H A Dima_template_lib.c33 u8 *buf, *buf_ptr; in ima_write_template_field_data() local
53 for (buf_ptr = buf; buf_ptr - buf < datalen; buf_ptr++) in ima_write_template_field_data()
54 if (*buf_ptr == ' ') in ima_write_template_field_data()
55 *buf_ptr = '_'; in ima_write_template_field_data()
68 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii() local
73 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
74 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
78 buf_ptr in ima_show_template_data_ascii()
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-etb10.c286 u8 *buf_ptr; in etb_dump_hw() local
317 buf_ptr = drvdata->buf; in etb_dump_hw()
321 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
322 buf_ptr += 4; in etb_dump_hw()
329 buf_ptr -= (frame_endoff * 4); in etb_dump_hw()
331 *buf_ptr++ = 0x0; 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()
432 u8 *buf_ptr; in etb_update_buffer() local
[all...]
H A Dcoresight-tmc-etf.c449 u32 *buf_ptr; in tmc_update_etf_buffer() local
528 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
529 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
532 *buf_ptr = *barrier; in tmc_update_etf_buffer()
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-etb10.c288 u8 *buf_ptr; in etb_dump_hw() local
319 buf_ptr = drvdata->buf; in etb_dump_hw()
323 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
324 buf_ptr += 4; in etb_dump_hw()
331 buf_ptr -= (frame_endoff * 4); 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()
336 *buf_ptr++ = 0x0; in etb_dump_hw()
434 u8 *buf_ptr; in etb_update_buffer() local
[all...]
H A Dcoresight-tmc-etf.c475 u32 *buf_ptr; in tmc_update_etf_buffer() local
554 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
555 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
558 *buf_ptr = *barrier; in tmc_update_etf_buffer()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
H 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()
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 in cvmx_pko_config_port()
[all...]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/
H 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 in cvmx_pko_config_port()
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H 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()
/kernel/linux/linux-6.6/drivers/rtc/
H A Dsysfs.c160 const char *buf_ptr; in wakealarm_store() local
171 buf_ptr = buf; in wakealarm_store()
172 if (*buf_ptr == '+') { in wakealarm_store()
173 buf_ptr++; in wakealarm_store()
174 if (*buf_ptr == '=') { in wakealarm_store()
175 buf_ptr++; in wakealarm_store()
181 retval = kstrtos64(buf_ptr, 0, &alarm); in wakealarm_store()
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Diuu_phoenix.c183 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() local
187 *buf_ptr++ = IUU_RST_SET; in iuu_reset()
188 *buf_ptr++ = IUU_DELAY_MS; in iuu_reset()
189 *buf_ptr++ = wt; in iuu_reset()
190 *buf_ptr = IUU_RST_CLEAR; in iuu_reset()
352 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() local
355 buf_ptr[0] = IUU_SET_LED; in iuu_led_activity_on()
356 get_random_bytes(buf_ptr + 1, 6); in iuu_led_activity_on()
357 buf_ptr[7] = 1; in iuu_led_activity_on()
359 iuu_rgbf_fill_buffer(buf_ptr, 25 in iuu_led_activity_on()
373 char *buf_ptr = port->write_urb->transfer_buffer; iuu_led_activity_off() local
606 char *buf_ptr = port->write_urb->transfer_buffer; iuu_bulk_write() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A 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, 25 in iuu_led_activity_on()
371 char *buf_ptr = port->write_urb->transfer_buffer; iuu_led_activity_off() local
604 char *buf_ptr = port->write_urb->transfer_buffer; iuu_bulk_write() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
H A Drequest_manager.h52 struct buf_ptr { struct
67 struct buf_ptr in[MAX_BUF_CNT];
68 struct buf_ptr out[MAX_BUF_CNT];
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/
H A Drequest_manager.h52 struct buf_ptr { struct
67 struct buf_ptr in[MAX_BUF_CNT];
68 struct buf_ptr out[MAX_BUF_CNT];
/kernel/linux/linux-5.10/drivers/scsi/bfa/
H 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
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H 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
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
H A Dfw.c77 u8 *buf_ptr = buffer; in _rtl88e_write_fw() local
86 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), in _rtl88e_write_fw()
93 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), remain); in _rtl88e_write_fw()
/kernel/linux/linux-5.10/arch/mips/fw/cfe/
H 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()
/kernel/linux/linux-6.6/arch/mips/fw/cfe/
H A Dcfe_api.c196 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
321 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
341 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
366 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
411 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpfr_update.c446 char *buf_ptr; in pfru_write() local
462 buf_ptr = memremap(phy_addr, buf_info.buf_size, MEMREMAP_WB); in pfru_write()
463 if (!buf_ptr) in pfru_write()
466 if (!copy_from_iter_full(buf_ptr, len, &iter)) { in pfru_write()
476 if (!applicable_image(buf_ptr, &cap, pfru_dev)) in pfru_write()
480 memunmap(buf_ptr); in pfru_write()
/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_router_ipv4_user.c65 char *buf_ptr; in recv_msg() local
67 buf_ptr = buf; in recv_msg()
69 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()
73 nh = (struct nlmsghdr *)buf_ptr; in recv_msg()
77 buf_ptr += len; in recv_msg()

Completed in 21 milliseconds

12345