Home
last modified time | relevance | path

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

12345678910>>...13

/linux/drivers/md/
H A Ddm-cache-target.c296 struct cache { global() struct
306 cmdcache global() argument
321 cache_devcache global() argument
330 origin_sectorscache global() argument
332 cache_sizecache global() argument
337 invalidation_lockcache global() argument
338 invalidation_requestscache global() argument
340 migration_thresholdcache global() argument
341 migration_waitcache global() argument
342 nr_allocated_migrationscache global() argument
348 nr_io_migrationscache global() argument
350 deferred_bioscache global() argument
352 quiesce_lockcache global() argument
376 prisoncache global() argument
382 policycache global() argument
387 featurescache global() argument
389 statscache global() argument
391 need_tick_biocache global() argument
392 sizedcache global() argument
393 invalidatecache global() argument
394 commit_requestedcache global() argument
418 loaded_discardscache global() argument
420 struct cache *cache; global() member
432 writethrough_mode(struct cache * cache) writethrough_mode() argument
437 writeback_mode(struct cache * cache) writeback_mode() argument
442 passthrough_mode(struct cache * cache) passthrough_mode() argument
449 wake_deferred_bio_worker(struct cache * cache) wake_deferred_bio_worker() argument
454 wake_migration_worker(struct cache * cache) wake_migration_worker() argument
464 alloc_prison_cell(struct cache * cache) alloc_prison_cell() argument
469 free_prison_cell(struct cache * cache,struct dm_bio_prison_cell_v2 * cell) free_prison_cell() argument
474 alloc_migration(struct cache * cache) alloc_migration() argument
490 struct cache *cache = mg->cache; free_migration() local
555 defer_bio(struct cache * cache,struct bio * bio) defer_bio() argument
564 defer_bios(struct cache * cache,struct bio_list * bios) defer_bios() argument
575 bio_detain_shared(struct cache * cache,dm_oblock_t oblock,struct bio * bio) bio_detain_shared() argument
606 is_dirty(struct cache * cache,dm_cblock_t b) is_dirty() argument
611 set_dirty(struct cache * cache,dm_cblock_t cblock) set_dirty() argument
623 force_set_dirty(struct cache * cache,dm_cblock_t cblock) force_set_dirty() argument
630 force_clear_dirty(struct cache * cache,dm_cblock_t cblock) force_clear_dirty() argument
642 block_size_is_power_of_two(struct cache * cache) block_size_is_power_of_two() argument
654 oblocks_per_dblock(struct cache * cache) oblocks_per_dblock() argument
666 oblock_to_dblock(struct cache * cache,dm_oblock_t oblock) oblock_to_dblock() argument
672 set_discard(struct cache * cache,dm_dblock_t b) set_discard() argument
682 clear_discard(struct cache * cache,dm_dblock_t b) clear_discard() argument
689 is_discarded(struct cache * cache,dm_dblock_t b) is_discarded() argument
700 is_discarded_oblock(struct cache * cache,dm_oblock_t b) is_discarded_oblock() argument
717 remap_to_origin(struct cache * cache,struct bio * bio) remap_to_origin() argument
722 remap_to_cache(struct cache * cache,struct bio * bio,dm_cblock_t cblock) remap_to_cache() argument
739 check_if_tick_bio_needed(struct cache * cache,struct bio * bio) check_if_tick_bio_needed() argument
753 remap_to_origin_clear_discard(struct cache * cache,struct bio * bio,dm_oblock_t oblock) remap_to_origin_clear_discard() argument
763 remap_to_cache_dirty(struct cache * cache,struct bio * bio,dm_oblock_t oblock,dm_cblock_t cblock) remap_to_cache_dirty() argument
774 get_bio_block(struct cache * cache,struct bio * bio) get_bio_block() argument
786 accountable_bio(struct cache * cache,struct bio * bio) accountable_bio() argument
791 accounted_begin(struct cache * cache,struct bio * bio) accounted_begin() argument
802 accounted_complete(struct cache * cache,struct bio * bio) accounted_complete() argument
809 accounted_request(struct cache * cache,struct bio * bio) accounted_request() argument
817 struct cache *cache = context; issue_op() local
826 remap_to_origin_and_cache(struct cache * cache,struct bio * bio,dm_oblock_t oblock,dm_cblock_t cblock) remap_to_origin_and_cache() argument
848 get_cache_mode(struct cache * cache) get_cache_mode() argument
853 cache_device_name(struct cache * cache) cache_device_name() argument
858 notify_mode_switch(struct cache * cache,enum cache_metadata_mode mode) notify_mode_switch() argument
871 set_cache_mode(struct cache * cache,enum cache_metadata_mode new_mode) set_cache_mode() argument
912 abort_transaction(struct cache * cache) abort_transaction() argument
931 metadata_operation_failed(struct cache * cache,const char * op,int r) metadata_operation_failed() argument
941 load_stats(struct cache * cache) load_stats() argument
952 save_stats(struct cache * cache) save_stats() argument
992 inc_io_migrations(struct cache * cache) inc_io_migrations() argument
997 dec_io_migrations(struct cache * cache) dec_io_migrations() argument
1007 calc_discard_block_range(struct cache * cache,struct bio * bio,dm_dblock_t * b,dm_dblock_t * e) calc_discard_block_range() argument
1023 prevent_background_work(struct cache * cache) prevent_background_work() argument
1030 allow_background_work(struct cache * cache) allow_background_work() argument
1037 background_work_begin(struct cache * cache) background_work_begin() argument
1048 background_work_end(struct cache * cache) background_work_end() argument
1057 bio_writes_complete_block(struct cache * cache,struct bio * bio) bio_writes_complete_block() argument
1063 optimisable_bio(struct cache * cache,struct bio * bio,dm_oblock_t block) optimisable_bio() argument
1096 struct cache *cache = mg->cache; copy() local
1112 bio_drop_shared_lock(struct cache * cache,struct bio * bio) bio_drop_shared_lock() argument
1124 struct cache *cache = mg->cache; overwrite_endio() local
1170 struct cache *cache = mg->cache; mg_complete() local
1239 struct cache *cache = mg->cache; mg_update_metadata() local
1341 struct cache *cache = mg->cache; mg_full_copy() local
1395 struct cache *cache = mg->cache; mg_lock_writes() local
1426 mg_start(struct cache * cache,struct policy_work * op,struct bio * bio) mg_start() argument
1455 struct cache *cache = mg->cache; invalidate_complete() local
1477 invalidate_cblock(struct cache * cache,dm_cblock_t cblock) invalidate_cblock() argument
1506 struct cache *cache = mg->cache; invalidate_remove() local
1525 struct cache *cache = mg->cache; invalidate_lock() local
1557 invalidate_start(struct cache * cache,dm_cblock_t cblock,dm_oblock_t oblock,struct bio * bio) invalidate_start() argument
1585 spare_migration_bandwidth(struct cache * cache) spare_migration_bandwidth() argument
1597 inc_hit_counter(struct cache * cache,struct bio * bio) inc_hit_counter() argument
1603 inc_miss_counter(struct cache * cache,struct bio * bio) inc_miss_counter() argument
1611 map_bio(struct cache * cache,struct bio * bio,dm_oblock_t block,bool * commit_needed) map_bio() argument
1726 process_bio(struct cache * cache,struct bio * bio) process_bio() argument
1739 commit(struct cache * cache,bool clean_shutdown) commit() argument
1759 struct cache *cache = context; commit_op() local
1769 process_flush_bio(struct cache * cache,struct bio * bio) process_flush_bio() argument
1782 process_discard_bio(struct cache * cache,struct bio * bio) process_discard_bio() argument
1808 struct cache *cache = container_of(ws, struct cache, deferred_bio_worker); process_deferred_bios() local
1841 requeue_deferred_bios(struct cache * cache) requeue_deferred_bios() argument
1862 struct cache *cache = container_of(to_delayed_work(ws), struct cache, waker); do_waker() local
1874 struct cache *cache = container_of(ws, struct cache, migration_worker); check_migrations() local
1908 destroy(struct cache * cache) destroy() argument
1956 struct cache *cache = ti->private; cache_dtr() local
2264 process_config_option(struct cache * cache,const char * key,const char * value) process_config_option() argument
2279 set_config_value(struct cache * cache,const char * key,const char * value) set_config_value() argument
2292 set_config_values(struct cache * cache,int argc,const char ** argv) set_config_values() argument
2313 create_cache_policy(struct cache * cache,struct cache_args * ca,char ** error) create_cache_policy() argument
2356 set_cache_size(struct cache * cache,dm_cblock_t size) set_cache_size() argument
2375 struct cache *cache; cache_create() local
2568 copy_ctr_args(struct cache * cache,int argc,const char ** argv) copy_ctr_args() argument
2596 struct cache *cache = NULL; cache_ctr() local
2629 struct cache *cache = ti->private; cache_map() local
2661 struct cache *cache = ti->private; cache_end_io() local
2679 write_dirty_bitset(struct cache * cache) write_dirty_bitset() argument
2693 write_discard_bitset(struct cache * cache) write_discard_bitset() argument
2720 write_hints(struct cache * cache) write_hints() argument
2739 sync_metadata(struct cache * cache) sync_metadata() argument
2771 struct cache *cache = ti->private; cache_postsuspend() local
2793 struct cache *cache = context; load_mapping() local
2811 struct cache *cache; global() member
2821 discard_load_info_init(struct cache * cache,struct discard_load_info * li) discard_load_info_init() argument
2888 get_cache_dev_size(struct cache * cache) get_cache_dev_size() argument
2895 can_resize(struct cache * cache,dm_cblock_t new_size) can_resize() argument
2921 resize_cache_dev(struct cache * cache,dm_cblock_t new_size) resize_cache_dev() argument
2940 struct cache *cache = ti->private; cache_preresume() local
3001 struct cache *cache = ti->private; cache_resume() local
3008 emit_flags(struct cache * cache,char * result,unsigned int maxlen,ssize_t * sz_ptr) emit_flags() argument
3061 struct cache *cache = ti->private; cache_status() local
3192 parse_cblock_range(struct cache * cache,const char * str,struct cblock_range * result) parse_cblock_range() argument
3229 validate_cblock_range(struct cache * cache,struct cblock_range * range) validate_cblock_range() argument
3261 request_invalidation(struct cache * cache,struct cblock_range * range) request_invalidation() argument
3283 process_invalidate_cblocks_message(struct cache * cache,unsigned int count,const char ** cblock_ranges) process_invalidate_cblocks_message() argument
3327 struct cache *cache = ti->private; cache_message() local
3351 struct cache *cache = ti->private; cache_iterate_devices() local
3364 disable_passdown_if_not_supported(struct cache * cache) disable_passdown_if_not_supported() argument
3386 set_discard_limits(struct cache * cache,struct queue_limits * limits) set_discard_limits() argument
3412 struct cache *cache = ti->private; cache_io_hints() local
[all...]
/linux/fs/cachefiles/
H A Ddaemon.c91 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
136 static void cachefiles_flush_reqs(struct cachefiles_cache *cache) in cachefiles_flush_reqs()
169 void cachefiles_put_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_put_unbind_pincount()
178 void cachefiles_get_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_get_unbind_pincount()
188 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
209 static ssize_t cachefiles_do_daemon_read(struct cachefiles_cache *cache, in cachefiles_do_daemon_read()
260 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
282 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
358 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
392 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
[all …]
H A Dcache.c16 int cachefiles_add_cache(struct cachefiles_cache *cache) in cachefiles_add_cache()
184 int cachefiles_has_space(struct cachefiles_cache *cache, in cachefiles_has_space()
287 static void cachefiles_withdraw_objects(struct cachefiles_cache *cache) in cachefiles_withdraw_objects()
317 static void cachefiles_withdraw_volumes(struct cachefiles_cache *cache) in cachefiles_withdraw_volumes()
343 static void cachefiles_sync_cache(struct cachefiles_cache *cache) in cachefiles_sync_cache()
367 void cachefiles_withdraw_cache(struct cachefiles_cache *cache) in cachefiles_withdraw_cache()
H A 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() argument
228 cachefiles_unlink(struct cachefiles_cache * cache,struct cachefiles_object * object,struct dentry * dir,struct dentry * dentry,enum fscache_why_object_killed why) cachefiles_unlink() argument
264 cachefiles_bury_object(struct cachefiles_cache * cache,struct cachefiles_object * object,struct dentry * dir,struct dentry * rep,enum fscache_why_object_killed why) cachefiles_bury_object() argument
443 struct cachefiles_cache *cache = volume->cache; cachefiles_create_tmpfile() local
547 struct cachefiles_cache *cache = object->volume->cache; cachefiles_open_file() local
672 cachefiles_commit_tmpfile(struct cachefiles_cache * cache,struct cachefiles_object * object) cachefiles_commit_tmpfile() argument
749 cachefiles_lookup_for_cull(struct cachefiles_cache * cache,struct dentry * dir,char * filename) cachefiles_lookup_for_cull() argument
794 cachefiles_cull(struct cachefiles_cache * cache,struct dentry * dir,char * filename) cachefiles_cull() argument
852 cachefiles_check_in_use(struct cachefiles_cache * cache,struct dentry * dir,char * filename) cachefiles_check_in_use() argument
[all...]
H A Dinterface.c84 struct fscache_cache *cache; in cachefiles_put_object() local
180 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie() local
235 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_shorten_object() local
282 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_resize_cookie() local
309 struct cachefiles_cache *cache) in cachefiles_commit_object()
328 struct cachefiles_cache *cache) in cachefiles_clean_up_object()
357 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie() local
H A Dondemand.c11 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_release() local
42 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() local
82 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_ioctl() local
115 int cachefiles_ondemand_copen(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_copen()
185 int cachefiles_ondemand_restore(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_restore()
211 struct cachefiles_cache *cache; in cachefiles_ondemand_get_fd() local
297 ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache, in cachefiles_ondemand_daemon_read()
379 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_send_req() local
H A 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()
/linux/arch/powerpc/kernel/
H A 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/fs/netfs/
H A Dfscache_cache.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()
209 void fscache_relinquish_cache(struct fscache_cache *cache) in fscache_relinquish_cache()
234 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
289 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_begin_cache_access()
315 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_end_cache_access()
337 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
[all …]
/linux/fs/
H A 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()
127 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) in __mb_cache_entry_free()
152 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
192 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
209 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
222 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
254 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get()
286 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
296 struct mb_cache *cache = shrink->private_data; in mb_cache_count() local
[all …]
/linux/fs/nfs/
H A 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/drivers/infiniband/hw/hfi1/
H A 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/fs/btrfs/tests/
H A 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
H A Dfree-space-tree-tests.c22 struct btrfs_block_group *cache, in __check_free_space_extents()
109 struct btrfs_block_group *cache, in check_free_space_extents()
152 struct btrfs_block_group *cache, in test_empty_block_group()
166 struct btrfs_block_group *cache, in test_remove_all()
187 struct btrfs_block_group *cache, in test_remove_beginning()
210 struct btrfs_block_group *cache, in test_remove_end()
233 struct btrfs_block_group *cache, in test_remove_middle()
257 struct btrfs_block_group *cache, in test_merge_left()
294 struct btrfs_block_group *cache, in test_merge_right()
332 struct btrfs_block_group *cache, in test_merge_both()
[all …]
/linux/scripts/gdb/linux/
H A Dslab.py46 def for_each_object(cache, addr, slab_objects): argument
54 def get_info_end(cache): argument
60 def get_orig_size(cache, obj): argument
70 def get_track(cache, object_pointer, alloc): argument
85 def __obj_to_index(cache, addr, obj): argument
99 def freelist_ptr_decode(cache, ptr, ptr_addr): argument
105 def get_freepointer(cache, obj): argument
117 def add_location(loc_track, cache, track, orig_size): argument
155 def __fill_map(obj_map, cache, slab): argument
164 def process_slab(loc_track, slab_list, alloc, cache): argument
/linux/drivers/acpi/acpica/
H A 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/fs/btrfs/
H A Dlru_cache.c15 void btrfs_lru_cache_init(struct btrfs_lru_cache *cache, unsigned int max_size) in btrfs_lru_cache_init()
45 struct btrfs_lru_cache_entry *btrfs_lru_cache_lookup(struct btrfs_lru_cache *cache, in btrfs_lru_cache_lookup()
70 void btrfs_lru_cache_remove(struct btrfs_lru_cache *cache, in btrfs_lru_cache_remove()
106 int btrfs_lru_cache_store(struct btrfs_lru_cache *cache, in btrfs_lru_cache_store()
156 void btrfs_lru_cache_clear(struct btrfs_lru_cache *cache) in btrfs_lru_cache_clear()
H A Dblock-group.c141 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group()
146 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group()
184 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
222 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local
275 struct btrfs_block_group *cache) in btrfs_next_block_group()
405 struct btrfs_block_group *cache) in btrfs_get_caching_control()
440 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress()
465 static int btrfs_caching_ctl_wait_done(struct btrfs_block_group *cache, in btrfs_caching_ctl_wait_done()
472 static int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done()
918 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait) in btrfs_cache_block_group()
[all …]
/linux/io_uring/
H A Dalloc_cache.h9 static inline bool io_alloc_cache_put(struct io_alloc_cache *cache, in io_alloc_cache_put()
21 static inline void *io_alloc_cache_get(struct io_alloc_cache *cache) in io_alloc_cache_get()
34 static inline bool io_alloc_cache_init(struct io_alloc_cache *cache, in io_alloc_cache_init()
47 static inline void io_alloc_cache_free(struct io_alloc_cache *cache, in io_alloc_cache_free()
/linux/mm/kasan/
H A Dcommon.c156 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object) in __kasan_unpoison_new_object()
161 void __kasan_poison_new_object(struct kmem_cache *cache, void *object) in __kasan_poison_new_object()
177 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag()
198 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj()
211 static inline bool poison_slab_object(struct kmem_cache *cache, void *object, in poison_slab_object()
245 bool __kasan_slab_free(struct kmem_cache *cache, void *object, in __kasan_slab_free()
301 static inline void unpoison_slab_object(struct kmem_cache *cache, void *object, in unpoison_slab_object()
315 void * __must_check __kasan_slab_alloc(struct kmem_cache *cache, in __kasan_slab_alloc()
343 static inline void poison_kmalloc_redzone(struct kmem_cache *cache, in poison_kmalloc_redzone()
374 void * __must_check __kasan_kmalloc(struct kmem_cache *cache, const void *object, in __kasan_kmalloc()
H A Dgeneric.c204 void kasan_cache_shrink(struct kmem_cache *cache) in kasan_cache_shrink()
209 void kasan_cache_shutdown(struct kmem_cache *cache) in kasan_cache_shutdown()
353 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in kasan_cache_create()
453 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta()
461 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta()
470 void kasan_init_object_meta(struct kmem_cache *cache, const void *object) in kasan_init_object_meta()
506 size_t kasan_metadata_size(struct kmem_cache *cache, bool in_object) in kasan_metadata_size()
527 struct kmem_cache *cache; in __kasan_record_aux_stack() local
554 void kasan_save_alloc_info(struct kmem_cache *cache, void *object, gfp_t flags) in kasan_save_alloc_info()
568 void kasan_save_free_info(struct kmem_cache *cache, void *object) in kasan_save_free_info()
H A 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()
166 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all()
185 bool kasan_quarantine_put(struct kmem_cache *cache, void *object) in kasan_quarantine_put()
292 struct kmem_cache *cache) in qlist_move_cache()
316 struct kmem_cache *cache = arg; in __per_cpu_remove_cache() local
342 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
/linux/mm/
H A Dswap_slots.c115 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local
171 struct swap_slots_cache *cache; drain_slots_cache_cpu() local
259 refill_swap_slots_cache(struct swap_slots_cache * cache) refill_swap_slots_cache() argument
274 struct swap_slots_cache *cache; free_swap_slot() local
308 struct swap_slots_cache *cache; folio_alloc_swap() local
[all...]
/linux/drivers/md/dm-vdo/indexer/
H A Dvolume.c107 static inline union invalidate_counter get_invalidate_counter(struct page_cache *cache, in get_invalidate_counter()
115 static inline void set_invalidate_counter(struct page_cache *cache, in set_invalidate_counter()
129 static void begin_pending_search(struct page_cache *cache, u32 physical_page, in begin_pending_search()
149 static void end_pending_search(struct page_cache *cache, unsigned int zone_number) in end_pending_search()
167 static void wait_for_pending_searches(struct page_cache *cache, u32 physical_page) in wait_for_pending_searches()
204 static void clear_cache_page(struct page_cache *cache, struct cached_page *page) in clear_cache_page()
212 static void make_page_most_recent(struct page_cache *cache, struct cached_page *page) in make_page_most_recent()
223 static struct cached_page *select_victim_in_cache(struct page_cache *cache) in select_victim_in_cache()
256 static int put_page_in_cache(struct page_cache *cache, u32 physical_page, in put_page_in_cache()
282 static void cancel_page_in_cache(struct page_cache *cache, u32 physical_page, in cancel_page_in_cache()
[all …]
H A Dsparse-cache.c234 static int __must_check make_search_list(struct sparse_cache *cache, in make_search_list()
263 struct sparse_cache *cache; in uds_make_sparse_cache() local
323 static void score_search_miss(struct sparse_cache *cache, in score_search_miss()
345 void uds_free_sparse_cache(struct sparse_cache *cache) in uds_free_sparse_cache()
389 bool uds_sparse_cache_contains(struct sparse_cache *cache, u64 virtual_chapter, in uds_sparse_cache_contains()
425 struct sparse_cache *cache, u64 oldest_virtual_chapter) in purge_search_list()
496 struct sparse_cache *cache = index->volume->sparse_cache; in uds_update_sparse_cache() local
537 void uds_invalidate_sparse_cache(struct sparse_cache *cache) in uds_invalidate_sparse_cache()
580 struct sparse_cache *cache = volume->sparse_cache; in uds_search_sparse_cache() local

12345678910>>...13