Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 75) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/xsm/
A Ddummy.c37 set_to_dummy_if_null(ops, set_target); in xsm_fixup_ops()
38 set_to_dummy_if_null(ops, domctl); in xsm_fixup_ops()
39 set_to_dummy_if_null(ops, sysctl); in xsm_fixup_ops()
53 set_to_dummy_if_null(ops, grant_copy); in xsm_fixup_ops()
74 set_to_dummy_if_null(ops, profile); in xsm_fixup_ops()
76 set_to_dummy_if_null(ops, kexec); in xsm_fixup_ops()
112 set_to_dummy_if_null(ops, tmem_op); in xsm_fixup_ops()
144 set_to_dummy_if_null(ops, do_mca); in xsm_fixup_ops()
147 set_to_dummy_if_null(ops, apic); in xsm_fixup_ops()
156 set_to_dummy_if_null(ops, pmu_op); in xsm_fixup_ops()
[all …]
A Dxsm_core.c30 static inline int verify(struct xsm_operations *ops) in verify() argument
33 if ( !ops ) in verify()
35 xsm_fixup_ops(ops); in verify()
141 int __init register_xsm(struct xsm_operations *ops) in register_xsm() argument
143 if ( verify(ops) ) in register_xsm()
152 xsm_ops = ops; in register_xsm()
/xen-4.10.0-shim-comet/xen/common/
A Dsched_rt.c233 return ops->sched_data; in rt_priv()
248 return &rt_priv(ops)->runq; in rt_runq()
370 rt_dump_vcpu(ops, svc); in rt_dump_pcpu()
389 runq = rt_runq(ops); in rt_dump()
391 replq = rt_replq(ops); in rt_dump()
667 rt_init(struct scheduler *ops) in rt_init() argument
691 ops->sched_data = prv; in rt_init()
713 ops->sched_data = NULL; in rt_deinit()
1353 replq_insert(ops, svc); in rt_vcpu_wake()
1355 runq_insert(ops, svc); in rt_vcpu_wake()
[all …]
A Dsched_arinc653.c183 const struct scheduler *ops, in find_vcpu() argument
211 find_vcpu(ops, in update_schedule_vcpus()
229 const struct scheduler *ops, in arinc653_sched_set() argument
276 update_schedule_vcpus(ops); in arinc653_sched_set()
306 const struct scheduler *ops, in arinc653_sched_get() argument
354 ops->sched_data = prv; in a653sched_init()
371 xfree(SCHED_PRIV(ops)); in a653sched_deinit()
372 ops->sched_data = NULL; in a653sched_deinit()
430 update_schedule_vcpus(ops); in a653sched_alloc_vdata()
454 update_schedule_vcpus(ops); in a653sched_free_vdata()
[all …]
A Dsched_null.c115 return ops->sched_data; in null_priv()
138 static int null_init(struct scheduler *ops) in null_init() argument
155 ops->sched_data = prv; in null_init()
160 static void null_deinit(struct scheduler *ops) in null_deinit() argument
162 xfree(ops->sched_data); in null_deinit()
163 ops->sched_data = NULL; in null_deinit()
175 struct null_private *prv = null_priv(ops); in null_init_pdata()
192 struct null_private *prv = null_priv(ops); in null_deinit_pdata()
265 ndom = null_alloc_domdata(ops, d); in null_dom_init()
275 null_free_domdata(ops, null_dom(d)); in null_dom_destroy()
[all …]
A Dsched_credit2.c565 return ops->sched_data; in csched2_priv()
2109 runq_assign(ops, vc); in csched2_vcpu_wake()
2118 runq_insert(ops, svc); in csched2_vcpu_wake()
2163 runq_insert(ops, svc); in csched2_context_saved()
2543 st.lrqd = c2rqd(ops, cpu); in balance_load()
3109 runq_assign(ops, vc); in csched2_vcpu_insert()
3142 runq_deassign(ops, vc); in csched2_vcpu_remove()
3451 rqd = c2rqd(ops, cpu); in csched2_schedule()
3984 ops->sched_data = prv; in csched2_init()
4014 prv = csched2_priv(ops); in csched2_deinit()
[all …]
A Dsched_credit.c881 return _csched_cpu_pick(ops, vc, 1); in csched_cpu_pick()
1183 const struct scheduler *ops, in csched_dom_cntl() argument
1239 csched_sys_cntl(const struct scheduler *ops, in csched_sys_cntl() argument
1304 sdom = csched_alloc_domdata(ops, dom); in csched_dom_init()
2096 csched_dump(const struct scheduler *ops) in csched_dump() argument
2163 csched_init(struct scheduler *ops) in csched_init() argument
2187 ops->sched_data = prv; in csched_init()
2218 csched_deinit(struct scheduler *ops) in csched_deinit() argument
2222 prv = CSCHED_PRIV(ops); in csched_deinit()
2225 ops->sched_data = NULL; in csched_deinit()
[all …]
A Dschedule.c95 return &ops; in dom_scheduler()
1296 return ops.sched_id; in sched_id()
1686 ops = *schedulers[i]; in scheduler_init()
1689 if ( !ops.name ) in scheduler_init()
1699 BUG_ON(!ops.name); in scheduler_init()
1700 printk("Using '%s' (%s)\n", ops.name, ops.opt_name); in scheduler_init()
1707 printk("Using scheduler: %s (%s)\n", ops.name, ops.opt_name); in scheduler_init()
1708 if ( SCHED_OP(&ops, init) ) in scheduler_init()
1834 return &ops; in scheduler_get_default()
1864 BUG_ON(sched == &ops); in scheduler_free()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dintercept.c118 const struct hvm_io_ops *ops = handler->ops; in hvm_process_io_intercept() local
226 const struct hvm_io_ops *ops = handler->ops; in hvm_find_io_handler() local
251 ops = handler->ops; in hvm_io_intercept()
252 if ( ops->complete != NULL ) in hvm_io_intercept()
253 ops->complete(handler); in hvm_io_intercept()
282 handler->ops = &mmio_ops; in register_mmio_handler()
283 handler->mmio.ops = ops; in register_mmio_handler()
295 handler->ops = &portio_ops; in register_portio_handler()
339 ops = handler->ops; in hvm_mmio_internal()
340 if ( ops->complete != NULL ) in hvm_mmio_internal()
[all …]
/xen-4.10.0-shim-comet/tools/libfsimage/common/
A Dfsimage.c95 fsi_plugin_ops_t *ops; in fsi_open_file() local
99 ops = fsi->f_plugin->fp_ops; in fsi_open_file()
100 ffi = ops->fpo_open(fsi, path); in fsi_open_file()
108 fsi_plugin_ops_t *ops; in fsi_close_file() local
112 ops = ffi->ff_fsi->f_plugin->fp_ops; in fsi_close_file()
113 err = ops->fpo_close(ffi); in fsi_close_file()
121 fsi_plugin_ops_t *ops; in fsi_read_file() local
125 ops = ffi->ff_fsi->f_plugin->fp_ops; in fsi_read_file()
126 ret = ops->fpo_read(ffi, buf, nbytes); in fsi_read_file()
134 fsi_plugin_ops_t *ops; in fsi_pread_file() local
[all …]
A Dfsimage_grub.c226 fsig_plugin_ops_t *ops = fsi->f_plugin->fp_data; in fsig_mount() local
241 if (!ops->fpo_mount(ffi, options)) { in fsig_mount()
265 fsig_plugin_ops_t *ops = fsi->f_plugin->fp_data; in fsig_open() local
272 if (ops->fpo_dir(ffi, path) == 0) { in fsig_open()
286 fsig_plugin_ops_t *ops = ffi->ff_fsi->f_plugin->fp_data; in fsig_pread() local
299 return (ops->fpo_read(ffi, buf, nbytes)); in fsig_pread()
332 fsig_init(fsi_plugin_t *plugin, fsig_plugin_ops_t *ops) in fsig_init() argument
334 if (ops->fpo_version > FSIMAGE_PLUGIN_VERSION) in fsig_init()
337 plugin->fp_data = ops; in fsig_init()
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dtapdisk-driver.c39 const struct tap_disk *ops; in tapdisk_driver_allocate() local
41 ops = tapdisk_disk_drivers[type]; in tapdisk_driver_allocate()
42 if (!ops) in tapdisk_driver_allocate()
53 driver->ops = ops; in tapdisk_driver_allocate()
56 driver->data = calloc(1, ops->private_data_size); in tapdisk_driver_allocate()
99 if (driver->ops->td_debug) in tapdisk_driver_debug()
100 driver->ops->td_debug(driver); in tapdisk_driver_debug()
A Dtapdisk-interface.c81 err = driver->ops->td_open(driver, image->name, image->flags); in __td_open()
117 driver->ops->td_close(driver); in td_close()
139 return driver->ops->td_get_parent_id(driver, id); in td_get_parent_id()
157 return driver->ops->td_validate_parent(driver, pdriver, 0); in td_validate_parent()
181 driver->ops->td_queue_write(driver, treq); in td_queue_write()
209 driver->ops->td_queue_read(driver, treq); in td_queue_read()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_emulate/
A Dx86_emulate.c1462 if ( ops->read_cr && get_cpl(ctxt, ops) == 3 ) \
2017 ops->read_cr && ops->read_cr(4, &cr4, ctxt) == X86EMUL_OKAY && in umip_active()
3004 ASSERT(ops->read); in x86_emulate()
3194 fail_if(lock_prefix ? !ops->cmpxchg : !ops->write); in x86_emulate()
3464 if ( nr_reps == 1 && ops->read_io && ops->write ) in x86_emulate()
3475 fail_if(!ops->read_io || !ops->write); in x86_emulate()
3673 fail_if(!ops->read_segment || !ops->write); in x86_emulate()
5134 fail_if(!ops->read_segment || !ops->write); in x86_emulate()
5385 fail_if((ops->read_cr == NULL) || (ops->write_cr == NULL)); in x86_emulate()
5565 typeof(ops->write_cr) write = (b & 1) ? ops->write_dr in x86_emulate()
[all …]
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/
A Diommu.c26 const struct iommu_ops *ops = iommu_get_ops(); in iommu_update_ire_from_apic() local
27 ops->update_ire_from_apic(apic, reg, value); in iommu_update_ire_from_apic()
32 const struct iommu_ops *ops = iommu_get_ops(); in iommu_read_apic_from_ire() local
33 return ops->read_apic_from_ire(apic, reg); in iommu_read_apic_from_ire()
38 const struct iommu_ops *ops = iommu_get_ops(); in iommu_setup_hpet_msi() local
39 return ops->setup_hpet_msi ? ops->setup_hpet_msi(msi) : -ENODEV; in iommu_setup_hpet_msi()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/arm/
A Diommu.c30 void __init iommu_set_ops(const struct iommu_ops *ops) in iommu_set_ops() argument
32 BUG_ON(ops == NULL); in iommu_set_ops()
34 if ( iommu_ops && iommu_ops != ops ) in iommu_set_ops()
37 iommu_ops = ops; in iommu_set_ops()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_resource.c46 static int xc_resource_op_multi(xc_interface *xch, uint32_t nr_ops, xc_resource_op_t *ops) in xc_resource_op_multi() argument
78 op = ops + i; in xc_resource_op_multi()
114 op = ops + i; in xc_resource_op_multi()
132 int xc_resource_op(xc_interface *xch, uint32_t nr_ops, xc_resource_op_t *ops) in xc_resource_op() argument
135 return xc_resource_op_one(xch, ops); in xc_resource_op()
137 return xc_resource_op_multi(xch, nr_ops, ops); in xc_resource_op()
A Dxc_sr_restore.c184 ctx->restore.ops.set_gfn(ctx, pfns[i], mfns[i]); in populate_pfns()
231 ctx->restore.ops.set_page_type(ctx, pfns[i], types[i]); in process_page_data()
289 rc = ctx->restore.ops.localise_page(ctx, types[i], page_data); in process_page_data()
372 if ( !ctx->restore.ops.pfn_is_valid(ctx, pfn) ) in handle_page_data()
570 rc = ctx->restore.ops.stream_complete(ctx); in handle_checkpoint()
653 rc = ctx->restore.ops.process_record(ctx, rec); in process_record()
683 rc = ctx->restore.ops.setup(ctx); in setup()
726 if ( ctx->restore.ops.cleanup(ctx) ) in cleanup()
802 rc = ctx->restore.ops.stream_complete(ctx); in restore()
893 ctx.restore.ops = restore_ops_x86_hvm; in xc_domain_restore()
[all …]
A Dxc_sr_save.c122 types[i] = mfns[i] = ctx->save.ops.pfn_to_gfn(ctx, in write_batch()
183 rc = ctx->save.ops.normalise_page(ctx, types[i], &page); in write_batch()
398 return ctx->save.ops.check_vm_state(ctx); in send_dirty_pages()
793 rc = ctx->save.ops.setup(ctx); in setup()
828 if ( ctx->save.ops.cleanup(ctx) ) in cleanup()
858 rc = ctx->save.ops.start_of_stream(ctx); in save()
863 rc = ctx->save.ops.start_of_checkpoint(ctx); in save()
867 rc = ctx->save.ops.check_vm_state(ctx); in save()
889 rc = ctx->save.ops.end_of_checkpoint(ctx); in save()
1016 ctx.save.ops = save_ops_x86_hvm; in xc_domain_save()
[all …]
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_checkpoint_device.c133 dev->ops = dev->cds->ops[++dev->ops_index]; in device_setup_iterate()
134 if (!dev->ops) { in device_setup_iterate()
160 } while (dev->ops->kind != dev->kind); in device_setup_iterate()
164 dev->ops->setup(egc,dev); in device_setup_iterate()
196 if (!dev->ops || !dev->matched) in libxl__checkpoint_devices_teardown()
200 dev->ops->teardown(egc,dev); in libxl__checkpoint_devices_teardown()
252 if (!dev->matched || !dev->ops->api) \
255 dev->ops->api(egc,dev); \
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dio.c39 if ( !handler->ops->read(v, info, &r, handler->priv) ) in handle_read()
69 return handler->ops->write(v, info, get_user_reg(regs, dabt.reg), in handle_write()
119 const struct mmio_handler_ops *ops, in register_mmio_handler() argument
131 handler->ops = ops; in register_mmio_handler()
/xen-4.10.0-shim-comet/tools/ocaml/libs/xs/
A Dxst.mli16 type ops = { type
29 val get_operations : int -> Xsraw.con -> ops
30 val transaction : Xsraw.con -> (ops -> 'a) -> 'a
/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Diommu.c462 const struct iommu_ops *ops; in iommu_get_reserved_device_memory() local
467 ops = iommu_get_ops(); in iommu_get_reserved_device_memory()
468 if ( !ops->get_reserved_device_memory ) in iommu_get_reserved_device_memory()
471 return ops->get_reserved_device_memory(func, ctxt); in iommu_get_reserved_device_memory()
485 const struct iommu_ops *ops; in iommu_dump_p2m_table() local
493 ops = iommu_get_ops(); in iommu_dump_p2m_table()
506 ops->dump_p2m_table(d); in iommu_dump_p2m_table()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dmmio.h49 const struct mmio_handler_ops *ops; member
62 const struct mmio_handler_ops *ops,
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dio.h68 const struct hvm_mmio_ops *ops; member
75 const struct hvm_io_ops *ops; member
108 const struct hvm_mmio_ops *ops);

Completed in 78 milliseconds

123