Searched refs:cache_policy_ (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/usr.sbin/nscd/
H A Dcacheplcs.h54 * cache_policy_ represents an abstract policy queue. It can be customized by
57 struct cache_policy_ { struct
61 void (*add_item_func)(struct cache_policy_ *,
63 void (*remove_item_func)(struct cache_policy_ *,
65 void (*update_item_func)(struct cache_policy_ *,
69 struct cache_policy_ *);
71 struct cache_policy_ *);
73 struct cache_policy_ *, struct cache_policy_item_ *);
75 struct cache_policy_ *, struct cache_policy_item_ *);
91 * LFU policy queue "inherited" from cache_policy_
[all...]
H A Dcacheplcs.c40 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_ *,
[all...]
H A Dcachelib.h147 struct cache_policy_ **policies;
H A Dcachelib.c65 struct cache_policy_ *, struct cache_policy_ *,
292 struct cache_policy_ *policy;
374 struct cache_policy_ *policy,
375 struct cache_policy_ *connected_policy,
428 struct cache_policy_ *policy, *connected_policy;
811 struct cache_policy_ *policy, *connected_policy;

Completed in 76 milliseconds