Searched refs:core_id (Results 1 - 25 of 68) sorted by relevance

123

/barrelfish-master/usr/skb/measurement/
H A Ddatagatherer.h18 errval_t gather_cpuid_data(coreid_t core_id);
H A Ddatagatherer.c34 static coreid_t core_id; variable
52 core_id = disp_get_core_id();
68 err = gather_cpuid_data(core_id);
/barrelfish-master/kernel/include/arch/x86/
H A Dstart_aps.h28 int start_aps_k1om_start(coreid_t core_id, genvaddr_t entry);
29 int start_aps_x86_64_start(coreid_t core_id, genvaddr_t entry);
30 int start_aps_x86_32_start(coreid_t core_id, genvaddr_t entry);
/barrelfish-master/kernel/include/arch/armv8/
H A Dstart_aps.h27 int start_aps_arm_start(coreid_t core_id, genvaddr_t entry);
/barrelfish-master/usr/proc_mgmt/
H A Dspawnd_state.h36 coreid_t core_id; member in struct:spawnd_state
43 errval_t spawnd_state_alloc(coreid_t core_id, struct spawn_binding *b);
44 bool spawnd_state_exists(coreid_t core_id);
45 struct spawnd_state *spawnd_state_get(coreid_t core_id);
H A Dspawnd_state.c21 * \param core_id core where the spawnd newly bound with runs.
24 errval_t spawnd_state_alloc(coreid_t core_id, struct spawn_binding *b) argument
26 spawnds[core_id] = (struct spawnd_state*) malloc(
28 if (spawnds[core_id] == NULL) {
32 spawnds[core_id]->b = b;
33 spawnds[core_id]->core_id = core_id;
34 spawnds[core_id]->sendq.head = NULL;
35 spawnds[core_id]
47 spawnd_state_exists(coreid_t core_id) argument
55 spawnd_state_get(coreid_t core_id) argument
[all...]
H A Ddomain.h66 void domain_run_on_core(struct domain_entry *entry, coreid_t core_id);
70 errval_t domain_spawn(struct domain_cap_node *cap_node, coreid_t core_id,
72 errval_t domain_can_span(struct capref domain_cap, coreid_t core_id);
73 errval_t domain_span(struct capref domain_cap, coreid_t core_id);
H A Dpending_clients.h36 coreid_t core_id; member in struct:pending_spawn
57 coreid_t core_id; member in struct:pending_span
H A Ddomain.c195 * \param core_id new core running a dispatcher for the domain.
197 void domain_run_on_core(struct domain_entry *entry, coreid_t core_id) argument
200 assert(core_id < MAX_COREID);
206 entry->spawnds[core_id] = spawnd_state_get(core_id);
216 * \param core_id core that runs the new domain.
218 errval_t domain_spawn(struct domain_cap_node *cap_node, coreid_t core_id, argument
230 domain_run_on_core(entry, core_id);
239 * \param core_id new core which the domain spans.
241 errval_t domain_span(struct capref domain_cap, coreid_t core_id) argument
[all...]
H A Dservice.c32 static void add_spawnd_handler(struct proc_mgmt_binding *b, coreid_t core_id, argument
35 if (spawnd_state_exists(core_id)) {
48 err = spawnd_state_alloc(core_id, spawnb);
54 err = nsb_register_n(core_id, SERVICE_BASENAME);
64 coreid_t core_id, iref_t iref)
99 err = domain_spawn(spawn->cap_node, spawn->core_id, spawn->argvbuf,
352 coreid_t core_id, const char *path,
358 if (!spawnd_state_exists(core_id)) {
360 * Clients can do nsb_wait_n(core_id, "proc_mgmt") to avoid
366 struct spawnd_state *spawnd = spawnd_state_get(core_id);
63 add_spawnd_handler_non_monitor(struct proc_mgmt_binding *b, coreid_t core_id, iref_t iref) argument
350 spawn_handler_common(struct proc_mgmt_binding *b, enum ClientType type, coreid_t core_id, const char *path, const char *argvbuf, size_t argvbytes, const char *envbuf, size_t envbytes, struct capref inheritcn_cap, struct capref argcn_cap, uint8_t flags) argument
421 spawn_handler(struct proc_mgmt_binding *b, coreid_t core_id, const char *path, const char *argvbuf, size_t argvbytes, const char *envbuf, size_t envbytes, uint8_t flags) argument
442 spawn_with_caps_handler(struct proc_mgmt_binding *b, coreid_t core_id, const char *path, const char *argvbuf, size_t argvbytes, const char *envbuf, size_t envbytes, struct capref inheritcn_cap, struct capref argcn_cap, uint8_t flags) argument
468 span_handler(struct proc_mgmt_binding *b, struct capref domain_cap, coreid_t core_id, struct capref vroot, struct capref dispframe) argument
[all...]
/barrelfish-master/usr/monitor/
H A Dintermon_bindings.c24 if (st->core_id > MAX_COREID) {
27 if (bindings[st->core_id] != NULL) {
28 //printf("%s:%s:%d: overwrite binding (core_id=%"PRIuCOREID"), scary.\n",
29 // __FILE__, __FUNCTION__, __LINE__, st->core_id);
31 bindings[st->core_id] = st;
H A Diref.c50 * \brief Return core_id
52 * The core_id is stored in the iref itself.
54 errval_t iref_get_core_id(iref_t iref, coreid_t *core_id) argument
56 *core_id = (iref - 1) / MAX_IREF_PERCORE;
/barrelfish-master/include/barrelfish/
H A Ddomain.h30 uint8_t core_id; ///< Id of the remote core member in struct:span_domain_state
54 void disp_set_core_id(coreid_t core_id);
95 errval_t domain_new_dispatcher(coreid_t core_id,
98 errval_t domain_new_dispatcher_setup_only(coreid_t core_id,
100 errval_t domain_thread_create_on(coreid_t core_id, thread_func_t start_func,
102 errval_t domain_thread_create_on_varstack(coreid_t core_id,
107 errval_t domain_send_cap(coreid_t core_id, struct capref cap);
112 errval_t domain_thread_move_to(struct thread *thread, coreid_t core_id);
/barrelfish-master/usr/monitor/arch/arm/
H A Dinter.c24 coreid_t core_id,
56 coreid_t core_id)
23 bind_monitor_request(struct intermon_binding *st, coreid_t core_id, intermon_caprep_t caprep) argument
55 new_monitor_notify(struct intermon_binding *st, coreid_t core_id) argument
/barrelfish-master/usr/kaluga/
H A Dqueue.h25 coreid_t core_id; member in struct:mon_msg_state
/barrelfish-master/usr/monitor/include/
H A Dram_alloc.h16 errval_t mon_ram_alloc_init(coreid_t core_id, struct intermon_binding *b);
H A Dconnection.h61 coreid_t core_id; // core id of other side of channel member in struct:remote_conn_state
85 uint8_t core_id; member in struct:span_state
/barrelfish-master/lib/barrelfish/
H A Ddomain.c54 uint8_t core_id; ///< Core id of the domain that spanned this dispatcher member in struct:remote_core_state
75 span_domain_state->core_id != i && b != NULL) {
189 coreid_t core_id = disp_get_core_id(); local
194 assert_disabled(wakeup->coreid == core_id);
276 coreid_t core_id)
281 domain_state->binding[core_id] = b;
347 struct interdisp_binding *sb = domain_state->binding[state->core_id];
413 /* coreid_t core_id = disp_handle_get_core_id(thread->disp); */
414 coreid_t core_id = thread->coreid; local
416 assert(domain_state->binding[core_id] !
275 span_eager_connect_request(struct interdisp_binding *b, coreid_t core_id) argument
618 domain_new_dispatcher_varstack(coreid_t core_id, domain_spanned_callback_t callback, void *callback_arg, size_t stack_size, struct span_domain_state **ret_span_state) argument
766 domain_new_dispatcher(coreid_t core_id, domain_spanned_callback_t callback, void *callback_arg) argument
808 domain_new_dispatcher_setup_only(coreid_t core_id, struct span_domain_state **ret_state) argument
817 domain_send_cap(coreid_t core_id, struct capref cap) argument
852 domain_wakeup_on_coreid_disabled(coreid_t core_id, struct thread *thread, dispatcher_handle_t mydisp) argument
889 coreid_t core_id = disp_handle_get_core_id(disp); local
906 domain_thread_move_to(struct thread *thread, coreid_t core_id) argument
937 domain_thread_create_on_varstack(coreid_t core_id, thread_func_t start_func, void *arg, size_t stacksize, struct thread **newthread) argument
996 domain_thread_create_on(coreid_t core_id, thread_func_t start_func, void *arg, struct thread **newthread) argument
1004 coreid_t core_id = thread->coreid; local
1050 disp_set_core_id(coreid_t core_id) argument
[all...]
/barrelfish-master/usr/monitor/arch/x86/
H A Dinter.c63 * \param core_id Originating core id
67 coreid_t core_id,
72 trace_event(TRACE_SUBSYS_MONITOR, TRACE_EVENT_MONITOR_BIND_MONITOR_REQUEST, core_id);
88 err = monitor_cap_create(frame, &cap_raw, core_id);
118 err = intermon_init(&umpb->b, core_id);
181 coreid_t src_core_id = ((struct intermon_state *)b->st)->core_id;
226 coreid_t core_id)
229 // __FILE__, __FUNCTION__, __LINE__, core_id);
268 err = intermon_init(&ump_binding->b, core_id);
283 err = st->tx_vtbl.bind_monitor_proxy(st, NOP_CONT, core_id, capre
66 bind_monitor_request(struct intermon_binding *b, coreid_t core_id, intermon_caprep_t caprep) argument
225 new_monitor_notify(struct intermon_binding *st, coreid_t core_id) argument
[all...]
/barrelfish-master/usr/tests/skb_tests/
H A Dmem_affinity.c31 coreid_t core_id = disp_get_core_id(); local
36 "write(output,len(Len)),write(output,List).", core_id);
/barrelfish-master/usr/monitor/arch/armv7/
H A Dinter.c63 coreid_t core_id,
82 err = monitor_cap_create(frame, &cap_raw, core_id);
112 err = intermon_init(&umpb->b, core_id);
171 coreid_t src_core_id = ((struct intermon_state *)b->st)->core_id;
214 coreid_t core_id)
254 err = intermon_init(&ump_binding->b, core_id);
269 err = st->tx_vtbl.bind_monitor_proxy(st, NOP_CONT, core_id, caprep);
62 bind_monitor_request(struct intermon_binding *b, coreid_t core_id, intermon_caprep_t caprep) argument
213 new_monitor_notify(struct intermon_binding *st, coreid_t core_id) argument
/barrelfish-master/usr/monitor/arch/armv8/
H A Dinter.c63 coreid_t core_id,
82 err = monitor_cap_create(frame, &cap_raw, core_id);
112 err = intermon_init(&umpb->b, core_id);
171 coreid_t src_core_id = ((struct intermon_state *)b->st)->core_id;
214 coreid_t core_id)
254 err = intermon_init(&ump_binding->b, core_id);
269 err = st->tx_vtbl.bind_monitor_proxy(st, NOP_CONT, core_id, caprep);
62 bind_monitor_request(struct intermon_binding *b, coreid_t core_id, intermon_caprep_t caprep) argument
213 new_monitor_notify(struct intermon_binding *st, coreid_t core_id) argument
/barrelfish-master/lib/bomp/backends/
H A Dlinux.c32 void backend_run_func_on(int core_id, void* cfunc, void *arg) argument
/barrelfish-master/lib/rcce/
H A Drcce.c214 int core_id = RC_COREID[source]; local
215 struct msg_buf *mb = &msgbuf[core_id];
226 err = barray[core_id]->tx_vtbl.bulk_recv_ready(barray[core_id], NOP_CONT,
256 err = barray[core_id]->tx_vtbl.message_reply(barray[core_id],
/barrelfish-master/lib/tweed/
H A Dtweed.c56 workers[id].core_id = disp_get_core_id();
83 workers[id].core_id = disp_get_core_id();
280 trace_event(TRACE_SUBSYS_TWEED, TRACE_EVENT_TWEED_STEAL, victim->core_id);
283 victim->core_id);
331 GET_THIEF(_tweed_top_)->core_id);
339 GET_THIEF(_tweed_top_)->core_id); ;

Completed in 154 milliseconds

123