Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 26) 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 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value);
64 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
66 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
68 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
[all …]
Dkasan.h46 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size,
50 void kasan_unpoison_object_data(struct kmem_cache *cache, void *object);
51 void kasan_poison_object_data(struct kmem_cache *cache, void *object);
52 void * __must_check kasan_init_slab_obj(struct kmem_cache *cache,
84 size_t kasan_metadata_size(struct kmem_cache *cache);
102 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create() argument
107 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data() argument
109 static inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data() argument
111 static inline void *kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj() argument
157 static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } in kasan_metadata_size() argument
[all …]
Dslab_def.h92 static inline void *nearest_obj(struct kmem_cache *cache, struct page *page, in nearest_obj() argument
95 void *object = x - (x - page->s_mem) % cache->size; in nearest_obj()
96 void *last_object = page->s_mem + (cache->num - 1) * cache->size; in nearest_obj()
110 static inline unsigned int obj_to_index(const struct kmem_cache *cache, in obj_to_index() argument
114 return reciprocal_divide(offset, cache->reciprocal_buffer_size); in obj_to_index()
Dfscache-cache.h45 struct fscache_cache *cache; /* cache referred to by this tag */ member
230 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
270 void (*sync_cache)(struct fscache_cache *cache);
306 void (*dissociate_pages)(struct fscache_cache *cache);
377 struct fscache_cache *cache; /* cache that supplied this object */ member
415 return test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_cache_is_broken()
431 static inline void fscache_object_destroyed(struct fscache_cache *cache) in fscache_object_destroyed() argument
433 if (atomic_dec_and_test(&cache->object_count)) in fscache_object_destroyed()
530 void fscache_init_cache(struct fscache_cache *cache,
534 extern int fscache_add_cache(struct fscache_cache *cache,
[all …]
Dslub_def.h174 static inline void *nearest_obj(struct kmem_cache *cache, struct page *page, in nearest_obj() argument
176 void *object = x - (x - page_address(page)) % cache->size; in nearest_obj()
178 (page->objects - 1) * cache->size; in nearest_obj()
181 result = fixup_red_left(cache, result); in nearest_obj()
Dbch.h51 int *cache; member
Dmroute_base.h382 struct list_head *cache; member
413 it->cache = NULL; in mr_mfc_seq_start()
426 if (it->cache == &mrt->mfc_unres_queue) in mr_mfc_seq_stop()
428 else if (it->cache == &mrt->mfc_cache_list) in mr_mfc_seq_stop()
Dlru_cache.h239 extern struct lru_cache *lc_create(const char *name, struct kmem_cache *cache,
Dkvm_host.h753 void kvm_release_pfn(kvm_pfn_t pfn, bool dirty, struct gfn_to_pfn_cache *cache);
785 struct gfn_to_pfn_cache *cache, bool atomic);
789 struct gfn_to_pfn_cache *cache, bool dirty, bool atomic);
Dsyscalls.h733 …ge long sys_getcpu(unsigned __user *cpu, unsigned __user *node, struct getcpu_cache __user *cache);
/include/net/
Dnetlabel.h198 struct netlbl_lsm_cache *cache; member
280 struct netlbl_lsm_cache *cache; in netlbl_secattr_cache_alloc() local
282 cache = kzalloc(sizeof(*cache), flags); in netlbl_secattr_cache_alloc()
283 if (cache) in netlbl_secattr_cache_alloc()
284 refcount_set(&cache->refcount, 1); in netlbl_secattr_cache_alloc()
285 return cache; in netlbl_secattr_cache_alloc()
296 static inline void netlbl_secattr_cache_free(struct netlbl_lsm_cache *cache) in netlbl_secattr_cache_free() argument
298 if (!refcount_dec_and_test(&cache->refcount)) in netlbl_secattr_cache_free()
301 if (cache->free) in netlbl_secattr_cache_free()
302 cache->free(cache->data); in netlbl_secattr_cache_free()
[all …]
Ddst_cache.h12 struct dst_cache_pcpu __percpu *cache; member
Dpage_pool.h58 void *cache[PP_ALLOC_CACHE_SIZE]; member
Ddst_metadata.h128 if (new_md->u.tun_info.dst_cache.cache) { in tun_dst_unclone()
/include/acpi/platform/
Daclinuxex.h65 static inline void *acpi_os_acquire_object(acpi_cache_t * cache) in acpi_os_acquire_object() argument
67 return kmem_cache_zalloc(cache, in acpi_os_acquire_object()
/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/rdma/
Dib_fmr_pool.h64 unsigned cache:1; member
Dib_verbs.h2168 struct ib_port_cache cache; member
2604 struct ib_cache cache; member
/include/linux/platform_data/
Dmlxreg.h115 u32 cache; member
/include/net/netfilter/
Dnf_conntrack_ecache.h23 unsigned long cache; /* bitops want long */ member
118 set_bit(event, &e->cache); in nf_conntrack_event_cache()
/include/linux/power/
Dbq27xxx_battery.h65 struct bq27xxx_reg_cache cache; member
/include/trace/events/
Dbcache.h428 TP_PROTO(struct cache *ca, size_t bucket),
449 TP_PROTO(struct cache *ca, size_t bucket),
467 TP_PROTO(struct cache *ca, unsigned reserve),
/include/linux/mtd/
Dnand.h133 unsigned long *cache; member
756 return !!nand->bbt.cache; in nanddev_bbt_is_initialized()
/include/net/9p/
D9p.h549 struct kmem_cache *cache; member
/include/linux/mlx5/
Ddriver.h308 struct cmd_msg_cache cache[MLX5_NUM_COMMAND_CACHES]; member

12