Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/vgic/
H A Dvgic-v3-nested.c32 struct shadow_if { struct
37 static DEFINE_PER_CPU(struct shadow_if, shadow_if); argument
39 static int lr_map_idx_to_shadow_idx(struct shadow_if *shadow_if, int idx) in lr_map_idx_to_shadow_idx() argument
41 return hweight16(shadow_if->lr_map & (BIT(idx) - 1)); in lr_map_idx_to_shadow_idx()
133 static struct shadow_if *get_shadow_if(void) in get_shadow_if()
135 return this_cpu_ptr(&shadow_if); in get_shadow_if()
251 struct shadow_if *shadow_if; in vgic_v3_create_shadow_lr() local
253 shadow_if = container_of(s_cpu_if, struct shadow_if, cpuif); in vgic_v3_create_shadow_lr()
254 shadow_if->lr_map = 0; in vgic_v3_create_shadow_lr()
264 s_cpu_if->vgic_lr[hweight16(shadow_if->lr_map)] = lr; in vgic_v3_create_shadow_lr()
[all …]