Lines Matching refs:bn
156 s64 bn; in xtLookup() local
194 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
254 s64 bn; in xtLookupList() local
297 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookupList()
304 if ((bn = le64_to_cpu(p->header.next)) == 0) in xtLookupList()
310 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtLookupList()
448 if ((bn = le64_to_cpu(p->header.next)) == 0) in xtLookupList()
454 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtLookupList()
505 s64 bn; /* block number */ in xtSearch() local
536 for (bn = 0;;) { in xtSearch()
538 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch()
618 btsp->bn = bn; in xtSearch()
662 btsp->bn = bn; in xtSearch()
717 btsp->bn = bn; in xtSearch()
751 BT_PUSH(btstack, bn, index); in xtSearch()
754 bn = addressXAD(&p->xad[index]); in xtSearch()
789 s64 bn; in xtInsert() local
812 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtInsert()
1073 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
1590 s64 bn; in xtExtend() local
1606 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtExtend()
1665 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1677 bn = addressXAD(xad); in xtExtend()
1681 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1754 s64 bn; in xtTailgate() local
1774 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTailgate()
1832 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTailgate()
1844 bn = addressXAD(xad); in xtTailgate()
1848 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTailgate()
1935 s64 bn; in xtUpdate() local
1957 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2166 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2178 bn = addressXAD(xad); in xtUpdate()
2182 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2239 bn = le64_to_cpu(p->header.next); in xtUpdate()
2243 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2271 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2320 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2333 bn = addressXAD(xad); in xtUpdate()
2337 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
2403 s64 bn, xaddr; in xtAppend() local
2432 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtAppend()
2566 s64 bn; in xtDelete() local
2579 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtDelete()
2686 XT_GETPAGE(ip, parent->bn, mp, PSIZE, p, rc); in xtDeleteUp()
2758 (ulong) parent->bn, index); in xtDeleteUp()
2802 s64 bn; in xtRelocate() local
2833 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2854 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2937 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
3125 s64 bn; /* block number */ in xtSearchNode() local
3154 for (bn = 0;;) { in xtSearchNode()
3156 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearchNode()
3185 btsp->bn = bn; in xtSearchNode()
3217 bn = addressXAD(&p->xad[index]); in xtSearchNode()
3395 s64 bn; in xtTruncate() local
3466 bn = 0; in xtTruncate()
3472 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate()
3709 bn = parent->bn; in xtTruncate()
3710 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate()
3878 BT_PUSH(&btstack, bn, index); in xtTruncate()
3882 bn = addressXAD(xad); in xtTruncate()
3942 s64 bn; in xtTruncate_pmap() local
3971 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTruncate_pmap()
3985 bn = 0; in xtTruncate_pmap()
3991 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate_pmap()
4035 bn = parent->bn; in xtTruncate_pmap()
4036 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTruncate_pmap()
4075 BT_PUSH(&btstack, bn, index); in xtTruncate_pmap()
4079 bn = addressXAD(xad); in xtTruncate_pmap()
4107 s64 bn, pbn; in xtDisplayTree() local
4124 bn = 0; in xtDisplayTree()
4131 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtDisplayTree()
4150 xtDisplayPage(ip, bn, p); in xtDisplayTree()
4177 bn = parent->bn; in xtDisplayTree()
4179 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtDisplayTree()
4191 btsp->bn = pbn = bn; in xtDisplayTree()
4200 bn = addressXAD(xad); in xtDisplayTree()
4209 (ulong) bn); in xtDisplayTree()
4223 int xtDisplayPage(struct inode *ip, s64 bn, xtpage_t * p) in xtDisplayPage() argument
4232 (ulong) bn, p->header.flag, in xtDisplayPage()
4274 u64 bn; in xtGather() local
4288 bn = 0; in xtGather()
4289 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtGather()
4353 bn = parent->bn; in xtGather()
4354 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtGather()
4383 BT_PUSH(&btstack, bn, index); in xtGather()
4402 bn = e->bn; in xtGather()
4403 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtGather()