Lines Matching refs:esz
922 int esz = GITS_BASER_ENTRY_SIZE(baser); in vgic_its_check_id() local
942 if (id >= (l1_tbl_size / esz)) in vgic_its_check_id()
945 addr = base + id * esz; in vgic_its_check_id()
954 index = id / (SZ_64K / esz); in vgic_its_check_id()
974 index = id % (SZ_64K / esz); in vgic_its_check_id()
975 indirect_ptr += index * esz; in vgic_its_check_id()
2140 static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz, in scan_its_table() argument
2150 memset(entry, 0, esz); in scan_its_table()
2156 ret = kvm_read_guest_lock(kvm, gpa, entry, esz); in scan_its_table()
2164 byte_offset = next_offset * esz; in scan_its_table()
2521 gpa_t gpa, int esz) in vgic_its_save_cte() argument
2529 return kvm_write_guest_lock(its->dev->kvm, gpa, &val, esz); in vgic_its_save_cte()
2537 static int vgic_its_restore_cte(struct vgic_its *its, gpa_t gpa, int esz) in vgic_its_restore_cte() argument
2545 BUG_ON(esz > sizeof(val)); in vgic_its_restore_cte()
2546 ret = kvm_read_guest_lock(kvm, gpa, &val, esz); in vgic_its_restore_cte()