Lines Matching refs:cache_object
29 struct cache_object {
42 void (*add)(struct cache_object *obj, void *data);
43 void (*update)(struct cache_object *obj, void *data);
44 void (*destroy)(struct cache_object *obj, void *data);
45 int (*dump)(struct cache_object *obj, void *data, char *buf, int type);
102 void (*add)(struct cache_object *obj, void *data);
103 void (*update)(struct cache_object *obj, void *data);
104 void (*destroy)(struct cache_object *obj, void *data);
125 struct nethdr *(*build_msg)(const struct cache_object *obj, int type);
141 struct cache_object *cache_object_new(struct cache *c, void *ptr);
142 void cache_object_free(struct cache_object *obj);
143 void cache_object_get(struct cache_object *obj);
144 int cache_object_put(struct cache_object *obj);
145 void cache_object_set_status(struct cache_object *obj, int status);
147 int cache_add(struct cache *c, struct cache_object *obj, int id);
148 void cache_update(struct cache *c, struct cache_object *obj, int id, void *ptr);
149 struct cache_object *cache_update_force(struct cache *c, void *ptr);
150 void cache_del(struct cache *c, struct cache_object *obj);
151 struct cache_object *cache_find(struct cache *c, void *ptr, int *pos);
154 void *cache_get_extra(struct cache_object *);