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

123

/barrelfish-2018-10-04/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-2018-10-04/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-2018-10-04/kernel/include/arch/armv8/
H A Dstart_aps.h27 int start_aps_arm_start(coreid_t core_id, genvaddr_t entry);
/barrelfish-2018-10-04/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 Dservice.c30 static void add_spawnd_handler(struct proc_mgmt_binding *b, coreid_t core_id, argument
33 if (spawnd_state_exists(core_id)) {
46 err = spawnd_state_alloc(core_id, spawnb);
51 debug_printf("Process manager bound with spawnd.%u on iref %u\n", core_id,
59 coreid_t core_id, iref_t iref)
89 err = domain_spawn(spawn->cap_node, spawn->core_id, spawn->argvbuf,
342 coreid_t core_id, const char *path,
348 if (!spawnd_state_exists(core_id)) {
352 while(!spawnd_state_exists(core_id)) {
358 struct spawnd_state *spawnd = spawnd_state_get(core_id);
58 add_spawnd_handler_non_monitor(struct proc_mgmt_binding *b, coreid_t core_id, iref_t iref) argument
340 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
413 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
434 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
460 span_handler(struct proc_mgmt_binding *b, struct capref domain_cap, coreid_t core_id, struct capref vroot, struct capref dispframe) argument
[all...]
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...]
/barrelfish-2018-10-04/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-2018-10-04/include/barrelfish/
H A Ddomain.h30 uint8_t core_id; ///< Id of the remote core member in struct:span_domain_state
51 void disp_set_core_id(coreid_t core_id);
88 errval_t domain_new_dispatcher(coreid_t core_id,
91 errval_t domain_new_dispatcher_setup_only(coreid_t core_id,
93 errval_t domain_thread_create_on(coreid_t core_id, thread_func_t start_func,
95 errval_t domain_thread_create_on_varstack(coreid_t core_id,
100 errval_t domain_send_cap(coreid_t core_id, struct capref cap);
105 errval_t domain_thread_move_to(struct thread *thread, coreid_t core_id);
H A Ddispatcher.h63 coreid_t core_id; member in struct:dispatcher_generic
/barrelfish-2018-10-04/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-2018-10-04/usr/kaluga/
H A Dqueue.h25 coreid_t core_id; member in struct:mon_msg_state
/barrelfish-2018-10-04/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.h55 coreid_t core_id; // core id of other side of channel member in struct:remote_conn_state
98 uint8_t core_id; member in struct:span_state
/barrelfish-2018-10-04/usr/skb/testapps/
H A Dmap.c40 static void map_init_client(uint64_t core_id);
191 uint8_t core_id; member in struct:threadalloc
202 uint32_t core_id; local
229 // sscanf(output, "range(%u, %lu, %lu)", &core_id, &start, &end);
230 core_id = atoi(output);
235 printf("thread on core %u, range [%lu, %lu]\n", core_id, start, end);
272 static uint64_t core_id; variable
282 core_id = disp_get_core_id();
283 printf("\nmap: running one core %lu\n", core_id);
284 printf("\nmap %lu: argc = %d\n", core_id, arg
393 skb_map_finished_c(struct skb_map_client_response *cc, uint64_t core_id) argument
395 skb_map_finished_s(struct skb_map_service_response *cc, uint64_t core_id) argument
431 start_client(struct chips_context *context, uint64_t core_id) argument
461 map_init_client(uint64_t core_id) argument
[all...]
/barrelfish-2018-10-04/lib/barrelfish/
H A Ddomain.c53 uint8_t core_id; ///< Core id of the domain that spanned this dispatcher member in struct:remote_core_state
74 span_domain_state->core_id != i && b != NULL) {
188 coreid_t core_id = disp_get_core_id(); local
193 assert_disabled(wakeup->coreid == core_id);
275 coreid_t core_id)
280 domain_state->binding[core_id] = b;
346 struct interdisp_binding *sb = domain_state->binding[state->core_id];
412 /* coreid_t core_id = disp_handle_get_core_id(thread->disp); */
413 coreid_t core_id = thread->coreid; local
415 assert(domain_state->binding[core_id] !
274 span_eager_connect_request(struct interdisp_binding *b, coreid_t core_id) argument
617 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
774 domain_new_dispatcher(coreid_t core_id, domain_spanned_callback_t callback, void *callback_arg) argument
816 domain_new_dispatcher_setup_only(coreid_t core_id, struct span_domain_state **ret_state) argument
825 domain_send_cap(coreid_t core_id, struct capref cap) argument
860 domain_wakeup_on_coreid_disabled(coreid_t core_id, struct thread *thread, dispatcher_handle_t mydisp) argument
897 coreid_t core_id = disp_handle_get_core_id(disp); local
914 domain_thread_move_to(struct thread *thread, coreid_t core_id) argument
945 domain_thread_create_on_varstack(coreid_t core_id, thread_func_t start_func, void *arg, size_t stacksize, struct thread **newthread) argument
1004 domain_thread_create_on(coreid_t core_id, thread_func_t start_func, void *arg, struct thread **newthread) argument
1012 coreid_t core_id = thread->coreid; local
1058 disp_set_core_id(coreid_t core_id) argument
[all...]
/barrelfish-2018-10-04/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-2018-10-04/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-2018-10-04/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-2018-10-04/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-2018-10-04/lib/bomp/backends/
H A Dlinux.c32 void backend_run_func_on(int core_id, void* cfunc, void *arg) argument

Completed in 106 milliseconds

123