Searched refs:host_len (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/bsd-user/ |
H A D | mmap.c | 406 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 D | mmap.c | 725 size_t host_len, part_len; in mmap_h_lt_g() local 732 host_len = len + TARGET_PAGE_SIZE - host_page_size; in mmap_h_lt_g() 733 p = mmap(want_p, host_len, host_prot, flags | MAP_ANONYMOUS, -1, 0); in mmap_h_lt_g() 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() 799 p = mmap(want_p, host_len, host_prot, flags, fd, host_offset); in mmap_h_gt_g() 868 host_len = real_last - real_start + 1; in mmap_h_gt_g() [all …]
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vudc_transfer.c | 191 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 D | vhci_driver.c | 187 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/linux/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 1416 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()
|