Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 161) sorted by relevance

1234567

/xen/xen/drivers/passthrough/amd/
A Diommu_cmd.c72 cmd[3] = cmd[2] = 0; in flush_command_buffer()
134 cmd[1] = entry; in invalidate_iommu_pages()
145 cmd[2] = entry; in invalidate_iommu_pages()
150 cmd[3] = entry; in invalidate_iommu_pages()
152 cmd[0] = 0; in invalidate_iommu_pages()
192 cmd[0] = entry; in invalidate_iotlb_pages()
207 cmd[1] = entry; in invalidate_iotlb_pages()
216 cmd[2] = entry; in invalidate_iotlb_pages()
231 cmd[3] = cmd[2] = 0; in invalidate_dev_table_entry()
249 cmd[3] = cmd[2] = 0; in invalidate_interrupt_table()
[all …]
A Diommu_guest.c253 iommu_set_devid_to_cmd(&cmd->data[0], dev_id); in do_complete_ppr_request()
254 amd_iommu_send_guest_cmd(iommu, cmd->data); in do_complete_ppr_request()
269 set_field_in_reg_u32(hdom_id, cmd->data[1], in do_invalidate_pages()
305 amd_iommu_send_guest_cmd(iommu, cmd->data); in do_invalidate_iotlb_pages()
330 data = (uint64_t)cmd->data[3] << 32 | cmd->data[2]; in do_completion_wait()
432 cmd_entry_t *cmd; in guest_iommu_process_command() local
472 ret = do_completion_wait(d, cmd); in guest_iommu_process_command()
475 ret = do_invalidate_dte(d, cmd); in guest_iommu_process_command()
478 ret = do_invalidate_pages(d, cmd); in guest_iommu_process_command()
489 ret = do_invalidate_all(d, cmd); in guest_iommu_process_command()
[all …]
/xen/tools/xenstore/
A Dxenstored_control.c30 char *cmd; member
162 int cmd, len = 0; in do_control_help() local
168 for (cmd = 0; cmd < ARRAY_SIZE(cmds); cmd++) { in do_control_help()
169 len += strlen(cmds[cmd].cmd) + 1; in do_control_help()
179 for (cmd = 0; cmd < ARRAY_SIZE(cmds); cmd++) { in do_control_help()
180 strcpy(resp + len, cmds[cmd].cmd); in do_control_help()
181 len += strlen(cmds[cmd].cmd); in do_control_help()
185 len += strlen(cmds[cmd].pars); in do_control_help()
198 int cmd; in do_control() local
213 for (cmd = 0; cmd < ARRAY_SIZE(cmds); cmd++) in do_control()
[all …]
/xen/tools/libxc/
A Dxc_psr.c34 domctl.cmd = XEN_DOMCTL_psr_cmt_op; in xc_psr_cmt_attach()
45 domctl.cmd = XEN_DOMCTL_psr_cmt_op; in xc_psr_cmt_detach()
58 domctl.cmd = XEN_DOMCTL_psr_cmt_op; in xc_psr_cmt_get_domain_rmid()
82 sysctl.cmd = XEN_SYSCTL_psr_cmt_op; in xc_psr_cmt_get_total_rmid()
107 sysctl.u.psr_cmt_op.cmd = in xc_psr_cmt_get_l3_upscaling_factor()
124 sysctl.u.psr_cmt_op.cmd = in xc_psr_cmt_get_l3_event_mask()
149 sysctl.u.psr_cmt_op.cmd = in xc_psr_cmt_get_l3_cache_size()
256 uint32_t cmd; in xc_psr_set_domain_data() local
282 domctl.u.psr_alloc.cmd = cmd; in xc_psr_set_domain_data()
295 uint32_t cmd; in xc_psr_get_domain_data() local
[all …]
A Dxc_tbuf.c32 sysctl.cmd = XEN_SYSCTL_tbuf_op; in tbuf_enable()
35 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_enable; in tbuf_enable()
37 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_disable; in tbuf_enable()
46 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_set_size()
48 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_set_size; in xc_tbuf_set_size()
60 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_get_size()
62 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_get_info; in xc_tbuf_get_size()
98 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_enable()
100 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_get_info; in xc_tbuf_enable()
146 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_set_cpu_mask()
[all …]
A Dxc_csched.c34 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_credit_domain_set()
37 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_putinfo; in xc_sched_credit_domain_set()
54 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_credit_domain_get()
57 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_getinfo; in xc_sched_credit_domain_get()
75 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit_params_set()
78 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_putinfo; in xc_sched_credit_params_set()
98 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit_params_get()
101 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_getinfo; in xc_sched_credit_params_get()
A Dxc_csched2.c34 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_credit2_domain_set()
37 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_putinfo; in xc_sched_credit2_domain_set()
54 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_credit2_domain_get()
57 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_getinfo; in xc_sched_credit2_domain_get()
75 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit2_params_set()
78 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_putinfo; in xc_sched_credit2_params_set()
98 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit2_params_get()
101 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_getinfo; in xc_sched_credit2_params_get()
A Dxc_pm.c34 sysctl.cmd = XEN_SYSCTL_get_pmstat; in xc_pm_get_max_px()
74 sysctl.cmd = XEN_SYSCTL_get_pmstat; in xc_pm_get_pxstat()
241 sysctl.cmd = XEN_SYSCTL_pm_op; in xc_get_cpufreq_para()
305 sysctl.cmd = XEN_SYSCTL_pm_op; in xc_set_cpufreq_gov()
324 sysctl.cmd = XEN_SYSCTL_pm_op; in xc_set_cpufreq_para()
343 sysctl.cmd = XEN_SYSCTL_pm_op; in xc_get_cpufreq_avgfreq()
361 sysctl.cmd = XEN_SYSCTL_pm_op; in xc_set_sched_opt_smt()
380 sysctl.cmd = XEN_SYSCTL_pm_op; in get_max_cstate()
409 sysctl.cmd = XEN_SYSCTL_pm_op; in set_max_cstate()
436 sysctl.cmd = XEN_SYSCTL_pm_op; in xc_enable_turbo()
[all …]
A Dxc_rt.c34 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_rtds_domain_set()
37 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_putinfo; in xc_sched_rtds_domain_set()
53 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_rtds_domain_get()
56 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_getinfo; in xc_sched_rtds_domain_get()
80 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_rtds_vcpu_set()
83 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_putvcpuinfo; in xc_sched_rtds_vcpu_set()
114 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_rtds_vcpu_get()
117 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_getvcpuinfo; in xc_sched_rtds_vcpu_get()
A Dxc_monitor.c59 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_get_capabilities()
77 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_write_ctrlreg()
97 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_mov_to_msr()
113 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_software_breakpoint()
127 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_singlestep()
141 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_descriptor_access()
155 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_guest_request()
171 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_inguest_pagefault()
185 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_emulate_each_rep()
198 domctl.cmd = XEN_DOMCTL_monitor_op; in xc_monitor_debug_exceptions()
[all …]
A Dxc_misc.c147 sysctl.cmd = XEN_SYSCTL_readconsole; in xc_readconsolering()
179 sysctl.cmd = XEN_SYSCTL_debug_keys; in xc_send_debug_keys()
196 sysctl.cmd = XEN_SYSCTL_physinfo; in xc_physinfo()
245 sysctl.cmd = XEN_SYSCTL_cputopoinfo; in xc_cputopoinfo()
278 sysctl.cmd = XEN_SYSCTL_numainfo; in xc_numainfo()
338 sysctl.cmd = XEN_SYSCTL_sched_id; in xc_sched_id()
399 mc->cmd = XEN_MC_inject_v2; in xc_mca_op_inject_v2()
423 sysctl.cmd = XEN_SYSCTL_perfc_op; in xc_perfc_reset()
438 sysctl.cmd = XEN_SYSCTL_perfc_op; in xc_perfc_query_number()
461 sysctl.cmd = XEN_SYSCTL_perfc_op; in xc_perfc_query()
[all …]
/xen/xen/include/xen/
A Dhypercall.h23 int cmd,
63 unsigned long cmd,
81 int cmd,
86 unsigned int cmd,
92 unsigned int cmd,
98 unsigned int cmd,
103 int cmd,
115 unsigned int cmd,
178 int cmd,
187 int cmd,
[all …]
/xen/tools/firmware/hvmloader/
A Dhypercall.h121 int cmd, void *arg) in hypercall_sched_op() argument
123 return _hypercall2(int, sched_op, cmd, arg); in hypercall_sched_op()
128 unsigned int cmd, void *arg) in hypercall_memory_op() argument
130 return _hypercall2(int, memory_op, cmd, arg); in hypercall_memory_op()
142 int cmd, void *arg) in hypercall_event_channel_op() argument
149 int cmd, void *arg) in hypercall_xen_version() argument
156 int cmd, int count, char *str) in hypercall_console_io() argument
163 unsigned int cmd, unsigned int type) in hypercall_vm_assist() argument
170 int cmd, int vcpuid, void *extra_args) in hypercall_vcpu_op() argument
177 int cmd, void *arg) in hypercall_hvm_op() argument
[all …]
/xen/xen/arch/x86/acpi/cpufreq/
A Dcpufreq.c134 struct drv_cmd *cmd; in do_drv_read() local
140 rdmsrl(cmd->addr.msr.reg, cmd->val); in do_drv_read()
144 &cmd->val, (u32)cmd->addr.io.bit_width); in do_drv_read()
167 cmd->val, (u32)cmd->addr.io.bit_width); in do_drv_write()
176 cmd->val = 0; in drv_read()
184 on_selected_cpus(cmd->mask, do_drv_read, cmd, 1); in drv_read()
192 on_selected_cpus(cmd->mask, do_drv_write, cmd, 1); in drv_write()
199 struct drv_cmd cmd; in get_cur_val() local
231 drv_read(&cmd); in get_cur_val()
232 return cmd.val; in get_cur_val()
[all …]
/xen/tools/debugger/kdd/
A Dkdd.c919 s->rxp.cmd.sbp.bp, s->rxp.cmd.sbp.u1, s->rxp.cmd.sbp.u2); in kdd_handle_soft_breakpoint()
922 s->txp.cmd.sbp.u1 = s->rxp.cmd.sbp.u1; in kdd_handle_soft_breakpoint()
924 s->txp.cmd.sbp.u2 = s->rxp.cmd.sbp.u2; in kdd_handle_soft_breakpoint()
925 s->txp.cmd.sbp.bp = s->rxp.cmd.sbp.bp; in kdd_handle_soft_breakpoint()
936 s->txp.cmd.hbp.address = s->rxp.cmd.hbp.address; in kdd_handle_hard_breakpoint()
1041 s->txp.cmd.mem.length_req = s->rxp.cmd.mem.length_req; in kdd_handle_read_ctrl()
1056 s->txp.cmd.msr.msr = msr; in kdd_handle_read_msr()
1057 s->txp.cmd.msr.val = val; in kdd_handle_read_msr()
1070 s->txp.cmd.msr.msr = msr; in kdd_handle_write_msr()
1084 s->rxp.cmd.subtype & 0xff, (s->rxp.cmd.subtype >>8) & 0xff, in kdd_handle_memory_access()
[all …]
/xen/xen/drivers/vpci/
A Dheader.c88 bool map = cmd & PCI_COMMAND_MEMORY; in modify_decoding()
136 .map = v->vpci.cmd & PCI_COMMAND_MEMORY, in vpci_process_pending()
146 rc ? v->vpci.cmd & ~PCI_COMMAND_MEMORY : v->vpci.cmd, in vpci_process_pending()
176 modify_decoding(pdev, cmd, false); in apply_map()
194 curr->vpci.cmd = cmd; in defer_map()
334 uint32_t cmd, void *data) in cmd_write() argument
349 modify_bars(pdev, cmd, false); in cmd_write()
351 pci_conf_write16(pdev->sbdf, reg, cmd); in cmd_write()
451 uint16_t cmd; in init_bars() local
485 if ( cmd & PCI_COMMAND_MEMORY ) in init_bars()
[all …]
/xen/xen/scripts/
A DKbuild.include57 echo-cmd = $(if $($(quiet)cmd_$(1)),\
61 cmd = @set -e; $(echo-cmd) $(cmd_$(1))
74 cmd-check = $(if $(strip $(cmd_$@)),,1)
77 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
92 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd, @:)
97 if_changed_rule = $(if $(any-prereq)$(cmd-check),$(rule_$(1)),@:)
101 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd
111 # (5) - due to missing .cmd file
116 # (4) The command line stored in the file named dir/.target.cmd
119 # (5) No dir/.target.cmd file (used to store command line)
[all …]
/xen/xen/include/asm-x86/guest/
A Dxen-hcall.h96 static inline long xen_hypercall_sched_op(unsigned int cmd, void *arg) in xen_hypercall_sched_op() argument
98 return _hypercall64_2(long, __HYPERVISOR_sched_op, cmd, arg); in xen_hypercall_sched_op()
101 static inline long xen_hypercall_memory_op(unsigned int cmd, void *arg) in xen_hypercall_memory_op() argument
103 return _hypercall64_2(long, __HYPERVISOR_memory_op, cmd, arg); in xen_hypercall_memory_op()
106 static inline int xen_hypercall_vcpu_op(unsigned int cmd, unsigned int vcpu, in xen_hypercall_vcpu_op() argument
109 return _hypercall64_3(long, __HYPERVISOR_vcpu_op, cmd, vcpu, arg); in xen_hypercall_vcpu_op()
112 static inline long xen_hypercall_event_channel_op(unsigned int cmd, void *arg) in xen_hypercall_event_channel_op() argument
114 return _hypercall64_2(long, __HYPERVISOR_event_channel_op, cmd, arg); in xen_hypercall_event_channel_op()
117 static inline long xen_hypercall_grant_table_op(unsigned int cmd, void *arg, in xen_hypercall_grant_table_op() argument
120 return _hypercall64_3(long, __HYPERVISOR_grant_table_op, cmd, arg, count); in xen_hypercall_grant_table_op()
/xen/tools/tests/mem-sharing/
A Dmemshrtool.c51 const char* cmd = NULL; in main() local
57 cmd = argv[1]; in main()
59 if( !strcasecmp(cmd, "info") ) in main()
75 else if( !strcasecmp(cmd, "enable") ) in main()
85 else if( !strcasecmp(cmd, "disable") ) in main()
95 else if( !strcasecmp(cmd, "nominate") ) in main()
109 else if( !strcasecmp(cmd, "share") ) in main()
129 else if( !strcasecmp(cmd, "unshare") ) in main()
163 else if( !strcasecmp(cmd, "debug-gfn") ) in main()
175 else if( !strcasecmp(cmd, "audit") ) in main()
[all …]
/xen/tools/xenmon/
A Dsetmask.c46 sysctl.cmd = XEN_SYSCTL_tbuf_op; in main()
48 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_get_info; in main()
60 sysctl.cmd = XEN_SYSCTL_tbuf_op; in main()
62 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_set_evt_mask; in main()
73 sysctl.cmd = XEN_SYSCTL_tbuf_op; in main()
75 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_get_info; in main()
/xen/xen/arch/x86/
A Dcompat.c27 return fn(op.cmd, guest_handle_from_ptr(&uop.p->u, void)); in do_physdev_op_compat()
33 long do_sched_op_compat(int cmd, unsigned long arg) in do_sched_op_compat() argument
38 switch ( cmd ) in do_sched_op_compat()
42 return fn(cmd, guest_handle_from_ptr(NULL, void)); in do_sched_op_compat()
67 switch ( op.cmd ) in do_event_channel_op_compat()
79 return fn(op.cmd, guest_handle_from_ptr(&uop.p->u, void)); in do_event_channel_op_compat()
/xen/xen/arch/x86/hvm/
A Dhypercall.c32 static long hvm_memory_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) arg) in hvm_memory_op() argument
37 switch ( cmd & MEMOP_CMD_MASK ) in hvm_memory_op()
45 rc = do_memory_op(cmd, arg); in hvm_memory_op()
47 rc = compat_memory_op(cmd, arg); in hvm_memory_op()
49 if ( (cmd & MEMOP_CMD_MASK) == XENMEM_decrease_reservation ) in hvm_memory_op()
59 switch ( cmd ) in hvm_grant_table_op()
76 return do_grant_table_op(cmd, uop, count); in hvm_grant_table_op()
78 return compat_grant_table_op(cmd, uop, count); in hvm_grant_table_op()
87 switch ( cmd ) in hvm_physdev_op()
108 return do_physdev_op(cmd, arg); in hvm_physdev_op()
[all …]
/xen/xen/arch/arm/
A Dgic-v3-its.c175 uint64_t cmd[4]; in its_send_cmd_sync() local
178 cmd[1] = 0x00; in its_send_cmd_sync()
180 cmd[3] = 0x00; in its_send_cmd_sync()
189 uint64_t cmd[4]; in its_send_cmd_mapti() local
193 cmd[2] = icid; in its_send_cmd_mapti()
194 cmd[3] = 0x00; in its_send_cmd_mapti()
205 cmd[1] = 0x00; in its_send_cmd_mapc()
208 cmd[3] = 0x00; in its_send_cmd_mapc()
232 cmd[3] = 0x00; in its_send_cmd_mapd()
244 cmd[2] = 0x00; in its_send_cmd_inv()
[all …]
/xen/xen/include/asm-x86/
A Dhypercall.h53 int cmd, unsigned long arg);
104 int cmd, XEN_GUEST_HANDLE_PARAM(void) arg);
121 int cmd, XEN_GUEST_HANDLE_PARAM(const_void) arg);
145 int cmd,
150 int cmd, struct vcpu *v, XEN_GUEST_HANDLE_PARAM(void) arg);
162 int cmd, XEN_GUEST_HANDLE(void) arg);
181 extern int compat_nmi_op(unsigned int cmd, XEN_GUEST_HANDLE_PARAM(void) arg);
/xen/tools/xl/
A Dxl.c363 char *cmd = 0; in main() local
389 cmd = argv[optind]; in main()
391 if (!cmd) { in main()
418 cspec = cmdtable_lookup(cmd); in main()
426 } else if (!strcmp(cmd, "help")) { in main()
457 struct cmd_spec *cmd; in help() local
470 if (cmd) { in help()
474 cmd->cmd_name, in help()
475 cmd->cmd_usage, in help()
476 cmd->cmd_desc); in help()
[all …]

Completed in 44 milliseconds

1234567