• Home
  • Raw
  • Download

Lines Matching refs:flag

44 	(XAD)->flag = (FLAG);\
81 u8 flag; member
105 struct btstack * btstack, int flag);
123 int *cmpp, struct btstack * btstack, int flag);
197 *pflag = xad->flag; in xtLookup()
227 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument
278 (p->header.flag & BT_LEAF) && in xtSearch()
336 if (flag & XT_INSERT) { in xtSearch()
379 if (p->header.flag & BT_LEAF) { in xtSearch()
383 if (flag & XT_INSERT) { in xtSearch()
437 if (p->header.flag & BT_LEAF) { in xtSearch()
441 if (flag & XT_INSERT) { in xtSearch()
526 int flag) in xtInsert() argument
599 split.flag = xflag; in xtInsert()
702 if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && in xtSplitUp()
724 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitUp()
780 rc = (sp->header.flag & BT_ROOT) ? in xtSplitUp()
844 split->flag = XAD_NEW; in xtSplitUp()
856 rc = (sp->header.flag & BT_ROOT) ? in xtSplitUp()
1000 rp->header.flag = sp->header.flag & BT_TYPE; in xtSplitPage()
1051 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1122 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1147 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1259 rp->header.flag = in xtSplitRoot()
1260 (sp->header.flag & BT_LEAF) ? BT_LEAF : BT_INTERNAL; in xtSplitRoot()
1287 XT_PUTENTRY(xad, split->flag, split->off, split->len, split->addr); in xtSplitRoot()
1318 sp->header.flag &= ~BT_LEAF; in xtSplitRoot()
1319 sp->header.flag |= BT_INTERNAL; in xtSplitRoot()
1350 int flag) in xtExtend() argument
1422 split.flag = XAD_NEW; in xtExtend()
1439 if (p->header.flag & BT_INTERNAL) { in xtExtend()
1479 if (!(xad->flag & XAD_NEW)) in xtExtend()
1480 xad->flag |= XAD_EXTENDED; in xtExtend()
1513 int flag) in xtTailgate() argument
1587 split.flag = XAD_NEW; in xtTailgate()
1604 if (p->header.flag & BT_INTERNAL) { in xtTailgate()
1644 if (!(xad->flag & XAD_NEW)) { in xtTailgate()
1649 pxdlock->flag = mlckFREEPXD; in xtTailgate()
1738 xflag = xad->flag; in xtUpdate()
1767 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1789 if (!(lxad->flag & XAD_NOTRECORDED) && in xtUpdate()
1802 if (!(lxad->flag & XAD_NEW)) in xtUpdate()
1803 lxad->flag |= XAD_EXTENDED; in xtUpdate()
1840 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1860 if (!(rxad->flag & XAD_NOTRECORDED) && in xtUpdate()
1874 if (!(rxad->flag & XAD_NEW)) in xtUpdate()
1875 rxad->flag |= XAD_EXTENDED; in xtUpdate()
1920 split.flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1937 if (p->header.flag & BT_INTERNAL) { in xtUpdate()
1974 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2060 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
2073 split.flag = xflag; in xtUpdate()
2091 if (p->header.flag & BT_INTERNAL) { in xtUpdate()
2160 int flag) in xtAppend() argument
2253 split.flag = xflag; in xtAppend()
2326 int xtDelete(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) in xtDelete() argument
2413 if (fp->header.flag & BT_ROOT) { in xtDeleteUp()
2415 fp->header.flag &= ~BT_INTERNAL; in xtDeleteUp()
2416 fp->header.flag |= BT_LEAF; in xtDeleteUp()
2465 if (p->header.flag & BT_ROOT) { in xtDeleteUp()
2467 p->header.flag &= ~BT_INTERNAL; in xtDeleteUp()
2468 p->header.flag |= BT_LEAF; in xtDeleteUp()
2636 if (xad->flag & XAD_NOTRECORDED) in xtRelocate()
2827 pxdlock->flag = mlckFREEPXD; in xtRelocate()
2846 xad->flag |= XAD_NEW; in xtRelocate()
2879 int *cmpp, struct btstack * btstack, int flag) in xtSearchNode() argument
2919 if (p->header.flag & BT_LEAF) { in xtSearchNode()
3073 p->header.flag = DXD_INDEX | BT_ROOT | BT_LEAF; in xtInitRoot()
3149 s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int flag) in xtTruncate() argument
3174 tblk->xflag |= flag; in xtTruncate()
3179 flag &= COMMIT_MAP; in xtTruncate()
3180 assert(flag != COMMIT_PMAP); in xtTruncate()
3182 if (flag == COMMIT_PWMAP) in xtTruncate()
3186 xadlock.flag = mlckFREEXADLIST; in xtTruncate()
3256 if (p->header.flag & BT_INTERNAL) in xtTruncate()
3359 pxdlock->flag = mlckFREEPXD; in xtTruncate()
3367 pxdlock->flag = mlckFREEPXD; in xtTruncate()
3373 xadlock.flag = mlckFREEXADLIST; in xtTruncate()
3431 if (p->header.flag & BT_ROOT) { in xtTruncate()
3432 p->header.flag &= ~BT_INTERNAL; in xtTruncate()
3433 p->header.flag |= BT_LEAF; in xtTruncate()
3446 lid_to_tlock(mp->lid)->flag |= tlckFREELOCK; in xtTruncate()
3580 if (p->header.flag & BT_ROOT) { in xtTruncate()
3581 p->header.flag &= ~BT_INTERNAL; in xtTruncate()
3582 p->header.flag |= BT_LEAF; in xtTruncate()
3604 lid_to_tlock(mp->lid)->flag |= in xtTruncate()
3675 if (flag == COMMIT_WMAP) in xtTruncate()
3762 if (p->header.flag & BT_INTERNAL) in xtTruncate_pmap()
3821 if (p->header.flag & BT_ROOT) { in xtTruncate_pmap()