Home
last modified time | relevance | path

Searched refs:wb (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dbacking-dev-defs.h210 struct bdi_writeback wb; /* the root writeback info for this bdi */ member
242 clear_wb_congested(bdi->wb.congested, sync); in clear_bdi_congested()
247 set_wb_congested(bdi->wb.congested, sync); in set_bdi_congested()
261 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget() argument
263 if (wb != &wb->bdi->wb) in wb_tryget()
264 return percpu_ref_tryget(&wb->refcnt); in wb_tryget()
272 static inline void wb_get(struct bdi_writeback *wb) in wb_get() argument
274 if (wb != &wb->bdi->wb) in wb_get()
275 percpu_ref_get(&wb->refcnt); in wb_get()
282 static inline void wb_put(struct bdi_writeback *wb) in wb_put() argument
[all …]
Dbacking-dev.h44 void wb_start_background_writeback(struct bdi_writeback *wb);
46 void wb_wakeup_delayed(struct bdi_writeback *wb);
56 static inline bool wb_has_dirty_io(struct bdi_writeback *wb) in wb_has_dirty_io() argument
58 return test_bit(WB_has_dirty_io, &wb->state); in wb_has_dirty_io()
70 static inline void __add_wb_stat(struct bdi_writeback *wb, in __add_wb_stat() argument
73 percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); in __add_wb_stat()
76 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat() argument
78 __add_wb_stat(wb, item, 1); in inc_wb_stat()
81 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat() argument
83 __add_wb_stat(wb, item, -1); in dec_wb_stat()
[all …]
Dwriteback.h84 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);
Dmemcontrol.h1282 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb);
1283 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages,
1288 struct bdi_writeback *wb);
1291 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty() argument
1296 if (unlikely(&page->mem_cgroup->css != wb->memcg_css)) in mem_cgroup_track_foreign_dirty()
1297 mem_cgroup_track_foreign_dirty_slowpath(page, wb); in mem_cgroup_track_foreign_dirty()
1300 void mem_cgroup_flush_foreign(struct bdi_writeback *wb);
1304 static inline struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain() argument
1309 static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb, in mem_cgroup_wb_stats() argument
1318 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty() argument
[all …]
Dmm.h1598 struct bdi_writeback *wb);
/include/trace/events/
Dwriteback.h153 static inline unsigned int __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument
155 return wb->memcg_css->cgroup->kn->id.ino; in __trace_wb_assign_cgroup()
160 if (wbc->wb) in __trace_wbc_assign_cgroup()
161 return __trace_wb_assign_cgroup(wbc->wb); in __trace_wbc_assign_cgroup()
167 static inline unsigned int __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument
241 TP_PROTO(struct page *page, struct bdi_writeback *wb),
243 TP_ARGS(page, wb),
258 strncpy(__entry->name, dev_name(wb->bdi->dev), 32);
259 __entry->bdi_id = wb->bdi->id;
261 __entry->memcg_id = wb->memcg_css->id;
[all …]
/include/uapi/drm/
Dlima_drm.h77 __u32 wb[3 * LIMA_PP_WB_REG_NUM]; member
86 __u32 wb[3 * LIMA_PP_WB_REG_NUM]; member