/Linux-v4.19/include/linux/ |
D | backing-dev.h | 21 static inline struct backing_dev_info *bdi_get(struct backing_dev_info *bdi) in bdi_get() 27 void bdi_put(struct backing_dev_info *bdi); 30 int bdi_register(struct backing_dev_info *bdi, const char *fmt, ...); 32 int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, 34 int bdi_register_owner(struct backing_dev_info *bdi, struct device *owner); 35 void bdi_unregister(struct backing_dev_info *bdi); 37 struct backing_dev_info *bdi_alloc_node(gfp_t gfp_mask, int node_id); 38 static inline struct backing_dev_info *bdi_alloc(gfp_t gfp_mask) in bdi_alloc() 57 static inline bool bdi_has_dirty_io(struct backing_dev_info *bdi) in bdi_has_dirty_io() 106 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio); [all …]
|
D | backing-dev-defs.h | 82 struct backing_dev_info *__bdi; /* the associated bdi, set to NULL 110 struct backing_dev_info *bdi; /* our parent bdi */ 167 struct backing_dev_info { struct 217 static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync) in clear_bdi_congested() argument 222 static inline void set_bdi_congested(struct backing_dev_info *bdi, int sync) in set_bdi_congested()
|
D | writeback.h | 35 struct backing_dev_info; 170 void wakeup_flusher_threads_bdi(struct backing_dev_info *bdi, 308 void laptop_io_completion(struct backing_dev_info *info);
|
D | sched.h | 34 struct backing_dev_info; 957 struct backing_dev_info *backing_dev_info; member
|
/Linux-v4.19/mm/ |
D | backing-dev.c | 15 struct backing_dev_info noop_backing_dev_info = { 46 struct backing_dev_info *bdi = m->private; in bdi_debug_stats_show() 105 static int bdi_debug_register(struct backing_dev_info *bdi, const char *name) in bdi_debug_register() 125 static void bdi_debug_unregister(struct backing_dev_info *bdi) in bdi_debug_unregister() 134 static inline int bdi_debug_register(struct backing_dev_info *bdi, in bdi_debug_register() 139 static inline void bdi_debug_unregister(struct backing_dev_info *bdi) in bdi_debug_unregister() 148 struct backing_dev_info *bdi = dev_get_drvdata(dev); in read_ahead_kb_store() 167 struct backing_dev_info *bdi = dev_get_drvdata(dev); \ 178 struct backing_dev_info *bdi = dev_get_drvdata(dev); in min_ratio_store() 197 struct backing_dev_info *bdi = dev_get_drvdata(dev); in max_ratio_store() [all …]
|
D | page-writeback.c | 674 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio) in bdi_set_min_ratio() 695 int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned max_ratio) in bdi_set_max_ratio() 1578 struct backing_dev_info *bdi = wb->bdi; in balance_dirty_pages() 1864 struct backing_dev_info *bdi = inode_to_bdi(inode); in balance_dirty_pages_ratelimited() 1994 struct backing_dev_info *backing_dev_info = in laptop_mode_timer_fn() local 1995 from_timer(backing_dev_info, t, laptop_mode_wb_timer); in laptop_mode_timer_fn() 1997 wakeup_flusher_threads_bdi(backing_dev_info, WB_REASON_LAPTOP_TIMER); in laptop_mode_timer_fn() 2005 void laptop_io_completion(struct backing_dev_info *info) in laptop_io_completion() 2017 struct backing_dev_info *bdi; in laptop_sync_completion() 2718 struct backing_dev_info *bdi = inode_to_bdi(inode); in test_clear_page_writeback() [all …]
|
D | readahead.c | 224 struct backing_dev_info *bdi = inode_to_bdi(mapping->host); in force_page_cache_readahead() 388 struct backing_dev_info *bdi = inode_to_bdi(mapping->host); in ondemand_readahead()
|
D | fadvise.c | 35 struct backing_dev_info *bdi; in generic_fadvise()
|
/Linux-v4.19/include/trace/events/ |
D | wbt.h | 17 TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat), 60 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat), 89 TP_PROTO(struct backing_dev_info *bdi, const char *msg, 128 TP_PROTO(struct backing_dev_info *bdi, unsigned int status,
|
D | writeback.h | 96 struct backing_dev_info *bdi = inode_to_bdi(inode); 293 TP_PROTO(struct backing_dev_info *bdi), 307 TP_PROTO(struct writeback_control *wbc, struct backing_dev_info *bdi), 356 TP_PROTO(struct writeback_control *wbc, struct backing_dev_info *bdi), \
|
/Linux-v4.19/block/ |
D | blk-wbt.c | 98 struct bdi_writeback *wb = &rwb->rqos.q->backing_dev_info->wb; in wb_recent_wait() 235 struct backing_dev_info *bdi = rwb->rqos.q->backing_dev_info; in latency_exceeded() 288 struct backing_dev_info *bdi = rwb->rqos.q->backing_dev_info; in rwb_trace_step() 358 trace_wbt_timer(rwb->rqos.q->backing_dev_info, status, rqd->scale_step, in wb_timer_fn()
|
D | blk-core.c | 156 clear_wb_congested(rl->q->backing_dev_info->wb.congested, sync); in blk_clear_congested() 167 set_wb_congested(rl->q->backing_dev_info->wb.congested, sync); in blk_set_congested() 744 bdi_put(q->backing_dev_info); in blk_exit_queue() 807 del_timer_sync(&q->backing_dev_info->laptop_mode_wb_timer); in blk_cleanup_queue() 1021 q->backing_dev_info = bdi_alloc_node(gfp_mask, node_id); in blk_alloc_queue_node() 1022 if (!q->backing_dev_info) in blk_alloc_queue_node() 1029 q->backing_dev_info->ra_pages = in blk_alloc_queue_node() 1031 q->backing_dev_info->capabilities = BDI_CAP_CGROUP_WRITEBACK; in blk_alloc_queue_node() 1032 q->backing_dev_info->name = "block"; in blk_alloc_queue_node() 1035 timer_setup(&q->backing_dev_info->laptop_mode_wb_timer, in blk_alloc_queue_node() [all …]
|
D | blk-integrity.c | 421 disk->queue->backing_dev_info->capabilities |= BDI_CAP_STABLE_WRITES; in blk_integrity_register() 434 disk->queue->backing_dev_info->capabilities &= ~BDI_CAP_STABLE_WRITES; in blk_integrity_unregister()
|
D | blk-sysfs.c | 94 unsigned long ra_kb = q->backing_dev_info->ra_pages << in queue_ra_show() 109 q->backing_dev_info->ra_pages = ra_kb >> (PAGE_SHIFT - 10); in queue_ra_store() 247 q->backing_dev_info->io_pages = max_sectors_kb >> (PAGE_SHIFT - 10); in queue_max_sectors_store()
|
D | blk-cgroup.c | 191 wb_congested = wb_congested_get_create(q->backing_dev_info, in blkg_create() 476 if (blkg->q->backing_dev_info->dev) in blkg_dev_name() 477 return dev_name(blkg->q->backing_dev_info->dev); in blkg_dev_name()
|
/Linux-v4.19/fs/ |
D | fs-writeback.c | 217 static void wb_wait_for_completion(struct backing_dev_info *bdi, in wb_wait_for_completion() 245 struct backing_dev_info *bdi = inode_to_bdi(inode); in __inode_attach_wb() 470 struct backing_dev_info *bdi = inode_to_bdi(inode); in inode_switch_wbs() 800 static void bdi_split_work_to_wbs(struct backing_dev_info *bdi, in bdi_split_work_to_wbs() 923 static void bdi_split_work_to_wbs(struct backing_dev_info *bdi, in bdi_split_work_to_wbs() 1975 static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi, in __wakeup_flusher_threads_bdi() 1987 void wakeup_flusher_threads_bdi(struct backing_dev_info *bdi, in wakeup_flusher_threads_bdi() 2000 struct backing_dev_info *bdi; in wakeup_flusher_threads() 2034 struct backing_dev_info *bdi; in wakeup_dirtytime_writeback() 2333 struct backing_dev_info *bdi = sb->s_bdi; in __writeback_inodes_sb_nr() [all …]
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-class-bdi | 6 Provide a place in sysfs for the backing_dev_info object. This allows
|
/Linux-v4.19/drivers/mtd/ |
D | mtdsuper.c | 42 extern struct backing_dev_info *mtd_bdi;
|
D | mtdcore.c | 50 struct backing_dev_info *mtd_bdi; 1857 static struct backing_dev_info * __init mtd_bdi_init(char *name) in mtd_bdi_init() 1859 struct backing_dev_info *bdi; in mtd_bdi_init()
|
/Linux-v4.19/drivers/md/ |
D | raid0.c | 46 ret |= bdi_congested(q->backing_dev_info, bits); in raid0_congested() 428 if (mddev->queue->backing_dev_info->ra_pages < 2* stripe) in raid0_run() 429 mddev->queue->backing_dev_info->ra_pages = 2* stripe; in raid0_run()
|
D | md-linear.c | 72 ret |= bdi_congested(q->backing_dev_info, bits); in linear_congested()
|
/Linux-v4.19/drivers/md/bcache/ |
D | request.c | 1231 if (bdi_congested(q->backing_dev_info, bits)) in cached_dev_congested() 1240 ret |= bdi_congested(q->backing_dev_info, bits); in cached_dev_congested() 1254 g->queue->backing_dev_info->congested_fn = cached_dev_congested; in bch_cached_dev_request_init() 1352 ret |= bdi_congested(q->backing_dev_info, bits); in flash_dev_congested() 1363 g->queue->backing_dev_info->congested_fn = flash_dev_congested; in bch_flash_dev_request_init()
|
/Linux-v4.19/drivers/block/aoe/ |
D | aoeblk.c | 399 q->backing_dev_info->name = "aoe"; in aoeblk_gdalloc() 400 q->backing_dev_info->ra_pages = READ_AHEAD / PAGE_SIZE; in aoeblk_gdalloc()
|
/Linux-v4.19/fs/nfs/ |
D | file.c | 630 current->backing_dev_info = inode_to_bdi(inode); in nfs_file_write() 632 current->backing_dev_info = NULL; in nfs_file_write()
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_proc.c | 280 bdi_rw_congested(device->rq_queue->backing_dev_info); in drbd_seq_show()
|