Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/drivers/md/
Ddm-cache-target.c372 struct cache { struct
382 struct dm_cache_metadata *cmd; argument
397 struct dm_dev *cache_dev; argument
406 * Size of the cache device in blocks. argument
408 dm_cblock_t cache_size; argument
413 spinlock_t invalidation_lock;
414 struct list_head invalidation_requests;
416 sector_t migration_threshold;
417 wait_queue_head_t migration_wait;
418 atomic_t nr_allocated_migrations;
[all …]
/Linux-v4.19/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 struct list_head list; /* global list of cache objects */ argument
123 struct cache *next_local; /* next cache of >= level */ argument
138 static const char *cache_type_string(const struct cache *cache) in cache_type_string()
143 static void cache_init(struct cache *cache, int type, int level, in cache_init()
155 struct cache *cache; in new_cache() local
[all …]
/Linux-v4.19/fs/cachefiles/
Ddaemon.c89 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
135 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
164 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
221 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
297 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
316 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
328 static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_frun()
352 static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fcull()
376 static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fstop()
400 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun()
[all …]
Dinterface.c32 struct cachefiles_cache *cache; in cachefiles_alloc_object() local
127 struct cachefiles_cache *cache; in cachefiles_lookup_object() local
212 struct cachefiles_cache *cache; in cachefiles_update_object() local
268 struct cachefiles_cache *cache; in cachefiles_drop_object() local
330 struct fscache_cache *cache; in cachefiles_put_object() local
382 struct cachefiles_cache *cache; in cachefiles_sync_cache() local
412 struct cachefiles_cache *cache; in cachefiles_check_consistency() local
437 struct cachefiles_cache *cache; in cachefiles_attr_changed() local
506 struct cachefiles_cache *cache; in cachefiles_invalidate_object() local
550 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
Dnamei.c89 static void cachefiles_mark_object_buried(struct cachefiles_cache *cache, in cachefiles_mark_object_buried()
141 static int cachefiles_mark_object_active(struct cachefiles_cache *cache, in cachefiles_mark_object_active()
259 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache, in cachefiles_mark_object_inactive()
290 static int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
438 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object()
490 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local
757 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
866 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active()
953 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
1013 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
Dsecurity.c20 int cachefiles_get_security_ID(struct cachefiles_cache *cache) in cachefiles_get_security_ID()
53 static int cachefiles_check_cache_dir(struct cachefiles_cache *cache, in cachefiles_check_cache_dir()
79 int cachefiles_determine_cache_security(struct cachefiles_cache *cache, in cachefiles_determine_cache_security()
Dbind.c31 int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bind()
85 static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache) in cachefiles_daemon_add_cache()
259 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
Drdwr.c401 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_page() local
686 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_pages() local
800 struct cachefiles_cache *cache; in cachefiles_allocate_page() local
838 struct cachefiles_cache *cache; in cachefiles_allocate_pages() local
881 struct cachefiles_cache *cache; in cachefiles_write_page() local
965 struct cachefiles_cache *cache; in cachefiles_uncache_page() local
/Linux-v4.19/fs/
Dmbcache.c49 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
73 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
127 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
167 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
184 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
197 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
226 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value) in mb_cache_entry_delete()
262 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
272 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local
279 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
[all …]
/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tests.c19 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents()
89 static int test_bitmaps(struct btrfs_block_group_cache *cache, in test_bitmaps()
158 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache, in test_bitmaps_and_extents()
333 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps()
353 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty()
395 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache, in test_steal_space_from_bitmap_to_extent()
831 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache() local
Dfree-space-tree-tests.c20 struct btrfs_block_group_cache *cache, in __check_free_space_extents()
109 struct btrfs_block_group_cache *cache, in check_free_space_extents()
152 struct btrfs_block_group_cache *cache, in test_empty_block_group()
166 struct btrfs_block_group_cache *cache, in test_remove_all()
187 struct btrfs_block_group_cache *cache, in test_remove_beginning()
211 struct btrfs_block_group_cache *cache, in test_remove_end()
235 struct btrfs_block_group_cache *cache, in test_remove_middle()
260 struct btrfs_block_group_cache *cache, in test_merge_left()
298 struct btrfs_block_group_cache *cache, in test_merge_right()
337 struct btrfs_block_group_cache *cache, in test_merge_both()
[all …]
/Linux-v4.19/fs/fscache/
Dcache.c99 struct fscache_cache *cache; in fscache_select_cache_for_object() local
182 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache()
217 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
317 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
329 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
365 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dplatform.c238 u8 *cache = ppd->qsfp_info.cache; in qual_power() local
267 u8 *cache = ppd->qsfp_info.cache; in qual_bitrate() local
293 u8 *cache = ppd->qsfp_info.cache; in set_qsfp_high_power() local
330 u8 *cache = ppd->qsfp_info.cache; in apply_rx_cdr() local
381 u8 *cache = ppd->qsfp_info.cache; in apply_tx_cdr() local
430 u8 *cache = ppd->qsfp_info.cache; in apply_cdr_settings() local
443 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_auto() local
456 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_prog() local
501 u8 rx_eq, *cache = ppd->qsfp_info.cache; in apply_rx_eq_emp() local
545 u8 *cache = ppd->qsfp_info.cache; in apply_eq_settings() local
[all …]
/Linux-v4.19/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-v4.19/mm/kasan/
Dquarantine.c130 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object()
139 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free()
153 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all()
172 void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache) in quarantine_put()
265 struct kmem_cache *cache) in qlist_move_cache()
289 struct kmem_cache *cache = arg; in per_cpu_remove_cache() local
299 void quarantine_remove_cache(struct kmem_cache *cache) in quarantine_remove_cache()
Dkasan.c338 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in kasan_cache_create()
378 void kasan_cache_shrink(struct kmem_cache *cache) in kasan_cache_shrink()
383 void kasan_cache_shutdown(struct kmem_cache *cache) in kasan_cache_shutdown()
389 size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size()
404 void kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in kasan_unpoison_object_data()
409 void kasan_poison_object_data(struct kmem_cache *cache, void *object) in kasan_poison_object_data()
463 struct kasan_alloc_meta *get_alloc_info(struct kmem_cache *cache, in get_alloc_info()
470 struct kasan_free_meta *get_free_info(struct kmem_cache *cache, in get_free_info()
477 void kasan_init_slab_obj(struct kmem_cache *cache, const void *object) in kasan_init_slab_obj()
488 void kasan_slab_alloc(struct kmem_cache *cache, void *object, gfp_t flags) in kasan_slab_alloc()
[all …]
/Linux-v4.19/mm/
Dswap_slots.c117 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local
173 struct swap_slots_cache *cache; in drain_slots_cache_cpu() local
265 static int refill_swap_slots_cache(struct swap_slots_cache *cache) in refill_swap_slots_cache()
280 struct swap_slots_cache *cache; in free_swap_slot() local
313 struct swap_slots_cache *cache; in get_swap_page() local
/Linux-v4.19/include/linux/
Dkasan.h97 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
100 static inline void kasan_cache_shrink(struct kmem_cache *cache) {} in kasan_cache_shrink()
101 static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} in kasan_cache_shutdown()
104 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
106 static inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
108 static inline void kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj()
139 static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } in kasan_metadata_size()
/Linux-v4.19/arch/nds32/include/asm/
Dnds32.h35 static inline unsigned long CACHE_SET(unsigned char cache) in CACHE_SET()
46 static inline unsigned long CACHE_WAY(unsigned char cache) in CACHE_WAY()
57 static inline unsigned long CACHE_LINE_SIZE(unsigned char cache) in CACHE_LINE_SIZE()
/Linux-v4.19/drivers/base/regmap/
Dregcache.c567 u8 *cache = base; in regcache_set_val() local
573 u16 *cache = base; in regcache_set_val() local
579 u32 *cache = base; in regcache_set_val() local
586 u64 *cache = base; in regcache_set_val() local
611 const u8 *cache = base; in regcache_get_val() local
616 const u16 *cache = base; in regcache_get_val() local
621 const u32 *cache = base; in regcache_get_val() local
627 const u64 *cache = base; in regcache_get_val() local
Dregcache-flat.c28 unsigned int *cache; in regcache_flat_init() local
61 unsigned int *cache = map->cache; in regcache_flat_read() local
72 unsigned int *cache = map->cache; in regcache_flat_write() local
/Linux-v4.19/drivers/md/bcache/
Dbcache.h403 struct cache { struct
404 struct cache_set *set; argument
405 struct cache_sb sb; argument
406 struct bio sb_bio;
407 struct bio_vec sb_bv[1];
431 * cached data in them, and we can't reuse them until after we write argument
439 size_t fifo_last_bucket;
442 struct bucket *buckets;
466 char cache_dev_name[BDEVNAME_SIZE]; argument
480 * Flag bits, for how the cache set is shutting down, and what phase it's at: argument
[all …]
/Linux-v4.19/fs/squashfs/
Dcache.c66 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get()
188 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local
210 void squashfs_cache_delete(struct squashfs_cache *cache) in squashfs_cache_delete()
240 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init() local
/Linux-v4.19/arch/m68k/kernel/
Dsys_m68k.c68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040()
228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060()
378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush()
525 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush()
/Linux-v4.19/fs/fat/
Dcache.c41 struct fat_cache *cache = (struct fat_cache *)foo; in init_once() local
67 static inline void fat_cache_free(struct fat_cache *cache) in fat_cache_free()
74 struct fat_cache *cache) in fat_cache_update_lru()
136 struct fat_cache *cache, *tmp; in fat_cache_add() local
189 struct fat_cache *cache; in __fat_cache_inval_inode() local

123456789