Home
last modified time | relevance | path

Searched refs:host_len (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/bsd-user/
H A Dmmap.c406 abi_ulong ret, end, real_start, real_end, retaddr, host_offset, host_len; in target_mmap() local
491 host_len = len + offset - host_offset; in target_mmap()
492 host_len = HOST_PAGE_ALIGN(host_len); in target_mmap()
494 start = mmap_find_vma_aligned(real_start, host_len, in target_mmap()
497 start = mmap_find_vma(real_start, host_len); in target_mmap()
540 host_len = len + offset - host_offset; in target_mmap()
541 host_len = HOST_PAGE_ALIGN(host_len); in target_mmap()
548 p = mmap(g2h_untagged(start), host_len, prot, in target_mmap()
558 munmap(g2h_untagged(start), host_len); in target_mmap()
/openbmc/qemu/linux-user/
H A Dmmap.c725 size_t host_len, part_len; in mmap_h_lt_g() local
743 host_len -= part_len; in mmap_h_lt_g()
745 if (len < host_len) { in mmap_h_lt_g()
746 do_munmap(p + len, host_len - len); in mmap_h_lt_g()
788 size_t host_len; in mmap_h_gt_g() local
798 host_len = len + offset - host_offset; in mmap_h_gt_g()
868 host_len = real_last - real_start + 1; in mmap_h_gt_g()
874 p = mmap(want_p, host_len, host_prot, flags, fd, in mmap_h_gt_g()
882 do_munmap(p, host_len); in mmap_h_gt_g()
890 do_munmap(p, host_len); in mmap_h_gt_g()
[all …]
/openbmc/linux/drivers/usb/usbip/
H A Dvudc_transfer.c191 unsigned int host_len, dev_len, len; in transfer() local
204 host_len = urb->transfer_buffer_length - urb->actual_length; in transfer()
206 len = min(host_len, dev_len); in transfer()
244 if (host_len == dev_len) { in transfer()
249 if (dev_len > host_len) in transfer()
255 if (host_len > dev_len) in transfer()
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dvhci_driver.c187 static int read_record(int rhport, char *host, unsigned long host_len, in read_record() argument
195 int max_len[] = {(int)host_len, (int)port_len, SYSFS_BUS_ID_SIZE}; in read_record()
196 size_t buffer_len = host_len + port_len + SYSFS_BUS_ID_SIZE + 4; in read_record()
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch242 - p = mmap(g2h_untagged(start), host_len, host_prot,
244 + p = mmap_fixed_noreplace(g2h_untagged(start), host_len, host_prot,
257 munmap(g2h_untagged(start), host_len);
/openbmc/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c1416 unsigned host_len, dev_len, len; in transfer() local
1432 host_len = urb->transfer_buffer_length - urb->actual_length; in transfer()
1434 len = min(host_len, dev_len); in transfer()
1480 if (host_len == dev_len) { in transfer()
1485 if (dev_len > host_len) in transfer()
1491 if (host_len > dev_len) in transfer()