• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/nscd/

Lines Matching refs:cache_policy_

40 static void cache_fifo_policy_update_item(struct cache_policy_ *,
42 static void cache_lfu_policy_add_item(struct cache_policy_ *,
47 struct cache_policy_ *);
49 struct cache_policy_ *);
51 struct cache_policy_ *, struct cache_policy_item_ *);
53 struct cache_policy_ *, struct cache_policy_item_ *);
54 static void cache_lfu_policy_remove_item(struct cache_policy_ *,
56 static void cache_lfu_policy_update_item(struct cache_policy_ *,
58 static void cache_lru_policy_update_item(struct cache_policy_ *,
60 static void cache_queue_policy_add_item(struct cache_policy_ *,
65 struct cache_policy_ *);
67 struct cache_policy_ *);
69 struct cache_policy_ *, struct cache_policy_item_ *);
71 struct cache_policy_ *, struct cache_policy_item_ *);
72 static void cache_queue_policy_remove_item(struct cache_policy_ *,
108 cache_queue_policy_add_item(struct cache_policy_ *policy,
122 cache_queue_policy_remove_item(struct cache_policy_ *policy,
136 cache_queue_policy_get_first_item(struct cache_policy_ *policy)
147 cache_queue_policy_get_last_item(struct cache_policy_ *policy)
159 cache_queue_policy_get_next_item(struct cache_policy_ *policy,
174 cache_queue_policy_get_prev_item(struct cache_policy_ *policy,
245 cache_fifo_policy_update_item(struct cache_policy_ *policy,
254 struct cache_policy_ *
264 return ((struct cache_policy_ *)retval);
268 destroy_cache_fifo_policy(struct cache_policy_ *policy)
284 cache_lru_policy_update_item(struct cache_policy_ *policy,
299 struct cache_policy_ *
309 return ((struct cache_policy_ *)retval);
313 destroy_cache_lru_policy(struct cache_policy_ *policy)
325 * LRU and FIFO (both based on cache_queue_policy_). Almost all cache_policy_
362 cache_lfu_policy_add_item(struct cache_policy_ *policy,
383 cache_lfu_policy_update_item(struct cache_policy_ *policy,
423 cache_lfu_policy_remove_item(struct cache_policy_ *policy,
439 cache_lfu_policy_get_first_item(struct cache_policy_ *policy)
459 cache_lfu_policy_get_last_item(struct cache_policy_ *policy)
480 cache_lfu_policy_get_next_item(struct cache_policy_ *policy,
506 cache_lfu_policy_get_prev_item(struct cache_policy_ *policy,
533 * Initializes the cache_policy_ structure by filling it with appropriate
536 struct cache_policy_ *
567 return ((struct cache_policy_ *)retval);
571 destroy_cache_lfu_policy(struct cache_policy_ *policy)