• Home
  • Raw
  • Download

Lines Matching refs:bdi

193 	unsigned long tot_bw = atomic_long_read(&wb->bdi->tot_write_bandwidth);  in wb_min_max_ratio()
194 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio()
195 unsigned long long max = wb->bdi->max_ratio; in wb_min_max_ratio()
246 *minp = wb->bdi->min_ratio; in wb_min_max_ratio()
247 *maxp = wb->bdi->max_ratio; in wb_min_max_ratio()
606 wb->bdi->max_prop_frac); in __wb_writeout_inc()
611 wb->bdi->max_prop_frac); in __wb_writeout_inc()
675 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio) in bdi_set_min_ratio() argument
680 if (min_ratio > bdi->max_ratio) { in bdi_set_min_ratio()
683 min_ratio -= bdi->min_ratio; in bdi_set_min_ratio()
686 bdi->min_ratio += min_ratio; in bdi_set_min_ratio()
696 int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned max_ratio) in bdi_set_max_ratio() argument
704 if (bdi->min_ratio > max_ratio) { in bdi_set_max_ratio()
707 bdi->max_ratio = max_ratio; in bdi_set_max_ratio()
708 bdi->max_prop_frac = (FPROP_FRAC_BASE * max_ratio) / 100; in bdi_set_max_ratio()
956 if (unlikely(wb->bdi->capabilities & BDI_CAP_STRICTLIMIT)) { in wb_position_ratio()
1127 &wb->bdi->tot_write_bandwidth) <= 0); in wb_update_write_bandwidth()
1303 if (unlikely(wb->bdi->capabilities & BDI_CAP_STRICTLIMIT)) { in wb_update_dirty_ratelimit()
1579 struct backing_dev_info *bdi = wb->bdi; in balance_dirty_pages() local
1580 bool strictlimit = bdi->capabilities & BDI_CAP_STRICTLIMIT; in balance_dirty_pages()
1867 struct backing_dev_info *bdi = inode_to_bdi(inode); in balance_dirty_pages_ratelimited() local
1872 if (!bdi_cap_account_dirty(bdi)) in balance_dirty_pages_ratelimited()
1876 wb = wb_get_create_current(bdi, GFP_KERNEL); in balance_dirty_pages_ratelimited()
1878 wb = &bdi->wb; in balance_dirty_pages_ratelimited()
2022 struct backing_dev_info *bdi; in laptop_sync_completion() local
2026 list_for_each_entry_rcu(bdi, &bdi_list, bdi_list) in laptop_sync_completion()
2027 del_timer(&bdi->laptop_mode_wb_timer); in laptop_sync_completion()
2725 struct backing_dev_info *bdi = inode_to_bdi(inode); in test_clear_page_writeback() local
2733 if (bdi_cap_account_writeback(bdi)) { in test_clear_page_writeback()
2773 struct backing_dev_info *bdi = inode_to_bdi(inode); in __test_set_page_writeback() local
2786 if (bdi_cap_account_writeback(bdi)) in __test_set_page_writeback()