Lines Matching refs:flag
44 (XAD)->flag = (FLAG);\
81 u8 flag; member
105 struct btstack * btstack, int flag);
186 *pflag = xad->flag; in xtLookup()
216 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument
267 (p->header.flag & BT_LEAF) && in xtSearch()
325 if (flag & XT_INSERT) { in xtSearch()
368 if (p->header.flag & BT_LEAF) { in xtSearch()
372 if (flag & XT_INSERT) { in xtSearch()
426 if (p->header.flag & BT_LEAF) { in xtSearch()
430 if (flag & XT_INSERT) { in xtSearch()
515 int flag) in xtInsert() argument
588 split.flag = xflag; in xtInsert()
691 if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && in xtSplitUp()
713 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitUp()
769 rc = (sp->header.flag & BT_ROOT) ? in xtSplitUp()
833 split->flag = XAD_NEW; in xtSplitUp()
845 rc = (sp->header.flag & BT_ROOT) ? in xtSplitUp()
989 rp->header.flag = sp->header.flag & BT_TYPE; in xtSplitPage()
1040 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1111 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1136 XT_PUTENTRY(xad, split->flag, split->off, split->len, in xtSplitPage()
1248 rp->header.flag = in xtSplitRoot()
1249 (sp->header.flag & BT_LEAF) ? BT_LEAF : BT_INTERNAL; in xtSplitRoot()
1276 XT_PUTENTRY(xad, split->flag, split->off, split->len, split->addr); in xtSplitRoot()
1307 sp->header.flag &= ~BT_LEAF; in xtSplitRoot()
1308 sp->header.flag |= BT_INTERNAL; in xtSplitRoot()
1339 int flag) in xtExtend() argument
1411 split.flag = XAD_NEW; in xtExtend()
1428 if (p->header.flag & BT_INTERNAL) { in xtExtend()
1468 if (!(xad->flag & XAD_NEW)) in xtExtend()
1469 xad->flag |= XAD_EXTENDED; in xtExtend()
1544 xflag = xad->flag; in xtUpdate()
1575 if (!(lxad->flag & XAD_NOTRECORDED) && in xtUpdate()
1588 if (!(lxad->flag & XAD_NEW)) in xtUpdate()
1589 lxad->flag |= XAD_EXTENDED; in xtUpdate()
1626 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1646 if (!(rxad->flag & XAD_NOTRECORDED) && in xtUpdate()
1660 if (!(rxad->flag & XAD_NEW)) in xtUpdate()
1661 rxad->flag |= XAD_EXTENDED; in xtUpdate()
1705 split.flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1722 if (p->header.flag & BT_INTERNAL) { in xtUpdate()
1759 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1845 xad->flag = xflag & ~XAD_NOTRECORDED; in xtUpdate()
1858 split.flag = xflag; in xtUpdate()
1876 if (p->header.flag & BT_INTERNAL) { in xtUpdate()
1945 int flag) in xtAppend() argument
2038 split.flag = xflag; in xtAppend()
2112 p->header.flag = DXD_INDEX | BT_ROOT | BT_LEAF; in xtInitRoot()
2188 s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int flag) in xtTruncate() argument
2213 tblk->xflag |= flag; in xtTruncate()
2218 flag &= COMMIT_MAP; in xtTruncate()
2219 assert(flag != COMMIT_PMAP); in xtTruncate()
2221 if (flag == COMMIT_PWMAP) in xtTruncate()
2225 xadlock.flag = mlckFREEXADLIST; in xtTruncate()
2295 if (p->header.flag & BT_INTERNAL) in xtTruncate()
2398 pxdlock->flag = mlckFREEPXD; in xtTruncate()
2406 pxdlock->flag = mlckFREEPXD; in xtTruncate()
2412 xadlock.flag = mlckFREEXADLIST; in xtTruncate()
2470 if (p->header.flag & BT_ROOT) { in xtTruncate()
2471 p->header.flag &= ~BT_INTERNAL; in xtTruncate()
2472 p->header.flag |= BT_LEAF; in xtTruncate()
2485 lid_to_tlock(mp->lid)->flag |= tlckFREELOCK; in xtTruncate()
2619 if (p->header.flag & BT_ROOT) { in xtTruncate()
2620 p->header.flag &= ~BT_INTERNAL; in xtTruncate()
2621 p->header.flag |= BT_LEAF; in xtTruncate()
2643 lid_to_tlock(mp->lid)->flag |= in xtTruncate()
2714 if (flag == COMMIT_WMAP) in xtTruncate()
2801 if (p->header.flag & BT_INTERNAL) in xtTruncate_pmap()
2860 if (p->header.flag & BT_ROOT) { in xtTruncate_pmap()