Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 34) sorted by relevance

12

/include/linux/
Dmbcache.h41 void mb_cache_destroy(struct mb_cache *cache);
43 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
45 void __mb_cache_entry_free(struct mb_cache *cache,
48 static inline void mb_cache_entry_put(struct mb_cache *cache, in mb_cache_entry_put() argument
58 __mb_cache_entry_free(cache, entry); in mb_cache_entry_put()
61 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache,
63 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
65 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
67 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
69 void mb_cache_entry_touch(struct mb_cache *cache,
Dfscache-cache.h91 extern void fscache_relinquish_cache(struct fscache_cache *cache);
92 extern int fscache_add_cache(struct fscache_cache *cache,
95 extern void fscache_withdraw_cache(struct fscache_cache *cache);
99 extern void fscache_io_error(struct fscache_cache *cache);
161 static inline void fscache_count_object(struct fscache_cache *cache) in fscache_count_object() argument
163 atomic_inc(&cache->object_count); in fscache_count_object()
173 static inline void fscache_uncount_object(struct fscache_cache *cache) in fscache_uncount_object() argument
175 if (atomic_dec_and_test(&cache->object_count)) in fscache_uncount_object()
186 static inline void fscache_wait_for_objects(struct fscache_cache *cache) in fscache_wait_for_objects() argument
189 atomic_read(&cache->object_count) == 0); in fscache_wait_for_objects()
Dkasan.h136 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object);
147 static __always_inline void kasan_unpoison_new_object(struct kmem_cache *cache, in kasan_unpoison_new_object() argument
151 __kasan_unpoison_new_object(cache, object); in kasan_unpoison_new_object()
154 void __kasan_poison_new_object(struct kmem_cache *cache, void *object);
164 static __always_inline void kasan_poison_new_object(struct kmem_cache *cache, in kasan_poison_new_object() argument
168 __kasan_poison_new_object(cache, object); in kasan_poison_new_object()
171 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache,
174 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj() argument
177 return __kasan_init_slab_obj(cache, object); in kasan_init_slab_obj()
414 static inline void kasan_unpoison_new_object(struct kmem_cache *cache, in kasan_unpoison_new_object() argument
[all …]
Dbpf_local_storage.h89 struct bpf_local_storage_data __rcu *cache[BPF_LOCAL_STORAGE_CACHE_SIZE]; member
129 struct bpf_local_storage_cache *cache,
145 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
166 struct bpf_local_storage_cache *cache,
Dhost1x.h46 static inline void host1x_bo_cache_init(struct host1x_bo_cache *cache) in host1x_bo_cache_init() argument
48 INIT_LIST_HEAD(&cache->mappings); in host1x_bo_cache_init()
49 mutex_init(&cache->lock); in host1x_bo_cache_init()
52 static inline void host1x_bo_cache_destroy(struct host1x_bo_cache *cache) in host1x_bo_cache_destroy() argument
55 mutex_destroy(&cache->lock); in host1x_bo_cache_destroy()
110 struct host1x_bo_cache cache; member
132 struct host1x_bo_cache *cache; member
177 struct host1x_bo_cache *cache);
Dbch.h52 int *cache; member
Dbpf_mem_alloc.h13 struct bpf_mem_cache __percpu *cache; member
Dmroute_base.h387 struct list_head *cache; member
418 it->cache = NULL; in mr_mfc_seq_start()
431 if (it->cache == &mrt->mfc_unres_queue) in mr_mfc_seq_stop()
433 else if (it->cache == &mrt->mfc_cache_list) in mr_mfc_seq_stop()
Dlru_cache.h238 extern struct lru_cache *lc_create(const char *name, struct kmem_cache *cache,
Dnetfs.h62 struct fscache_cookie *cache; member
487 ctx->cache = NULL; in netfs_inode_init()
523 return ctx->cache; in netfs_i_cookie()
Dresctrl.h213 struct resctrl_cache cache; member
/include/net/
Dnetlabel.h197 struct netlbl_lsm_cache *cache; member
279 struct netlbl_lsm_cache *cache; in netlbl_secattr_cache_alloc_noprof() local
281 cache = kzalloc_noprof(sizeof(*cache), flags); in netlbl_secattr_cache_alloc_noprof()
282 if (cache) in netlbl_secattr_cache_alloc_noprof()
283 refcount_set(&cache->refcount, 1); in netlbl_secattr_cache_alloc_noprof()
284 return cache; in netlbl_secattr_cache_alloc_noprof()
297 static inline void netlbl_secattr_cache_free(struct netlbl_lsm_cache *cache) in netlbl_secattr_cache_free() argument
299 if (!refcount_dec_and_test(&cache->refcount)) in netlbl_secattr_cache_free()
302 if (cache->free) in netlbl_secattr_cache_free()
303 cache->free(cache->data); in netlbl_secattr_cache_free()
[all …]
Ddst_cache.h12 struct dst_cache_pcpu __percpu *cache; member
/include/xen/
Dgrant_table.h227 void gnttab_page_cache_init(struct gnttab_page_cache *cache);
228 int gnttab_page_cache_get(struct gnttab_page_cache *cache, struct page **page);
229 void gnttab_page_cache_put(struct gnttab_page_cache *cache, struct page **page,
231 void gnttab_page_cache_shrink(struct gnttab_page_cache *cache,
/include/acpi/
Dacpiosxf.h207 acpi_status acpi_os_delete_cache(acpi_cache_t * cache);
211 acpi_status acpi_os_purge_cache(acpi_cache_t * cache);
215 void *acpi_os_acquire_object(acpi_cache_t * cache);
219 acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object);
/include/trace/events/
Dfscache.h219 __field(unsigned int, cache )
225 __entry->cache = cache_debug_id;
231 __entry->cache,
328 __field(unsigned int, cache )
335 __entry->cache = cache_debug_id;
342 __entry->cache,
Dbcache.h429 TP_PROTO(struct cache *ca, size_t bucket),
450 TP_PROTO(struct cache *ca, size_t bucket),
468 TP_PROTO(struct cache *ca, unsigned reserve),
/include/net/netfilter/
Dnf_conntrack_ecache.h22 unsigned long cache; /* bitops want long */ member
111 set_bit(event, &e->cache); in nf_conntrack_event_cache()
/include/soc/tegra/
Dtegra-cbb.h38 void tegra_cbb_print_cache(struct seq_file *file, u32 cache);
/include/linux/power/
Dbq27xxx_battery.h62 struct bq27xxx_reg_cache cache; member
/include/linux/firmware/cirrus/
Dcs_dsp.h101 void *cache; member
301 u32 cache; member
/include/linux/platform_data/
Dmlxreg.h178 u32 cache; member
/include/net/page_pool/
Dtypes.h55 netmem_ref cache[PP_ALLOC_CACHE_SIZE]; member
/include/drm/ttm/
Dttm_resource.h354 } cache; member
/include/net/9p/
D9p.h557 struct kmem_cache *cache; member

12