/linux/drivers/hv/ |
A D | hv.c | 53 BUILD_BUG_ON(PAGE_SIZE < HV_HYP_PAGE_SIZE); in hv_alloc_hyperv_page() 55 if (PAGE_SIZE == HV_HYP_PAGE_SIZE) in hv_alloc_hyperv_page() 58 return kmalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_alloc_hyperv_page() 63 if (PAGE_SIZE == HV_HYP_PAGE_SIZE) in hv_alloc_hyperv_zeroed_page() 66 return kzalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_alloc_hyperv_zeroed_page() 71 if (PAGE_SIZE == HV_HYP_PAGE_SIZE) in hv_free_hyperv_page() 222 HV_HYP_PAGE_SIZE, MEMREMAP_WB); in hv_synic_enable_regs() 239 HV_HYP_PAGE_SIZE, MEMREMAP_WB); in hv_synic_enable_regs()
|
A D | connection.c | 208 (HV_HYP_PAGE_SIZE >> 1)); in vmbus_connect() 253 HV_HYP_PAGE_SIZE, in vmbus_connect() 262 HV_HYP_PAGE_SIZE, in vmbus_connect() 275 HV_HYP_PAGE_SIZE); in vmbus_connect() 277 HV_HYP_PAGE_SIZE); in vmbus_connect()
|
A D | hv_util.c | 197 if (vmbus_recvpacket(channel, shut_txf_buf, HV_HYP_PAGE_SIZE, &recvlen, &requestid)) { in shutdown_onchannelcallback() 410 HV_HYP_PAGE_SIZE, &recvlen, in timesync_onchannelcallback() 498 if (vmbus_recvpacket(channel, hbeat_txf_buf, HV_HYP_PAGE_SIZE, in heartbeat_onchannelcallback() 556 #define HV_UTIL_RING_SEND_SIZE VMBUS_RING_SIZE(3 * HV_HYP_PAGE_SIZE) 557 #define HV_UTIL_RING_RECV_SIZE VMBUS_RING_SIZE(3 * HV_HYP_PAGE_SIZE) 566 srv->recv_buffer = kmalloc(HV_HYP_PAGE_SIZE * 4, GFP_KERNEL); in util_probe()
|
A D | hv_common.c | 130 *inputarg = kmalloc(pgcount * HV_HYP_PAGE_SIZE, flags); in hv_common_cpu_init() 136 *outputarg = (char *)(*inputarg) + HV_HYP_PAGE_SIZE; in hv_common_cpu_init()
|
A D | hv_fcopy.c | 238 if (vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, &requestid)) { in hv_fcopy_onchannelcallback() 352 fcopy_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in hv_fcopy_init()
|
A D | hv_snapshot.c | 301 if (vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, &requestid)) { in hv_vss_onchannelcallback() 378 vss_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in hv_vss_init()
|
A D | hv_balloon.c | 499 static __u8 recv_buffer[HV_HYP_PAGE_SIZE]; 500 static __u8 balloon_up_send_buffer[HV_HYP_PAGE_SIZE]; 1219 HV_HYP_PAGE_SIZE) in alloc_balloon_pages() 1291 memset(balloon_up_send_buffer, 0, HV_HYP_PAGE_SIZE); in balloon_up() 1490 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in balloon_onchannelcallback() 1575 #define HV_MIN_PAGE_REPORTING_LEN (HV_HYP_PAGE_SIZE << HV_MIN_PAGE_REPORTING_ORDER)
|
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()
|
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()
|
A D | hyperv_vmbus.h | 195 #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
|
A D | vmbus_drv.c | 1412 kmsg_dump_get_buffer(&iter, false, hv_panic_page, HV_HYP_PAGE_SIZE, in hv_kmsg_dump()
|
/linux/arch/x86/hyperv/ |
A D | ivm.c | 54 } __packed __aligned(HV_HYP_PAGE_SIZE); 139 BUILD_BUG_ON(sizeof(union hv_ghcb) != HV_HYP_PAGE_SIZE); in hv_ghcb_msr_read() 269 pfn_array = kmalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_set_mem_host_visibility() 274 pfn_array[pfn] = virt_to_hvpfn((void *)kbuffer + i * HV_HYP_PAGE_SIZE); in hv_set_mem_host_visibility()
|
A D | hv_init.c | 65 ghcb_va = memremap(ghcb_gpa, HV_HYP_PAGE_SIZE, MEMREMAP_WB); in hyperv_init_ghcb() 459 memcpy(dst, src, HV_HYP_PAGE_SIZE); in hyperv_init()
|
A D | hv_proc.c | 21 #define HV_DEPOSIT_MAX (HV_HYP_PAGE_SIZE / sizeof(u64) - 1)
|
/linux/net/vmw_vsock/ |
A D | hyperv_transport.c | 23 #define RINGBUFFER_HVS_RCV_SIZE (HV_HYP_PAGE_SIZE * 6) 24 #define RINGBUFFER_HVS_SND_SIZE (HV_HYP_PAGE_SIZE * 6) 25 #define RINGBUFFER_HVS_MAX_SIZE (HV_HYP_PAGE_SIZE * 64) 59 (HV_HYP_PAGE_SIZE - sizeof(struct vmpipe_proto_header)) 369 sndbuf = ALIGN(sndbuf, HV_HYP_PAGE_SIZE); in hvs_open_connection() 372 rcvbuf = ALIGN(rcvbuf, HV_HYP_PAGE_SIZE); in hvs_open_connection() 636 BUILD_BUG_ON(sizeof(*send_buf) != HV_HYP_PAGE_SIZE); in hvs_stream_enqueue()
|
/linux/include/asm-generic/ |
A D | hyperv-tlfs.h | 23 #define HV_HYP_PAGE_SIZE BIT(HV_HYP_PAGE_SHIFT) macro 24 #define HV_HYP_PAGE_MASK (~(HV_HYP_PAGE_SIZE - 1)) 444 #define HV_MAX_FLUSH_REP_COUNT ((HV_HYP_PAGE_SIZE - 2 * sizeof(u64)) / \ 799 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_memory_hint)) / \
|
/linux/include/linux/ |
A D | hyperv.h | 1755 #define NR_HV_HYP_PAGES_IN_PAGE (PAGE_SIZE / HV_HYP_PAGE_SIZE) 1757 #define HVPFN_UP(x) (((x) + HV_HYP_PAGE_SIZE-1) >> HV_HYP_PAGE_SHIFT)
|
/linux/drivers/net/hyperv/ |
A D | rndis_filter.c | 29 #define RNDIS_EXT_LEN HV_HYP_PAGE_SIZE 243 if (pb[0].offset + pb[0].len > HV_HYP_PAGE_SIZE) { in rndis_filter_send_request() 245 pb[0].len = HV_HYP_PAGE_SIZE - in rndis_filter_send_request()
|
A D | netvsc_drv.c | 385 bytes = HV_HYP_PAGE_SIZE - offset; in fill_pg_buf() 395 if (offset == HV_HYP_PAGE_SIZE && len) { in fill_pg_buf() 468 slots = DIV_ROUND_UP(offset + len, HV_HYP_PAGE_SIZE); in netvsc_get_slots()
|
/linux/drivers/pci/controller/ |
A D | pci-hyperv.c | 3079 BUILD_BUG_ON(sizeof(*hbus) > HV_HYP_PAGE_SIZE); in hv_pci_probe() 3103 hbus = kzalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_pci_probe()
|