• Home
  • Raw
  • Download

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()
937 s64 xaddr, nxaddr; in dtSplitUp() local
979 if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr))) { in dtSplitUp()
987 PXDaddress(pxd, xaddr); in dtSplitUp()
993 dbFree(ip, xaddr, xlen); in dtSplitUp()
1015 xaddr = addressPXD(pxd); in dtSplitUp()
1029 if ((rc = dbReAlloc(sbi->ipbmap, xaddr, (s64) xlen, in dtSplitUp()
1041 if (xaddr != nxaddr) { in dtSplitUp()
1048 xaddr = addressPXD(pxd) + xlen; in dtSplitUp()
1049 dbFree(ip, xaddr, (s64) n); in dtSplitUp()
1075 if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr)) == 0) { in dtSplitUp()
1076 PXDaddress(pxd, xaddr); in dtSplitUp()
1652 s64 xaddr, txaddr; in dtExtendPage() local
1677 xaddr = addressPXD(pxd); in dtExtendPage()
1681 if (xaddr == txaddr) { in dtExtendPage()
1708 xaddr, n, &mp, &lblock); in dtExtendPage()