Home
last modified time | relevance | path

Searched defs:bh (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/kernel/linux/linux-5.10/fs/
Dbuffer.c60 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
[all …]
/kernel/linux/linux-4.19/fs/
Dbuffer.c56 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
[all …]
/kernel/linux/linux-4.19/fs/gfs2/
Dmeta_io.c38 struct buffer_head *bh, *head; in gfs2_aspace_writepage() local
118 struct buffer_head *bh; in gfs2_getbuf() local
161 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
183 struct buffer_head *bh; in gfs2_meta_new() local
196 struct buffer_head *bh = page_buffers(page); in gfs2_meta_read_endio() local
219 struct buffer_head *bh = *bhs; in gfs2_submit_bhs() local
254 struct buffer_head *bh, *bhs[2]; in gfs2_meta_read() local
313 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
332 void gfs2_remove_from_journal(struct buffer_head *bh, int meta) in gfs2_remove_from_journal()
377 struct buffer_head *bh; in gfs2_meta_wipe() local
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
Dmeta_io.c35 struct buffer_head *bh, *head; in gfs2_aspace_writepage() local
115 struct buffer_head *bh; in gfs2_getbuf() local
158 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
180 struct buffer_head *bh; in gfs2_meta_new() local
193 struct buffer_head *bh = page_buffers(page); in gfs2_meta_read_endio() local
216 struct buffer_head *bh = *bhs; in gfs2_submit_bhs() local
251 struct buffer_head *bh, *bhs[2]; in gfs2_meta_read() local
311 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
330 void gfs2_remove_from_journal(struct buffer_head *bh, int meta) in gfs2_remove_from_journal()
380 struct buffer_head *bh; in gfs2_ail1_wipe() local
[all …]
/kernel/linux/linux-5.10/fs/jbd2/
Dcommit.c32 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
63 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
92 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set()
122 struct buffer_head *bh; in journal_submit_commit_record() local
170 struct buffer_head *bh) in journal_wait_on_commit_record()
329 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
352 struct buffer_head *bh, __u32 sequence) in jbd2_block_tag_csum_set()
533 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
762 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
854 struct buffer_head *bh = list_entry(io_bufs.prev, in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c900 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
915 struct buffer_head *bh = jh2bh(jh); in jbd2_freeze_jh_data() local
947 struct buffer_head *bh; in do_get_write_access() local
1137 static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh, in jbd2_write_access_granted()
1201 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
1241 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
1340 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1402 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1416 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1456 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
[all …]
/kernel/linux/linux-4.19/fs/jbd2/
Dcommit.c32 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
63 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
92 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set()
122 struct buffer_head *bh; in journal_submit_commit_record() local
170 struct buffer_head *bh) in journal_wait_on_commit_record()
303 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
326 struct buffer_head *bh, __u32 sequence) in jbd2_block_tag_csum_set()
481 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
711 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
803 struct buffer_head *bh = list_entry(io_bufs.prev, in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c780 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
795 struct buffer_head *bh = jh2bh(jh); in jbd2_freeze_jh_data() local
827 struct buffer_head *bh; in do_get_write_access() local
1017 static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh, in jbd2_write_access_granted()
1080 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
1120 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
1219 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1281 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1295 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1335 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
[all …]
/kernel/linux/linux-5.10/fs/minix/
Dbitmap.c46 struct buffer_head *bh; in minix_free_block() local
78 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() local
107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
160 struct buffer_head *bh = NULL; in minix_clear_inode() local
187 struct buffer_head *bh; in minix_free_inode() local
218 struct buffer_head * bh; in minix_new_inode() local
/kernel/linux/linux-4.19/fs/minix/
Dbitmap.c46 struct buffer_head *bh; in minix_free_block() local
78 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() local
107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
160 struct buffer_head *bh = NULL; in minix_clear_inode() local
187 struct buffer_head *bh; in minix_free_inode() local
218 struct buffer_head * bh; in minix_new_inode() local
/kernel/linux/linux-4.19/fs/hpfs/
Danode.c16 struct buffer_head *bh) in hpfs_bplus_lookup()
68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
279 struct buffer_head *bh; in hpfs_remove_btree() local
333 struct buffer_head *bh; in anode_lookup() local
341 struct buffer_head *bh; in hpfs_ea_read() local
364 struct buffer_head *bh; in hpfs_ea_write() local
388 struct buffer_head *bh; in hpfs_ea_remove() local
403 struct buffer_head *bh; in hpfs_truncate_btree() local
483 struct buffer_head *bh; in hpfs_remove_fnode() local
/kernel/linux/linux-5.10/fs/hpfs/
Danode.c16 struct buffer_head *bh) in hpfs_bplus_lookup()
68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
279 struct buffer_head *bh; in hpfs_remove_btree() local
333 struct buffer_head *bh; in anode_lookup() local
341 struct buffer_head *bh; in hpfs_ea_read() local
364 struct buffer_head *bh; in hpfs_ea_write() local
388 struct buffer_head *bh; in hpfs_ea_remove() local
403 struct buffer_head *bh; in hpfs_truncate_btree() local
483 struct buffer_head *bh; in hpfs_remove_fnode() local
/kernel/linux/linux-5.10/fs/ocfs2/
Dbuffer_head_io.c40 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
96 struct buffer_head *bh; in ocfs2_read_blocks_sync() local
198 struct buffer_head *bh)) in ocfs2_read_blocks()
202 struct buffer_head *bh; in ocfs2_read_blocks() local
431 struct buffer_head *bh) in ocfs2_write_super_or_backup()
/kernel/linux/linux-4.19/fs/ocfs2/
Dbuffer_head_io.c54 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
110 struct buffer_head *bh; in ocfs2_read_blocks_sync() local
212 struct buffer_head *bh)) in ocfs2_read_blocks()
216 struct buffer_head *bh; in ocfs2_read_blocks() local
445 struct buffer_head *bh) in ocfs2_write_super_or_backup()
/kernel/linux/linux-4.19/include/linux/
Dbuffer_head.h138 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) argument
177 static inline void clean_bdev_bh_alias(struct buffer_head *bh) in clean_bdev_bh_alias()
283 static inline void get_bh(struct buffer_head *bh) in get_bh()
288 static inline void put_bh(struct buffer_head *bh) in put_bh()
294 static inline void brelse(struct buffer_head *bh) in brelse()
300 static inline void bforget(struct buffer_head *bh) in bforget()
350 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
358 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer()
365 static inline int trylock_buffer(struct buffer_head *bh) in trylock_buffer()
370 static inline void lock_buffer(struct buffer_head *bh) in lock_buffer()
/kernel/linux/linux-5.10/include/linux/
Dbuffer_head.h138 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) argument
177 static inline void clean_bdev_bh_alias(struct buffer_head *bh) in clean_bdev_bh_alias()
275 static inline void get_bh(struct buffer_head *bh) in get_bh()
280 static inline void put_bh(struct buffer_head *bh) in put_bh()
286 static inline void brelse(struct buffer_head *bh) in brelse()
292 static inline void bforget(struct buffer_head *bh) in bforget()
342 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
350 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer()
357 static inline int trylock_buffer(struct buffer_head *bh) in trylock_buffer()
362 static inline void lock_buffer(struct buffer_head *bh) in lock_buffer()
/kernel/linux/linux-4.19/fs/nilfs2/
Dpage.c34 struct buffer_head *bh; in __nilfs_get_page_block() local
55 struct buffer_head *bh; in nilfs_grab_buffer() local
75 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer()
105 struct buffer_head *bh; in nilfs_copy_buffer() local
143 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
173 struct buffer_head *bh, *head; in nilfs_page_bug() local
404 struct buffer_head *bh, *head; in nilfs_clear_dirty_page() local
430 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local
530 struct buffer_head *bh, *head; in nilfs_find_uncommitted_extent() local
/kernel/linux/linux-5.10/fs/nilfs2/
Dpage.c34 struct buffer_head *bh; in __nilfs_get_page_block() local
55 struct buffer_head *bh; in nilfs_grab_buffer() local
74 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer()
104 struct buffer_head *bh; in nilfs_copy_buffer() local
142 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
172 struct buffer_head *bh, *head; in nilfs_page_bug() local
400 struct buffer_head *bh, *head; in nilfs_clear_dirty_page() local
426 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local
525 struct buffer_head *bh, *head; in nilfs_find_uncommitted_extent() local
/kernel/linux/linux-5.10/fs/reiserfs/
Dprints.c148 static int scnprintf_block_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_block_head()
155 static int scnprintf_buffer_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_buffer_head()
442 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal()
477 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf()
546 static int print_super_block(struct buffer_head *bh) in print_super_block()
596 static int print_desc_block(struct buffer_head *bh) in print_desc_block()
611 void print_block(struct buffer_head *bh, ...) in print_block()
731 static void check_leaf_block_head(struct buffer_head *bh) in check_leaf_block_head()
747 static void check_internal_block_head(struct buffer_head *bh) in check_internal_block_head()
762 void check_leaf(struct buffer_head *bh) in check_leaf()
[all …]
/kernel/linux/linux-4.19/fs/reiserfs/
Dprints.c148 static int scnprintf_block_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_block_head()
155 static int scnprintf_buffer_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_buffer_head()
442 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal()
477 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf()
546 static int print_super_block(struct buffer_head *bh) in print_super_block()
596 static int print_desc_block(struct buffer_head *bh) in print_desc_block()
611 void print_block(struct buffer_head *bh, ...) in print_block()
731 static void check_leaf_block_head(struct buffer_head *bh) in check_leaf_block_head()
747 static void check_internal_block_head(struct buffer_head *bh) in check_internal_block_head()
765 void check_leaf(struct buffer_head *bh) in check_leaf()
[all …]
/kernel/linux/linux-5.10/fs/sysv/
Dballoc.c31 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk()
46 struct buffer_head * bh; in sysv_free_block() local
105 struct buffer_head * bh; in sysv_new_block() local
164 struct buffer_head * bh = NULL; in sysv_count_free_blocks() local
/kernel/linux/linux-4.19/fs/sysv/
Dballoc.c31 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk()
46 struct buffer_head * bh; in sysv_free_block() local
105 struct buffer_head * bh; in sysv_new_block() local
164 struct buffer_head * bh = NULL; in sysv_count_free_blocks() local
/kernel/linux/linux-4.19/fs/ext2/
Dxattr.c69 #define HDR(bh) ((struct ext2_xattr_header *)((bh)->b_data)) argument
71 #define FIRST_ENTRY(bh) ENTRY(HDR(bh)+1) argument
81 # define ea_bdebug(bh, f...) do { \ argument
89 # define ea_bdebug(bh, f...) no_printk(f) argument
152 struct buffer_head *bh = NULL; in ext2_xattr_get() local
248 struct buffer_head *bh = NULL; in ext2_xattr_list() local
368 struct buffer_head *bh = NULL; in ext2_xattr_set() local
765 struct buffer_head *bh = NULL; in ext2_xattr_delete_inode() local
834 ext2_xattr_cache_insert(struct mb_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert()
911 struct buffer_head *bh; in ext2_xattr_cache_find() local
/kernel/linux/linux-4.19/fs/affs/
Daffs.h19 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
21 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) argument
22 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… argument
23 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) argument
24 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str… argument
25 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) argument
26 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) argument
247 struct buffer_head *bh; in affs_getzeroblk() local
262 struct buffer_head *bh; in affs_getemptyblk() local
273 affs_brelse(struct buffer_head *bh) in affs_brelse()
[all …]
/kernel/linux/linux-5.10/fs/affs/
Daffs.h19 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
21 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) argument
22 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… argument
23 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) argument
24 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str… argument
25 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) argument
26 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) argument
247 struct buffer_head *bh; in affs_getzeroblk() local
262 struct buffer_head *bh; in affs_getemptyblk() local
273 affs_brelse(struct buffer_head *bh) in affs_brelse()
[all …]

12345678910>>...22