Lines Matching refs:flag
177 int flag);
180 int flag);
183 int ri, struct component_name * key, int flag);
370 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
475 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
507 dirtab_slot->flag = DIR_INDEX_FREE; in free_index()
581 struct btstack * btstack, int flag) in dtSearch() argument
648 if (p->header.flag & BT_LEAF) { in dtSearch()
667 if (p->header.flag & BT_LEAF) { in dtSearch()
674 if (flag == JFS_LOOKUP) { in dtSearch()
683 if (flag == JFS_CREATE) { in dtSearch()
692 if ((flag == JFS_REMOVE || in dtSearch()
693 flag == JFS_RENAME) && in dtSearch()
737 if (p->header.flag & BT_LEAF) { in dtSearch()
741 if (flag == JFS_LOOKUP || flag == JFS_REMOVE || in dtSearch()
742 flag == JFS_RENAME) { in dtSearch()
901 if (!(p->header.flag & BT_ROOT)) { in dtInsert()
976 if (sp->header.flag & BT_ROOT) { in dtSplitUp()
1176 switch (rp->header.flag & BT_TYPE) { in dtSplitUp()
1183 if ((sp->header.flag & BT_ROOT && skip > 1) || in dtSplitUp()
1247 rc = (sp->header.flag & BT_ROOT) ? in dtSplitUp()
1276 if (!(sp->header.flag & BT_ROOT)) { in dtSplitUp()
1418 rp->header.flag = sp->header.flag; in dtSplitPage()
1522 switch (sp->header.flag & BT_TYPE) { in dtSplitPage()
1581 if ((rp->header.flag & BT_LEAF) && DO_INDEX(ip)) { in dtSplitPage()
1698 pxdlock->flag = mlckFREEPXD; in dtExtendPage()
1934 rp->header.flag = in dtSplitRoot()
1935 (sp->header.flag & BT_LEAF) ? BT_LEAF : BT_INTERNAL; in dtSplitRoot()
1995 if ((rp->header.flag & BT_LEAF) && DO_INDEX(ip)) { in dtSplitRoot()
2039 if (sp->header.flag & BT_LEAF) { in dtSplitRoot()
2040 sp->header.flag &= ~BT_LEAF; in dtSplitRoot()
2041 sp->header.flag |= BT_INTERNAL; in dtSplitRoot()
2083 struct inode *ip, struct component_name * key, ino_t * ino, int flag) in dtDelete() argument
2106 if ((rc = dtSearch(ip, key, ino, &btstack, flag))) in dtDelete()
2125 if ((p->header.flag & BT_ROOT) in dtDelete()
2186 if (!(p->header.flag & BT_ROOT)) { in dtDelete()
2280 pxdlock->flag = mlckFREEPXD; in dtDeleteUp()
2331 if (p->header.flag & BT_ROOT) { in dtDeleteUp()
2356 pxdlock->flag = mlckFREEPXD; in dtDeleteUp()
2402 if (!(p->header.flag & BT_ROOT)) { in dtDeleteUp()
2422 ((p->header.flag & BT_ROOT) || p->header.prev == 0)) in dtDeleteUp()
2601 pxdlock->flag = mlckFREEPXD; in dtRelocate()
2671 if (p->header.flag & BT_ROOT) { in dtSearchNode()
2680 if (p->header.flag & BT_LEAF) { in dtSearchNode()
2889 p->header.flag = DXD_INDEX | BT_ROOT | BT_LEAF; in dtInitRoot()
2942 ASSERT(p->header.flag & BT_LEAF); in add_missing_indices()
3073 if (dirtab_slot.flag == DIR_INDEX_FREE) { in jfs_readdir()
3094 if (p->header.flag & BT_INTERNAL) { in jfs_readdir()
3294 if (p->header.flag & BT_ROOT) in jfs_readdir()
3376 if (p->header.flag & BT_LEAF) { in dtReadFirst()
3459 if (p->header.flag & BT_ROOT) { in dtReadNext()
3471 if (p->header.flag & BT_ROOT) { in dtReadNext()
3677 int flag) in ciCompare() argument
3709 if (p->header.flag & BT_LEAF) { in ciCompare()
3714 if (flag & JFS_DIR_INDEX) in ciCompare()
3734 if ((flag & JFS_OS2) == JFS_OS2) in ciCompare()
3754 if ((flag & JFS_OS2) == JFS_OS2) in ciCompare()
3783 int ri, struct component_name * key, int flag) in ciGetLeafPrefixKey() argument
3803 dtGetKey(lp, li, &lkey, flag); in ciGetLeafPrefixKey()
3806 if ((flag & JFS_OS2) == JFS_OS2) in ciGetLeafPrefixKey()
3809 dtGetKey(rp, ri, &rkey, flag); in ciGetLeafPrefixKey()
3813 if ((flag & JFS_OS2) == JFS_OS2) in ciGetLeafPrefixKey()
3850 struct component_name * key, int flag) in dtGetKey() argument
3864 if (p->header.flag & BT_LEAF) { in dtGetKey()
3869 if (flag & JFS_DIR_INDEX) in dtGetKey()
3947 if (p->header.flag & BT_LEAF) { in dtInsertEntry()
3955 if (!(p->header.flag & BT_ROOT)) in dtInsertEntry()
4023 if (p->header.flag & BT_LEAF) in dtInsertEntry()
4037 if ((p->header.flag & BT_LEAF) && data->leaf.ip) { in dtInsertEntry()
4137 if (sp->header.flag & BT_LEAF) { in dtMoveEntry()
4231 if (dp->header.flag & BT_LEAF) in dtMoveEntry()
4295 if (p->header.flag & BT_LEAF) in dtDeleteEntry()
4390 ASSERT(p->header.flag & BT_INTERNAL); in dtTruncateEntry()
4528 struct component_name * key, ino_t * orig_ino, ino_t new_ino, int flag) in dtModify() argument
4548 if ((rc = dtSearch(ip, key, orig_ino, &btstack, flag))) in dtModify()