Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/Linux-v6.1/drivers/md/
Ddm-cache-target.c296 struct cache { struct
306 struct dm_cache_metadata *cmd; argument
321 struct dm_dev *cache_dev; argument
330 * Size of the cache device in blocks. argument
332 dm_cblock_t cache_size; argument
337 spinlock_t invalidation_lock;
338 struct list_head invalidation_requests;
340 sector_t migration_threshold;
341 wait_queue_head_t migration_wait;
342 atomic_t nr_allocated_migrations;
[all …]
/Linux-v6.1/fs/cachefiles/
Ddaemon.c90 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
135 static void cachefiles_flush_reqs(struct cachefiles_cache *cache) in cachefiles_flush_reqs()
168 void cachefiles_put_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_put_unbind_pincount()
177 void cachefiles_get_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_get_unbind_pincount()
187 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
208 static ssize_t cachefiles_do_daemon_read(struct cachefiles_cache *cache, in cachefiles_do_daemon_read()
259 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
281 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
357 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
381 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
[all …]
Dcache.c16 int cachefiles_add_cache(struct cachefiles_cache *cache) in cachefiles_add_cache()
182 int cachefiles_has_space(struct cachefiles_cache *cache, in cachefiles_has_space()
285 static void cachefiles_withdraw_objects(struct cachefiles_cache *cache) in cachefiles_withdraw_objects()
315 static void cachefiles_withdraw_volumes(struct cachefiles_cache *cache) in cachefiles_withdraw_volumes()
341 static void cachefiles_sync_cache(struct cachefiles_cache *cache) in cachefiles_sync_cache()
365 void cachefiles_withdraw_cache(struct cachefiles_cache *cache) in cachefiles_withdraw_cache()
Dnamei.c69 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_unmark_inode_in_use() local
84 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
228 static int cachefiles_unlink(struct cachefiles_cache *cache, in cachefiles_unlink()
264 int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
441 struct cachefiles_cache *cache = volume->cache; in cachefiles_create_tmpfile() local
544 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_open_file() local
667 bool cachefiles_commit_tmpfile(struct cachefiles_cache *cache, in cachefiles_commit_tmpfile()
744 static struct dentry *cachefiles_lookup_for_cull(struct cachefiles_cache *cache, in cachefiles_lookup_for_cull()
789 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
847 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
Dinterface.c79 struct fscache_cache *cache; in cachefiles_put_object() local
175 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie() local
230 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_shorten_object() local
277 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_resize_cookie() local
304 struct cachefiles_cache *cache) in cachefiles_commit_object()
323 struct cachefiles_cache *cache) in cachefiles_clean_up_object()
352 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie() local
Dsecurity.c16 int cachefiles_get_security_ID(struct cachefiles_cache *cache) in cachefiles_get_security_ID()
49 static int cachefiles_check_cache_dir(struct cachefiles_cache *cache, in cachefiles_check_cache_dir()
75 int cachefiles_determine_cache_security(struct cachefiles_cache *cache, in cachefiles_determine_cache_security()
Dondemand.c11 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_release() local
44 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() local
84 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_ioctl() local
117 int cachefiles_ondemand_copen(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_copen()
187 struct cachefiles_cache *cache; in cachefiles_ondemand_get_fd() local
237 ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache, in cachefiles_ondemand_daemon_read()
315 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_send_req() local
/Linux-v6.1/arch/powerpc/kernel/
Dcacheinfo.c43 struct cache *cache; member
117 struct cache { struct
118 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument
119 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument
120 int type; /* split cache disambiguation */ argument
122 int group_id; /* id of the group of threads that share this cache */ argument
123 struct list_head list; /* global list of cache objects */ argument
124 struct cache *next_local; /* next cache of >= level */ argument
139 static const char *cache_type_string(const struct cache *cache) in cache_type_string()
144 static void cache_init(struct cache *cache, int type, int level, in cache_init()
[all …]
/Linux-v6.1/fs/fscache/
Dcache.c26 struct fscache_cache *cache; in fscache_alloc_cache() local
44 static bool fscache_get_cache_maybe(struct fscache_cache *cache, in fscache_get_cache_maybe()
61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache() local
151 struct fscache_cache *cache; in fscache_acquire_cache() local
179 void fscache_put_cache(struct fscache_cache *cache, in fscache_put_cache()
208 void fscache_relinquish_cache(struct fscache_cache *cache) in fscache_relinquish_cache()
233 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
288 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_begin_cache_access()
314 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_end_cache_access()
336 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
[all …]
/Linux-v6.1/fs/
Dmbcache.c50 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
74 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
126 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) in __mb_cache_entry_free()
151 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
190 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
207 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
220 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
252 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get()
284 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
294 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local
[all …]
/Linux-v6.1/fs/nfs/
Dnfs42xattr.c64 struct nfs4_xattr_cache *cache; member
106 nfs4_xattr_hash_init(struct nfs4_xattr_cache *cache) in nfs4_xattr_hash_init()
270 struct nfs4_xattr_cache *cache; in nfs4_xattr_free_cache_cb() local
290 struct nfs4_xattr_cache *cache; in nfs4_xattr_alloc_cache() local
309 nfs4_xattr_set_listcache(struct nfs4_xattr_cache *cache, in nfs4_xattr_set_listcache()
384 nfs4_xattr_discard_cache(struct nfs4_xattr_cache *cache) in nfs4_xattr_discard_cache()
429 struct nfs4_xattr_cache *cache, *oldcache, *newcache; in nfs4_xattr_get_cache() local
504 nfs4_xattr_hash_bucket(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_bucket()
526 nfs4_xattr_hash_add(struct nfs4_xattr_cache *cache, in nfs4_xattr_hash_add()
564 nfs4_xattr_hash_remove(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_remove()
[all …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dplatform.c196 u8 *cache = ppd->qsfp_info.cache; in qual_power() local
225 u8 *cache = ppd->qsfp_info.cache; in qual_bitrate() local
251 u8 *cache = ppd->qsfp_info.cache; in set_qsfp_high_power() local
288 u8 *cache = ppd->qsfp_info.cache; in apply_rx_cdr() local
339 u8 *cache = ppd->qsfp_info.cache; in apply_tx_cdr() local
388 u8 *cache = ppd->qsfp_info.cache; in apply_cdr_settings() local
401 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_auto() local
414 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_prog() local
459 u8 rx_eq, *cache = ppd->qsfp_info.cache; in apply_rx_eq_emp() local
503 u8 *cache = ppd->qsfp_info.cache; in apply_eq_settings() local
[all …]
/Linux-v6.1/fs/btrfs/tests/
Dfree-space-tests.c20 static int test_extents(struct btrfs_block_group *cache) in test_extents()
90 static int test_bitmaps(struct btrfs_block_group *cache, u32 sectorsize) in test_bitmaps()
158 static int test_bitmaps_and_extents(struct btrfs_block_group *cache, in test_bitmaps_and_extents()
333 check_num_extents_and_bitmaps(const struct btrfs_block_group *cache, in check_num_extents_and_bitmaps()
353 static int check_cache_empty(struct btrfs_block_group *cache) in check_cache_empty()
395 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group *cache, in test_steal_space_from_bitmap_to_extent()
833 static int test_bytes_index(struct btrfs_block_group *cache, u32 sectorsize) in test_bytes_index()
1008 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
Dfree-space-tree-tests.c21 struct btrfs_block_group *cache, in __check_free_space_extents()
108 struct btrfs_block_group *cache, in check_free_space_extents()
151 struct btrfs_block_group *cache, in test_empty_block_group()
165 struct btrfs_block_group *cache, in test_remove_all()
186 struct btrfs_block_group *cache, in test_remove_beginning()
209 struct btrfs_block_group *cache, in test_remove_end()
232 struct btrfs_block_group *cache, in test_remove_middle()
256 struct btrfs_block_group *cache, in test_merge_left()
293 struct btrfs_block_group *cache, in test_merge_right()
331 struct btrfs_block_group *cache, in test_merge_both()
[all …]
/Linux-v6.1/drivers/acpi/acpica/
Dutcache.c36 struct acpi_memory_list *cache; in acpi_os_create_cache() local
74 acpi_status acpi_os_purge_cache(struct acpi_memory_list *cache) in acpi_os_purge_cache()
120 acpi_status acpi_os_delete_cache(struct acpi_memory_list *cache) in acpi_os_delete_cache()
153 acpi_status acpi_os_release_object(struct acpi_memory_list *cache, void *object) in acpi_os_release_object()
208 void *acpi_os_acquire_object(struct acpi_memory_list *cache) in acpi_os_acquire_object()
/Linux-v6.1/mm/kasan/
Dcommon.c120 void __kasan_cache_create_kmalloc(struct kmem_cache *cache) in __kasan_cache_create_kmalloc()
136 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in __kasan_unpoison_object_data()
141 void __kasan_poison_object_data(struct kmem_cache *cache, void *object) in __kasan_poison_object_data()
161 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag()
187 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj()
200 static inline bool ____kasan_slab_free(struct kmem_cache *cache, void *object, in ____kasan_slab_free()
241 bool __kasan_slab_free(struct kmem_cache *cache, void *object, in __kasan_slab_free()
295 void * __must_check __kasan_slab_alloc(struct kmem_cache *cache, in __kasan_slab_alloc()
330 static inline void *____kasan_kmalloc(struct kmem_cache *cache, in ____kasan_kmalloc()
377 void * __must_check __kasan_kmalloc(struct kmem_cache *cache, const void *object, in __kasan_kmalloc()
Dgeneric.c199 void kasan_cache_shrink(struct kmem_cache *cache) in kasan_cache_shrink()
204 void kasan_cache_shutdown(struct kmem_cache *cache) in kasan_cache_shutdown()
355 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in kasan_cache_create()
427 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta()
435 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta()
444 void kasan_init_object_meta(struct kmem_cache *cache, const void *object) in kasan_init_object_meta()
453 size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size()
467 struct kmem_cache *cache; in __kasan_record_aux_stack() local
494 void kasan_save_alloc_info(struct kmem_cache *cache, void *object, gfp_t flags) in kasan_save_alloc_info()
503 void kasan_save_free_info(struct kmem_cache *cache, void *object) in kasan_save_free_info()
Dquarantine.c134 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object()
143 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free()
174 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all()
193 bool kasan_quarantine_put(struct kmem_cache *cache, void *object) in kasan_quarantine_put()
300 struct kmem_cache *cache) in qlist_move_cache()
325 struct kmem_cache *cache = arg; in __per_cpu_remove_cache() local
334 struct kmem_cache *cache = arg; in __per_cpu_remove_cache() local
361 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
/Linux-v6.1/io_uring/
Dalloc_cache.h13 static inline bool io_alloc_cache_put(struct io_alloc_cache *cache, in io_alloc_cache_put()
24 static inline struct io_cache_entry *io_alloc_cache_get(struct io_alloc_cache *cache) in io_alloc_cache_get()
36 static inline void io_alloc_cache_init(struct io_alloc_cache *cache) in io_alloc_cache_init()
42 static inline void io_alloc_cache_free(struct io_alloc_cache *cache, in io_alloc_cache_free()
/Linux-v6.1/mm/
Dswap_slots.c115 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local
171 struct swap_slots_cache *cache; in drain_slots_cache_cpu() local
259 static int refill_swap_slots_cache(struct swap_slots_cache *cache) in refill_swap_slots_cache()
274 struct swap_slots_cache *cache; in free_swap_slot() local
305 struct swap_slots_cache *cache; in folio_alloc_swap() local
/Linux-v6.1/include/linux/
Dkasan.h132 static __always_inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) in kasan_cache_create_kmalloc()
146 static __always_inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
154 static __always_inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
164 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj()
254 static inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) {} in kasan_cache_create_kmalloc()
256 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
258 static inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
260 static inline void *kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj()
318 static inline size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size()
328 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
[all …]
/Linux-v6.1/fs/btrfs/
Dblock-group.c118 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group()
123 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group()
170 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
208 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local
261 struct btrfs_block_group *cache) in btrfs_next_block_group()
393 struct btrfs_block_group *cache) in btrfs_get_caching_control()
428 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress()
443 static int btrfs_caching_ctl_wait_done(struct btrfs_block_group *cache, in btrfs_caching_ctl_wait_done()
450 static int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done()
732 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait) in btrfs_cache_block_group()
[all …]
/Linux-v6.1/drivers/base/regmap/
Dregcache.c570 u8 *cache = base; in regcache_set_val() local
576 u16 *cache = base; in regcache_set_val() local
582 u32 *cache = base; in regcache_set_val() local
589 u64 *cache = base; in regcache_set_val() local
614 const u8 *cache = base; in regcache_get_val() local
619 const u16 *cache = base; in regcache_get_val() local
624 const u32 *cache = base; in regcache_get_val() local
630 const u64 *cache = base; in regcache_get_val() local
Dregcache-flat.c24 unsigned int *cache; in regcache_flat_init() local
57 unsigned int *cache = map->cache; in regcache_flat_read() local
68 unsigned int *cache = map->cache; in regcache_flat_write() local
/Linux-v6.1/drivers/md/bcache/
Dbcache.h415 struct cache { struct
416 struct cache_set *set; argument
417 struct cache_sb sb; argument
418 struct cache_sb_disk *sb_disk; argument
419 struct bio sb_bio;
420 struct bio_vec sb_bv[1];
444 * cached data in them, and we can't reuse them until after we write argument
452 size_t fifo_last_bucket;
455 struct bucket *buckets;
464 unsigned int invalidate_needs_gc;
[all …]

12345678910>>...12