Searched refs:HV_HYP_PAGE_SIZE (Results 1 – 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/drivers/hv/ |
D | hv_util.c | 199 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in shutdown_onchannelcallback() 396 HV_HYP_PAGE_SIZE, &recvlen, in timesync_onchannelcallback() 466 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in heartbeat_onchannelcallback() 503 #define HV_UTIL_RING_SEND_SIZE VMBUS_RING_SIZE(3 * HV_HYP_PAGE_SIZE) 504 #define HV_UTIL_RING_RECV_SIZE VMBUS_RING_SIZE(3 * HV_HYP_PAGE_SIZE) 513 srv->recv_buffer = kmalloc(HV_HYP_PAGE_SIZE * 4, GFP_KERNEL); in util_probe()
|
D | channel.c | 53 return size - 2 * (PAGE_SIZE - HV_HYP_PAGE_SIZE); in hv_gpadl_size() 79 return (offset - (PAGE_SIZE - HV_HYP_PAGE_SIZE)) >> HV_HYP_PAGE_SHIFT; in hv_ring_gpadl_send_hvpgoffset() 106 delta = PAGE_SIZE - HV_HYP_PAGE_SIZE; in hv_gpadl_hvpfn() 108 delta = 2 * (PAGE_SIZE - HV_HYP_PAGE_SIZE); in hv_gpadl_hvpfn() 115 return virt_to_hvpfn(kbuffer + delta + (HV_HYP_PAGE_SIZE * i)); in hv_gpadl_hvpfn()
|
D | hv_balloon.c | 498 static __u8 recv_buffer[HV_HYP_PAGE_SIZE]; 499 static __u8 balloon_up_send_buffer[HV_HYP_PAGE_SIZE]; 1216 HV_HYP_PAGE_SIZE) in alloc_balloon_pages() 1286 memset(balloon_up_send_buffer, 0, HV_HYP_PAGE_SIZE); in balloon_up() 1485 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in balloon_onchannelcallback()
|
D | hyperv_vmbus.h | 194 #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
|
D | hv_snapshot.c | 301 vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, in hv_vss_onchannelcallback()
|
D | hv_fcopy.c | 238 vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, in hv_fcopy_onchannelcallback()
|
D | connection.c | 202 (HV_HYP_PAGE_SIZE >> 1)); in vmbus_connect()
|
D | hv_kvp.c | 665 vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 4, &recvlen, in hv_kvp_onchannelcallback()
|
D | vmbus_drv.c | 1377 kmsg_dump_get_buffer(dumper, false, hv_panic_page, HV_HYP_PAGE_SIZE, in hv_kmsg_dump()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
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()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
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)) 385 #define HV_MAX_FLUSH_REP_COUNT ((HV_HYP_PAGE_SIZE - 2 * sizeof(u64)) / \
|
/kernel/linux/linux-5.10/arch/x86/hyperv/ |
D | hv_init.c | 52 BUILD_BUG_ON(PAGE_SIZE != HV_HYP_PAGE_SIZE); in hv_alloc_hyperv_page() 60 BUILD_BUG_ON(PAGE_SIZE != HV_HYP_PAGE_SIZE); in hv_alloc_hyperv_zeroed_page()
|
/kernel/linux/linux-5.10/include/linux/ |
D | hyperv.h | 1694 #define NR_HV_HYP_PAGES_IN_PAGE (PAGE_SIZE / HV_HYP_PAGE_SIZE) 1696 #define HVPFN_UP(x) (((x) + HV_HYP_PAGE_SIZE-1) >> HV_HYP_PAGE_SHIFT)
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | rndis_filter.c | 28 #define RNDIS_EXT_LEN HV_HYP_PAGE_SIZE 223 if (pb[0].offset + pb[0].len > HV_HYP_PAGE_SIZE) { in rndis_filter_send_request() 225 pb[0].len = HV_HYP_PAGE_SIZE - in rndis_filter_send_request()
|
D | netvsc_drv.c | 387 bytes = HV_HYP_PAGE_SIZE - offset; in fill_pg_buf() 397 if (offset == HV_HYP_PAGE_SIZE && len) { in fill_pg_buf() 470 slots = DIV_ROUND_UP(offset + len, HV_HYP_PAGE_SIZE); in netvsc_get_slots()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | pci-hyperv.c | 3043 BUILD_BUG_ON(sizeof(*hbus) > HV_HYP_PAGE_SIZE); in hv_pci_probe() 3063 hbus = kzalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_pci_probe()
|