Home
last modified time | relevance | path

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

12345678910

/fs/jbd/
Dcommit.c29 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
53 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
86 static void release_data_buffer(struct buffer_head *bh) in release_data_buffer()
105 static int inverted_lock(journal_t *journal, struct buffer_head *bh) in inverted_lock()
126 struct buffer_head *bh; in journal_write_commit_record() local
178 struct buffer_head *bh; in journal_submit_data_buffers() local
378 struct buffer_head *bh = jh2bh(jh); in journal_commit_transaction() local
435 struct buffer_head *bh; in journal_commit_transaction() local
539 struct buffer_head *bh; in journal_commit_transaction() local
652 struct buffer_head *bh = wbuf[i]; in journal_commit_transaction() local
[all …]
Dtransaction.c498 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
523 struct buffer_head *bh; in do_get_write_access() local
752 int journal_get_write_access(handle_t *handle, struct buffer_head *bh) in journal_get_write_access()
785 int journal_get_create_access(handle_t *handle, struct buffer_head *bh) in journal_get_create_access()
881 int journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in journal_get_undo_access()
948 int journal_dirty_data(handle_t *handle, struct buffer_head *bh) in journal_dirty_data()
1138 int journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in journal_dirty_metadata()
1214 journal_release_buffer(handle_t *handle, struct buffer_head *bh) in journal_release_buffer()
1236 int journal_forget (handle_t *handle, struct buffer_head *bh) in journal_forget()
1578 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()
63 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
70 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
83 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
98 static int quiet_error(struct buffer_head *bh) in quiet_error()
106 static void buffer_io_error(struct buffer_head *bh) in buffer_io_error()
122 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
137 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
144 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
183 struct buffer_head *bh; in __find_get_block_slow() local
[all …]
/fs/gfs2/
Dmeta_io.c38 struct buffer_head *bh, *head; in gfs2_aspace_writepage() local
132 struct buffer_head *bh; in gfs2_getbuf() local
172 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
194 struct buffer_head *bh; in gfs2_meta_new() local
214 struct buffer_head *bh; in gfs2_meta_read() local
252 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
278 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, in gfs2_attach_bufdata()
307 void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) in gfs2_remove_from_journal()
355 struct buffer_head *bh; in gfs2_meta_wipe() local
389 struct buffer_head *bh; in gfs2_meta_indirect_buffer() local
[all …]
Dlops.c40 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
96 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
131 static inline struct gfs2_log_descriptor *bh_log_desc(struct buffer_head *bh) in bh_log_desc()
136 static inline __be64 *bh_log_ptr(struct buffer_head *bh) in bh_log_ptr()
142 static inline __be64 *bh_ptr_end(struct buffer_head *bh) in bh_ptr_end()
154 static void gfs2_log_write_endio(struct buffer_head *bh, int uptodate) in gfs2_log_write_endio()
174 struct buffer_head *bh; in gfs2_log_get_buf() local
196 static void gfs2_fake_write_endio(struct buffer_head *bh, int uptodate) in gfs2_fake_write_endio()
222 struct buffer_head *bh; in gfs2_log_fake_buf() local
242 struct buffer_head *bh = gfs2_log_get_buf(sdp); in gfs2_get_log_desc() local
[all …]
Dutil.h83 struct buffer_head *bh, in gfs2_meta_check_i()
95 #define gfs2_meta_check(sdp, bh) \ argument
105 struct buffer_head *bh, in gfs2_metatype_check_i()
122 #define gfs2_metatype_check(sdp, bh, type) \ argument
125 static inline void gfs2_metatype_set(struct buffer_head *bh, u16 type, in gfs2_metatype_set()
145 #define gfs2_io_error_bh(sdp, bh) \ argument
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()
78 #define buffer_busy(bh) \ argument
/fs/jbd2/
Dcommit.c35 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
59 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
103 struct buffer_head *bh; in journal_submit_commit_record() local
154 struct buffer_head *bh) in journal_wait_on_commit_record()
282 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
425 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
541 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
658 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
758 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
819 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c594 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
619 struct buffer_head *bh; in do_get_write_access() local
857 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
890 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
986 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1047 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1061 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1103 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
1222 jbd2_journal_release_buffer(handle_t *handle, struct buffer_head *bh) in jbd2_journal_release_buffer()
1244 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.c10 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
37 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget()
91 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access()
106 struct buffer_head *bh) in __ext4_handle_dirty_metadata()
143 struct buffer_head *bh = EXT4_SB(sb)->s_sbh; in __ext4_handle_dirty_super() local
/fs/minix/
Dbitmap.c45 struct buffer_head *bh; in minix_free_block() local
77 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() local
106 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
130 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
159 struct buffer_head *bh = NULL; in minix_clear_inode() local
186 struct buffer_head *bh; in minix_free_inode() local
217 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/ocfs2/
Dbuffer_head_io.c53 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
107 struct buffer_head *bh; in ocfs2_read_blocks_sync() local
180 struct buffer_head *bh)) in ocfs2_read_blocks()
184 struct buffer_head *bh; in ocfs2_read_blocks() local
394 struct buffer_head *bh) in ocfs2_write_super_or_backup()
Djournal.c464 struct buffer_head *bh, in ocfs2_frozen_trigger()
483 struct buffer_head *bh, in ocfs2_dq_frozen_trigger()
503 struct buffer_head *bh, in ocfs2_db_frozen_trigger()
519 struct buffer_head *bh) in ocfs2_abort_trigger()
605 struct buffer_head *bh, in __ocfs2_journal_access()
664 struct buffer_head *bh, int type) in ocfs2_journal_access_di()
670 struct buffer_head *bh, int type) in ocfs2_journal_access_eb()
676 struct buffer_head *bh, int type) in ocfs2_journal_access_rb()
683 struct buffer_head *bh, int type) in ocfs2_journal_access_gd()
689 struct buffer_head *bh, int type) in ocfs2_journal_access_db()
[all …]
/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/nilfs2/
Dpage.c48 struct buffer_head *bh; in __nilfs_get_page_block() local
69 struct buffer_head *bh; in nilfs_grab_buffer() local
89 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer()
120 struct buffer_head *bh; in nilfs_copy_buffer() local
158 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
188 struct buffer_head *bh, *head; in nilfs_page_bug() local
385 struct buffer_head *bh, *head; in nilfs_clear_dirty_pages() local
415 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local
517 struct buffer_head *bh, *head; in nilfs_find_uncommitted_extent() local
Dmdt.c42 struct buffer_head *bh, in nilfs_mdt_insert_new_block()
82 struct buffer_head *bh; in nilfs_mdt_create_block() local
125 struct buffer_head *bh; in nilfs_mdt_submit_block() local
176 struct buffer_head *first_bh, *bh; in nilfs_mdt_read_block() local
321 struct buffer_head *bh; in nilfs_mdt_forget_block() local
352 struct buffer_head *bh; in nilfs_mdt_mark_block_dirty() local
485 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_freeze_buffer()
517 nilfs_mdt_get_frozen_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_get_frozen_buffer()
539 struct buffer_head *bh; in nilfs_release_frozen_buffers() 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()
416 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal()
451 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf()
520 static int print_super_block(struct buffer_head *bh) in print_super_block()
569 static int print_desc_block(struct buffer_head *bh) in print_desc_block()
584 void print_block(struct buffer_head *bh, ...) //int print_mode, int first, int last) in print_block()
704 static void check_leaf_block_head(struct buffer_head *bh) in check_leaf_block_head()
720 static void check_internal_block_head(struct buffer_head *bh) in check_internal_block_head()
738 void check_leaf(struct buffer_head *bh) in check_leaf()
[all …]
/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
230 struct buffer_head *bh; in affs_getzeroblk() local
245 struct buffer_head *bh; in affs_getemptyblk() local
256 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
240 struct buffer_head *bh; in affs_empty_dir() local
274 struct buffer_head *bh = NULL; in affs_remove_header() local
342 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) in affs_checksum_block()
360 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
440 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
459 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
478 struct buffer_head *bh, tmp_bh; in affs_getemptyblk_ino() local
499 struct buffer_head *bh; in affs_do_readpage_ofs() local
534 struct buffer_head *bh, *prev_bh; in affs_extent_file_ofs() local
662 struct buffer_head *bh, *prev_bh; in affs_write_end_ofs() local
[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/omfs/
Ddir.c38 struct buffer_head *bh; in omfs_scan_list() local
70 struct buffer_head *bh; in omfs_find_entry() local
87 struct buffer_head *bh; in omfs_make_empty() local
117 struct buffer_head *bh; in omfs_add_link() local
163 struct buffer_head *bh, *bh2; in omfs_delete_entry() local
219 struct buffer_head *bh; in omfs_dir_is_empty() local
296 struct buffer_head *bh; in omfs_lookup() local
334 struct buffer_head *bh; in omfs_fill_chain() local
409 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
247 struct buffer_head *bh = NULL; in ext2_xattr_list() local
363 struct buffer_head *bh = NULL; in ext2_xattr_set() local
758 struct buffer_head *bh = NULL; in ext2_xattr_delete_inode() local
828 ext2_xattr_cache_insert(struct buffer_head *bh) in ext2_xattr_cache_insert()
914 struct buffer_head *bh; in ext2_xattr_cache_find() local

12345678910