Searched refs:wb (Results 1 – 7 of 7) sorted by relevance
/include/linux/ |
D | backing-dev-defs.h | 210 struct bdi_writeback wb; /* the root writeback info for this bdi */ member 243 clear_wb_congested(bdi->wb.congested, sync); in clear_bdi_congested() 248 set_wb_congested(bdi->wb.congested, sync); in set_bdi_congested() 262 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget() argument 264 if (wb != &wb->bdi->wb) in wb_tryget() 265 return percpu_ref_tryget(&wb->refcnt); in wb_tryget() 273 static inline void wb_get(struct bdi_writeback *wb) in wb_get() argument 275 if (wb != &wb->bdi->wb) in wb_get() 276 percpu_ref_get(&wb->refcnt); in wb_get() 283 static inline void wb_put(struct bdi_writeback *wb) in wb_put() argument [all …]
|
D | backing-dev.h | 45 void wb_start_background_writeback(struct bdi_writeback *wb); 47 void wb_wakeup_delayed(struct bdi_writeback *wb); 57 static inline bool wb_has_dirty_io(struct bdi_writeback *wb) in wb_has_dirty_io() argument 59 return test_bit(WB_has_dirty_io, &wb->state); in wb_has_dirty_io() 71 static inline void __add_wb_stat(struct bdi_writeback *wb, in __add_wb_stat() argument 74 percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); in __add_wb_stat() 77 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat() argument 79 __add_wb_stat(wb, item, 1); in inc_wb_stat() 82 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat() argument 84 __add_wb_stat(wb, item, -1); in dec_wb_stat() [all …]
|
D | writeback.h | 84 struct bdi_writeback *wb; /* wb this writeback is issued under */ member 116 if (wbc->wb) in wbc_blkcg_css() 117 return wbc->wb->blkcg_css; in wbc_blkcg_css() 289 if (wbc->wb) in wbc_init_bio() 290 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio() 385 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh); 387 void wb_update_bandwidth(struct bdi_writeback *wb, unsigned long start_time); 389 bool wb_over_bg_thresh(struct bdi_writeback *wb);
|
D | memcontrol.h | 1328 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb); 1329 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages, 1334 struct bdi_writeback *wb); 1337 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty() argument 1342 if (unlikely(&page->mem_cgroup->css != wb->memcg_css)) in mem_cgroup_track_foreign_dirty() 1343 mem_cgroup_track_foreign_dirty_slowpath(page, wb); in mem_cgroup_track_foreign_dirty() 1346 void mem_cgroup_flush_foreign(struct bdi_writeback *wb); 1350 static inline struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain() argument 1355 static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb, in mem_cgroup_wb_stats() argument 1364 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty() argument [all …]
|
D | mm.h | 1650 struct bdi_writeback *wb);
|
/include/trace/events/ |
D | writeback.h | 151 static inline unsigned int __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument 153 return wb->memcg_css->cgroup->kn->id.ino; in __trace_wb_assign_cgroup() 158 if (wbc->wb) in __trace_wbc_assign_cgroup() 159 return __trace_wb_assign_cgroup(wbc->wb); in __trace_wbc_assign_cgroup() 165 static inline unsigned int __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument 239 TP_PROTO(struct page *page, struct bdi_writeback *wb), 241 TP_ARGS(page, wb), 256 strscpy_pad(__entry->name, bdi_dev_name(wb->bdi), 32); 257 __entry->bdi_id = wb->bdi->id; 259 __entry->memcg_id = wb->memcg_css->id; [all …]
|
/include/uapi/drm/ |
D | lima_drm.h | 77 __u32 wb[3 * LIMA_PP_WB_REG_NUM]; member 86 __u32 wb[3 * LIMA_PP_WB_REG_NUM]; member
|