Lines Matching defs:smq_policy
797 struct smq_policy { struct
798 struct dm_cache_policy policy;
801 spinlock_t lock;
802 dm_cblock_t cache_size;
803 sector_t cache_block_size;
805 sector_t hotspot_block_size;
806 unsigned int nr_hotspot_blocks;
807 unsigned int cache_blocks_per_hotspot_block;
808 unsigned int hotspot_level_jump;
810 struct entry_space es;
811 struct entry_alloc writeback_sentinel_alloc;
812 struct entry_alloc demote_sentinel_alloc;
813 struct entry_alloc hotspot_alloc;
814 struct entry_alloc cache_alloc;
816 unsigned long *hotspot_hit_bits;
817 unsigned long *cache_hit_bits;
826 struct queue hotspot;
827 struct queue clean;
828 struct queue dirty;
830 struct stats hotspot_stats;
831 struct stats cache_stats;
837 unsigned int tick;
843 struct smq_hash_table table;
844 struct smq_hash_table hotspot_table;
846 bool current_writeback_sentinels;
847 unsigned long next_writeback_period;
849 bool current_demote_sentinels;
850 unsigned long next_demote_period;
852 unsigned int write_promote_level;
876 static struct entry *writeback_sentinel(struct smq_policy *mq, unsigned int level) in writeback_sentinel() argument