• Home
  • Raw
  • Download

Lines Matching refs:flags

56 	int n, cat = lprops->flags & LPROPS_CAT_MASK;  in valuable()
102 if (lprops->flags & LPROPS_TAKEN) in scan_for_dirty_cb()
111 if (data->exclude_index && lprops->flags & LPROPS_INDEX) in scan_for_dirty_cb()
163 if (lprops->flags & LPROPS_TAKEN) in scan_for_dirty()
167 if (exclude_index && (lprops->flags & LPROPS_INDEX)) in scan_for_dirty()
196 ubifs_assert(!(lprops->flags & LPROPS_TAKEN)); in scan_for_dirty()
197 ubifs_assert(!exclude_index || !(lprops->flags & LPROPS_INDEX)); in scan_for_dirty()
334 lp->lnum, lp->free, lp->dirty, lp->flags); in ubifs_find_dirty_leb()
337 lp->flags | LPROPS_TAKEN, 0); in ubifs_find_dirty_leb()
369 if (lprops->flags & LPROPS_TAKEN) in scan_for_free_cb()
375 if (lprops->flags & LPROPS_INDEX) in scan_for_free_cb()
446 if (lprops->flags & LPROPS_TAKEN) in do_find_free_space()
448 if (lprops->flags & LPROPS_INDEX) in do_find_free_space()
472 ubifs_assert(!(lprops->flags & LPROPS_TAKEN)); in do_find_free_space()
473 ubifs_assert(!(lprops->flags & LPROPS_INDEX)); in do_find_free_space()
497 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local
547 flags = lprops->flags | LPROPS_TAKEN; in ubifs_find_free_space()
549 lprops = ubifs_change_lp(c, lprops, LPROPS_NC, LPROPS_NC, flags, 0); in ubifs_find_free_space()
609 if (lprops->flags & LPROPS_TAKEN) in scan_for_idx_cb()
615 if (lprops->flags & LPROPS_INDEX) in scan_for_idx_cb()
652 ubifs_assert(!(lprops->flags & LPROPS_TAKEN)); in scan_for_leb_for_idx()
653 ubifs_assert(!(lprops->flags & LPROPS_INDEX)); in scan_for_leb_for_idx()
676 int lnum = -1, err, flags; in ubifs_find_free_leb_for_idx() local
703 lnum, lprops->free, lprops->dirty, lprops->flags); in ubifs_find_free_leb_for_idx()
705 flags = lprops->flags | LPROPS_TAKEN | LPROPS_INDEX; in ubifs_find_free_leb_for_idx()
706 lprops = ubifs_change_lp(c, lprops, c->leb_size, 0, flags, 0); in ubifs_find_free_leb_for_idx()
804 if (lprops->flags & LPROPS_TAKEN) in scan_dirty_idx_cb()
810 if (!(lprops->flags & LPROPS_INDEX)) in scan_dirty_idx_cb()
872 ubifs_assert(!(lprops->flags & LPROPS_TAKEN)); in find_dirty_idx_leb()
873 ubifs_assert((lprops->flags & LPROPS_INDEX)); in find_dirty_idx_leb()
876 lprops->lnum, lprops->free, lprops->dirty, lprops->flags); in find_dirty_idx_leb()
879 lprops->flags | LPROPS_TAKEN, 0); in find_dirty_idx_leb()
907 lp->flags | LPROPS_INDEX, -1); in get_idx_gc_leb()
911 lp->lnum, lp->dirty, lp->free, lp->flags); in get_idx_gc_leb()
932 if ((lp->flags & LPROPS_TAKEN) || !(lp->flags & LPROPS_INDEX)) in find_dirtiest_idx_leb()
935 lp->flags | LPROPS_TAKEN, 0); in find_dirtiest_idx_leb()
941 lp->free, lp->flags); in find_dirtiest_idx_leb()
942 ubifs_assert(lp->flags | LPROPS_TAKEN); in find_dirtiest_idx_leb()
943 ubifs_assert(lp->flags | LPROPS_INDEX); in find_dirtiest_idx_leb()