Lines Matching refs:bn
139 s64 bn; in xtLookup() local
175 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
232 s64 bn; /* block number */ in xtSearch() local
264 for (bn = 0;;) { in xtSearch()
266 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch()
347 btsp->bn = bn; in xtSearch()
394 btsp->bn = bn; in xtSearch()
452 btsp->bn = bn; in xtSearch()
494 BT_PUSH(btstack, bn, index); in xtSearch()
497 bn = addressXAD(&p->xad[index]); in xtSearch()
532 s64 bn; in xtInsert() local
556 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtInsert()
821 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
1356 s64 bn; in xtExtend() local
1372 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtExtend()
1431 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1443 bn = addressXAD(xad); in xtExtend()
1447 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1519 s64 bn; in xtTailgate() local
1539 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTailgate()
1596 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTailgate()
1608 bn = addressXAD(xad); in xtTailgate()
1612 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTailgate()
1698 s64 bn; in xtUpdate() local
1720 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
1929 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
1941 bn = addressXAD(xad); in xtUpdate()
1945 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2002 bn = le64_to_cpu(p->header.next); in xtUpdate()
2006 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2034 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2082 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2095 bn = addressXAD(xad); in xtUpdate()
2099 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2165 s64 bn, xaddr; in xtAppend() local
2195 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtAppend()
2331 s64 bn; in xtDelete() local
2344 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtDelete()
2450 XT_GETPAGE(ip, parent->bn, mp, PSIZE, p, rc); in xtDeleteUp()
2520 (ulong) parent->bn, index); in xtDeleteUp()
2564 s64 bn; in xtRelocate() local
2595 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2616 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2699 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2885 s64 bn; /* block number */ in xtSearchNode() local
2914 for (bn = 0;;) { in xtSearchNode()
2916 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearchNode()
2945 btsp->bn = bn; in xtSearchNode()
2977 bn = addressXAD(&p->xad[index]); in xtSearchNode()
3155 s64 bn; in xtTruncate() local
3226 bn = 0; in xtTruncate()
3232 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate()
3469 bn = parent->bn; in xtTruncate()
3470 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate()
3643 BT_PUSH(&btstack, bn, index); in xtTruncate()
3647 bn = addressXAD(xad); in xtTruncate()
3707 s64 bn; in xtTruncate_pmap() local
3736 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTruncate_pmap()
3749 bn = 0; in xtTruncate_pmap()
3755 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate_pmap()
3799 bn = parent->bn; in xtTruncate_pmap()
3800 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate_pmap()
3843 BT_PUSH(&btstack, bn, index); in xtTruncate_pmap()
3847 bn = addressXAD(xad); in xtTruncate_pmap()