Lines Matching refs:flag
54 (XAD)->flag = (FLAG);\
90 u8 flag; member
114 s64 xoff, int *cmpp, struct btstack * btstack, int flag);
132 int *cmpp, struct btstack * btstack, int flag);
213 *pflag = xad->flag; in xtLookup()
249 struct xadlist * xadlist, int flag) in xtLookupList() argument
301 if (p->header.flag & BT_ROOT) in xtLookupList()
384 if (p->header.flag & BT_ROOT) in xtLookupList()
404 XT_PUTENTRY(pxd, xad->flag, pstart, plen, paddr); in xtLookupList()
445 if (p->header.flag & BT_ROOT) in xtLookupList()
500 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument
550 (p->header.flag & BT_LEAF) && in xtSearch()
607 if (flag & XT_INSERT) { in xtSearch()
647 if (p->header.flag & BT_LEAF) { in xtSearch()
651 if (flag & XT_INSERT) { in xtSearch()
702 if (p->header.flag & BT_LEAF) { in xtSearch()
706 if (flag & XT_INSERT) { in xtSearch()
783 int flag) in xtInsert() argument
851 split.flag = xflag; in xtInsert()
953 if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && in xtSplitUp()
975 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitUp()
1032 rc = (sp->header.flag & BT_ROOT) ? in xtSplitUp()
1096 split->flag = XAD_NEW; in xtSplitUp()
1108 rc = (sp->header.flag & BT_ROOT) ? in xtSplitUp()
1243 rp->header.flag = sp->header.flag & BT_TYPE; in xtSplitPage()
1294 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1367 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1392 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1491 rp->header.flag = in xtSplitRoot()
1492 (sp->header.flag & BT_LEAF) ? BT_LEAF : BT_INTERNAL; in xtSplitRoot()
1519 XT_PUTENTRY(xad, split->flag, split->off, split->len, split->addr); in xtSplitRoot()
1550 sp->header.flag &= ~BT_LEAF; in xtSplitRoot()
1551 sp->header.flag |= BT_INTERNAL; in xtSplitRoot()
1584 int flag) in xtExtend() argument
1656 split.flag = XAD_NEW; in xtExtend()
1673 if (p->header.flag & BT_INTERNAL) { in xtExtend()
1714 if (!(xad->flag & XAD_NEW)) in xtExtend()
1715 xad->flag |= XAD_EXTENDED; in xtExtend()
1748 int flag) in xtTailgate() argument
1823 split.flag = XAD_NEW; in xtTailgate()
1840 if (p->header.flag & BT_INTERNAL) { in xtTailgate()
1881 if (!(xad->flag & XAD_NEW)) { in xtTailgate()
1886 pxdlock->flag = mlckFREEPXD; in xtTailgate()
1975 xflag = xad->flag; in xtUpdate()
2004 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2026 if (!(lxad->flag & XAD_NOTRECORDED) && in xtUpdate()
2039 if (!(lxad->flag & XAD_NEW)) in xtUpdate()
2040 lxad->flag |= XAD_EXTENDED; in xtUpdate()
2077 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2097 if (!(rxad->flag & XAD_NOTRECORDED) && in xtUpdate()
2111 if (!(rxad->flag & XAD_NEW)) in xtUpdate()
2112 rxad->flag |= XAD_EXTENDED; in xtUpdate()
2157 split.flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2174 if (p->header.flag & BT_INTERNAL) { in xtUpdate()
2211 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2298 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2311 split.flag = xflag; in xtUpdate()
2329 if (p->header.flag & BT_INTERNAL) { in xtUpdate()
2398 int flag) in xtAppend() argument
2487 split.flag = xflag; in xtAppend()
2561 int xtDelete(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) in xtDelete() argument
2649 if (fp->header.flag & BT_ROOT) { in xtDeleteUp()
2651 fp->header.flag &= ~BT_INTERNAL; in xtDeleteUp()
2652 fp->header.flag |= BT_LEAF; in xtDeleteUp()
2701 if (p->header.flag & BT_ROOT) { in xtDeleteUp()
2703 p->header.flag &= ~BT_INTERNAL; in xtDeleteUp()
2704 p->header.flag |= BT_LEAF; in xtDeleteUp()
2874 if (xad->flag & XAD_NOTRECORDED) in xtRelocate()
3067 pxdlock->flag = mlckFREEPXD; in xtRelocate()
3086 xad->flag |= XAD_NEW; in xtRelocate()
3119 int *cmpp, struct btstack * btstack, int flag) in xtSearchNode() argument
3159 if (p->header.flag & BT_LEAF) { in xtSearchNode()
3313 p->header.flag = DXD_INDEX | BT_ROOT | BT_LEAF; in xtInitRoot()
3389 s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int flag) in xtTruncate() argument
3414 tblk->xflag |= flag; in xtTruncate()
3419 flag &= COMMIT_MAP; in xtTruncate()
3420 assert(flag != COMMIT_PMAP); in xtTruncate()
3422 if (flag == COMMIT_PWMAP) in xtTruncate()
3426 xadlock.flag = mlckFREEXADLIST; in xtTruncate()
3479 if (p->header.flag & BT_INTERNAL) in xtTruncate()
3599 pxdlock->flag = mlckFREEPXD; in xtTruncate()
3607 pxdlock->flag = mlckFREEPXD; in xtTruncate()
3613 xadlock.flag = mlckFREEXADLIST; in xtTruncate()
3671 if (p->header.flag & BT_ROOT) { in xtTruncate()
3672 p->header.flag &= ~BT_INTERNAL; in xtTruncate()
3673 p->header.flag |= BT_LEAF; in xtTruncate()
3686 lid_to_tlock(mp->lid)->flag |= tlckFREELOCK; in xtTruncate()
3820 if (p->header.flag & BT_ROOT) { in xtTruncate()
3821 p->header.flag &= ~BT_INTERNAL; in xtTruncate()
3822 p->header.flag |= BT_LEAF; in xtTruncate()
3844 lid_to_tlock(mp->lid)->flag |= in xtTruncate()
3910 if (flag == COMMIT_WMAP) in xtTruncate()
3998 if (p->header.flag & BT_INTERNAL) in xtTruncate_pmap()
4058 if (p->header.flag & BT_ROOT) { in xtTruncate_pmap()
4139 if (p->header.flag & BT_INTERNAL) { in xtDisplayTree()
4232 (ulong) bn, p->header.flag, in xtDisplayPage()
4306 if (p->header.flag & BT_LEAF) { in xtGather()