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()
233 cpu_to_le32(imp->im_agctl[index].inofree); in diSync()
235 cpu_to_le32(imp->im_agctl[index].extfree); in diSync()
237 cpu_to_le32(imp->im_agctl[index].numinos); in diSync()
239 cpu_to_le32(imp->im_agctl[index].numfree); in diSync()
925 if (imap->im_agctl[agno].numfree > imap->im_agctl[agno].numinos) { in diFree()
937 imap->im_agctl[agno].numfree < 96 || in diFree()
938 (imap->im_agctl[agno].numfree < 288 && in diFree()
939 (((imap->im_agctl[agno].numfree * 100) / in diFree()
940 imap->im_agctl[agno].numinos) <= 25))) { in diFree()
951 if ((fwd = imap->im_agctl[agno].inofree) >= 0) { in diFree()
974 cpu_to_le32(imap->im_agctl[agno].inofree); in diFree()
976 imap->im_agctl[agno].inofree = iagno; in diFree()
1000 imap->im_agctl[agno].numfree += 1; in diFree()
1035 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diFree()
1130 cpu_to_le32(imap->im_agctl[agno].extfree); in diFree()
1132 imap->im_agctl[agno].extfree = iagno; in diFree()
1144 imap->im_agctl[agno].extfree = in diFree()
1166 imap->im_agctl[agno].inofree = in diFree()
1204 imap->im_agctl[agno].numfree -= (INOSPEREXT - 1); in diFree()
1205 imap->im_agctl[agno].numinos -= INOSPEREXT; in diFree()
1396 addext = (imap->im_agctl[agno].numfree < 32 && iagp->nfreeexts); in diAlloc()
1634 numfree = imap->im_agctl[agno].numfree; in diAllocAG()
1635 numinos = imap->im_agctl[agno].numinos; in diAllocAG()
1769 if ((iagno = imap->im_agctl[agno].inofree) < 0) in diAllocIno()
1894 if ((iagno = imap->im_agctl[agno].extfree) < 0) { in diAllocExt()
2088 imap->im_agctl[agno].inofree = in diAllocBit()
2098 imap->im_agctl[agno].numfree -= 1; in diAllocBit()
2206 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diNewExt()
2222 freei = imap->im_agctl[agno].inofree; in diNewExt()
2297 imap->im_agctl[agno].extfree = in diNewExt()
2311 imap->im_agctl[agno].extfree = iagno; in diNewExt()
2323 cpu_to_le32(imap->im_agctl[agno].inofree); in diNewExt()
2325 imap->im_agctl[agno].inofree = iagno; in diNewExt()
2356 imap->im_agctl[agno].numfree += (INOSPEREXT - 1); in diNewExt()
2357 imap->im_agctl[agno].numinos += INOSPEREXT; in diNewExt()
2862 imap->im_agctl[i].inofree = -1; in diExtendFS()
2863 imap->im_agctl[i].extfree = -1; in diExtendFS()
2864 imap->im_agctl[i].numinos = 0; /* number of backed inodes */ in diExtendFS()
2865 imap->im_agctl[i].numfree = 0; /* number of free backed inodes */ in diExtendFS()
2900 imap->im_agctl[n].numinos += numinos; in diExtendFS()
2906 if ((head = imap->im_agctl[n].inofree) == -1) { in diExtendFS()
2921 imap->im_agctl[n].inofree = in diExtendFS()
2925 imap->im_agctl[n].numfree += in diExtendFS()
2932 if ((head = imap->im_agctl[n].extfree) == -1) { in diExtendFS()
2947 imap->im_agctl[n].extfree = in diExtendFS()