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()
929 if (imap->im_agctl[agno].numfree > imap->im_agctl[agno].numinos) { in diFree()
941 imap->im_agctl[agno].numfree < 96 || in diFree()
942 (imap->im_agctl[agno].numfree < 288 && in diFree()
943 (((imap->im_agctl[agno].numfree * 100) / in diFree()
944 imap->im_agctl[agno].numinos) <= 25))) { in diFree()
955 if ((fwd = imap->im_agctl[agno].inofree) >= 0) { in diFree()
978 cpu_to_le32(imap->im_agctl[agno].inofree); in diFree()
980 imap->im_agctl[agno].inofree = iagno; in diFree()
1004 imap->im_agctl[agno].numfree += 1; in diFree()
1039 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diFree()
1134 cpu_to_le32(imap->im_agctl[agno].extfree); in diFree()
1136 imap->im_agctl[agno].extfree = iagno; in diFree()
1148 imap->im_agctl[agno].extfree = in diFree()
1170 imap->im_agctl[agno].inofree = in diFree()
1208 imap->im_agctl[agno].numfree -= (INOSPEREXT - 1); in diFree()
1209 imap->im_agctl[agno].numinos -= INOSPEREXT; in diFree()
1403 addext = (imap->im_agctl[agno].numfree < 32 && iagp->nfreeexts); in diAlloc()
1641 numfree = imap->im_agctl[agno].numfree; in diAllocAG()
1642 numinos = imap->im_agctl[agno].numinos; in diAllocAG()
1776 if ((iagno = imap->im_agctl[agno].inofree) < 0) in diAllocIno()
1901 if ((iagno = imap->im_agctl[agno].extfree) < 0) { in diAllocExt()
2095 imap->im_agctl[agno].inofree = in diAllocBit()
2105 imap->im_agctl[agno].numfree -= 1; in diAllocBit()
2216 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diNewExt()
2232 freei = imap->im_agctl[agno].inofree; in diNewExt()
2307 imap->im_agctl[agno].extfree = in diNewExt()
2321 imap->im_agctl[agno].extfree = iagno; in diNewExt()
2333 cpu_to_le32(imap->im_agctl[agno].inofree); in diNewExt()
2335 imap->im_agctl[agno].inofree = iagno; in diNewExt()
2366 imap->im_agctl[agno].numfree += (INOSPEREXT - 1); in diNewExt()
2367 imap->im_agctl[agno].numinos += INOSPEREXT; in diNewExt()
2872 imap->im_agctl[i].inofree = -1; in diExtendFS()
2873 imap->im_agctl[i].extfree = -1; in diExtendFS()
2874 imap->im_agctl[i].numinos = 0; /* number of backed inodes */ in diExtendFS()
2875 imap->im_agctl[i].numfree = 0; /* number of free backed inodes */ in diExtendFS()
2910 imap->im_agctl[n].numinos += numinos; in diExtendFS()
2916 if ((head = imap->im_agctl[n].inofree) == -1) { in diExtendFS()
2931 imap->im_agctl[n].inofree = in diExtendFS()
2935 imap->im_agctl[n].numfree += in diExtendFS()
2942 if ((head = imap->im_agctl[n].extfree) == -1) { in diExtendFS()
2957 imap->im_agctl[n].extfree = in diExtendFS()