Lines Matching defs:stit
63 struct kvmppc_spapr_tce_iommu_table *stit = container_of(head,
66 iommu_tce_table_put(stit->tbl);
68 kfree(stit);
73 struct kvmppc_spapr_tce_iommu_table *stit = container_of(kref,
76 list_del_rcu(&stit->next);
78 call_rcu(&stit->rcu, kvm_spapr_tce_iommu_table_free);
86 struct kvmppc_spapr_tce_iommu_table *stit, *tmp;
96 list_for_each_entry_safe(stit, tmp, &stt->iommu_tables, next) {
98 if (table_group->tables[i] != stit->tbl)
101 kref_put(&stit->kref, kvm_spapr_tce_liobn_put);
117 struct kvmppc_spapr_tce_iommu_table *stit;
162 list_for_each_entry_rcu(stit, &stt->iommu_tables, next) {
163 if (tbl != stit->tbl)
166 if (!kref_get_unless_zero(&stit->kref)) {
167 /* stit is being destroyed */
181 stit = kzalloc(sizeof(*stit), GFP_KERNEL);
182 if (!stit) {
187 stit->tbl = tbl;
188 kref_init(&stit->kref);
190 list_add_rcu(&stit->next, &stt->iommu_tables);
259 struct kvmppc_spapr_tce_iommu_table *stit, *tmp;
266 list_for_each_entry_safe(stit, tmp, &stt->iommu_tables, next) {
267 WARN_ON(!kref_read(&stit->kref));
269 if (kref_put(&stit->kref, kvm_spapr_tce_liobn_put))
373 struct kvmppc_spapr_tce_iommu_table *stit;
387 list_for_each_entry_rcu(stit, &stt->iommu_tables, next) {
390 long shift = stit->tbl->it_page_shift;
575 struct kvmppc_spapr_tce_iommu_table *stit;
605 list_for_each_entry_lockless(stit, &stt->iommu_tables, next) {
608 stit->tbl, entry);
610 ret = kvmppc_tce_iommu_map(vcpu->kvm, stt, stit->tbl,
615 kvmppc_clear_tce(vcpu->kvm->mm, stt, stit->tbl, entry);
638 struct kvmppc_spapr_tce_iommu_table *stit;
700 list_for_each_entry_lockless(stit, &stt->iommu_tables, next) {
702 stit->tbl, entry + i, ua,
706 kvmppc_clear_tce(vcpu->kvm->mm, stt, stit->tbl,
728 struct kvmppc_spapr_tce_iommu_table *stit;
742 list_for_each_entry_lockless(stit, &stt->iommu_tables, next) {
747 stit->tbl, entry + i);
756 kvmppc_clear_tce(vcpu->kvm->mm, stt, stit->tbl, entry + i);