iounit 43 arch/sparc/mm/io-unit.c struct iounit_struct *iounit; iounit 47 arch/sparc/mm/io-unit.c iounit = kzalloc(sizeof(struct iounit_struct), GFP_ATOMIC); iounit 48 arch/sparc/mm/io-unit.c if (!iounit) { iounit 53 arch/sparc/mm/io-unit.c iounit->limit[0] = IOUNIT_BMAP1_START; iounit 54 arch/sparc/mm/io-unit.c iounit->limit[1] = IOUNIT_BMAP2_START; iounit 55 arch/sparc/mm/io-unit.c iounit->limit[2] = IOUNIT_BMAPM_START; iounit 56 arch/sparc/mm/io-unit.c iounit->limit[3] = IOUNIT_BMAPM_END; iounit 57 arch/sparc/mm/io-unit.c iounit->rotor[1] = IOUNIT_BMAP2_START; iounit 58 arch/sparc/mm/io-unit.c iounit->rotor[2] = IOUNIT_BMAPM_START; iounit 66 arch/sparc/mm/io-unit.c op->dev.archdata.iommu = iounit; iounit 67 arch/sparc/mm/io-unit.c iounit->page_table = xpt; iounit 68 arch/sparc/mm/io-unit.c spin_lock_init(&iounit->lock); iounit 70 arch/sparc/mm/io-unit.c xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t); iounit 95 arch/sparc/mm/io-unit.c static unsigned long iounit_get_area(struct iounit_struct *iounit, unsigned long vaddr, int size) iounit 113 arch/sparc/mm/io-unit.c rotor = iounit->rotor[j - 1]; iounit 114 arch/sparc/mm/io-unit.c limit = iounit->limit[j]; iounit 116 arch/sparc/mm/io-unit.c nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); iounit 120 arch/sparc/mm/io-unit.c scan = iounit->limit[j - 1]; iounit 129 arch/sparc/mm/io-unit.c if (test_bit(scan++, iounit->bmap)) iounit 131 arch/sparc/mm/io-unit.c iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; iounit 136 arch/sparc/mm/io-unit.c set_bit(scan, iounit->bmap); iounit 137 arch/sparc/mm/io-unit.c sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); iounit 148 arch/sparc/mm/io-unit.c struct iounit_struct *iounit = dev->archdata.iommu; iounit 155 arch/sparc/mm/io-unit.c spin_lock_irqsave(&iounit->lock, flags); iounit 156 arch/sparc/mm/io-unit.c ret = iounit_get_area(iounit, (unsigned long)vaddr, len); iounit 157 arch/sparc/mm/io-unit.c spin_unlock_irqrestore(&iounit->lock, flags); iounit 164 arch/sparc/mm/io-unit.c struct iounit_struct *iounit = dev->archdata.iommu; iounit 170 arch/sparc/mm/io-unit.c spin_lock_irqsave(&iounit->lock, flags); iounit 172 arch/sparc/mm/io-unit.c sg->dma_address = iounit_get_area(iounit, (unsigned long) sg_virt(sg), sg->length); iounit 175 arch/sparc/mm/io-unit.c spin_unlock_irqrestore(&iounit->lock, flags); iounit 182 arch/sparc/mm/io-unit.c struct iounit_struct *iounit = dev->archdata.iommu; iounit 185 arch/sparc/mm/io-unit.c spin_lock_irqsave(&iounit->lock, flags); iounit 190 arch/sparc/mm/io-unit.c clear_bit(vaddr, iounit->bmap); iounit 191 arch/sparc/mm/io-unit.c spin_unlock_irqrestore(&iounit->lock, flags); iounit 197 arch/sparc/mm/io-unit.c struct iounit_struct *iounit = dev->archdata.iommu; iounit 202 arch/sparc/mm/io-unit.c spin_lock_irqsave(&iounit->lock, flags); iounit 208 arch/sparc/mm/io-unit.c clear_bit(vaddr, iounit->bmap); iounit 210 arch/sparc/mm/io-unit.c spin_unlock_irqrestore(&iounit->lock, flags); iounit 217 arch/sparc/mm/io-unit.c struct iounit_struct *iounit = dev->archdata.iommu; iounit 254 arch/sparc/mm/io-unit.c iopte = iounit->page_table + i; iounit 151 include/net/9p/client.h u32 iounit; iounit 1246 net/9p/client.c int iounit; iounit 1265 net/9p/client.c err = p9pdu_readf(&req->rc, clnt->proto_version, "Qd", &qid, &iounit); iounit 1273 net/9p/client.c (unsigned long long)qid.path, qid.version, iounit); iounit 1276 net/9p/client.c fid->iounit = iounit; iounit 1291 net/9p/client.c int iounit; iounit 1309 net/9p/client.c err = p9pdu_readf(&req->rc, clnt->proto_version, "Qd", qid, &iounit); iounit 1318 net/9p/client.c qid->version, iounit); iounit 1321 net/9p/client.c ofid->iounit = iounit; iounit 1337 net/9p/client.c int iounit; iounit 1354 net/9p/client.c err = p9pdu_readf(&req->rc, clnt->proto_version, "Qd", &qid, &iounit); iounit 1363 net/9p/client.c qid.version, iounit); iounit 1366 net/9p/client.c fid->iounit = iounit; iounit 1565 net/9p/client.c rsize = fid->iounit; iounit 1643 net/9p/client.c int rsize = fid->iounit; iounit 2084 net/9p/client.c rsize = fid->iounit;