Lines Matching defs:bh

54 void init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private)  in init_buffer()
61 inline void touch_buffer(struct buffer_head *bh) in touch_buffer()
68 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
74 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
90 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() local
121 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
135 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
154 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
169 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
176 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
208 struct buffer_head *bh; in __find_get_block_slow() local
283 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read()
344 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write()
411 static void mark_buffer_async_read(struct buffer_head *bh) in mark_buffer_async_read()
417 static void mark_buffer_async_write_endio(struct buffer_head *bh, in mark_buffer_async_write_endio()
424 void mark_buffer_async_write(struct buffer_head *bh) in mark_buffer_async_write()
483 static void __remove_assoc_queue(struct buffer_head *bh) in __remove_assoc_queue()
509 struct buffer_head *bh; in osync_buffers_list() local
595 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); in write_boundary_block() local
603 void mark_buffer_dirty_inode(struct buffer_head *bh, struct inode *inode) in mark_buffer_dirty_inode()
685 struct buffer_head *bh = head; in __set_page_dirty_buffers() local
733 struct buffer_head *bh; in fsync_buffers_list() local
851 struct buffer_head *bh = BH_ENTRY(list->next); in remove_inode_buffers() local
875 struct buffer_head *bh, *head; in alloc_page_buffers() local
931 struct buffer_head *bh, *tail; in link_dev_buffers() local
962 struct buffer_head *bh = head; in init_page_buffers() local
997 struct buffer_head *bh; in grow_dev_page() local
1107 struct buffer_head *bh; in __getblk_slow() local
1158 void mark_buffer_dirty(struct buffer_head *bh) in mark_buffer_dirty()
1215 void __bforget(struct buffer_head *bh) in __bforget()
1230 static struct buffer_head *__bread_slow(struct buffer_head *bh) in __bread_slow()
1288 static void bh_lru_install(struct buffer_head *bh) in bh_lru_install()
1338 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru() local
1367 struct buffer_head *bh = lookup_bh_lru(bdev, block, size); in __find_get_block() local
1393 struct buffer_head *bh = __find_get_block(bdev, block, size); in __getblk_gfp() local
1407 struct buffer_head *bh = __getblk(bdev, block, size); in __breadahead() local
1431 struct buffer_head *bh = __getblk_gfp(bdev, block, size, gfp); in __bread_gfp() local
1475 void set_bh_page(struct buffer_head *bh, in set_bh_page()
1499 static void discard_buffer(struct buffer_head * bh) in discard_buffer()
1536 struct buffer_head *head, *bh, *next; in block_invalidatepage() local
1591 struct buffer_head *bh, *head, *tail; in create_empty_buffers() local
1708 struct buffer_head *bh, *head; in __block_write_full_page() local
1871 struct buffer_head *head, *bh; in page_zero_new_buffers() local
1915 struct buffer_head *bh, *head, *wait[2], **wait_bh=wait; in __block_write_begin() local
1993 struct buffer_head *bh, *head; in __block_commit_write() local
2142 struct buffer_head *bh, *head; in block_is_partially_uptodate() local
2186 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local
2469 static void end_buffer_read_nobh(struct buffer_head *bh, int uptodate) in end_buffer_read_nobh()
2481 struct buffer_head *bh; in attach_nobh_buffers() local
2511 struct buffer_head *head, *bh; in nobh_write_begin() local
2650 struct buffer_head *bh; in nobh_write_end() local
2819 struct buffer_head *bh; in block_truncate_page() local
2942 struct buffer_head *bh = bio->bi_private; in end_bio_bh_io_sync() local
2999 static int submit_bh_wbc(int rw, struct buffer_head *bh, in submit_bh_wbc()
3049 int _submit_bh(int rw, struct buffer_head *bh, unsigned long bio_flags) in _submit_bh()
3055 int submit_bh(int rw, struct buffer_head *bh) in submit_bh()
3091 struct buffer_head *bh = bhs[i]; in ll_rw_block() local
3115 void write_dirty_buffer(struct buffer_head *bh, int rw) in write_dirty_buffer()
3133 int __sync_dirty_buffer(struct buffer_head *bh, int rw) in __sync_dirty_buffer()
3153 int sync_dirty_buffer(struct buffer_head *bh) in sync_dirty_buffer()
3179 static inline int buffer_busy(struct buffer_head *bh) in buffer_busy()
3189 struct buffer_head *bh; in drop_buffers() local
3251 struct buffer_head *bh = buffers_to_free; in try_to_free_buffers() local
3337 void free_buffer_head(struct buffer_head *bh) in free_buffer_head()
3376 int bh_uptodate_or_lock(struct buffer_head *bh) in bh_uptodate_or_lock()
3394 int bh_submit_read(struct buffer_head *bh) in bh_submit_read()