Lines Matching defs:cache_detail
65 struct cache_detail { struct
74 int (*cache_upcall)(struct cache_detail *, argument
77 void (*cache_request)(struct cache_detail *cd, argument
81 int (*cache_parse)(struct cache_detail *, argument
85 struct cache_detail *cd, argument
87 void (*warn_no_listener)(struct cache_detail *cd, argument
90 struct cache_head * (*alloc)(void);
91 void (*flush)(void);
92 int (*match)(struct cache_head *orig, struct cache_head *new);
93 void (*init)(struct cache_head *orig, struct cache_head *new);
94 void (*update)(struct cache_head *orig, struct cache_head *new);
99 time64_t flush_time; /* flush all cache items with
105 struct list_head others;
106 time64_t nextcheck;
107 int entries;
110 struct list_head queue;
112 atomic_t writers; /* how many time is /channel open */
113 time64_t last_close; /* if no writers, when did last close */
114 time64_t last_warn; /* when we last warned about no writers */
116 union {
120 struct net *net;