Home
last modified time | relevance | path

Searched refs:partition_id (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/hv/
H A Dmshv_trace.h24 TP_PROTO(u64 partition_id, int vm_fd),
25 TP_ARGS(partition_id, vm_fd),
27 __field(u64, partition_id)
31 __entry->partition_id = partition_id;
35 __entry->partition_id,
41 TP_PROTO(u64 flags, s64 partition_id),
42 TP_ARGS(flags, partition_id),
45 __field(s64, partition_id)
49 __entry->partition_id = partition_id;
53 __entry->partition_id
[all …]
H A Dmshv_root_hv_call.c42 int hv_call_withdraw_memory(u64 count, int node, u64 partition_id) in hv_call_withdraw_memory() argument
63 input_page->partition_id = partition_id; in hv_call_withdraw_memory()
85 trace_mshv_hvcall_withdraw_memory(partition_id, withdrawn, status); in hv_call_withdraw_memory()
93 u64 *partition_id) in hv_call_create_partition() argument
121 *partition_id = output->partition_id; in hv_call_create_partition()
130 trace_mshv_hvcall_create_partition(flags, ret ? ret : *partition_id); in hv_call_create_partition()
135 int hv_call_initialize_partition(u64 partition_id) in hv_call_initialize_partition() argument
141 input.partition_id = partition_id; in hv_call_initialize_partition()
143 ret = hv_call_deposit_pages(NUMA_NO_NODE, partition_id, in hv_call_initialize_partition()
156 ret = hv_deposit_memory(partition_id, status); in hv_call_initialize_partition()
[all …]
H A Dmshv_root.h247 int mshv_register_doorbell(u64 partition_id, doorbell_cb_t doorbell_cb,
249 void mshv_unregister_doorbell(u64 partition_id, int doorbell_portid);
262 struct mshv_partition *mshv_partition_find(u64 partition_id) __must_hold(RCU);
264 static inline bool is_l1vh_parent(u64 partition_id) in is_l1vh_parent() argument
266 return hv_l1vh_partition() && (partition_id == HV_PARTITION_ID_SELF); in is_l1vh_parent()
269 int mshv_vp_stats_map(u64 partition_id, u32 vp_index,
271 void mshv_vp_stats_unmap(u64 partition_id, u32 vp_index,
276 int hv_call_withdraw_memory(u64 count, int node, u64 partition_id);
280 u64 *partition_id);
281 int hv_call_initialize_partition(u64 partition_id);
[all …]
H A Dhv_proc.c19 int hv_call_deposit_pages(int node, u64 partition_id, u32 num_pages) in hv_call_deposit_pages() argument
79 input_page->partition_id = partition_id; in hv_call_deposit_pages()
113 int hv_deposit_memory_node(int node, u64 partition_id, in hv_deposit_memory_node() argument
133 partition_id = HV_PARTITION_ID_SELF; in hv_deposit_memory_node()
140 return hv_call_deposit_pages(node, partition_id, num_pages); in hv_deposit_memory_node()
199 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) in hv_call_create_vp() argument
207 if (partition_id != hv_current_partition_id) { in hv_call_create_vp()
209 ret = hv_call_deposit_pages(node, partition_id, 90); in hv_call_create_vp()
219 input->partition_id = partition_id; in hv_call_create_vp()
235 ret = hv_deposit_memory_node(node, partition_id, status); in hv_call_create_vp()
H A Dmshv_debugfs.c230 static int vp_debugfs_create(u64 partition_id, u32 vp_index, in vp_debugfs_create() argument
283 static void mshv_partition_stats_unmap(u64 partition_id, in mshv_partition_stats_unmap() argument
288 .partition.partition_id = partition_id, in mshv_partition_stats_unmap()
297 __func__, partition_id, in mshv_partition_stats_unmap()
302 static struct hv_stats_page *mshv_partition_stats_map(u64 partition_id, in mshv_partition_stats_map() argument
306 .partition.partition_id = partition_id, in mshv_partition_stats_map()
315 __func__, partition_id, in mshv_partition_stats_map()
323 static int mshv_debugfs_partition_stats_create(u64 partition_id, in mshv_debugfs_partition_stats_create() argument
336 pstats[HV_STATS_AREA_SELF] = mshv_partition_stats_map(partition_id, in mshv_debugfs_partition_stats_create()
346 if (is_l1vh_parent(partition_id)) { in mshv_debugfs_partition_stats_create()
[all …]
H A Dmshv_synic.c143 u64 partition_id; in mshv_async_call_completion_isr() local
151 partition_id = async_msg->partition_id; in mshv_async_call_completion_isr()
161 partition = mshv_partition_find(partition_id); in mshv_async_call_completion_isr()
164 pr_debug("failed to find partition %llu\n", partition_id); in mshv_async_call_completion_isr()
193 u64 partition_id = msg->partition_id; in handle_bitset_message() local
207 partition = mshv_partition_find(partition_id); in handle_bitset_message()
209 pr_debug("failed to find partition %llu\n", partition_id); in handle_bitset_message()
277 u64 partition_id = msg->partition_ids[idx]; in handle_pair_message() local
280 if (idx == 0 || partition->pt_id != partition_id) { in handle_pair_message()
281 partition = mshv_partition_find(partition_id); in handle_pair_message()
[all …]
H A Dmshv_common.c29 int hv_call_get_vp_registers(u32 vp_index, u64 partition_id, u16 count, in hv_call_get_vp_registers() argument
46 input_page->partition_id = partition_id; in hv_call_get_vp_registers()
75 int hv_call_set_vp_registers(u32 vp_index, u64 partition_id, u16 count, in hv_call_set_vp_registers() argument
89 input_page->partition_id = partition_id; in hv_call_set_vp_registers()
116 int hv_call_get_partition_property(u64 partition_id, in hv_call_get_partition_property() argument
129 input->partition_id = partition_id; in hv_call_get_partition_property()
H A Dmshv.h17 int hv_call_get_vp_registers(u32 vp_index, u64 partition_id, u16 count,
21 int hv_call_set_vp_registers(u32 vp_index, u64 partition_id, u16 count,
25 int hv_call_get_partition_property(u64 partition_id, u64 property_code,
H A Dmshv_root_main.c284 static int mshv_get_vp_registers(u32 vp_index, u64 partition_id, u16 count, in mshv_get_vp_registers() argument
287 return hv_call_get_vp_registers(vp_index, partition_id, in mshv_get_vp_registers()
291 static int mshv_set_vp_registers(u32 vp_index, u64 partition_id, u16 count, in mshv_set_vp_registers() argument
294 return hv_call_set_vp_registers(vp_index, partition_id, in mshv_set_vp_registers()
422 input->partition_id = vp->vp_partition->pt_id; in mshv_vp_dispatch()
993 void mshv_vp_stats_unmap(u64 partition_id, u32 vp_index, in mshv_vp_stats_unmap() argument
997 .vp.partition_id = partition_id, in mshv_vp_stats_unmap()
1008 __func__, partition_id, vp_index, err); in mshv_vp_stats_unmap()
1017 __func__, partition_id, vp_index, err); in mshv_vp_stats_unmap()
1021 int mshv_vp_stats_map(u64 partition_id, u32 vp_index, in mshv_vp_stats_map() argument
[all …]
H A Dhv_common.c274 pt_id = output->partition_id; in hv_get_partition_id()
297 input->partition_id = HV_PARTITION_ID_SELF; in get_vtl()
/linux/include/hyperv/
H A Dhvhdk.h356 u64 partition_id; member
360 u64 partition_id; member
364 u64 partition_id; member
368 u64 partition_id; member
372 u64 partition_id; member
382 u64 partition_id; member
402 u64 partition_id; member
436 u64 partition_id; member
455 u64 partition_id; member
621 u64 partition_id; member
[all …]
H A Dhvhdk_mini.h72 u64 partition_id; member
79 u64 partition_id; member
270 u64 partition_id; member
275 u64 partition_id; member
316 u64 partition_id; member
414 u64 partition_id; member
440 u64 partition_id; member
456 u64 partition_id; member
H A Dhvgdk_mini.h190 u64 partition_id; member
882 u64 partition_id; member
891 u64 partition_id; member
1325 u64 partition_id; member
1334 u64 partition_id; member
1363 u64 partition_id; member
1467 u64 partition_id; /* use "self" */ member
/linux/include/asm-generic/
H A Dmshyperv.h347 int hv_deposit_memory_node(int node, u64 partition_id, u64 status);
348 int hv_call_deposit_pages(int node, u64 partition_id, u32 num_pages);
352 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags);
359 static inline int hv_deposit_memory_node(int node, u64 partition_id, u64 status) in hv_deposit_memory_node() argument
363 static inline int hv_call_deposit_pages(int node, u64 partition_id, u32 num_pages) in hv_call_deposit_pages() argument
379 static inline int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) in hv_call_create_vp() argument
385 static inline int hv_deposit_memory(u64 partition_id, u64 status) in hv_deposit_memory() argument
387 return hv_deposit_memory_node(NUMA_NO_NODE, partition_id, status); in hv_deposit_memory()
/linux/arch/powerpc/perf/
H A Dhv-gpci-requests.h73 REQUEST(__field(0, 8, partition_id)
91 REQUEST(__field(0, 8, partition_id)
214 REQUEST(__field(0, 2, partition_id)
256 REQUEST(__field(0, 2, partition_id)
/linux/drivers/input/rmi4/
H A Drmi_f34v7.c106 data_1_5.partition_id = CORE_CODE_PARTITION; in rmi_f34v7_write_command_single_transaction()
110 data_1_5.partition_id = CORE_CODE_PARTITION; in rmi_f34v7_write_command_single_transaction()
114 data_1_5.partition_id = GLOBAL_PARAMETERS_PARTITION; in rmi_f34v7_write_command_single_transaction()
118 data_1_5.partition_id = CORE_CONFIG_PARTITION; in rmi_f34v7_write_command_single_transaction()
122 data_1_5.partition_id = DISPLAY_CONFIG_PARTITION; in rmi_f34v7_write_command_single_transaction()
126 data_1_5.partition_id = FLASH_CONFIG_PARTITION; in rmi_f34v7_write_command_single_transaction()
130 data_1_5.partition_id = GUEST_CODE_PARTITION; in rmi_f34v7_write_command_single_transaction()
134 data_1_5.partition_id = BOOTLOADER_PARTITION; in rmi_f34v7_write_command_single_transaction()
386 switch (ptable->partition_id & 0x1f) { in rmi_f34v7_parse_partition_table()
H A Drmi_f34.h133 u8 partition_id; member
146 u8 partition_id; member
/linux/drivers/accel/qaic/
H A Dqaic_drv.c256 static int qaic_create_drm_device(struct qaic_device *qdev, s32 partition_id) in qaic_create_drm_device() argument
263 if (partition_id != QAIC_NO_PARTITION) in qaic_create_drm_device()
266 qddev->partition_id = partition_id; in qaic_create_drm_device()
286 static void qaic_destroy_drm_device(struct qaic_device *qdev, s32 partition_id) in qaic_destroy_drm_device() argument
294 qddev->partition_id = 0; in qaic_destroy_drm_device()
/linux/drivers/gpu/drm/amd/include/
H A Damd_cper.h110 uint32_t partition_id : 1; member
118 guid_t partition_id; /* Reserved */ member
/linux/include/linux/
H A Dswitchtec.h147 u32 partition_id; member
175 u32 partition_id; member
281 u8 partition_id; member
/linux/arch/x86/hyperv/
H A Dirqdomain.c34 input->partition_id = hv_current_partition_id; in hv_map_interrupt()
86 input->partition_id = hv_current_partition_id; in hv_unmap_interrupt()
H A Divm.c360 start_vp_input->partition_id = -1; in hv_snp_boot_ap()
652 input->partition_id = HV_PARTITION_ID_SELF; in hv_vtom_kexec_finish()
710 input->partition_id = HV_PARTITION_ID_SELF; in hv_mark_gpa_visibility()
/linux/arch/x86/include/asm/uv/
H A Dbios.h166 partition_id : 16, member
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-sgi_uv13 partition_id
29 The partition_id entry contains the partition id.
/linux/drivers/firmware/arm_ffa/
H A Dbus.c92 static DEVICE_ATTR_RO(partition_id);

12