Lines Matching defs:cache_detail
66 struct cache_detail { struct
75 int (*cache_upcall)(struct cache_detail *, argument
78 void (*cache_request)(struct cache_detail *cd, argument
82 int (*cache_parse)(struct cache_detail *, argument
86 struct cache_detail *cd, argument
88 void (*warn_no_listener)(struct cache_detail *cd, argument
91 struct cache_head * (*alloc)(void);
92 void (*flush)(void);
93 int (*match)(struct cache_head *orig, struct cache_head *new);
94 void (*init)(struct cache_head *orig, struct cache_head *new);
95 void (*update)(struct cache_head *orig, struct cache_head *new);
100 time64_t flush_time; /* flush all cache items with
106 struct list_head others;
107 time64_t nextcheck;
108 int entries;
111 struct list_head queue;
113 atomic_t writers; /* how many time is /channel open */
114 time64_t last_close; /* if no writers, when did last close */
115 time64_t last_warn; /* when we last warned about no writers */
117 union {
121 struct net *net;