/linux-6.1.9/drivers/hv/ |
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()
|
D | connection.c | 216 (HV_HYP_PAGE_SIZE >> 1)); in vmbus_connect() 261 HV_HYP_PAGE_SIZE, in vmbus_connect() 270 HV_HYP_PAGE_SIZE, in vmbus_connect() 283 HV_HYP_PAGE_SIZE); in vmbus_connect() 285 HV_HYP_PAGE_SIZE); in vmbus_connect()
|
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()
|
D | hv_common.c | 133 *inputarg = kmalloc(pgcount * HV_HYP_PAGE_SIZE, flags); in hv_common_cpu_init() 139 *outputarg = (char *)(*inputarg) + HV_HYP_PAGE_SIZE; in hv_common_cpu_init()
|
D | hv_balloon.c | 501 static __u8 recv_buffer[HV_HYP_PAGE_SIZE]; 502 static __u8 balloon_up_send_buffer[HV_HYP_PAGE_SIZE]; 1242 HV_HYP_PAGE_SIZE) in alloc_balloon_pages() 1314 memset(balloon_up_send_buffer, 0, HV_HYP_PAGE_SIZE); in balloon_up() 1513 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in balloon_onchannelcallback() 1598 #define HV_MIN_PAGE_REPORTING_LEN (HV_HYP_PAGE_SIZE << HV_MIN_PAGE_REPORTING_ORDER) 1686 if (PAGE_SIZE != HV_HYP_PAGE_SIZE) { in ballooning_enabled() 1723 dev->channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in balloon_connect_vsp() 1884 seq_printf(f, "%-22s: %ld\n", "page_size", HV_HYP_PAGE_SIZE); in hv_balloon_debug_show()
|
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()
|
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()
|
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()
|
D | hyperv_vmbus.h | 195 #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
|
D | hv_snapshot.c | 35 #define VSS_MAX_PKT_SIZE (HV_HYP_PAGE_SIZE * 2)
|
D | vmbus_drv.c | 1378 kmsg_dump_get_buffer(&iter, false, hv_panic_page, HV_HYP_PAGE_SIZE, in hv_kmsg_dump()
|
/linux-6.1.9/arch/x86/hyperv/ |
D | ivm.c | 54 } __packed __aligned(HV_HYP_PAGE_SIZE); 212 BUILD_BUG_ON(sizeof(union hv_ghcb) != HV_HYP_PAGE_SIZE); in hv_ghcb_msr_read() 341 pfn_array = kmalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_set_mem_host_visibility() 346 pfn_array[pfn] = virt_to_hvpfn((void *)kbuffer + i * HV_HYP_PAGE_SIZE); in hv_set_mem_host_visibility()
|
D | hv_init.c | 67 ghcb_va = memremap(ghcb_gpa, HV_HYP_PAGE_SIZE, MEMREMAP_WB); in hyperv_init_ghcb() 463 memcpy_to_page(pg, 0, src, HV_HYP_PAGE_SIZE); in hyperv_init()
|
D | hv_proc.c | 21 #define HV_DEPOSIT_MAX (HV_HYP_PAGE_SIZE / sizeof(u64) - 1)
|
/linux-6.1.9/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)) 378 sndbuf = ALIGN(sndbuf, HV_HYP_PAGE_SIZE); in hvs_open_connection() 381 rcvbuf = ALIGN(rcvbuf, HV_HYP_PAGE_SIZE); in hvs_open_connection() 655 BUILD_BUG_ON(sizeof(*send_buf) != HV_HYP_PAGE_SIZE); in hvs_stream_enqueue()
|
/linux-6.1.9/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)) 460 #define HV_MAX_FLUSH_REP_COUNT ((HV_HYP_PAGE_SIZE - 2 * sizeof(u64)) / \ 782 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_memory_hint)) / \
|
/linux-6.1.9/include/linux/ |
D | hyperv.h | 1787 #define NR_HV_HYP_PAGES_IN_PAGE (PAGE_SIZE / HV_HYP_PAGE_SIZE) 1789 #define HVPFN_UP(x) (((x) + HV_HYP_PAGE_SIZE-1) >> HV_HYP_PAGE_SHIFT)
|
/linux-6.1.9/drivers/scsi/ |
D | storvsc_drv.c | 1858 .virt_boundary_mask = HV_HYP_PAGE_SIZE - 1, 1949 dma_set_min_align_mask(&device->device, HV_HYP_PAGE_SIZE - 1); in storvsc_probe() 1988 max_xfer_bytes = round_down(stor_device->max_transfer_bytes, HV_HYP_PAGE_SIZE); in storvsc_probe()
|
/linux-6.1.9/drivers/net/hyperv/ |
D | rndis_filter.c | 30 #define RNDIS_EXT_LEN HV_HYP_PAGE_SIZE 244 if (pb[0].offset + pb[0].len > HV_HYP_PAGE_SIZE) { in rndis_filter_send_request() 246 pb[0].len = HV_HYP_PAGE_SIZE - in rndis_filter_send_request()
|
D | netvsc_drv.c | 335 bytes = HV_HYP_PAGE_SIZE - offset; in fill_pg_buf() 345 if (offset == HV_HYP_PAGE_SIZE && len) { in fill_pg_buf() 418 slots = DIV_ROUND_UP(offset + len, HV_HYP_PAGE_SIZE); in netvsc_get_slots() 2513 dma_set_min_align_mask(&dev->device, HV_HYP_PAGE_SIZE - 1); in netvsc_probe()
|
/linux-6.1.9/Documentation/virt/hyperv/ |
D | overview.rst | 92 only in terms of 4 Kbyte pages. HV_HYP_PAGE_SIZE and related macros
|
/linux-6.1.9/drivers/pci/controller/ |
D | pci-hyperv.c | 3516 BUILD_BUG_ON(sizeof(*hbus) > HV_HYP_PAGE_SIZE); in hv_pci_probe() 3540 hbus = kzalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL); in hv_pci_probe()
|