Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 52) sorted by relevance

123

/xen/xen/common/sched/
A Dnull.c206 nvc->unit = unit; in null_alloc_udata()
296 if ( likely((npc->unit == NULL || npc->unit == unit) in pick_res()
334 d.unit = unit->unit_id; in pick_res()
349 npc->unit = unit; in unit_assign()
362 d.unit = unit->unit_id; in unit_assign()
377 ASSERT(npc->unit == unit); in unit_deassign()
393 d.unit = unit->unit_id; in unit_deassign()
536 ASSERT(npc->unit != unit); in null_unit_remove()
587 if ( likely(npc->unit == unit) ) in null_unit_wake()
696 d.unit = unit->unit_id; in null_unit_migrate()
[all …]
A Dprivate.h130 if ( is_idle_unit(unit) ) in unit_runnable_state()
159 unit->res = res; in sched_set_res()
165 return unit->res->master_cpu; in sched_unit_master()
413 s->insert_unit(s, unit); in sched_insert_unit()
420 s->remove_unit(s, unit); in sched_remove_unit()
427 s->sleep(s, unit); in sched_sleep()
434 s->wake(s, unit); in sched_wake()
441 s->yield(s, unit); in sched_yield()
448 s->context_saved(s, unit); in sched_context_saved()
455 s->migrate(s, unit, cpu); in sched_migrate()
[all …]
A Dcore.c401 xfree(unit); in sched_free_unit_mem()
447 if ( !unit ) in sched_alloc_unit_mem()
458 return unit; in sched_alloc_unit_mem()
487 if ( unit ) in sched_alloc_unit()
499 return unit; in sched_alloc_unit()
821 sched_sleep(unit_scheduler(unit), unit); in vcpu_sleep_nosync_locked()
880 sched_wake(unit_scheduler(unit), unit); in vcpu_wake()
949 sched_migrate(unit_scheduler(unit), unit, new_cpu); in sched_unit_move_locked()
1164 res = sched_pick_resource(unit_scheduler(unit), unit); in restore_vcpu_affinity()
2231 if ( !unit ) in unit_context_saved()
[all …]
A Dcredit2.c1113 d.unit = svc->unit->unit_id; in _runq_assign()
1402 d.unit = svc->unit->unit_id; in update_svc_load()
1458 d.unit = svc->unit->unit_id; in runq_insert()
1558 d.unit = cur->unit->unit_id; in tickle_score()
1606 d.unit = unit->unit_id; in runq_tickle()
1891 d.unit = svc->unit->unit_id; in burn_credits()
2149 BUG_ON( svc->unit != unit ); in csched2_unit_check()
2182 svc->unit = unit; in csched2_alloc_udata()
2546 d.unit = unit->unit_id; in csched2_res_pick()
2617 d.unit = unit->unit_id; in migrate()
[all …]
A Drt.c214 struct sched_unit *unit; member
239 return unit->priv; in rt_unit()
466 d.unit = svc->unit->unit_id; in rt_update_deadline()
667 res = rt_res_pick_locked(unit, unit->res->master_cpu); in rt_res_pick()
839 svc->unit = unit; in rt_alloc_udata()
880 sched_set_res(unit, rt_res_pick_locked(unit, cpu)); in rt_unit_insert()
978 d.unit = svc->unit->unit_id; in burn_budget()
1029 d.unit = svc->unit->unit_id; in runq_pick()
1140 if ( curr_on_cpu(sched_unit_master(unit)) == unit ) in rt_unit_sleep()
1256 if ( unlikely(curr_on_cpu(sched_unit_master(unit)) == unit) ) in rt_unit_wake()
[all …]
A Dcredit.c87 #define CSCHED_UNIT(unit) ((struct csched_unit *) (unit)->priv) argument
357 const struct sched_unit *unit = new->unit; in __runq_tickle() local
650 BUG_ON( svc->unit != unit ); in __csched_unit_check()
664 #define CSCHED_UNIT_CHECK(unit) (__csched_unit_check(unit)) argument
1002 svc->unit = unit; in csched_alloc_udata()
1021 sched_set_res(unit, csched_res_pick(ops, unit)); in csched_unit_insert()
1625 unit = speer->unit; in csched_runq_steal()
1651 unit->domain->domain_id, unit->unit_id); in csched_runq_steal()
1911 d.unit = unit->unit_id; in csched_schedule()
1985 unit->next_time = (is_idle_unit(snext->unit) ? in csched_schedule()
[all …]
A Darinc653.c57 #define AUNIT(unit) ((arinc653_unit_t *)(unit)->priv) argument
76 struct sched_unit * unit; member
100 struct sched_unit * unit; member
194 return aunit->unit; in find_unit()
416 sched_priv->schedule[entry].unit = unit; in a653sched_alloc_udata()
429 svc->unit = unit; in a653sched_alloc_udata()
431 if ( !is_idle_unit(unit) ) in a653sched_alloc_udata()
457 if ( !is_idle_unit(av->unit) ) in a653sched_free_udata()
475 if ( AUNIT(unit) != NULL ) in a653sched_unit_sleep()
482 if ( get_sched_res(sched_unit_master(unit))->curr == unit ) in a653sched_unit_sleep()
[all …]
/xen/tools/ocaml/libs/xl/
A Dxenlight.mli.in24 val register_exceptions: unit -> unit
28 external test_raise_exception: unit -> unit = "stub_raise_exception"
41 ?async:'a -> unit -> domid = "stub_libxl_domain_create_restore"
42 external shutdown : ctx -> domid -> ?async:'a -> unit -> unit = "stub_libxl_domain_shutdown"
43 external reboot : ctx -> domid -> ?async:'a -> unit -> unit = "stub_libxl_domain_reboot"
44 external destroy : ctx -> domid -> ?async:'a -> unit -> unit = "stub_libxl_domain_destroy"
45 …external suspend : ctx -> domid -> Unix.file_descr -> ?async:'a -> unit -> unit = "stub_libxl_doma…
73 fd_deregister:('a -> Unix.file_descr -> 'b -> unit) ->
82 async_callback:(result:error option -> user:'a -> unit) ->
83 unit
[all …]
A Dxenlight.ml.in26 external test_raise_exception: unit -> unit = "stub_raise_exception"
39 ?async:'a -> unit -> domid = "stub_libxl_domain_create_restore"
40 external shutdown : ctx -> domid -> ?async:'a -> unit -> unit = "stub_libxl_domain_shutdown"
41 external reboot : ctx -> domid -> ?async:'a -> unit -> unit = "stub_libxl_domain_reboot"
42 external destroy : ctx -> domid -> ?async:'a -> unit -> unit = "stub_libxl_domain_destroy"
43 …external suspend : ctx -> domid -> Unix.file_descr -> ?async:'a -> unit -> unit = "stub_libxl_doma…
44 external pause : ctx -> domid -> ?async:'a -> unit = "stub_libxl_domain_pause"
45 external unpause : ctx -> domid -> ?async:'a -> unit = "stub_libxl_domain_unpause"
48 external send_sysrq : ctx -> domid -> char -> unit = "stub_xl_send_sysrq"
59 external send_debug_keys : ctx -> string -> unit = "stub_xl_send_debug_keys"
[all …]
/xen/tools/hotplug/Linux/systemd/
A Dshow_service_dependencies.sh10 unit=${file##*/}
11 unit=${unit%.in}
15 echo "\"$unit\" [fillcolor=lightgray color=black fontcolor=black style=filled];"
18 echo "\"$i\" -> \"$unit\" [color=red];"
22 echo "\"$i\" -> \"$unit\" [color=blue];"
26 echo "\"$unit\" -> \"$i\" [color=green];"
/xen/tools/ocaml/libs/xs/
A Dxsraw.mli21 val close : con -> unit
28 val pkt_send : con -> unit
31 val queue_watchevent : con -> string -> unit
37 val ack : string -> unit
38 val validate_path : string -> unit
39 val validate_watch_path : string -> unit
45 val watch : string -> string -> con -> unit
50 val release : int -> con -> unit
51 val resume : int -> con -> unit
55 val mkdir : int -> string -> con -> unit
[all …]
A Dxs.mli38 write : string -> string -> unit;
40 mkdir : string -> unit;
41 rm : string -> unit;
43 setperms : string -> perms -> unit;
46 release : domid -> unit;
47 resume : domid -> unit;
49 watch : string -> string -> unit;
81 -> unit
84 val daemon_open : unit -> xsh
87 val domain_open : unit -> xsh
[all …]
A Dxst.mli20 write : string -> string -> unit;
21 writev : string -> (string * string) list -> unit;
22 mkdir : string -> unit;
23 rm : string -> unit;
25 setperms : string -> Xsraw.perms -> unit;
26 setpermsv : string -> string list -> Xsraw.perms -> unit;
A Dxst.ml22 write: string -> string -> unit;
23 writev: string -> (string * string) list -> unit;
24 mkdir: string -> unit;
25 rm: string -> unit;
27 setperms: string -> Xsraw.perms -> unit;
28 setpermsv: string -> string list -> Xsraw.perms -> unit;
A Dxs.ml28 write: string -> string -> unit;
29 writev: string -> (string * string) list -> unit;
30 mkdir: string -> unit;
31 rm: string -> unit;
33 setperms: string -> perms -> unit;
34 setpermsv: string -> string list -> perms -> unit;
35 introduce: domid -> nativeint -> int -> unit;
36 release: domid -> unit;
37 resume: domid -> unit;
39 watch: string -> string -> unit;
[all …]
/xen/tools/ocaml/libs/xc/
A Dxenctrl.mli127 external interface_open : unit -> handle = "stub_xc_interface_open"
128 external interface_close : handle -> unit = "stub_xc_interface_close"
136 val get_handle: unit -> handle option
141 val close_handle: unit -> unit
146 external domain_max_vcpus : handle -> domid -> int -> unit
150 external domain_resume_fast : handle -> domid -> unit
153 external domain_shutdown : handle -> domid -> shutdown_reason -> unit
179 external shadow_allocation_set : handle -> domid -> int -> unit
190 external domain_setmaxmem : handle -> domid -> int64 -> unit
192 external domain_set_memmap_limit : handle -> domid -> int64 -> unit
[all …]
A Dxenctrl.ml156 external interface_open: unit -> handle = "stub_xc_interface_open"
157 external interface_close: handle -> unit = "stub_xc_interface_close"
184 external domain_sethandle: handle -> domid -> string -> unit
187 external domain_max_vcpus: handle -> domid -> int -> unit
190 external domain_pause: handle -> domid -> unit = "stub_xc_domain_pause"
195 external domain_shutdown: handle -> domid -> shutdown_reason -> unit
219 external domain_irq_permission: handle -> domid -> int -> bool -> unit
237 external shadow_allocation_set: handle -> domid -> int -> unit
244 external evtchn_reset: handle -> domid -> unit = "stub_xc_evtchn_reset"
252 external domain_setmaxmem: handle -> domid -> int64 -> unit
[all …]
/xen/tools/ocaml/xenstored/
A Dsymbol.mli39 val mark_all_as_unused : unit -> unit
40 val mark_as_used : t -> unit
41 val garbage : unit -> unit
45 val stats : unit -> int
48 val created : unit -> int
51 val used : unit -> int
A Dconfig.ml22 | Unit of (unit -> unit)
23 | Bool of (bool -> unit)
24 | Int of (int -> unit)
25 | String of (string -> unit)
26 | Float of (float -> unit)
/xen/tools/ocaml/libs/xb/
A Dxb.mli63 eventchn_notify : unit -> unit;
76 val init_partial_in : unit -> partial_buf
77 val reconnect : t -> unit
78 val queue : t -> Packet.t -> unit
89 val open_mmap : Xenmmap.mmap_interface -> (unit -> unit) -> t
90 val close : t -> unit
/xen/tools/ocaml/libs/mmap/
A Dxenmmap.ml25 external unmap: mmap_interface -> unit = "stub_mmap_final"
28 (* write: interface -> data -> start -> length -> unit *)
29 external write: mmap_interface -> string -> int -> int -> unit = "stub_mmap_write"
30 (* getpagesize: unit -> size of page *)
31 external getpagesize: unit -> int = "stub_mmap_getpagesize"
A Dxenmmap.mli23 external unmap : mmap_interface -> unit = "stub_mmap_final"
25 external write : mmap_interface -> string -> int -> int -> unit
28 external getpagesize : unit -> int = "stub_mmap_getpagesize"
/xen/tools/ocaml/libs/xentoollog/
A Dxentoollog.ml.in28 vmessage : level -> int option -> string option -> string -> unit;
29 progress : string option -> string -> int -> int64 -> int64 -> unit;
30 (*destroy : unit -> unit*)
34 external test: handle -> unit = "stub_xtl_test"
A Dxentoollog.mli.in35 vmessage : level -> int option -> string option -> string -> unit;
36 progress : string option -> string -> int -> int64 -> int64 -> unit;
37 (*destroy : handle -> unit*)
40 external test: handle -> unit = "stub_xtl_test"
/xen/tools/ocaml/libs/eventchn/
A Dxeneventchn.ml19 external init: unit -> handle = "stub_eventchn_init"
40 external notify: handle -> int -> unit = "stub_eventchn_notify"
44 external unbind: handle -> int -> unit = "stub_eventchn_unbind"
46 external unmask: handle -> int -> unit = "stub_eventchn_unmask"

Completed in 48 milliseconds

123