/Linux-v5.15/drivers/md/ |
D | dm-cache-target.c | 296 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-v5.15/arch/powerpc/kernel/ |
D | cacheinfo.c | 44 struct cache *cache; member 118 struct cache { struct 119 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument 120 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument 121 int type; /* split cache disambiguation */ argument 123 int group_id; /* id of the group of threads that share this cache */ argument 124 struct list_head list; /* global list of cache objects */ argument 125 struct cache *next_local; /* next cache of >= level */ argument 140 static const char *cache_type_string(const struct cache *cache) in cache_type_string() 145 static void cache_init(struct cache *cache, int type, int level, in cache_init() [all …]
|
/Linux-v5.15/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() 441 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object() 493 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local 754 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory() 858 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active() 942 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull() 1002 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() 259 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
|
/Linux-v5.15/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.15/mm/kasan/ |
D | common.c | 140 void __kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in __kasan_cache_create() 216 void __kasan_cache_create_kmalloc(struct kmem_cache *cache) in __kasan_cache_create_kmalloc() 221 size_t __kasan_metadata_size(struct kmem_cache *cache) in __kasan_metadata_size() 231 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta() 240 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta() 260 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in __kasan_unpoison_object_data() 265 void __kasan_poison_object_data(struct kmem_cache *cache, void *object) in __kasan_poison_object_data() 285 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag() 311 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj() 328 static inline bool ____kasan_slab_free(struct kmem_cache *cache, void *object, in ____kasan_slab_free() [all …]
|
D | quarantine.c | 123 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object() 132 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free() 152 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all() 171 bool kasan_quarantine_put(struct kmem_cache *cache, void *object) in kasan_quarantine_put() 278 struct kmem_cache *cache) in qlist_move_cache() 302 struct kmem_cache *cache = arg; in per_cpu_remove_cache() local 312 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
|
/Linux-v5.15/fs/nfs/ |
D | nfs42xattr.c | 64 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 310 nfs4_xattr_set_listcache(struct nfs4_xattr_cache *cache, in nfs4_xattr_set_listcache() 385 nfs4_xattr_discard_cache(struct nfs4_xattr_cache *cache) in nfs4_xattr_discard_cache() 430 struct nfs4_xattr_cache *cache, *oldcache, *newcache; in nfs4_xattr_get_cache() local 505 nfs4_xattr_hash_bucket(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_bucket() 527 nfs4_xattr_hash_add(struct nfs4_xattr_cache *cache, in nfs4_xattr_hash_add() 565 nfs4_xattr_hash_remove(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_remove() [all …]
|
/Linux-v5.15/fs/btrfs/tests/ |
D | free-space-tests.c | 20 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() 830 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
|
D | free-space-tree-tests.c | 21 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-v5.15/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() 312 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error() 324 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects() 360 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | platform.c | 196 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-v5.15/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.15/include/linux/ |
D | kasan.h | 169 static __always_inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create() 177 static __always_inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) in kasan_cache_create_kmalloc() 184 static __always_inline size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size() 199 static __always_inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data() 207 static __always_inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data() 217 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj() 315 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create() 318 static inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) {} in kasan_cache_create_kmalloc() 319 static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } in kasan_metadata_size() 321 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data() [all …]
|
/Linux-v5.15/mm/ |
D | swap_slots.c | 114 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local 170 struct swap_slots_cache *cache; in drain_slots_cache_cpu() local 258 static int refill_swap_slots_cache(struct swap_slots_cache *cache) in refill_swap_slots_cache() 273 struct swap_slots_cache *cache; in free_swap_slot() local 306 struct swap_slots_cache *cache; in get_swap_page() local
|
/Linux-v5.15/fs/btrfs/ |
D | block-group.c | 117 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group() 122 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group() 159 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local 198 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local 254 struct btrfs_block_group *cache) in btrfs_next_block_group() 362 struct btrfs_block_group *cache) in btrfs_get_caching_control() 397 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress() 412 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done() 428 static bool space_cache_v1_done(struct btrfs_block_group *cache) in space_cache_v1_done() 439 void btrfs_wait_space_cache_v1_finished(struct btrfs_block_group *cache, in btrfs_wait_space_cache_v1_finished() [all …]
|
/Linux-v5.15/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.15/drivers/md/bcache/ |
D | bcache.h | 410 struct cache { struct 411 struct cache_set *set; argument 412 struct cache_sb sb; argument 413 struct cache_sb_disk *sb_disk; argument 414 struct bio sb_bio; 415 struct bio_vec sb_bv[1]; 439 * cached data in them, and we can't reuse them until after we write argument 447 size_t fifo_last_bucket; 450 struct bucket *buckets; 474 char cache_dev_name[BDEVNAME_SIZE]; argument [all …]
|
/Linux-v5.15/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.15/fs/exfat/ |
D | cache.c | 40 struct exfat_cache *cache = (struct exfat_cache *)c; in exfat_cache_init_once() local 68 static inline void exfat_cache_free(struct exfat_cache *cache) in exfat_cache_free() 75 struct exfat_cache *cache) in exfat_cache_update_lru() 141 struct exfat_cache *cache, *tmp; in exfat_cache_add() local 196 struct exfat_cache *cache; in __exfat_cache_inval_inode() local
|
/Linux-v5.15/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
|