Lines Matching defs:backing_dev_info
188 struct backing_dev_info { struct
189 u64 id;
190 struct rb_node rb_node; /* keyed by ->id */
191 struct list_head bdi_list;
192 unsigned long ra_pages; /* max readahead in PAGE_SIZE units */
193 unsigned long io_pages; /* max allowed IO size */
194 congested_fn *congested_fn; /* Function pointer if device is md/dm */
195 void *congested_data; /* Pointer to aux data for congested func */
197 const char *name;
199 struct kref refcnt; /* Reference counter for the structure */
200 unsigned int capabilities; /* Device capabilities */
201 unsigned int min_ratio;
202 unsigned int max_ratio, max_prop_frac;
208 atomic_long_t tot_write_bandwidth;
210 struct bdi_writeback wb; /* the root writeback info for this bdi */
211 struct list_head wb_list; /* list of all wbs */
213 struct radix_tree_root cgwb_tree; /* radix tree of active cgroup wbs */
214 struct rb_root cgwb_congested_tree; /* their congested states */
215 struct mutex cgwb_release_mutex; /* protect shutdown of wb structs */
216 struct rw_semaphore wb_switch_rwsem; /* no cgwb switch while syncing */
240 static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync) in clear_bdi_congested() argument