Home
last modified time | relevance | path

Searched refs:fd_offset (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_trace.h46 __field(u16, fd_offset)
57 __entry->fd_offset = qm_fd_get_offset(fd);
67 __entry->fd_offset, __entry->fd_length, __entry->fd_status)
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-trace.h40 __field(u16, fd_offset)
50 __entry->fd_offset = dpaa2_fd_get_offset(fd);
61 __entry->fd_offset)
H A Ddpaa2-eth.c182 u16 fd_offset = dpaa2_fd_get_offset(fd); in dpaa2_eth_build_linear_skb() local
191 skb_reserve(skb, fd_offset); in dpaa2_eth_build_linear_skb()
504 u16 fd_offset = dpaa2_fd_get_offset(fd); in dpaa2_eth_alloc_skb() local
517 memcpy(skb->data, fd_vaddr + fd_offset, fd_length); in dpaa2_eth_alloc_skb()
H A Ddpaa2-switch.c2367 u16 fd_offset = dpaa2_fd_get_offset(fd); in dpaa2_switch_build_linear_skb() local
2385 skb_reserve(skb, fd_offset); in dpaa2_switch_build_linear_skb()
/openbmc/qemu/hw/vfio/
H A Dhelpers.c181 if (pwrite(vbasedev->fd, &buf, size, region->fd_offset + addr) != size) { in vfio_region_write()
214 if (pread(vbasedev->fd, &buf, size, region->fd_offset + addr) != size) { in vfio_region_read()
357 region->fd_offset = info->offset; in vfio_region_setup()
380 region->flags, region->fd_offset, region->size); in vfio_region_setup()
411 region->fd_offset + in vfio_region_mmap()
417 region->fd_offset + in vfio_region_mmap()
419 region->fd_offset + in vfio_region_mmap()
H A Dpci.h68 off_t fd_offset; member
H A Dpci-quirks.c301 vfio_ioeventfd.offset = ioeventfd->region->fd_offset + in vfio_ioeventfd_exit()
388 vfio_ioeventfd.offset = ioeventfd->region->fd_offset + in vfio_ioeventfd_init()
H A Dpci.c1089 off_t offset = vga->fd_offset + region->offset + addr; in vfio_vga_write()
1125 off_t offset = vga->fd_offset + region->offset + addr; in vfio_vga_read()
2691 vdev->vga->fd_offset = reg_info->offset; in vfio_populate_vga()
/openbmc/qemu/include/exec/
H A Dramblock.h43 uint64_t fd_offset; member
/openbmc/qemu/block/
H A Dblkio.c508 ram_addr_t fd_offset = 0; in blkio_mem_region_from_host() local
525 ram_block = qemu_ram_block_from_host(host, false, &fd_offset); in blkio_mem_region_from_host()
551 .fd_offset = fd_offset, in blkio_mem_region_from_host()
/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c213 uint16_t fd_offset; in ldpaa_eth_rx() local
223 fd_offset = ldpaa_fd_get_offset(fd); in ldpaa_eth_rx()
246 net_process_received_packet((uint8_t *)(fd_addr) + fd_offset, in ldpaa_eth_rx()
/openbmc/qemu/accel/kvm/
H A Dtrace-events22 …r, uint64_t memory_size, uint64_t userspace_addr, uint32_t fd, uint64_t fd_offset, int ret) "AddrS…
/openbmc/qemu/hw/block/
H A Dfdc.c213 static int fd_offset(FDrive *drv) in fd_offset() function
1631 if (blk_pread(cur_drv->blk, fd_offset(cur_drv), BDRV_SECTOR_SIZE, in fdctrl_transfer_handler()
1659 if (blk_pwrite(cur_drv->blk, fd_offset(cur_drv), BDRV_SECTOR_SIZE, in fdctrl_transfer_handler()
1743 if (blk_pread(cur_drv->blk, fd_offset(cur_drv), BDRV_SECTOR_SIZE, in fdctrl_read_data()
1823 blk_pwrite(cur_drv->blk, fd_offset(cur_drv), BDRV_SECTOR_SIZE, in fdctrl_format_sector()
2247 if (blk_pwrite(cur_drv->blk, fd_offset(cur_drv), BDRV_SECTOR_SIZE, in fdctrl_write_data()
/openbmc/qemu/include/hw/vfio/
H A Dvfio-common.h55 off_t fd_offset; /* offset of region within device fd */ member
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c381 uint64_t mmap_offset, fd_offset; in _vu_add_mem_reg() local
442 fd_offset = ALIGN_DOWN(msg_region->mmap_offset, hugepagesize); in _vu_add_mem_reg()
443 mmap_offset = msg_region->mmap_offset - fd_offset; in _vu_add_mem_reg()
445 fd_offset = msg_region->mmap_offset; in _vu_add_mem_reg()
450 fd_offset); in _vu_add_mem_reg()
455 prot, MAP_SHARED | MAP_NORESERVE, fd, fd_offset); in _vu_add_mem_reg()
/openbmc/linux/drivers/android/
H A Dbinder.c2265 static int binder_translate_fd(u32 fd, binder_size_t fd_offset, in binder_translate_fd() argument
2314 fixup->offset = fd_offset; in binder_translate_fd()
3422 binder_size_t fd_offset = object_offset + in binder_transaction() local
3424 int ret = binder_translate_fd(fp->fd, fd_offset, t, in binder_transaction()
/openbmc/qemu/system/
H A Dphysmem.c1476 block->fd_offset = offset; in file_ram_alloc()
2195 offset + block->fd_offset); in qemu_ram_remap()
/openbmc/qemu/hw/virtio/
H A Dvhost-user.c489 *offset += mr->ram_block->fd_offset; in vhost_user_get_mr_data()