Lines Matching refs:coll_id
262 static struct its_collection *find_collection(struct vgic_its *its, int coll_id) in find_collection() argument
267 if (coll_id == collection->collection_id) in find_collection()
728 u32 coll_id = its_cmd_get_collection(its_cmd); in vgic_its_cmd_handle_movi() local
740 collection = find_collection(its, coll_id); in vgic_its_cmd_handle_movi()
830 u32 coll_id) in vgic_its_alloc_collection() argument
834 if (!vgic_its_check_id(its, its->baser_coll_table, coll_id, NULL)) in vgic_its_alloc_collection()
841 collection->collection_id = coll_id; in vgic_its_alloc_collection()
850 static void vgic_its_free_collection(struct vgic_its *its, u32 coll_id) in vgic_its_free_collection() argument
861 collection = find_collection(its, coll_id); in vgic_its_free_collection()
867 ite->collection->collection_id == coll_id) in vgic_its_free_collection()
901 u32 coll_id = its_cmd_get_collection(its_cmd); in vgic_its_cmd_handle_mapi() local
928 collection = find_collection(its, coll_id); in vgic_its_cmd_handle_mapi()
930 int ret = vgic_its_alloc_collection(its, &collection, coll_id); in vgic_its_cmd_handle_mapi()
939 vgic_its_free_collection(its, coll_id); in vgic_its_cmd_handle_mapi()
949 vgic_its_free_collection(its, coll_id); in vgic_its_cmd_handle_mapi()
1062 u16 coll_id; in vgic_its_cmd_handle_mapc() local
1068 coll_id = its_cmd_get_collection(its_cmd); in vgic_its_cmd_handle_mapc()
1075 vgic_its_free_collection(its, coll_id); in vgic_its_cmd_handle_mapc()
1077 collection = find_collection(its, coll_id); in vgic_its_cmd_handle_mapc()
1083 coll_id); in vgic_its_cmd_handle_mapc()
1151 u32 coll_id = its_cmd_get_collection(its_cmd); in vgic_its_cmd_handle_invall() local
1158 collection = find_collection(its, coll_id); in vgic_its_cmd_handle_invall()
1957 u32 coll_id, lpi_id; in vgic_its_restore_ite() local
1965 coll_id = val & KVM_ITS_ITE_ICID_MASK; in vgic_its_restore_ite()
1978 collection = find_collection(its, coll_id); in vgic_its_restore_ite()
2272 u32 target_addr, coll_id; in vgic_its_restore_cte() local
2285 coll_id = val & KVM_ITS_CTE_ICID_MASK; in vgic_its_restore_cte()
2290 collection = find_collection(its, coll_id); in vgic_its_restore_cte()
2293 ret = vgic_its_alloc_collection(its, &collection, coll_id); in vgic_its_restore_cte()