H A D | dm-cache-target.c | 296 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...] |