Lines Matching refs:xaddr

198 	s64 xaddr;  in read_index_page()  local
202 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in read_index_page()
203 if (rc || (xaddr == 0)) in read_index_page()
206 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page()
217 s64 xaddr; in get_index_page() local
221 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in get_index_page()
222 if (rc || (xaddr == 0)) in get_index_page()
225 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page()
335 s64 xaddr; in add_index() local
374 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) { in add_index()
393 if (xtInsert(tid, ip, 0, 0, sbi->nbperpage, &xaddr, 0)) { in add_index()
398 dbFree(ip, xaddr, sbi->nbperpage); in add_index()
439 xaddr = 0; in add_index()
440 if (xtInsert(tid, ip, 0, blkno, sbi->nbperpage, &xaddr, 0)) { in add_index()
939 s64 xaddr, nxaddr; in dtSplitUp() local
981 if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr))) { in dtSplitUp()
989 PXDaddress(pxd, xaddr); in dtSplitUp()
995 dbFree(ip, xaddr, xlen); in dtSplitUp()
1017 xaddr = addressPXD(pxd); in dtSplitUp()
1031 if ((rc = dbReAlloc(sbi->ipbmap, xaddr, (s64) xlen, in dtSplitUp()
1043 if (xaddr != nxaddr) { in dtSplitUp()
1050 xaddr = addressPXD(pxd) + xlen; in dtSplitUp()
1051 dbFree(ip, xaddr, (s64) n); in dtSplitUp()
1077 if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr)) == 0) { in dtSplitUp()
1078 PXDaddress(pxd, xaddr); in dtSplitUp()
1654 s64 xaddr, txaddr; in dtExtendPage() local
1679 xaddr = addressPXD(pxd); in dtExtendPage()
1683 if (xaddr == txaddr) { in dtExtendPage()
1710 xaddr, n, &mp, &lblock); in dtExtendPage()