• Home
  • Raw
  • Download

Lines Matching refs:bn

321 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot)  in add_index()  argument
359 DTSaddress(dirtab_slot, bn); in add_index()
464 DTSaddress(dirtab_slot, bn); in add_index()
511 static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, in modify_index() argument
521 DTSaddress(dirtab_slot, bn); in modify_index()
572 s64 bn; in dtSearch() local
621 for (bn = 0;;) { in dtSearch()
623 DT_GETPAGE(ip, bn, mp, psize, p, rc); in dtSearch()
698 btsp->bn = bn; in dtSearch()
747 btsp->bn = bn; in dtSearch()
780 BT_PUSH(btstack, bn, index); in dtSearch()
784 bn = addressPXD(pxd); in dtSearch()
820 s64 bn; in dtInsert() local
836 DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); in dtInsert()
1131 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp()
1666 DT_GETPAGE(ip, parent->bn, pmp, PSIZE, pp, rc); in dtExtendPage()
2079 s64 bn; in dtDelete() local
2103 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in dtDelete()
2207 bn, i, &imp, &lblock); in dtDelete()
2301 DT_GETPAGE(ip, parent->bn, mp, PSIZE, p, rc); in dtDeleteUp()
2444 s64 bn; in dtRelocate() local
2472 DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in dtRelocate()
2639 s64 bn; in dtSearchNode() local
2655 for (bn = 0;;) { in dtSearchNode()
2657 DT_GETPAGE(ip, bn, mp, psize, p, rc); in dtSearchNode()
2683 bn = addressPXD(pxd); in dtSearchNode()
2701 btsp->bn = bn; in dtSearchNode()
2711 bn = le64_to_cpu(p->header.next); in dtSearchNode()
2721 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in dtSearchNode()
2911 static void add_missing_indices(struct inode *inode, s64 bn) in add_missing_indices() argument
2927 DT_GETPAGE(inode, bn, mp, PSIZE, p, rc); in add_missing_indices()
2948 d->index = cpu_to_le32(add_index(tid, inode, bn, i)); in add_missing_indices()
3009 s64 bn; in jfs_readdir() local
3079 bn = addressDTS(&dirtab_slot); in jfs_readdir()
3081 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in jfs_readdir()
3119 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in jfs_readdir()
3165 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in jfs_readdir()
3168 if (bn < 0) { in jfs_readdir()
3258 (long long)bn, in jfs_readdir()
3280 bn = 0; in jfs_readdir()
3282 bn = le64_to_cpu(p->header.next); in jfs_readdir()
3307 add_missing_indices(ip, bn); in jfs_readdir()
3311 if (!overflow && (bn == 0)) { in jfs_readdir()
3316 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in jfs_readdir()
3338 s64 bn; in dtReadFirst() local
3353 for (bn = 0;;) { in dtReadFirst()
3354 DT_GETPAGE(ip, bn, mp, psize, p, rc); in dtReadFirst()
3364 btsp->bn = bn; in dtReadFirst()
3381 BT_PUSH(btstack, bn, 0); in dtReadFirst()
3388 bn = addressPXD(xd); in dtReadFirst()
3416 s64 bn; in dtReadNext() local
3432 DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); in dtReadNext()
3445 bn = -1; in dtReadNext()
3457 bn = -1; in dtReadNext()
3467 bn = le64_to_cpu(p->header.next); in dtReadNext()
3473 if (bn == 0) { in dtReadNext()
3474 bn = -1; in dtReadNext()
3490 bn = parent->bn; in dtReadNext()
3491 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in dtReadNext()
3500 bn = le64_to_cpu(p->header.next); in dtReadNext()
3506 if (bn == 0) { in dtReadNext()
3507 bn = -1; in dtReadNext()
3512 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in dtReadNext()
3517 parent->bn = bn; in dtReadNext()
3523 bn = addressPXD(xd); in dtReadNext()
3532 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in dtReadNext()
3541 bn = le64_to_cpu(p->header.next); in dtReadNext()
3547 if (bn == 0) { in dtReadNext()
3548 bn = -1; in dtReadNext()
3553 DT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in dtReadNext()
3565 btsp->bn = bn; in dtReadNext()
3912 s64 bn = 0; in dtInsertEntry() local
3941 bn = addressPXD(&p->header.self); in dtInsertEntry()
3944 bn, index)); in dtInsertEntry()
4033 le32_to_cpu(lh->index), bn, n, in dtInsertEntry()
4516 s64 bn; in dtModify() local
4537 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in dtModify()