Lines Matching refs:pred
172 iter_predicate pred, void *context)
185 if (pred(e, context))
257 static struct lru_entry *lru_evict(struct lru *lru, le_predicate pred, void *context, bool no_sleep)
277 switch (pred(le, context)) {
659 b_predicate pred;
677 return w->pred(b, w->context);
681 b_predicate pred, void *context,
684 struct evict_wrapper w = {.lh = lh, .pred = pred, .context = context};
700 b_predicate pred, void *context)
706 b = __cache_evict(bc, list_mode, pred, context, &lh);
735 b_predicate pred, void *context, struct lock_history *lh)
739 struct evict_wrapper w = {.lh = lh, .pred = pred, .context = context};
753 b_predicate pred, void *context)
758 __cache_mark_many(bc, old_mode, new_mode, pred, context, &lh);
925 b_predicate pred, b_release release)
941 if (pred(b, NULL) == ER_EVICT) {
951 b_predicate pred, b_release release)
958 __remove_range(bc, &bc->trees[i].root, begin, end, pred, release);