Home
last modified time | relevance | path

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

12345678

/fs/jbd/
Dcommit.c27 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
51 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
84 static void release_data_buffer(struct buffer_head *bh) in release_data_buffer()
98 static int inverted_lock(journal_t *journal, struct buffer_head *bh) in inverted_lock()
119 struct buffer_head *bh; in journal_write_commit_record() local
192 struct buffer_head *bh; in journal_submit_data_buffers() local
394 struct buffer_head *bh = jh2bh(jh); in journal_commit_transaction() local
441 struct buffer_head *bh; in journal_commit_transaction() local
545 struct buffer_head *bh; in journal_commit_transaction() local
658 struct buffer_head *bh = wbuf[i]; in journal_commit_transaction() local
[all …]
Dtransaction.c515 struct buffer_head *bh = jh2bh(jh); in jbd_unexpected_dirty_buffer() local
536 struct buffer_head *bh; in do_get_write_access() local
764 int journal_get_write_access(handle_t *handle, struct buffer_head *bh) in journal_get_write_access()
797 int journal_get_create_access(handle_t *handle, struct buffer_head *bh) in journal_get_create_access()
885 int journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in journal_get_undo_access()
952 int journal_dirty_data(handle_t *handle, struct buffer_head *bh) in journal_dirty_data()
1143 int journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in journal_dirty_metadata()
1219 journal_release_buffer(handle_t *handle, struct buffer_head *bh) in journal_release_buffer()
1241 int journal_forget (handle_t *handle, struct buffer_head *bh) in journal_forget()
1583 struct buffer_head *bh = jh2bh(jh); in __journal_temp_unlink_buffer() local
[all …]
/fs/
Dbuffer.c50 init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private) in init_buffer()
59 struct buffer_head *bh in sync_buffer() local
70 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
77 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
89 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
103 static int quiet_error(struct buffer_head *bh) in quiet_error()
111 static void buffer_io_error(struct buffer_head *bh) in buffer_io_error()
127 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
142 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
148 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
[all …]
/fs/jbd2/
Dcommit.c33 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
57 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
101 struct buffer_head *bh; in journal_submit_commit_record() local
173 struct buffer_head *bh) in journal_wait_on_commit_record()
320 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
453 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
556 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
669 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
741 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
797 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c525 struct buffer_head *bh = jh2bh(jh); in jbd_unexpected_dirty_buffer() local
546 struct buffer_head *bh; in do_get_write_access() local
781 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
814 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
904 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
965 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
976 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_commit_trigger() local
1014 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
1090 jbd2_journal_release_buffer(handle_t *handle, struct buffer_head *bh) in jbd2_journal_release_buffer()
1112 int jbd2_journal_forget (handle_t *handle, struct buffer_head *bh) in jbd2_journal_forget()
[all …]
/fs/ext3/
Dext3_jbd.c8 struct buffer_head *bh) in __ext3_journal_get_undo_access()
17 struct buffer_head *bh) in __ext3_journal_get_write_access()
26 struct buffer_head *bh) in __ext3_journal_forget()
35 unsigned long blocknr, struct buffer_head *bh) in __ext3_journal_revoke()
44 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_create_access()
53 handle_t *handle, struct buffer_head *bh) in __ext3_journal_dirty_metadata()
/fs/ext4/
Dext4_jbd2.c8 struct buffer_head *bh) in __ext4_journal_get_undo_access()
22 struct buffer_head *bh) in __ext4_journal_get_write_access()
36 struct buffer_head *bh) in __ext4_journal_forget()
50 ext4_fsblk_t blocknr, struct buffer_head *bh) in __ext4_journal_revoke()
64 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access()
78 struct inode *inode, struct buffer_head *bh) in __ext4_handle_dirty_metadata()
Dext4_jbd2.h146 #define ext4_journal_get_undo_access(handle, bh) \ argument
148 #define ext4_journal_get_write_access(handle, bh) \ argument
150 #define ext4_journal_revoke(handle, blocknr, bh) \ argument
152 #define ext4_journal_get_create_access(handle, bh) \ argument
154 #define ext4_journal_forget(handle, bh) \ argument
156 #define ext4_handle_dirty_metadata(handle, inode, bh) \ argument
178 struct buffer_head *bh) in ext4_handle_release_buffer()
199 struct buffer_head *bh) in ext4_journal_release_buffer()
/fs/minix/
Dbitmap.c25 struct buffer_head *bh; in count_free() local
56 struct buffer_head *bh; in minix_free_block() local
88 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() local
115 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
139 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
168 struct buffer_head *bh = NULL; in minix_clear_inode() local
195 struct buffer_head *bh; in minix_free_inode() local
228 struct buffer_head * bh; in minix_new_inode() local
Ditree_common.c6 struct buffer_head *bh; member
11 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain()
24 static inline block_t *block_end(struct buffer_head *bh) in block_end()
37 struct buffer_head *bh; in get_branch() local
80 struct buffer_head *bh; in alloc_branch() local
146 struct buffer_head *bh, int create) in get_block()
271 struct buffer_head * bh; in free_branches() local
/fs/gfs2/
Dmeta_io.h17 static inline void gfs2_buffer_clear(struct buffer_head *bh) in gfs2_buffer_clear()
22 static inline void gfs2_buffer_clear_tail(struct buffer_head *bh, int head) in gfs2_buffer_clear_tail()
71 #define buffer_busy(bh) \ argument
73 #define buffer_in_io(bh) \ argument
Dmeta_io.c145 struct buffer_head *bh; in gfs2_getbuf() local
185 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
207 struct buffer_head *bh; in gfs2_meta_new() local
249 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
275 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, in gfs2_attach_bufdata()
304 void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) in gfs2_remove_from_journal()
346 struct buffer_head *bh; in gfs2_meta_wipe() local
380 struct buffer_head *bh; in gfs2_meta_indirect_buffer() local
413 struct buffer_head *first_bh, *bh; in gfs2_meta_ra() local
Dlops.c37 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
65 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
96 static inline struct gfs2_log_descriptor *bh_log_desc(struct buffer_head *bh) in bh_log_desc()
101 static inline __be64 *bh_log_ptr(struct buffer_head *bh) in bh_log_ptr()
107 static inline __be64 *bh_ptr_end(struct buffer_head *bh) in bh_ptr_end()
115 struct buffer_head *bh = gfs2_log_get_buf(sdp); in gfs2_get_log_desc() local
157 struct buffer_head *bh; in buf_lo_before_commit() local
324 struct buffer_head *bh; in revoke_lo_before_commit() local
384 struct buffer_head *bh; in revoke_lo_scan_elements() local
532 static void gfs2_check_magic(struct buffer_head *bh) in gfs2_check_magic()
[all …]
Dutil.h81 struct buffer_head *bh, in gfs2_meta_check_i()
93 #define gfs2_meta_check(sdp, bh) \ argument
103 struct buffer_head *bh, in gfs2_metatype_check_i()
120 #define gfs2_metatype_check(sdp, bh, type) \ argument
123 static inline void gfs2_metatype_set(struct buffer_head *bh, u16 type, in gfs2_metatype_set()
143 #define gfs2_io_error_bh(sdp, bh) \ argument
Ddir.c92 struct buffer_head *bh; in gfs2_dir_get_new_buffer() local
105 struct buffer_head *bh; in gfs2_dir_get_existing_buffer() local
186 struct buffer_head *bh; in gfs2_dir_write_data() local
300 struct buffer_head *bh; in gfs2_dir_read_data() local
541 static int dirent_first(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_first()
588 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next()
623 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del()
666 struct buffer_head *bh) in gfs2_init_dirent()
684 struct buffer_head *bh, in gfs2_dirent_alloc()
753 struct buffer_head *bh; in gfs2_dirent_search() local
[all …]
/fs/ocfs2/
Dbuffer_head_io.c54 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
108 struct buffer_head *bh; in ocfs2_read_blocks_sync() local
183 struct buffer_head *bh)) in ocfs2_read_blocks()
187 struct buffer_head *bh; in ocfs2_read_blocks() local
406 struct buffer_head *bh) in ocfs2_write_super_or_backup()
/fs/hpfs/
Danode.c15 struct buffer_head *bh) in hpfs_bplus_lookup()
67 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
273 struct buffer_head *bh; in hpfs_remove_btree() local
327 struct buffer_head *bh; in anode_lookup() local
335 struct buffer_head *bh; in hpfs_ea_read() local
358 struct buffer_head *bh; in hpfs_ea_write() local
382 struct buffer_head *bh; in hpfs_ea_remove() local
397 struct buffer_head *bh; in hpfs_truncate_btree() local
477 struct buffer_head *bh; in hpfs_remove_fnode() local
/fs/reiserfs/
Dprints.c134 static void sprintf_block_head(char *buf, struct buffer_head *bh) in sprintf_block_head()
140 static void sprintf_buffer_head(char *buf, struct buffer_head *bh) in sprintf_buffer_head()
388 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal()
423 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf()
492 static int print_super_block(struct buffer_head *bh) in print_super_block()
541 static int print_desc_block(struct buffer_head *bh) in print_desc_block()
556 void print_block(struct buffer_head *bh, ...) //int print_mode, int first, int last) in print_block()
676 static void check_leaf_block_head(struct buffer_head *bh) in check_leaf_block_head()
694 static void check_internal_block_head(struct buffer_head *bh) in check_internal_block_head()
718 void check_leaf(struct buffer_head *bh) in check_leaf()
[all …]
/fs/sysv/
Dballoc.c30 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk()
45 struct buffer_head * bh; in sysv_free_block() local
104 struct buffer_head * bh; in sysv_new_block() local
163 struct buffer_head * bh = NULL; in sysv_count_free_blocks() local
/fs/affs/
Daffs.h19 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
29 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) argument
30 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… argument
31 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) argument
32 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str… argument
33 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) argument
34 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) argument
229 struct buffer_head *bh; in affs_getzeroblk() local
244 struct buffer_head *bh; in affs_getemptyblk() local
255 affs_brelse(struct buffer_head *bh) in affs_brelse()
[all …]
Damigaffs.c27 affs_insert_hash(struct inode *dir, struct buffer_head *bh) in affs_insert_hash()
79 struct buffer_head *bh; in affs_remove_hash() local
153 struct buffer_head *bh = NULL, *link_bh = NULL; in affs_remove_link() local
236 struct buffer_head *bh; in affs_empty_dir() local
270 struct buffer_head *bh = NULL; in affs_remove_header() local
338 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) in affs_checksum_block()
356 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) in affs_fix_checksum()
Dfile.c76 struct buffer_head *bh; in affs_grow_extcache() local
143 affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext) in affs_alloc_extblock()
184 struct buffer_head *bh = AFFS_I(inode)->i_ext_bh; in affs_get_extblock() local
198 struct buffer_head *bh; in affs_get_extblock_slow() local
432 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
451 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
470 struct buffer_head *bh, tmp_bh; in affs_getemptyblk_ino() local
491 struct buffer_head *bh; in affs_do_readpage_ofs() local
526 struct buffer_head *bh, *prev_bh; in affs_extent_file_ofs() local
654 struct buffer_head *bh, *prev_bh; in affs_write_end_ofs() local
[all …]
/fs/qnx4/
Dnamei.c34 struct buffer_head *bh, unsigned long *offset) in qnx4_match()
72 struct buffer_head *bh; in qnx4_find_entry() local
114 struct buffer_head *bh; in qnx4_lookup() local
158 struct buffer_head *bh; in qnx4_rmdir() local
206 struct buffer_head *bh; in qnx4_unlink() local
/fs/omfs/
Ddir.c39 struct buffer_head *bh; in omfs_scan_list() local
72 struct buffer_head *bh; in omfs_find_entry() local
90 struct buffer_head *bh; in omfs_make_empty() local
120 struct buffer_head *bh; in omfs_add_link() local
166 struct buffer_head *bh, *bh2; in omfs_delete_entry() local
223 struct buffer_head *bh; in omfs_dir_is_empty() local
310 struct buffer_head *bh; in omfs_lookup() local
348 struct buffer_head *bh; in omfs_fill_chain() local
394 struct buffer_head *bh; in omfs_rename() local
439 struct buffer_head *bh; in omfs_readdir() local
/fs/ext2/
Dxattr.c67 #define HDR(bh) ((struct ext2_xattr_header *)((bh)->b_data)) argument
69 #define FIRST_ENTRY(bh) ENTRY(HDR(bh)+1) argument
79 # define ea_bdebug(bh, f...) do { \ argument
152 struct buffer_head *bh = NULL; in ext2_xattr_get() local
254 struct buffer_head *bh = NULL; in ext2_xattr_list() local
367 struct buffer_head *bh = NULL; in ext2_xattr_set() local
757 struct buffer_head *bh = NULL; in ext2_xattr_delete_inode() local
827 ext2_xattr_cache_insert(struct buffer_head *bh) in ext2_xattr_cache_insert()
913 struct buffer_head *bh; in ext2_xattr_cache_find() local

12345678