Home
last modified time | relevance | path

Searched refs:HV_HYP_PAGE_SIZE (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/hv/
Dhv_util.c199 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()
Dchannel.c53 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()
Dhv_balloon.c498 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()
Dhyperv_vmbus.h194 #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
Dhv_fcopy.c238 vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, in hv_fcopy_onchannelcallback()
Dhv_snapshot.c301 vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, in hv_vss_onchannelcallback()
Dconnection.c202 (HV_HYP_PAGE_SIZE >> 1)); in vmbus_connect()
Dhv_kvp.c665 vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 4, &recvlen, in hv_kvp_onchannelcallback()
Dvmbus_drv.c1377 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/
Dhyperv_transport.c23 #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/
Dhyperv-tlfs.h23 #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/
Dhv_init.c52 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/
Dhyperv.h1696 #define NR_HV_HYP_PAGES_IN_PAGE (PAGE_SIZE / HV_HYP_PAGE_SIZE)
1698 #define HVPFN_UP(x) (((x) + HV_HYP_PAGE_SIZE-1) >> HV_HYP_PAGE_SHIFT)
/kernel/linux/linux-5.10/drivers/net/hyperv/
Drndis_filter.c28 #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()
Dnetvsc_drv.c387 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/
Dpci-hyperv.c3117 BUILD_BUG_ON(sizeof(*hbus) > HV_HYP_PAGE_SIZE); in hv_pci_probe()
3137 hbus = kzalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_pci_probe()