Home
last modified time | relevance | path

Searched refs:buf_offset (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_append.c139 int buf_offset = 0; in main() local
167 memcpy(&buf[buf_offset], datapattern, amt); in main()
168 buf_offset += amt; in main()
/freebsd/sys/arm/qualcomm/
H A Dqcom_scm_legacy_defs.h114 uint32_t buf_offset; member
143 uint32_t buf_offset; member
/freebsd/sys/dev/cfe/
H A Dcfe_api.c275 xiocb.plist.xiocb_buffer.buf_offset = 0; in cfe_getdevinfo()
425 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_ioctl()
449 xiocb.plist.xiocb_buffer.buf_offset = 0; in cfe_open()
480 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_readblk()
548 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_writeblk()
H A Dcfe_api_int.h94 cfe_xuint_t buf_offset; /* offset on device (bytes) */ member
/freebsd/sys/dev/usb/controller/
H A Dehci.c1551 uint32_t buf_offset; in ehci_setup_standard_chain_sub() local
1562 buf_offset = 0; in ehci_setup_standard_chain_sub()
1656 usbd_get_page(temp->pc, buf_offset, &buf_res); in ehci_setup_standard_chain_sub()
1665 buf_offset += EHCI_PAGE_SIZE; in ehci_setup_standard_chain_sub()
1666 usbd_get_page(temp->pc, buf_offset, &buf_res); in ehci_setup_standard_chain_sub()
1682 buf_offset += average; in ehci_setup_standard_chain_sub()
1683 usbd_get_page(temp->pc, buf_offset - 1, &buf_res); in ehci_setup_standard_chain_sub()
2440 uint32_t buf_offset; in ehci_device_isoc_fs_enter() local
2469 buf_offset = 0; in ehci_device_isoc_fs_enter()
2527 usbd_get_page(xfer->frbuffers, buf_offset, &buf_res); in ehci_device_isoc_fs_enter()
[all …]
H A Dohci.c1246 uint32_t buf_offset; in ohci_setup_standard_chain_sub() local
1253 buf_offset = 0; in ohci_setup_standard_chain_sub()
1325 usbd_get_page(temp->pc, buf_offset, &buf_res); in ohci_setup_standard_chain_sub()
1327 buf_offset += (average - 1); in ohci_setup_standard_chain_sub()
1329 usbd_get_page(temp->pc, buf_offset, &buf_res); in ohci_setup_standard_chain_sub()
1331 buf_offset++; in ohci_setup_standard_chain_sub()
1824 uint32_t buf_offset; in ohci_device_isoc_enter() local
1851 buf_offset = 0; in ohci_device_isoc_enter()
1872 buf_offset += *plen; in ohci_device_isoc_enter()
1903 usbd_get_page(xfer->frbuffers, buf_offset - length, &buf_res); in ohci_device_isoc_enter()
[all …]
H A Duhci.c132 uint32_t buf_offset; member
208 ml->buf_offset = 0; in uhci_mem_layout_init()
216 usbd_get_page(ml->buf_pc, ml->buf_offset, &ml->buf_res); in uhci_mem_layout_fixup()
250 usbd_copy_out(ml->buf_pc, ml->buf_offset, in uhci_mem_layout_fixup()
267 ml->buf_offset += td->len; in uhci_mem_layout_fixup()
1528 temp->ml.buf_offset = 0; in uhci_setup_standard_chain_sub()
/freebsd/sys/dev/ntb/test/
H A Dntb_tool.c576 ssize_t *buf_offset, ssize_t *buf_size) in tool_mw_write_fn() argument
589 *buf_offset = DEFAULT_MW_OFF; in tool_mw_write_fn()
591 rc = parse_mw_buf(ubuf, &cmd, buf_offset, buf_size, &pattern, &s_pflag); in tool_mw_write_fn()
599 if ((*buf_offset + *buf_size) > inmw->size) { in tool_mw_write_fn()
602 (*buf_offset + *buf_size)); in tool_mw_write_fn()
603 *buf_offset = DEFAULT_MW_OFF; in tool_mw_write_fn()
625 memcpy(write_buf + *buf_offset, data_buf, data_buf_size); in tool_mw_write_fn()
/freebsd/sys/dev/firewire/
H A Dfwohcivar.h58 int buf_offset; /* signed */ member
H A Dfwohci.c1457 dbch->buf_offset = 0;
2796 len -= dbch->buf_offset;
2797 ld += dbch->buf_offset;
2809 offset = dbch->buf_offset;
2816 rlen, dbch->buf_offset);
2817 if (dbch->buf_offset < 0) {
2855 dbch->buf_offset = - dbch->buf_offset;
2895 dbch->buf_offset = ld - (uint8_t *)db_tr->buf;
2938 dbch->buf_offset, len,
2961 dbch->buf_offset = 0;
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Ddma.c625 qbuf.addr = addr + q->buf_offset; in mt76_dma_rx_fill()
626 qbuf.len = len - q->buf_offset; in mt76_dma_rx_fill()
799 int offset = data - page_address(page) + q->buf_offset; in mt76_add_fragment()
801 int offset = (u8 *)data - (u8 *)page_address(page) + q->buf_offset; in mt76_add_fragment()
859 if (data_len < len + q->buf_offset) { in mt76_dma_rx_process()
878 skb_reserve(skb, q->buf_offset); in mt76_dma_rx_process()
H A Dmt76x02_mmio.c224 q->buf_offset = MT_RX_HEADROOM - sizeof(struct mt76x02_rxwi); in mt76x02_dma_init()
H A Dmt76.h205 u8 buf_offset; member
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_dump.c168 int buf_offset = i + j; in print_block() local
173 if (buf_offset % DUMP_GROUPING == 0) { in print_block()
180 unsigned char hex_print = buf[buf_offset]; in print_block()
/freebsd/sys/dev/hid/
H A Dhidraw.c493 size_t buf_offset; in hidraw_write() local
505 buf_offset = 0; in hidraw_write()
519 buf_offset++; in hidraw_write()
528 error = uiomove(buf + buf_offset, uio->uio_resid, uio); in hidraw_write()
/freebsd/sys/contrib/dev/rtw88/
H A Dfw.c2006 u16 buf_offset = page_size * page_offset; in rtw_hw_scan_update_probe_req()
2023 buf_offset -= tx_desc_sz; in rtw_add_chan_info()
2035 memcpy(buf + buf_offset, skb->data, skb->len); in rtw_add_chan_info()
2040 buf_offset += page_cnt * page_size; in rtw_add_chan_info()
2045 ret = rtw_fw_write_data_rsvd_page(rtwdev, pg_addr, buf, buf_offset); in rtw_add_chan_list()
1926 u16 buf_offset = page_size * page_offset; _rtw_hw_scan_update_probe_req() local
/freebsd/sys/dev/irdma/
H A Dirdma_puda.c1298 u16 buf_offset, u32 txbuf_offset, u32 len) in irdma_ieq_copy_to_txbuf() argument
1300 void *mem1 = (u8 *)buf->mem.va + buf_offset; in irdma_ieq_copy_to_txbuf()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp1782 size_t buf_offset = intersect_addr - bp_addr; in RemoveBreakpointOpcodesFromBuffer() local
1783 ::memcpy(buf + buf_offset, in RemoveBreakpointOpcodesFromBuffer()
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h11063 uint32_t buf_offset; member