Home
last modified time | relevance | path

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

1234567891011

/linux-2.6.39/fs/jbd/
Dcommit.c28 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
52 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
85 static void release_data_buffer(struct buffer_head *bh) in release_data_buffer()
99 static int inverted_lock(journal_t *journal, struct buffer_head *bh) in inverted_lock()
120 struct buffer_head *bh; in journal_write_commit_record() local
172 struct buffer_head *bh; in journal_submit_data_buffers() local
375 struct buffer_head *bh = jh2bh(jh); in journal_commit_transaction() local
425 struct buffer_head *bh; in journal_commit_transaction() local
533 struct buffer_head *bh; in journal_commit_transaction() local
646 struct buffer_head *bh = wbuf[i]; in journal_commit_transaction() local
[all …]
Dtransaction.c491 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
516 struct buffer_head *bh; in do_get_write_access() local
746 int journal_get_write_access(handle_t *handle, struct buffer_head *bh) in journal_get_write_access()
779 int journal_get_create_access(handle_t *handle, struct buffer_head *bh) in journal_get_create_access()
876 int journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in journal_get_undo_access()
943 int journal_dirty_data(handle_t *handle, struct buffer_head *bh) in journal_dirty_data()
1134 int journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in journal_dirty_metadata()
1210 journal_release_buffer(handle_t *handle, struct buffer_head *bh) in journal_release_buffer()
1232 int journal_forget (handle_t *handle, struct buffer_head *bh) in journal_forget()
1576 struct buffer_head *bh = jh2bh(jh); in __journal_temp_unlink_buffer() local
[all …]
/linux-2.6.39/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 …]
/linux-2.6.39/fs/jbd2/
Dcommit.c36 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
60 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
104 struct buffer_head *bh; in journal_submit_commit_record() local
155 struct buffer_head *bh) in journal_wait_on_commit_record()
284 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
418 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
528 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
645 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
721 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
777 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c559 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
584 struct buffer_head *bh; in do_get_write_access() local
824 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
857 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
956 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1017 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1028 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1066 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
1142 jbd2_journal_release_buffer(handle_t *handle, struct buffer_head *bh) in jbd2_journal_release_buffer()
1164 int jbd2_journal_forget (handle_t *handle, struct buffer_head *bh) in jbd2_journal_forget()
[all …]
/linux-2.6.39/fs/gfs2/
Dmeta_io.c37 struct buffer_head *bh, *head; in gfs2_aspace_writepage() local
131 struct buffer_head *bh; in gfs2_getbuf() local
171 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
193 struct buffer_head *bh; in gfs2_meta_new() local
213 struct buffer_head *bh; in gfs2_meta_read() local
251 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
277 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, in gfs2_attach_bufdata()
306 void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) in gfs2_remove_from_journal()
353 struct buffer_head *bh; in gfs2_meta_wipe() local
387 struct buffer_head *bh; in gfs2_meta_indirect_buffer() local
[all …]
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
80 #define buffer_in_io(bh) \ argument
Dlops.c39 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
71 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
106 static inline struct gfs2_log_descriptor *bh_log_desc(struct buffer_head *bh) in bh_log_desc()
111 static inline __be64 *bh_log_ptr(struct buffer_head *bh) in bh_log_ptr()
117 static inline __be64 *bh_ptr_end(struct buffer_head *bh) in bh_ptr_end()
125 struct buffer_head *bh = gfs2_log_get_buf(sdp); in gfs2_get_log_desc() local
171 struct buffer_head *bh; in buf_lo_before_commit() local
338 struct buffer_head *bh; in revoke_lo_before_commit() local
398 struct buffer_head *bh; in revoke_lo_scan_elements() local
546 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
/linux-2.6.39/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()
/linux-2.6.39/fs/ext4/
Dext4_jbd2.c10 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_undo_access()
24 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
51 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget()
105 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access()
120 struct buffer_head *bh) in __ext4_handle_dirty_metadata()
155 struct buffer_head *bh = EXT4_SB(sb)->s_sbh; in __ext4_handle_dirty_super() local
/linux-2.6.39/fs/minix/
Dbitmap.c26 struct buffer_head *bh; in count_free() local
57 struct buffer_head *bh; in minix_free_block() local
89 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() local
116 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
140 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
169 struct buffer_head *bh = NULL; in minix_clear_inode() local
196 struct buffer_head *bh; in minix_free_inode() local
227 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
/linux-2.6.39/include/linux/
Dbuffer_head.h128 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) argument
129 #define touch_buffer(bh) mark_page_accessed(bh->b_page) argument
247 static inline void get_bh(struct buffer_head *bh) in get_bh()
252 static inline void put_bh(struct buffer_head *bh) in put_bh()
258 static inline void brelse(struct buffer_head *bh) in brelse()
264 static inline void bforget(struct buffer_head *bh) in bforget()
295 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
303 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer()
310 static inline int trylock_buffer(struct buffer_head *bh) in trylock_buffer()
315 static inline void lock_buffer(struct buffer_head *bh) in lock_buffer()
Dext3_jbd.h116 struct buffer_head *bh) in ext3_journal_release_buffer()
142 #define ext3_journal_get_undo_access(handle, bh) \ argument
144 #define ext3_journal_get_write_access(handle, bh) \ argument
146 #define ext3_journal_revoke(handle, blocknr, bh) \ argument
148 #define ext3_journal_get_create_access(handle, bh) \ argument
150 #define ext3_journal_dirty_metadata(handle, bh) \ argument
152 #define ext3_journal_forget(handle, bh) \ argument
/linux-2.6.39/fs/nilfs2/
Dpage.c49 struct buffer_head *bh; in __nilfs_get_page_block() local
69 void nilfs_mark_buffer_dirty(struct buffer_head *bh) in nilfs_mark_buffer_dirty()
83 struct buffer_head *bh; in nilfs_grab_buffer() local
103 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer()
134 struct buffer_head *bh; in nilfs_copy_buffer() local
172 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
205 struct buffer_head *bh, *head; in nilfs_page_bug() local
228 struct buffer_head *bh, *head, *tail; in nilfs_alloc_private_page() local
452 struct buffer_head *bh, *head; in nilfs_clear_dirty_pages() local
482 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local
[all …]
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
/linux-2.6.39/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()
/linux-2.6.39/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
/linux-2.6.39/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 …]
/linux-2.6.39/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
Dsuper.c178 static int detect_xenix(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_xenix()
199 static int detect_sysv(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_sysv()
252 static int detect_coherent(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_coherent()
265 static int detect_sysv_odd(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_sysv_odd()
355 struct buffer_head *bh1, *bh = NULL; in sysv_fill_super() local
437 static int v7_sanity_check(struct super_block *sb, struct buffer_head *bh) in v7_sanity_check()
476 struct buffer_head *bh; in v7_fill_super() local
/linux-2.6.39/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()
/linux-2.6.39/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
294 struct buffer_head *bh; in omfs_lookup() local
332 struct buffer_head *bh; in omfs_fill_chain() local
407 struct buffer_head *bh; in omfs_readdir() local

1234567891011