Lines Matching refs:iagno

328 	int iagno, ino, extno, rc;  in diRead()  local
346 iagno = INOTOIAG(ip->i_ino); in diRead()
351 rc = diIAGRead(imap, iagno, &mp); in diRead()
901 int iagno, ino, extno, bitno, sword, agno; in diFree() local
920 iagno = INOTOIAG(inum); in diFree()
925 if (iagno >= imap->im_nextiag) { in diFree()
929 (uint) inum, iagno, imap->im_nextiag); in diFree()
948 if ((rc = diIAGRead(imap, iagno, &mp))) { in diFree()
1020 aiagp->inofreeback = cpu_to_le32(iagno); in diFree()
1031 imap->im_agctl[agno].inofree = iagno; in diFree()
1184 aiagp->extfreeback = cpu_to_le32(iagno); in diFree()
1189 imap->im_agctl[agno].extfree = iagno; in diFree()
1208 imap->im_freeiag = iagno; in diFree()
1314 iplist[1] = (struct inode *) (size_t)iagno; in diFree()
1351 diInitInode(struct inode *ip, int iagno, int ino, int extno, struct iag * iagp) in diInitInode() argument
1356 ip->i_ino = (iagno << L2INOSPERIAG) + ino; in diInitInode()
1382 int rc, ino, iagno, addext, extno, bitno, sword; in diAlloc() local
1445 iagno = INOTOIAG(inum); in diAlloc()
1446 if ((rc = diIAGRead(imap, iagno, &mp))) { in diAlloc()
1492 diInitInode(ip, iagno, ino, extno, in diAlloc()
1576 diInitInode(ip, iagno, ino, extno, in diAlloc()
1615 diInitInode(ip, iagno, in diAlloc()
1825 int iagno, ino, rc, rem, extno, sword; in diAllocIno() local
1831 if ((iagno = imap->im_agctl[agno].inofree) < 0) in diAllocIno()
1839 if ((rc = diIAGRead(imap, iagno, &mp))) { in diAllocIno()
1909 diInitInode(ip, iagno, ino, extno, iagp); in diAllocIno()
1950 int rem, iagno, sword, extno, rc; in diAllocExt() local
1957 if ((iagno = imap->im_agctl[agno].extfree) < 0) { in diAllocExt()
1961 if ((rc = diNewIAG(imap, &iagno, agno, &mp))) { in diAllocExt()
1974 if ((rc = diIAGRead(imap, iagno, &mp))) { in diAllocExt()
2019 imap->im_freeiag = iagno; in diAllocExt()
2028 diInitInode(ip, iagno, extno << L2INOSPEREXT, extno, iagp); in diAllocExt()
2217 int agno, iagno, fwd, back, freei = 0, sword, rc; in diNewExt() local
2245 iagno = le32_to_cpu(iagp->iagnum); in diNewExt()
2324 ino = (iagno << L2INOSPERIAG) + (extno << L2INOSPEREXT); in diNewExt()
2374 aiagp->extfreeback = cpu_to_le32(iagno); in diNewExt()
2378 imap->im_agctl[agno].extfree = iagno; in diNewExt()
2387 ciagp->inofreeback = cpu_to_le32(iagno); in diNewExt()
2392 imap->im_agctl[agno].inofree = iagno; in diNewExt()
2501 int iagno, i, xlen; in diNewIAG() local
2528 iagno = imap->im_freeiag; in diNewIAG()
2531 blkno = IAGTOLBLK(iagno, sbi->l2nbperpage); in diNewIAG()
2550 iagno = imap->im_nextiag; in diNewIAG()
2555 if (iagno > (MAXIAGS - 1)) { in diNewIAG()
2567 blkno = IAGTOLBLK(iagno, sbi->l2nbperpage); in diNewIAG()
2596 iagp->iagnum = cpu_to_le32(iagno); in diNewIAG()
2674 imap->im_freeiag = iagno; in diNewIAG()
2689 if ((rc = diIAGRead(imap, iagno, &mp))) { in diNewIAG()
2701 *iagnop = iagno; in diNewIAG()
2732 static int diIAGRead(struct inomap * imap, int iagno, struct metapage ** mpp) in diIAGRead() argument
2738 blkno = IAGTOLBLK(iagno, JFS_SBI(ipimap->i_sb)->l2nbperpage); in diIAGRead()
2800 int iagno, ino, extno, bitno; in diUpdatePMap() local
2808 iagno = INOTOIAG(inum); in diUpdatePMap()
2810 if (iagno >= imap->im_nextiag) { in diUpdatePMap()
2817 rc = diIAGRead(imap, iagno, &mp); in diUpdatePMap()