Lines Matching refs:p
14 struct iommu_table_entry *p; in find_dependents_of() local
19 for (p = start; p < finish; p++) in find_dependents_of()
20 if (p->detect == q->depend) in find_dependents_of()
21 return p; in find_dependents_of()
30 struct iommu_table_entry *p, *q, tmp; in sort_iommu_table() local
32 for (p = start; p < finish; p++) { in sort_iommu_table()
34 q = find_dependents_of(start, finish, p); in sort_iommu_table()
38 if (q > p) { in sort_iommu_table()
39 tmp = *p; in sort_iommu_table()
40 memmove(p, q, sizeof(*p)); in sort_iommu_table()
52 struct iommu_table_entry *p, *q, *x; in check_iommu_entries() local
55 for (p = start; p < finish; p++) { in check_iommu_entries()
56 q = find_dependents_of(start, finish, p); in check_iommu_entries()
58 if (p == x) { in check_iommu_entries()
60 p->detect, q->detect); in check_iommu_entries()
66 for (p = start; p < finish; p++) { in check_iommu_entries()
67 q = find_dependents_of(p, finish, p); in check_iommu_entries()
68 if (q && q > p) { in check_iommu_entries()
70 p->detect, q->detect); in check_iommu_entries()