Lines Matching refs:erofs_buffer_head
21 static bool erofs_bh_flush_drop_directly(struct erofs_buffer_head *bh) in erofs_bh_flush_drop_directly()
30 static bool erofs_bh_flush_skip_write(struct erofs_buffer_head *bh) in erofs_bh_flush_skip_write()
39 int erofs_bh_flush_generic_write(struct erofs_buffer_head *bh, void *buf) in erofs_bh_flush_generic_write()
41 struct erofs_buffer_head *nbh = list_next_entry(bh, list); in erofs_bh_flush_generic_write()
48 static bool erofs_bh_flush_buf_write(struct erofs_buffer_head *bh) in erofs_bh_flush_buf_write()
63 struct erofs_buffer_head *erofs_buffer_init(void) in erofs_buffer_init()
65 struct erofs_buffer_head *bh = erofs_balloc(META, 0, 0, 0); in erofs_buffer_init()
76 struct erofs_buffer_head *bh, in __erofs_battach()
117 int erofs_bh_balloon(struct erofs_buffer_head *bh, erofs_off_t incr) in erofs_bh_balloon()
128 struct erofs_buffer_head *erofs_balloc(int type, erofs_off_t size, in erofs_balloc()
133 struct erofs_buffer_head *bh; in erofs_balloc()
184 bh = malloc(sizeof(struct erofs_buffer_head)); in erofs_balloc()
204 bh = malloc(sizeof(struct erofs_buffer_head)); in erofs_balloc()
217 struct erofs_buffer_head *erofs_battach(struct erofs_buffer_head *bh, in erofs_battach()
221 struct erofs_buffer_head *nbh; in erofs_battach()
282 struct erofs_buffer_head *bh, *nbh; in erofs_bflush()
320 void erofs_bdrop(struct erofs_buffer_head *bh, bool tryrevoke) in erofs_bdrop()