Lines Matching refs:sword
847 int iagno, ino, extno, bitno, sword, agno; in diFree() local
986 sword = extno >> L2EXTSPERSUM; in diFree()
988 iagp->inosmap[sword] &= in diFree()
1189 sword = extno >> L2EXTSPERSUM; in diFree()
1192 iagp->inosmap[sword] |= cpu_to_le32(mask); in diFree()
1193 iagp->extsmap[sword] &= cpu_to_le32(~mask); in diFree()
1321 int rc, ino, iagno, addext, extno, bitno, sword; in diAlloc() local
1467 sword = extno >> L2EXTSPERSUM; in diAlloc()
1473 inosmap = le32_to_cpu(iagp->inosmap[sword]) | mask; in diAlloc()
1474 extsmap = le32_to_cpu(iagp->extsmap[sword]) | mask; in diAlloc()
1489 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc()
1536 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc()
1568 sword = (sword == SMAPSZ - 1) ? 0 : sword + 1; in diAlloc()
1569 inosmap = le32_to_cpu(iagp->inosmap[sword]); in diAlloc()
1570 extsmap = le32_to_cpu(iagp->extsmap[sword]); in diAlloc()
1763 int iagno, ino, rc, rem, extno, sword; in diAllocIno() local
1796 for (sword = 0;; sword++) { in diAllocIno()
1797 if (sword >= SMAPSZ) { in diAllocIno()
1805 if (~iagp->inosmap[sword]) in diAllocIno()
1812 rem = diFindFree(le32_to_cpu(iagp->inosmap[sword]), 0); in diAllocIno()
1819 extno = (sword << L2EXTSPERSUM) + rem; in diAllocIno()
1887 int rem, iagno, sword, extno, rc; in diAllocExt() local
1921 for (sword = 0;; sword++) { in diAllocExt()
1922 if (sword >= SMAPSZ) { in diAllocExt()
1928 if (~iagp->extsmap[sword]) in diAllocExt()
1934 rem = diFindFree(le32_to_cpu(iagp->extsmap[sword]), 0); in diAllocExt()
1941 extno = (sword << L2EXTSPERSUM) + rem; in diAllocExt()
2004 int extno, bitno, agno, sword, rc; in diAllocBit() local
2070 sword = extno >> L2EXTSPERSUM; in diAllocBit()
2072 iagp->inosmap[sword] |= cpu_to_le32(HIGHORDER >> bitno); in diAllocBit()
2150 int agno, iagno, fwd, back, freei = 0, sword, rc; in diNewExt() local
2343 sword = extno >> L2EXTSPERSUM; in diNewExt()
2345 iagp->extsmap[sword] |= cpu_to_le32(mask); in diNewExt()
2346 iagp->inosmap[sword] &= cpu_to_le32(~mask); in diNewExt()