Lines Matching defs:bh
56 inline void touch_buffer(struct buffer_head *bh) in touch_buffer()
63 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
69 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
85 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() local
116 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
130 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
146 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
161 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
168 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
199 struct buffer_head *bh; in __find_get_block_slow() local
252 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read()
313 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write()
379 static void mark_buffer_async_read(struct buffer_head *bh) in mark_buffer_async_read()
385 static void mark_buffer_async_write_endio(struct buffer_head *bh, in mark_buffer_async_write_endio()
392 void mark_buffer_async_write(struct buffer_head *bh) in mark_buffer_async_write()
451 static void __remove_assoc_queue(struct buffer_head *bh) in __remove_assoc_queue()
475 struct buffer_head *bh; in osync_buffers_list() local
536 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); in write_boundary_block() local
544 void mark_buffer_dirty_inode(struct buffer_head *bh, struct inode *inode) in mark_buffer_dirty_inode()
626 struct buffer_head *bh = head; in __set_page_dirty_buffers() local
674 struct buffer_head *bh; in fsync_buffers_list() local
792 struct buffer_head *bh = BH_ENTRY(list->next); in remove_inode_buffers() local
816 struct buffer_head *bh, *head; in alloc_page_buffers() local
866 struct buffer_head *bh, *tail; in link_dev_buffers() local
897 struct buffer_head *bh = head; in init_page_buffers() local
933 struct buffer_head *bh; in grow_dev_page() local
1037 struct buffer_head *bh; in __getblk_slow() local
1085 void mark_buffer_dirty(struct buffer_head *bh) in mark_buffer_dirty()
1120 void mark_buffer_write_io_error(struct buffer_head *bh) in mark_buffer_write_io_error()
1152 void __bforget(struct buffer_head *bh) in __bforget()
1167 static struct buffer_head *__bread_slow(struct buffer_head *bh) in __bread_slow()
1227 static void bh_lru_install(struct buffer_head *bh) in bh_lru_install()
1262 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru() local
1291 struct buffer_head *bh = lookup_bh_lru(bdev, block, size); in __find_get_block() local
1317 struct buffer_head *bh = __find_get_block(bdev, block, size); in __getblk_gfp() local
1331 struct buffer_head *bh = __getblk(bdev, block, size); in __breadahead() local
1342 struct buffer_head *bh = __getblk_gfp(bdev, block, size, gfp); in __breadahead_gfp() local
1366 struct buffer_head *bh = __getblk_gfp(bdev, block, size, gfp); in __bread_gfp() local
1410 void set_bh_page(struct buffer_head *bh, in set_bh_page()
1434 static void discard_buffer(struct buffer_head * bh) in discard_buffer()
1471 struct buffer_head *head, *bh, *next; in block_invalidatepage() local
1526 struct buffer_head *bh, *head, *tail; in create_empty_buffers() local
1581 struct buffer_head *bh; in clean_bdev_aliases() local
1686 struct buffer_head *bh, *head; in __block_write_full_page() local
1851 struct buffer_head *head, *bh; in page_zero_new_buffers() local
1886 iomap_to_bh(struct inode *inode, sector_t block, struct buffer_head *bh, in iomap_to_bh()
1950 struct buffer_head *bh, *head, *wait[2], **wait_bh=wait; in __block_write_begin_int() local
2038 struct buffer_head *bh, *head; in __block_commit_write() local
2190 struct buffer_head *bh, *head; in block_is_partially_uptodate() local
2234 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local
2514 static void end_buffer_read_nobh(struct buffer_head *bh, int uptodate) in end_buffer_read_nobh()
2526 struct buffer_head *bh; in attach_nobh_buffers() local
2556 struct buffer_head *head, *bh; in nobh_write_begin() local
2695 struct buffer_head *bh; in nobh_write_end() local
2854 struct buffer_head *bh; in block_truncate_page() local
2971 struct buffer_head *bh = bio->bi_private; in end_bio_bh_io_sync() local
3043 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, in submit_bh_wbc()
3094 int submit_bh(int op, int op_flags, struct buffer_head *bh) in submit_bh()
3131 struct buffer_head *bh = bhs[i]; in ll_rw_block() local
3155 void write_dirty_buffer(struct buffer_head *bh, int op_flags) in write_dirty_buffer()
3173 int __sync_dirty_buffer(struct buffer_head *bh, int op_flags) in __sync_dirty_buffer()
3202 int sync_dirty_buffer(struct buffer_head *bh) in sync_dirty_buffer()
3228 static inline int buffer_busy(struct buffer_head *bh) in buffer_busy()
3238 struct buffer_head *bh; in drop_buffers() local
3298 struct buffer_head *bh = buffers_to_free; in try_to_free_buffers() local
3384 void free_buffer_head(struct buffer_head *bh) in free_buffer_head()
3416 int bh_uptodate_or_lock(struct buffer_head *bh) in bh_uptodate_or_lock()
3434 int bh_submit_read(struct buffer_head *bh) in bh_submit_read()