Home
last modified time | relevance | path

Searched refs:guest_partition (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/include/kernel/
H A Dvirtualization.h18 struct guest_partition;
106 uint16_t virt_get_guest_id(struct guest_partition *prtn);
124 struct guest_partition *virt_next_guest(struct guest_partition *prtn);
134 struct guest_partition *virt_get_current_guest(void);
145 struct guest_partition *virt_get_guest(uint16_t guest_id);
153 void virt_put_guest(struct guest_partition *prtn);
181 void *virt_get_guest_spec_data(struct guest_partition *prtn,
203 static inline uint16_t virt_get_guest_id(struct guest_partition *prtn __unused) in virt_get_guest_id()
207 static inline struct guest_partition *virt_get_current_guest(void) in virt_get_current_guest()
211 static inline struct guest_partition *virt_get_guest(uint16_t guest_id __unused) in virt_get_guest()
[all …]
/optee_os/core/arch/arm/kernel/
H A Dvirtualization.c30 LIST_HEAD(prtn_list_head, guest_partition);
51 struct guest_partition { struct
52 LIST_ENTRY(guest_partition) link;
73 struct guest_partition *current_partition[CFG_TEE_CORE_NB_CORE] __nex_bss; argument
75 static struct guest_partition *get_current_prtn(void) in get_current_prtn()
77 struct guest_partition *ret; in get_current_prtn()
89 struct guest_partition *prtn = get_current_prtn(); in virt_get_current_guest_id()
96 static void set_current_prtn(struct guest_partition *prtn) in set_current_prtn()
194 static TEE_Result configure_guest_prtn_mem(struct guest_partition *prtn) in configure_guest_prtn_mem()
268 static void destroy_gsd(struct guest_partition *prtn, bool free_only) in destroy_gsd()
[all …]
H A Dthread_spmc.c685 static struct notif_vm_bitmap *get_notif_vm_bitmap(struct guest_partition *prtn, in get_notif_vm_bitmap()
702 struct guest_partition *prtn = NULL; in spmc_enable_async_notif()
1566 struct guest_partition *prtn = NULL; in handle_notification_bitmap_create()
1605 struct guest_partition *prtn = NULL; in handle_notification_bitmap_destroy()
1638 struct guest_partition *prtn = NULL; in handle_notification_bind()
1684 struct guest_partition *prtn = NULL; in handle_notification_unbind()
1725 struct guest_partition *prtn = NULL; in handle_notification_get()
1817 struct guest_partition *prtn = NULL; in handle_notification_info_get()
1883 struct guest_partition *prtn = NULL; in notif_send_async()
1906 struct guest_partition *prtn = NULL; in notif_send_async()
/optee_os/core/kernel/
H A Dnotif_default.c29 static struct notif_vm_bitmap *get_notif_vm_bitmap(struct guest_partition *prtn) in get_notif_vm_bitmap()
41 struct guest_partition *prtn = NULL; in notif_alloc_async_value()
81 struct guest_partition *prtn = NULL; in notif_free_async_value()
103 struct guest_partition *prtn = NULL; in notif_get_value()
138 struct guest_partition *prtn = NULL; in notif_send_async()
H A Dnotif.c32 static struct notif_data *get_notif_data(struct guest_partition *prtn) in get_notif_data()
43 struct guest_partition *prtn = virt_get_guest(guest_id); in notif_async_is_started()
85 struct guest_partition *prtn = virt_get_guest(guest_id); in notif_deliver_atomic_event()
118 struct guest_partition *prtn = virt_get_current_guest(); in notif_deliver_event()
/optee_os/core/tests/
H A Dnotif_test_wd.c28 static struct wd_data *get_wd_data(struct guest_partition *prtn) in get_wd_data()
62 struct guest_partition *prtn = virt_get_guest(guest_id); in wd_ndrv_atomic_cb()
81 struct guest_partition *prtn = virt_get_current_guest(); in wd_ndrv_yielding_cb()