.. | .. |
---|
80 | 80 | } |
---|
81 | 81 | |
---|
82 | 82 | /** |
---|
| 83 | + * dst_cache_reset_now - invalidate the cache contents immediately |
---|
| 84 | + * @dst_cache: the cache |
---|
| 85 | + * |
---|
| 86 | + * The caller must be sure there are no concurrent users, as this frees |
---|
| 87 | + * all dst_cache users immediately, rather than waiting for the next |
---|
| 88 | + * per-cpu usage like dst_cache_reset does. Most callers should use the |
---|
| 89 | + * higher speed lazily-freed dst_cache_reset function instead. |
---|
| 90 | + */ |
---|
| 91 | +void dst_cache_reset_now(struct dst_cache *dst_cache); |
---|
| 92 | + |
---|
| 93 | +/** |
---|
83 | 94 | * dst_cache_init - initialize the cache, allocating the required storage |
---|
84 | 95 | * @dst_cache: the cache |
---|
85 | 96 | * @gfp: allocation flags |
---|