Searched refs:bdi (Results 1 – 5 of 5) sorted by relevance
/include/linux/ |
D | backing-dev.h | 21 static inline struct backing_dev_info *bdi_get(struct backing_dev_info *bdi) in bdi_get() argument 23 kref_get(&bdi->refcnt); in bdi_get() 24 return bdi; in bdi_get() 28 void bdi_put(struct backing_dev_info *bdi); 31 int bdi_register(struct backing_dev_info *bdi, const char *fmt, ...); 33 int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, 35 int bdi_register_owner(struct backing_dev_info *bdi, struct device *owner); 36 void bdi_unregister(struct backing_dev_info *bdi); 61 static inline bool bdi_has_dirty_io(struct backing_dev_info *bdi) in bdi_has_dirty_io() argument 67 return atomic_long_read(&bdi->tot_write_bandwidth); in bdi_has_dirty_io() [all …]
|
D | backing-dev-defs.h | 86 #define WB_COMPLETION_INIT(bdi) __WB_COMPLETION_INIT(&(bdi)->wb_waitq) argument 88 #define DEFINE_WB_COMPLETION(cmpl, bdi) \ argument 89 struct wb_completion cmpl = WB_COMPLETION_INIT(bdi) 131 struct backing_dev_info *bdi; /* our parent bdi */ member 240 static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync) in clear_bdi_congested() argument 242 clear_wb_congested(bdi->wb.congested, sync); in clear_bdi_congested() 245 static inline void set_bdi_congested(struct backing_dev_info *bdi, int sync) in set_bdi_congested() argument 247 set_wb_congested(bdi->wb.congested, sync); in set_bdi_congested() 263 if (wb != &wb->bdi->wb) in wb_tryget() 274 if (wb != &wb->bdi->wb) in wb_get() [all …]
|
D | writeback.h | 197 void wakeup_flusher_threads_bdi(struct backing_dev_info *bdi,
|
/include/trace/events/ |
D | wbt.h | 17 TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat), 19 TP_ARGS(bdi, stat), 36 strlcpy(__entry->name, dev_name(bdi->dev), 61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat), 63 TP_ARGS(bdi, lat), 71 strlcpy(__entry->name, dev_name(bdi->dev), 91 TP_PROTO(struct backing_dev_info *bdi, const char *msg, 95 TP_ARGS(bdi, msg, step, window, bg, normal, max), 108 strlcpy(__entry->name, dev_name(bdi->dev), 131 TP_PROTO(struct backing_dev_info *bdi, unsigned int status, [all …]
|
D | writeback.h | 111 struct backing_dev_info *bdi = inode_to_bdi(inode); 115 bdi->dev ? dev_name(bdi->dev) : "(unknown)", 32); 225 strncpy(__entry->name, dev_name(old_wb->bdi->dev), 32); 258 strncpy(__entry->name, dev_name(wb->bdi->dev), 32); 259 __entry->bdi_id = wb->bdi->id; 291 strncpy(__entry->name, dev_name(wb->bdi->dev), 32); 365 wb->bdi->dev ? dev_name(wb->bdi->dev) : 419 strscpy_pad(__entry->name, dev_name(wb->bdi->dev), 32); 435 TP_PROTO(struct backing_dev_info *bdi), 436 TP_ARGS(bdi), [all …]
|