Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 162) sorted by relevance

1234567

/xen/tools/libs/devicemodel/
A Dcore.c176 memset(&op, 0, sizeof(op)); in xendevicemodel_create_ioreq_server()
201 memset(&op, 0, sizeof(op)); in xendevicemodel_get_ioreq_server_info()
239 memset(&op, 0, sizeof(op)); in xendevicemodel_map_io_range_to_ioreq_server()
259 memset(&op, 0, sizeof(op)); in xendevicemodel_unmap_io_range_from_ioreq_server()
285 memset(&op, 0, sizeof(op)); in xendevicemodel_map_mem_type_to_ioreq_server()
309 memset(&op, 0, sizeof(op)); in xendevicemodel_map_pcidev_to_ioreq_server()
341 memset(&op, 0, sizeof(op)); in xendevicemodel_unmap_pcidev_from_ioreq_server()
367 memset(&op, 0, sizeof(op)); in xendevicemodel_destroy_ioreq_server()
383 memset(&op, 0, sizeof(op)); in xendevicemodel_set_ioreq_server_state()
401 memset(&op, 0, sizeof(op)); in xendevicemodel_set_pci_intx_level()
[all …]
/xen/tools/libxc/
A Dxc_flask.c40 DECLARE_HYPERCALL_BOUNCE(op, sizeof(*op), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_flask_op()
75 op.cmd = FLASK_LOAD; in xc_flask_load()
76 op.u.load.size = size; in xc_flask_load()
165 op.cmd = FLASK_GETBOOL; in xc_flask_getbool_byid()
333 op.cmd = FLASK_ACCESS; in xc_flask_access()
335 op.u.access.req = req; in xc_flask_access()
370 op.u.hash_stats.entries, op.u.hash_stats.buckets_used, in xc_flask_avc_hashstats()
371 op.u.hash_stats.buckets_total, op.u.hash_stats.max_chain_len); in xc_flask_avc_hashstats()
396 op.u.cache_stats.lookups, op.u.cache_stats.hits, in xc_flask_avc_cachestats()
397 op.u.cache_stats.misses, op.u.cache_stats.allocations, in xc_flask_avc_cachestats()
[all …]
A Dxc_resource.c27 op->nr_entries * sizeof(*op->entries), in xc_resource_op_one()
35 platform_op.u.resource_op.cpu = op->cpu; in xc_resource_op_one()
39 op->result = rc; in xc_resource_op_one()
49 xc_resource_op_t *op; in xc_resource_op_multi() local
78 op = ops + i; in xc_resource_op_multi()
96 memcpy(entries, op->entries, entries_size); in xc_resource_op_multi()
99 call->op = __HYPERVISOR_platform_op; in xc_resource_op_multi()
104 platform_op->u.resource_op.cpu = op->cpu; in xc_resource_op_multi()
114 op = ops + i; in xc_resource_op_multi()
117 op->result = call->result; in xc_resource_op_multi()
[all …]
A Dxc_memshr.c32 struct xen_domctl_mem_sharing_op *op; in xc_memshr_control() local
37 op = &(domctl.u.mem_sharing_op); in xc_memshr_control()
38 op->op = XEN_DOMCTL_MEM_SHARING_CONTROL; in xc_memshr_control()
39 op->u.enable = enable; in xc_memshr_control()
87 mso.op = XENMEM_sharing_op_nominate_gfn; in xc_memshr_nominate_gfn()
131 mso.op = XENMEM_sharing_op_share; in xc_memshr_share_gfns()
154 mso.op = XENMEM_sharing_op_share; in xc_memshr_share_grefs()
222 mso.op = XENMEM_sharing_op_debug_gfn; in xc_memshr_debug_gfn()
236 mso.op = XENMEM_sharing_op_debug_gref; in xc_memshr_debug_gref()
249 mso.op = XENMEM_sharing_op_fork; in xc_memshr_fork()
[all …]
A Dxc_vm_event.c25 int xc_vm_event_control(xc_interface *xch, uint32_t domain_id, unsigned int op, in xc_vm_event_control() argument
33 domctl.u.vm_event_op.op = op; in xc_vm_event_control()
48 unsigned int op, mode; in xc_vm_event_enable() local
100 op = XEN_VM_EVENT_ENABLE; in xc_vm_event_enable()
105 op = XEN_VM_EVENT_ENABLE; in xc_vm_event_enable()
110 op = XEN_VM_EVENT_ENABLE; in xc_vm_event_enable()
124 rc1 = xc_vm_event_control(xch, domain_id, op, mode, port); in xc_vm_event_enable()
166 domctl.u.vm_event_op.op = XEN_VM_EVENT_GET_VERSION; in xc_vm_event_get_version()
A Dxc_monitor.c61 domctl.u.monitor_op.op = XEN_DOMCTL_MONITOR_OP_GET_CAPABILITIES; in xc_monitor_get_capabilities()
79 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_write_ctrlreg()
99 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_mov_to_msr()
115 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_software_breakpoint()
129 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_singlestep()
143 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_descriptor_access()
157 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_guest_request()
200 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_debug_exceptions()
214 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_cpuid()
228 domctl.u.monitor_op.op = enable ? XEN_DOMCTL_MONITOR_OP_ENABLE in xc_monitor_privileged_call()
[all …]
/xen/xen/common/lz4/
A Ddecompress.c92 op = cpy; in lz4_uncompress()
117 op[0] = ref[0]; in lz4_uncompress()
118 op[1] = ref[1]; in lz4_uncompress()
119 op[2] = ref[2]; in lz4_uncompress()
121 op += 4; in lz4_uncompress()
124 PUT4(ref, op); in lz4_uncompress()
146 op = cpy; in lz4_uncompress()
214 op += length; in lz4_uncompress_unknownoutputsize()
221 op = cpy; in lz4_uncompress_unknownoutputsize()
256 op += 4; in lz4_uncompress_unknownoutputsize()
[all …]
/xen/xen/drivers/acpi/
A Dpmstat.c54 if ( !op || (op->cpuid >= nr_cpu_ids) || !cpu_online(op->cpuid) ) in do_get_pm_info()
76 switch ( op->type ) in do_get_pm_info()
137 op->u.getcx.nr = pmstat_get_cx_nr(op->cpuid); in do_get_pm_info()
144 ret = pmstat_get_cx_stat(op->cpuid, &op->u.getcx); in do_get_pm_info()
293 op->u.get_para.turbo_enabled = cpufreq_get_turbo_status(op->cpuid); in get_cpufreq_para()
401 switch ( op->cmd ) in do_pm_op()
407 if ( op->cpuid != 0 ) in do_pm_op()
416 if ( op->cpuid == 0 ) in do_pm_op()
434 if ( op->cpuid >= nr_cpu_ids || !cpu_online(op->cpuid) ) in do_pm_op()
448 switch ( op->cmd ) in do_pm_op()
[all …]
/xen/xen/arch/x86/
A Dplatform_hypercall.c213 switch ( op->cmd ) in do_platform_op()
233 op->u.add_memtype.mfn, in do_platform_op()
234 op->u.add_memtype.nr_mfns, in do_platform_op()
235 op->u.add_memtype.type, in do_platform_op()
442 if ( op->u.change_freq.flags || !cpu_online(op->u.change_freq.cpu) ) in do_platform_op()
487 op->u.getidletime.now = now; in do_platform_op()
506 ret = set_px_pminfo(op->u.set_pminfo.id, &op->u.set_pminfo.u.perf); in do_platform_op()
515 ret = set_cx_pminfo(op->u.set_pminfo.id, &op->u.set_pminfo.u.power); in do_platform_op()
546 g_info = &op->u.pcpu_info; in do_platform_op()
760 cpu = op->u.resource_op.cpu; in do_platform_op()
[all …]
A Dcompat.c22 struct physdev_op op; in do_physdev_op_compat() local
24 if ( unlikely(copy_from_guest(&op, uop, 1) != 0) ) in do_physdev_op_compat()
27 return fn(op.cmd, guest_handle_from_ptr(&uop.p->u, void)); in do_physdev_op_compat()
62 struct evtchn_op op; in do_event_channel_op_compat() local
64 if ( unlikely(copy_from_guest(&op, uop, 1) != 0) ) in do_event_channel_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/common/
A Dlzo.c142 unsigned char *op; in lzo1x_decompress_safe() local
150 op = out; in lzo1x_decompress_safe()
219 op += 2; in lzo1x_decompress_safe()
258 m_pos = op; in lzo1x_decompress_safe()
298 op = oe; in lzo1x_decompress_safe()
319 op += 2; in lzo1x_decompress_safe()
331 op += t; in lzo1x_decompress_safe()
346 *out_len = op - out; in lzo1x_decompress_safe()
352 *out_len = op - out; in lzo1x_decompress_safe()
356 *out_len = op - out; in lzo1x_decompress_safe()
[all …]
A Dsysctl.c35 struct xen_sysctl curop, *op = &curop; in do_sysctl() local
38 if ( copy_from_guest(op, u_sysctl, 1) ) in do_sysctl()
44 ret = xsm_sysctl(XSM_PRIV, op->cmd); in do_sysctl()
58 switch ( op->cmd ) in do_sysctl()
69 ret = tb_control(&op->u.tbuf_op); in do_sysctl()
160 op->u.getcpuinfo.nr_cpus = i; in do_sysctl()
167 op->u.availheap.node, in do_sysctl()
179 ret = do_pm_op(&op->u.pm_op); in do_sysctl()
191 if ( op->u.page_offline.end < op->u.page_offline.start ) in do_sysctl()
209 (op->u.page_offline.end - op->u.page_offline.start + 1)); in do_sysctl()
[all …]
A Ddomctl.c365 struct xen_domctl curop, *op = &curop; in do_domctl() local
368 if ( copy_from_guest(op, u_domctl, 1) ) in do_domctl()
374 switch ( op->cmd ) in do_domctl()
378 if ( op->domain == DOMID_IO ) in do_domctl()
388 if ( op->domain == DOMID_INVALID ) in do_domctl()
414 switch ( op->cmd ) in do_domctl()
494 dom = op->domain; in do_domctl()
527 op->domain = d->domain_id; in do_domctl()
611 ret = vcpu_affinity_domctl(d, op->cmd, &op->u.vcpuaffinity); in do_domctl()
631 dom = op->domain; in do_domctl()
[all …]
A Dgrant_table.c1046 ref = op->ref; in map_grant_ref()
1265 replace_grant_host_mapping(op->host_addr, mfn, 0, op->flags); in map_grant_ref()
1390 op->rd = rd; in unmap_common()
1445 op->mfn, op->new_addr, in unmap_common()
1988 if ( !guest_handle_okay(op.frame_list, op.nr_frames) ) in gnttab_setup_table()
2933 if ( ((op->source.offset + op->len) > PAGE_SIZE) || in gnttab_copy_buf()
2934 ((op->dest.offset + op->len) > PAGE_SIZE) ) in gnttab_copy_buf()
2938 op->source.offset + op->len > src->ptr.offset + src->len ) in gnttab_copy_buf()
2945 op->dest.offset + op->len > dest->ptr.offset + dest->len ) in gnttab_copy_buf()
3079 if ( op.version != 1 && op.version != 2 ) in gnttab_set_version()
[all …]
/xen/xen/common/efi/
A Druntime.c364 switch ( op->function ) in efi_runtime_call()
370 if ( op->misc ) in efi_runtime_call()
392 if ( op->misc ) in efi_runtime_call()
408 if ( op->misc ) in efi_runtime_call()
448 op->misc = 0; in efi_runtime_call()
452 if ( op->misc ) in efi_runtime_call()
470 if ( op->misc ) in efi_runtime_call()
551 op->misc, op->u.set_variable.size, data); in efi_runtime_call()
570 if ( op->misc ) in efi_runtime_call()
654 if ( op->misc ) in efi_runtime_call()
[all …]
/xen/tools/libs/call/
A Dcore.c99 int xencall0(xencall_handle *xcall, unsigned int op) in xencall0() argument
102 .op = op, in xencall0()
108 int xencall1(xencall_handle *xcall, unsigned int op, in xencall1() argument
112 .op = op, in xencall1()
119 int xencall2(xencall_handle *xcall, unsigned int op, in xencall2() argument
123 .op = op, in xencall2()
130 int xencall3(xencall_handle *xcall, unsigned int op, in xencall3() argument
134 .op = op, in xencall3()
141 int xencall4(xencall_handle *xcall, unsigned int op, in xencall4() argument
146 .op = op, in xencall4()
[all …]
/xen/xen/arch/arm/
A Dplatform_hypercall.c23 struct xen_platform_op curop, *op = &curop; in do_platform_op() local
26 if ( copy_from_guest(op, u_xenpf_op, 1) ) in do_platform_op()
29 if ( op->interface_version != XENPF_INTERFACE_VERSION ) in do_platform_op()
36 ret = xsm_platform_op(XSM_PRIV, op->cmd); in do_platform_op()
50 switch ( op->cmd ) in do_platform_op()
53 if ( likely(!op->u.settime64.mbz) ) in do_platform_op()
54 do_settime(op->u.settime64.secs, in do_platform_op()
55 op->u.settime64.nsecs, in do_platform_op()
56 op->u.settime64.system_time + SECONDS(d->time_offset.seconds)); in do_platform_op()
/xen/tools/flask/policy/modules/
A Dvm_role.cons10 # | u1 op u2
12 # | t1 op t2
13 # | u1 op names
14 # | u2 op names
15 # | r1 op names
16 # | r2 op names
17 # | t1 op names
18 # | t2 op names
20 # op : == | !=
/xen/tools/tests/x86_emulator/
A Dsimd-aes.c7 # define AES(op, a...) __builtin_ia32_vaes ## op ## _v16qi(a) argument
10 # define AES(op, a...) __builtin_ia32_vaes ## op ## _v32qi(a) argument
22 # define AES(op, a...) __builtin_ia32_vaes ## op ## _v64qi(a) argument
42 # define aes(op, x, y) ((vec_t)AES(op, (vqi_t)(x), (vqi_t)(y))) argument
46 # define aes(op, x, y) ((vec_t)AES(op, (vqi_t)(x), (vqi_t)(y))) argument
49 # define aes(op, x, y) ((vec_t)__builtin_ia32_aes ## op ## 128((vdi_t)(x), (vdi_t)(y))) argument
/xen/xen/arch/x86/hvm/
A Ddm.c343 struct xen_dm_op op; in dm_op() local
389 if ( op.op >= ARRAY_SIZE(op_size) ) in dm_op()
395 op.op = array_index_nospec(op.op, ARRAY_SIZE(op_size)); in dm_op()
397 if ( op_args->buf[0].size < offset + op_size[op.op] ) in dm_op()
401 op_size[op.op]) ) in dm_op()
405 if ( op.pad ) in dm_op()
408 switch ( op.op ) in dm_op()
609 &op.u.set_mem_type; in dm_op()
624 &op.u.inject_event; in dm_op()
637 &op.u.inject_msi; in dm_op()
[all …]
/xen/xen/common/coverage/
A Dcoverage.c28 int sysctl_cov_op(struct xen_sysctl_coverage_op *op) in sysctl_cov_op() argument
32 switch ( op->cmd ) in sysctl_cov_op()
35 op->size = cov_ops.get_size(); in sysctl_cov_op()
42 uint32_t size = op->size; in sysctl_cov_op()
44 buf = guest_handle_cast(op->buffer, char); in sysctl_cov_op()
47 op->size = size; in sysctl_cov_op()
/xen/tools/flask/policy/policy/
A Dmls37 # | u1 op u2
39 # | t1 op t2
46 # | u1 op names
47 # | u2 op names
48 # | r1 op names
49 # | r2 op names
50 # | t1 op names
51 # | t2 op names
52 # | u3 op names (NOTE: this is only available for mlsvalidatetrans)
53 # | r3 op names (NOTE: this is only available for mlsvalidatetrans)
[all …]
/xen/tools/libs/call/include/
A Dxencall.h102 int xencall0(xencall_handle *xcall, unsigned int op);
103 int xencall1(xencall_handle *xcall, unsigned int op,
105 int xencall2(xencall_handle *xcall, unsigned int op,
107 int xencall3(xencall_handle *xcall, unsigned int op,
109 int xencall4(xencall_handle *xcall, unsigned int op,
112 int xencall5(xencall_handle *xcall, unsigned int op,
/xen/xen/include/xsm/
A Dxsm.h52 int (*sysctl_scheduler_op) (int op);
93 int (*profile) (struct domain *d, int op);
398 return xsm_ops->profile(d, op); in xsm_profile()
547 return xsm_ops->do_xsm_op(op); in xsm_do_xsm_op()
553 return xsm_ops->do_compat_op(op); in xsm_do_compat_op()
559 return xsm_ops->hvm_param(d, op); in xsm_hvm_param()
564 return xsm_ops->hvm_control(d, op); in xsm_hvm_control()
615 return xsm_ops->platform_op(op); in xsm_platform_op()
626 return xsm_ops->shadow_control(d, op); in xsm_shadow_control()
688 return xsm_ops->pmu_op(d, op); in xsm_pmu_op()
[all …]
/xen/xen/include/xen/
A Dhypercall.h120 unsigned long op,
125 unsigned long op,
142 do_xenoprof_op(int op, XEN_GUEST_HANDLE_PARAM(void) arg);
145 do_xenpmu_op(unsigned int op, XEN_GUEST_HANDLE_PARAM(xen_pmu_params_t) arg);
183 compat_xenoprof_op(int op, XEN_GUEST_HANDLE_PARAM(void) arg);
201 XEN_GUEST_HANDLE_PARAM(xsm_op_t) op);
203 extern int compat_kexec_op(unsigned long op, XEN_GUEST_HANDLE_PARAM(void) uarg);

Completed in 44 milliseconds

1234567