Lines Matching defs:pred
164 iter_predicate pred, void *context)
177 if (pred(e, context))
249 static struct lru_entry *lru_evict(struct lru *lru, le_predicate pred, void *context, bool no_sleep)
269 switch (pred(le, context)) {
648 b_predicate pred;
666 return w->pred(b, w->context);
670 b_predicate pred, void *context,
673 struct evict_wrapper w = {.lh = lh, .pred = pred, .context = context};
689 b_predicate pred, void *context)
695 b = __cache_evict(bc, list_mode, pred, context, &lh);
726 b_predicate pred, void *context, struct lock_history *lh)
730 struct evict_wrapper w = {.lh = lh, .pred = pred, .context = context};
744 b_predicate pred, void *context)
749 __cache_mark_many(bc, old_mode, new_mode, pred, context, &lh);
920 b_predicate pred, b_release release)
936 if (pred(b, NULL) == ER_EVICT) {
946 b_predicate pred, b_release release)
953 __remove_range(bc, &bc->trees[i].root, begin, end, pred, release);