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

/freebsd-current/usr.sbin/nscd/
H A Dcacheplcs.h52 * cache_policy_ represents an abstract policy queue. It can be customized by
55 struct cache_policy_ { struct
59 void (*add_item_func)(struct cache_policy_ *,
61 void (*remove_item_func)(struct cache_policy_ *,
63 void (*update_item_func)(struct cache_policy_ *,
67 struct cache_policy_ *);
69 struct cache_policy_ *);
71 struct cache_policy_ *, struct cache_policy_item_ *);
73 struct cache_policy_ *, struct cache_policy_item_ *);
89 * LFU policy queue "inherited" from cache_policy_
[all...]
H A Dcacheplcs.c38 static void cache_fifo_policy_update_item(struct cache_policy_ *,
40 static void cache_lfu_policy_add_item(struct cache_policy_ *,
45 struct cache_policy_ *);
47 struct cache_policy_ *);
49 struct cache_policy_ *, struct cache_policy_item_ *);
51 struct cache_policy_ *, struct cache_policy_item_ *);
52 static void cache_lfu_policy_remove_item(struct cache_policy_ *,
54 static void cache_lfu_policy_update_item(struct cache_policy_ *,
56 static void cache_lru_policy_update_item(struct cache_policy_ *,
58 static void cache_queue_policy_add_item(struct cache_policy_ *,
[all...]
H A Dcachelib.h145 struct cache_policy_ **policies;
H A Dcachelib.c63 struct cache_policy_ *, struct cache_policy_ *,
290 struct cache_policy_ *policy;
372 struct cache_policy_ *policy,
373 struct cache_policy_ *connected_policy,
426 struct cache_policy_ *policy, *connected_policy;
809 struct cache_policy_ *policy, *connected_policy;

Completed in 60 milliseconds