Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-cache-target.c366 struct cache { struct
376 struct dm_cache_metadata *cmd; argument
391 struct dm_dev *cache_dev; argument
400 * Size of the cache device in blocks. argument
402 dm_cblock_t cache_size; argument
407 spinlock_t invalidation_lock;
408 struct list_head invalidation_requests;
410 sector_t migration_threshold;
411 wait_queue_head_t migration_wait;
412 atomic_t nr_allocated_migrations;
[all …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dcacheinfo.c44 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 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()
156 struct cache *cache; in new_cache() local
[all …]
/kernel/linux/linux-5.10/fs/cachefiles/
Ddaemon.c85 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 …]
Dinterface.c28 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()
Dnamei.c84 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()
/kernel/linux/linux-4.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()
261 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache, in cachefiles_mark_object_inactive()
292 static int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
440 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object()
492 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local
759 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
868 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active()
955 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
1015 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
/kernel/linux/linux-5.10/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()
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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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()
831 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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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
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 …]
/kernel/linux/linux-5.10/fs/fscache/
Dcache.c95 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()
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/mm/
Dswap_slots.c116 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local
172 struct swap_slots_cache *cache; in drain_slots_cache_cpu() local
261 static int refill_swap_slots_cache(struct swap_slots_cache *cache) in refill_swap_slots_cache()
276 struct swap_slots_cache *cache; in free_swap_slot() local
309 struct swap_slots_cache *cache; in get_swap_page() local

12345678910>>...20