/Linux-v5.4/drivers/md/ |
D | dm-cache-target.c | 373 struct cache { struct 383 struct dm_cache_metadata *cmd; argument 398 struct dm_dev *cache_dev; argument 407 * Size of the cache device in blocks. argument 409 dm_cblock_t cache_size; argument 414 spinlock_t invalidation_lock; 415 struct list_head invalidation_requests; 417 sector_t migration_threshold; 418 wait_queue_head_t migration_wait; 419 atomic_t nr_allocated_migrations; [all …]
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | cacheinfo.c | 42 struct cache *cache; member 116 struct cache { struct 117 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument 118 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument 119 int type; /* split cache disambiguation */ argument 121 struct list_head list; /* global list of cache objects */ argument 122 struct cache *next_local; /* next cache of >= level */ argument 137 static const char *cache_type_string(const struct cache *cache) in cache_type_string() 142 static void cache_init(struct cache *cache, int type, int level, in cache_init() 154 struct cache *cache; in new_cache() local [all …]
|
/Linux-v5.4/fs/cachefiles/ |
D | daemon.c | 85 struct cachefiles_cache *cache; in cachefiles_daemon_open() local 131 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local 160 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local 217 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local 293 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local 312 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error() 324 static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_frun() 348 static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fcull() 372 static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fstop() 396 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun() [all …]
|
D | interface.c | 28 struct cachefiles_cache *cache; in cachefiles_alloc_object() local 123 struct cachefiles_cache *cache; in cachefiles_lookup_object() local 208 struct cachefiles_cache *cache; in cachefiles_update_object() local 264 struct cachefiles_cache *cache; in cachefiles_drop_object() local 326 struct fscache_cache *cache; in cachefiles_put_object() local 378 struct cachefiles_cache *cache; in cachefiles_sync_cache() local 408 struct cachefiles_cache *cache; in cachefiles_check_consistency() local 433 struct cachefiles_cache *cache; in cachefiles_attr_changed() local 502 struct cachefiles_cache *cache; in cachefiles_invalidate_object() local 546 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
|
D | namei.c | 84 static void cachefiles_mark_object_buried(struct cachefiles_cache *cache, in cachefiles_mark_object_buried() 136 static int cachefiles_mark_object_active(struct cachefiles_cache *cache, in cachefiles_mark_object_active() 256 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache, in cachefiles_mark_object_inactive() 287 static int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object() 435 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object() 487 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local 754 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory() 863 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active() 950 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull() 1010 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
|
D | security.c | 16 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()
|
D | bind.c | 27 int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bind() 81 static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache) in cachefiles_daemon_add_cache() 255 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
|
D | rdwr.c | 397 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_page() local 688 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_pages() local 802 struct cachefiles_cache *cache; in cachefiles_allocate_page() local 840 struct cachefiles_cache *cache; in cachefiles_allocate_pages() local 883 struct cachefiles_cache *cache; in cachefiles_write_page() local
|
/Linux-v5.4/fs/ |
D | mbcache.c | 50 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() 128 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find() 168 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first() 185 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next() 198 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get() 227 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value) in mb_cache_entry_delete() 263 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch() 273 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local 280 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink() [all …]
|
/Linux-v5.4/fs/btrfs/tests/ |
D | free-space-tests.c | 20 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents() 90 static int test_bitmaps(struct btrfs_block_group_cache *cache, in test_bitmaps() 159 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache, in test_bitmaps_and_extents() 334 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps() 354 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty() 396 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache, in test_steal_space_from_bitmap_to_extent() 832 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache() local
|
D | free-space-tree-tests.c | 21 struct btrfs_block_group_cache *cache, in __check_free_space_extents() 110 struct btrfs_block_group_cache *cache, in check_free_space_extents() 153 struct btrfs_block_group_cache *cache, in test_empty_block_group() 167 struct btrfs_block_group_cache *cache, in test_remove_all() 188 struct btrfs_block_group_cache *cache, in test_remove_beginning() 212 struct btrfs_block_group_cache *cache, in test_remove_end() 236 struct btrfs_block_group_cache *cache, in test_remove_middle() 261 struct btrfs_block_group_cache *cache, in test_merge_left() 299 struct btrfs_block_group_cache *cache, in test_merge_right() 338 struct btrfs_block_group_cache *cache, in test_merge_both() [all …]
|
/Linux-v5.4/fs/fscache/ |
D | cache.c | 95 struct fscache_cache *cache; in fscache_select_cache_for_object() local 178 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache() 213 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache() 313 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error() 325 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects() 361 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | platform.c | 238 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-v5.4/drivers/acpi/acpica/ |
D | utcache.c | 36 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-v5.4/mm/kasan/ |
D | common.c | 255 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in kasan_cache_create() 296 size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size() 304 struct kasan_alloc_meta *get_alloc_info(struct kmem_cache *cache, in get_alloc_info() 310 struct kasan_free_meta *get_free_info(struct kmem_cache *cache, in get_free_info() 318 static void kasan_set_free_info(struct kmem_cache *cache, in kasan_set_free_info() 345 void kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in kasan_unpoison_object_data() 350 void kasan_poison_object_data(struct kmem_cache *cache, void *object) in kasan_poison_object_data() 371 static u8 assign_tag(struct kmem_cache *cache, const void *object, in assign_tag() 403 void * __must_check kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj() 436 static bool __kasan_slab_free(struct kmem_cache *cache, void *object, in __kasan_slab_free() [all …]
|
D | quarantine.c | 131 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object() 140 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free() 154 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all() 173 void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache) in quarantine_put() 266 struct kmem_cache *cache) in qlist_move_cache() 290 struct kmem_cache *cache = arg; in per_cpu_remove_cache() local 300 void quarantine_remove_cache(struct kmem_cache *cache) in quarantine_remove_cache()
|
/Linux-v5.4/fs/btrfs/ |
D | block-group.c | 123 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group() 128 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group() 156 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache() local 194 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search() local 251 struct btrfs_block_group_cache *cache) in btrfs_next_block_group() 360 struct btrfs_block_group_cache *cache) in btrfs_get_caching_control() 395 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group_cache *cache, in btrfs_wait_block_group_cache_progress() 410 int btrfs_wait_block_group_cache_done(struct btrfs_block_group_cache *cache) in btrfs_wait_block_group_cache_done() 680 int btrfs_cache_block_group(struct btrfs_block_group_cache *cache, in btrfs_cache_block_group() 1183 static int inc_block_group_ro(struct btrfs_block_group_cache *cache, int force) in inc_block_group_ro() [all …]
|
/Linux-v5.4/mm/ |
D | swap_slots.c | 117 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-v5.4/include/linux/ |
D | kasan.h | 102 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create() 107 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data() 109 static inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data() 111 static inline void *kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj() 157 static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } in kasan_metadata_size() 170 static inline void kasan_cache_shrink(struct kmem_cache *cache) {} in kasan_cache_shrink() 171 static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} in kasan_cache_shutdown()
|
/Linux-v5.4/arch/nds32/include/asm/ |
D | nds32.h | 35 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-v5.4/drivers/base/regmap/ |
D | regcache.c | 563 u8 *cache = base; in regcache_set_val() local 569 u16 *cache = base; in regcache_set_val() local 575 u32 *cache = base; in regcache_set_val() local 582 u64 *cache = base; in regcache_set_val() local 607 const u8 *cache = base; in regcache_get_val() local 612 const u16 *cache = base; in regcache_get_val() local 617 const u32 *cache = base; in regcache_get_val() local 623 const u64 *cache = base; in regcache_get_val() local
|
D | regcache-flat.c | 24 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-v5.4/drivers/md/bcache/ |
D | bcache.h | 403 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-v5.4/fs/squashfs/ |
D | cache.c | 53 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get() 175 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local 197 void squashfs_cache_delete(struct squashfs_cache *cache) in squashfs_cache_delete() 227 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init() local
|
/Linux-v5.4/arch/m68k/kernel/ |
D | sys_m68k.c | 68 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()
|