Searched refs:HV_HYP_PAGE_SIZE (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/hv/ |
H A D | hv_util.c | 191 if (vmbus_recvpacket(channel, shut_txf_buf, HV_HYP_PAGE_SIZE, &recvlen, &requestid)) { in shutdown_onchannelcallback() 433 HV_HYP_PAGE_SIZE, &recvlen, in timesync_onchannelcallback() 521 if (vmbus_recvpacket(channel, hbeat_txf_buf, HV_HYP_PAGE_SIZE, in heartbeat_onchannelcallback() 579 #define HV_UTIL_RING_SEND_SIZE VMBUS_RING_SIZE(3 * HV_HYP_PAGE_SIZE) 580 #define HV_UTIL_RING_RECV_SIZE VMBUS_RING_SIZE(3 * HV_HYP_PAGE_SIZE) 589 srv->recv_buffer = kmalloc(HV_HYP_PAGE_SIZE * 4, GFP_KERNEL); in util_probe()
|
H A D | hv_balloon.c | 493 static __u8 recv_buffer[HV_HYP_PAGE_SIZE]; 494 static __u8 balloon_up_send_buffer[HV_HYP_PAGE_SIZE]; 1209 HV_HYP_PAGE_SIZE) in alloc_balloon_pages() 1280 memset(balloon_up_send_buffer, 0, HV_HYP_PAGE_SIZE); in balloon_up() 1489 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in balloon_onchannelcallback() 1571 #define HV_LARGE_REPORTING_LEN (HV_HYP_PAGE_SIZE << \ 1583 WARN_ON_ONCE(sgl->length < (HV_HYP_PAGE_SIZE << page_reporting_order)); in hv_free_page_report() 1621 (sg->length / HV_HYP_PAGE_SIZE) - 1; in hv_free_page_report() 1690 if (PAGE_SIZE != HV_HYP_PAGE_SIZE) { in ballooning_enabled() 1727 dev->channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in balloon_connect_vsp() [all …]
|
H A D | channel.c | 54 return size - 2 * (PAGE_SIZE - HV_HYP_PAGE_SIZE); in hv_gpadl_size() 80 return (offset - (PAGE_SIZE - HV_HYP_PAGE_SIZE)) >> HV_HYP_PAGE_SHIFT; in hv_ring_gpadl_send_hvpgoffset() 107 delta = PAGE_SIZE - HV_HYP_PAGE_SIZE; in hv_gpadl_hvpfn() 109 delta = 2 * (PAGE_SIZE - HV_HYP_PAGE_SIZE); in hv_gpadl_hvpfn() 116 return virt_to_hvpfn(kbuffer + delta + (HV_HYP_PAGE_SIZE * i)); in hv_gpadl_hvpfn()
|
H A D | hv.c | 280 (void *)ioremap_cache(base, HV_HYP_PAGE_SIZE); in hv_synic_enable_regs() 299 (void *)ioremap_cache(base, HV_HYP_PAGE_SIZE); in hv_synic_enable_regs()
|
H A D | hv_kvp.c | 665 if (vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 4, &recvlen, &requestid)) { in hv_kvp_onchannelcallback() 760 kvp_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 4; in hv_kvp_init()
|
H A D | hyperv_vmbus.h | 202 #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
|
H A D | hv_snapshot.c | 35 #define VSS_MAX_PKT_SIZE (HV_HYP_PAGE_SIZE * 2)
|
H A D | ring_buffer.c | 220 memset(ring_info->ring_buffer, 0, HV_HYP_PAGE_SIZE); in hv_ringbuffer_init()
|
/linux/arch/x86/hyperv/ |
H A D | ivm.c | 62 } __packed __aligned(HV_HYP_PAGE_SIZE); 221 BUILD_BUG_ON(sizeof(union hv_ghcb) != HV_HYP_PAGE_SIZE); in hv_ghcb_msr_read() 547 pfn_array = kmalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_vtom_set_host_visibility() 560 vaddr = (void *)kbuffer + (i * HV_HYP_PAGE_SIZE); in hv_vtom_set_host_visibility()
|
/linux/include/linux/ |
H A D | hyperv.h | 1792 #define NR_HV_HYP_PAGES_IN_PAGE (PAGE_SIZE / HV_HYP_PAGE_SIZE) 1794 #define HVPFN_UP(x) (((x) + HV_HYP_PAGE_SIZE-1) >> HV_HYP_PAGE_SHIFT)
|
/linux/drivers/scsi/ |
H A D | storvsc_drv.c | 1895 .virt_boundary_mask = HV_HYP_PAGE_SIZE - 1, 1986 dma_set_min_align_mask(&device->device, HV_HYP_PAGE_SIZE - 1); in storvsc_probe() 2025 max_xfer_bytes = round_down(stor_device->max_transfer_bytes, HV_HYP_PAGE_SIZE); in storvsc_probe()
|
/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 339 bytes = HV_HYP_PAGE_SIZE - offset; in fill_pg_buf() 349 if (offset == HV_HYP_PAGE_SIZE && len) { in fill_pg_buf() 422 slots = DIV_ROUND_UP(offset + len, HV_HYP_PAGE_SIZE); in netvsc_get_slots() 2559 dma_set_min_align_mask(&dev->device, HV_HYP_PAGE_SIZE - 1); in netvsc_probe()
|