Lines Matching refs:im_agctl

128 		imap->im_agctl[index].inofree =  in diMount()
130 imap->im_agctl[index].extfree = in diMount()
132 imap->im_agctl[index].numinos = in diMount()
134 imap->im_agctl[index].numfree = in diMount()
234 cpu_to_le32(imp->im_agctl[index].inofree); in diSync()
236 cpu_to_le32(imp->im_agctl[index].extfree); in diSync()
238 cpu_to_le32(imp->im_agctl[index].numinos); in diSync()
240 cpu_to_le32(imp->im_agctl[index].numfree); in diSync()
926 if (imap->im_agctl[agno].numfree > imap->im_agctl[agno].numinos) { in diFree()
938 imap->im_agctl[agno].numfree < 96 || in diFree()
939 (imap->im_agctl[agno].numfree < 288 && in diFree()
940 (((imap->im_agctl[agno].numfree * 100) / in diFree()
941 imap->im_agctl[agno].numinos) <= 25))) { in diFree()
952 if ((fwd = imap->im_agctl[agno].inofree) >= 0) { in diFree()
975 cpu_to_le32(imap->im_agctl[agno].inofree); in diFree()
977 imap->im_agctl[agno].inofree = iagno; in diFree()
1001 imap->im_agctl[agno].numfree += 1; in diFree()
1036 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diFree()
1131 cpu_to_le32(imap->im_agctl[agno].extfree); in diFree()
1133 imap->im_agctl[agno].extfree = iagno; in diFree()
1145 imap->im_agctl[agno].extfree = in diFree()
1167 imap->im_agctl[agno].inofree = in diFree()
1205 imap->im_agctl[agno].numfree -= (INOSPEREXT - 1); in diFree()
1206 imap->im_agctl[agno].numinos -= INOSPEREXT; in diFree()
1397 addext = (imap->im_agctl[agno].numfree < 32 && iagp->nfreeexts); in diAlloc()
1635 numfree = imap->im_agctl[agno].numfree; in diAllocAG()
1636 numinos = imap->im_agctl[agno].numinos; in diAllocAG()
1770 if ((iagno = imap->im_agctl[agno].inofree) < 0) in diAllocIno()
1895 if ((iagno = imap->im_agctl[agno].extfree) < 0) { in diAllocExt()
2089 imap->im_agctl[agno].inofree = in diAllocBit()
2099 imap->im_agctl[agno].numfree -= 1; in diAllocBit()
2207 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diNewExt()
2223 freei = imap->im_agctl[agno].inofree; in diNewExt()
2298 imap->im_agctl[agno].extfree = in diNewExt()
2312 imap->im_agctl[agno].extfree = iagno; in diNewExt()
2324 cpu_to_le32(imap->im_agctl[agno].inofree); in diNewExt()
2326 imap->im_agctl[agno].inofree = iagno; in diNewExt()
2357 imap->im_agctl[agno].numfree += (INOSPEREXT - 1); in diNewExt()
2358 imap->im_agctl[agno].numinos += INOSPEREXT; in diNewExt()
2863 imap->im_agctl[i].inofree = -1; in diExtendFS()
2864 imap->im_agctl[i].extfree = -1; in diExtendFS()
2865 imap->im_agctl[i].numinos = 0; /* number of backed inodes */ in diExtendFS()
2866 imap->im_agctl[i].numfree = 0; /* number of free backed inodes */ in diExtendFS()
2901 imap->im_agctl[n].numinos += numinos; in diExtendFS()
2907 if ((head = imap->im_agctl[n].inofree) == -1) { in diExtendFS()
2922 imap->im_agctl[n].inofree = in diExtendFS()
2926 imap->im_agctl[n].numfree += in diExtendFS()
2933 if ((head = imap->im_agctl[n].extfree) == -1) { in diExtendFS()
2948 imap->im_agctl[n].extfree = in diExtendFS()