• Home
  • Raw
  • Download

Lines Matching refs:flags

188 			lp->flags &= ~LPROPS_CAT_MASK;  in add_to_lpt_heap()
189 lp->flags |= LPROPS_UNCAT; in add_to_lpt_heap()
290 lprops->flags &= ~LPROPS_CAT_MASK; in ubifs_add_to_cat()
291 lprops->flags |= cat; in ubifs_add_to_cat()
346 cat = new_lprops->flags & LPROPS_CAT_MASK; in ubifs_replace_cat()
375 int cat = lprops->flags & LPROPS_CAT_MASK; in ubifs_ensure_cat()
399 if (lprops->flags & LPROPS_TAKEN) in ubifs_categorize_lprops()
403 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in ubifs_categorize_lprops()
408 if (lprops->flags & LPROPS_INDEX) in ubifs_categorize_lprops()
414 if (lprops->flags & LPROPS_INDEX) { in ubifs_categorize_lprops()
438 int old_cat = lprops->flags & LPROPS_CAT_MASK; in change_category()
499 return !test_bit(COW_CNODE, &pnode->flags) && in is_lprops_dirty()
500 test_bit(DIRTY_CNODE, &pnode->flags); in is_lprops_dirty()
522 int free, int dirty, int flags, in ubifs_change_lp() argument
532 lprops->lnum, free, dirty, flags); in ubifs_change_lp()
557 if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size) in ubifs_change_lp()
560 if (!(lprops->flags & LPROPS_INDEX)) { in ubifs_change_lp()
591 if (flags != LPROPS_NC) { in ubifs_change_lp()
593 if ((lprops->flags & LPROPS_INDEX)) { in ubifs_change_lp()
594 if (!(flags & LPROPS_INDEX)) in ubifs_change_lp()
596 } else if (flags & LPROPS_INDEX) in ubifs_change_lp()
598 lprops->flags = flags; in ubifs_change_lp()
601 if (!(lprops->flags & LPROPS_INDEX)) { in ubifs_change_lp()
613 if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size) in ubifs_change_lp()
652 int err = 0, flags; in ubifs_change_one_lp() local
663 flags = (lp->flags | flags_set) & ~flags_clean; in ubifs_change_one_lp()
664 lp = ubifs_change_lp(c, lp, free, dirty, flags, idx_gc_cnt); in ubifs_change_one_lp()
691 int err = 0, flags; in ubifs_update_one_lp() local
702 flags = (lp->flags | flags_set) & ~flags_clean; in ubifs_update_one_lp()
703 lp = ubifs_change_lp(c, lp, free, lp->dirty + dirty, flags, 0); in ubifs_update_one_lp()
766 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in ubifs_fast_find_free()
767 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in ubifs_fast_find_free()
788 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in ubifs_fast_find_empty()
789 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in ubifs_fast_find_empty()
811 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in ubifs_fast_find_freeable()
812 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in ubifs_fast_find_freeable()
835 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in ubifs_fast_find_frdi_idx()
836 ubifs_assert(c, (lprops->flags & LPROPS_INDEX)); in ubifs_fast_find_frdi_idx()
864 lprops->flags); in dbg_check_cats()
867 if (lprops->flags & LPROPS_TAKEN) { in dbg_check_cats()
870 lprops->flags); in dbg_check_cats()
880 lprops->flags); in dbg_check_cats()
883 if (lprops->flags & LPROPS_TAKEN) { in dbg_check_cats()
886 lprops->flags); in dbg_check_cats()
910 lprops->flags); in dbg_check_cats()
913 if (lprops->flags & LPROPS_TAKEN) { in dbg_check_cats()
916 lprops->flags); in dbg_check_cats()
919 if (!(lprops->flags & LPROPS_INDEX)) { in dbg_check_cats()
922 lprops->flags); in dbg_check_cats()
940 if (lprops->flags & LPROPS_TAKEN) { in dbg_check_cats()
963 if ((lprops->flags & LPROPS_CAT_MASK) != cat) { in dbg_check_heap()
1024 cat = lp->flags & LPROPS_CAT_MASK; in scan_check_cb()
1027 if (cat != (lp->flags & LPROPS_CAT_MASK)) { in scan_check_cb()
1029 (lp->flags & LPROPS_CAT_MASK), cat); in scan_check_cb()
1091 !(lp->flags & LPROPS_INDEX)) { in scan_check_cb()
1155 if ((is_idx && !(lp->flags & LPROPS_INDEX)) || in scan_check_cb()
1190 if (is_idx && !(lp->flags & LPROPS_INDEX)) { in scan_check_cb()
1200 if (!is_idx && (lp->flags & LPROPS_INDEX)) { in scan_check_cb()
1211 if (!(lp->flags & LPROPS_INDEX)) in scan_check_cb()
1216 if (!(lp->flags & LPROPS_INDEX)) { in scan_check_cb()
1231 lnum, lp->free, lp->dirty, lp->flags, free, dirty); in scan_check_cb()