Lines Matching defs:bh

60 inline void touch_buffer(struct buffer_head *bh)  in touch_buffer()
67 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
73 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
89 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() local
120 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
126 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
142 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
157 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
164 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
195 struct buffer_head *bh; in __find_get_block_slow() local
244 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read()
300 struct buffer_head *bh; member
307 struct buffer_head *bh = ctx->bh; in decrypt_bh() local
320 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate) in end_buffer_async_read_io()
342 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write()
405 static void mark_buffer_async_read(struct buffer_head *bh) in mark_buffer_async_read()
411 static void mark_buffer_async_write_endio(struct buffer_head *bh, in mark_buffer_async_write_endio()
418 void mark_buffer_async_write(struct buffer_head *bh) in mark_buffer_async_write()
477 static void __remove_assoc_queue(struct buffer_head *bh) in __remove_assoc_queue()
501 struct buffer_head *bh; in osync_buffers_list() local
562 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); in write_boundary_block() local
570 void mark_buffer_dirty_inode(struct buffer_head *bh, struct inode *inode) in mark_buffer_dirty_inode()
624 struct buffer_head *bh = head; in block_dirty_folio() local
672 struct buffer_head *bh; in fsync_buffers_list() local
790 struct buffer_head *bh = BH_ENTRY(list->next); in remove_inode_buffers() local
814 struct buffer_head *bh, *head; in alloc_page_buffers() local
864 struct buffer_head *bh, *tail; in link_dev_buffers() local
895 struct buffer_head *bh = head; in init_page_buffers() local
931 struct buffer_head *bh; in grow_dev_page() local
1031 struct buffer_head *bh; in __getblk_slow() local
1079 void mark_buffer_dirty(struct buffer_head *bh) in mark_buffer_dirty()
1114 void mark_buffer_write_io_error(struct buffer_head *bh) in mark_buffer_write_io_error()
1153 void __bforget(struct buffer_head *bh) in __bforget()
1168 static struct buffer_head *__bread_slow(struct buffer_head *bh) in __bread_slow()
1228 static void bh_lru_install(struct buffer_head *bh) in bh_lru_install()
1274 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru() local
1303 struct buffer_head *bh = lookup_bh_lru(bdev, block, size); in __find_get_block() local
1329 struct buffer_head *bh = __find_get_block(bdev, block, size); in __getblk_gfp() local
1343 struct buffer_head *bh = __getblk(bdev, block, size); in __breadahead() local
1367 struct buffer_head *bh = __getblk_gfp(bdev, block, size, gfp); in __bread_gfp() local
1430 void set_bh_page(struct buffer_head *bh, in set_bh_page()
1454 static void discard_buffer(struct buffer_head * bh) in discard_buffer()
1485 struct buffer_head *head, *bh, *next; in block_invalidate_folio() local
1541 struct buffer_head *bh, *head, *tail; in create_empty_buffers() local
1596 struct buffer_head *bh; in clean_bdev_aliases() local
1701 struct buffer_head *bh, *head; in __block_write_full_page() local
1864 struct buffer_head *head, *bh; in page_zero_new_buffers() local
1899 iomap_to_bh(struct inode *inode, sector_t block, struct buffer_head *bh, in iomap_to_bh()
1963 struct buffer_head *bh, *head, *wait[2], **wait_bh=wait; in __block_write_begin_int() local
2052 struct buffer_head *bh, *head; in __block_commit_write() local
2200 struct buffer_head *bh, *head; in block_is_partially_uptodate() local
2243 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_folio() local
2535 struct buffer_head *bh; in block_truncate_page() local
2650 struct buffer_head *bh = bio->bi_private; in end_bio_bh_io_sync() local
2659 static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh, in submit_bh_wbc()
2705 void submit_bh(blk_opf_t opf, struct buffer_head *bh) in submit_bh()
2711 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in write_dirty_buffer()
2729 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in __sync_dirty_buffer()
2756 int sync_dirty_buffer(struct buffer_head *bh) in sync_dirty_buffer()
2782 static inline int buffer_busy(struct buffer_head *bh) in buffer_busy()
2792 struct buffer_head *bh; in drop_buffers() local
2852 struct buffer_head *bh = buffers_to_free; in try_to_free_buffers() local
2912 void free_buffer_head(struct buffer_head *bh) in free_buffer_head()
2944 int bh_uptodate_or_lock(struct buffer_head *bh) in bh_uptodate_or_lock()
2964 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait) in __bh_read()
2998 struct buffer_head *bh = bhs[i]; in __bh_read_batch() local