Home
last modified time | relevance | path

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

1234567891011

/linux-3.3/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()
100 static int inverted_lock(journal_t *journal, struct buffer_head *bh) in inverted_lock()
121 struct buffer_head *bh; in journal_write_commit_record() local
173 struct buffer_head *bh; in journal_submit_data_buffers() local
373 struct buffer_head *bh = jh2bh(jh); in journal_commit_transaction() local
430 struct buffer_head *bh; in journal_commit_transaction() local
534 struct buffer_head *bh; in journal_commit_transaction() local
647 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 …]
/linux-3.3/include/linux/
Djbd_common.h33 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh()
38 static inline void jbd_lock_bh_state(struct buffer_head *bh) in jbd_lock_bh_state()
43 static inline int jbd_trylock_bh_state(struct buffer_head *bh) in jbd_trylock_bh_state()
48 static inline int jbd_is_locked_bh_state(struct buffer_head *bh) in jbd_is_locked_bh_state()
53 static inline void jbd_unlock_bh_state(struct buffer_head *bh) in jbd_unlock_bh_state()
58 static inline void jbd_lock_bh_journal_head(struct buffer_head *bh) in jbd_lock_bh_journal_head()
63 static inline void jbd_unlock_bh_journal_head(struct buffer_head *bh) in jbd_unlock_bh_journal_head()
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
263 static inline void get_bh(struct buffer_head *bh) in get_bh()
268 static inline void put_bh(struct buffer_head *bh) in put_bh()
274 static inline void brelse(struct buffer_head *bh) in brelse()
280 static inline void bforget(struct buffer_head *bh) in bforget()
311 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
319 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer()
326 static inline int trylock_buffer(struct buffer_head *bh) in trylock_buffer()
331 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-3.3/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-3.3/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()
283 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
411 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
527 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
644 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
724 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
785 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c563 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
588 struct buffer_head *bh; in do_get_write_access() local
826 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
859 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
955 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1016 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1027 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1069 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
1186 jbd2_journal_release_buffer(handle_t *handle, struct buffer_head *bh) in jbd2_journal_release_buffer()
1208 int jbd2_journal_forget (handle_t *handle, struct buffer_head *bh) in jbd2_journal_forget()
[all …]
/linux-3.3/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.c39 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
95 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
130 static inline struct gfs2_log_descriptor *bh_log_desc(struct buffer_head *bh) in bh_log_desc()
135 static inline __be64 *bh_log_ptr(struct buffer_head *bh) in bh_log_ptr()
141 static inline __be64 *bh_ptr_end(struct buffer_head *bh) in bh_ptr_end()
149 struct buffer_head *bh = gfs2_log_get_buf(sdp); in gfs2_get_log_desc() local
195 struct buffer_head *bh; in buf_lo_before_commit() local
366 struct buffer_head *bh; in revoke_lo_before_commit() local
438 struct buffer_head *bh; in revoke_lo_scan_elements() local
550 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
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
Dlog.c101 struct buffer_head *bh; in gfs2_ail1_start_one() local
190 struct buffer_head *bh; in gfs2_ail1_empty_one() local
235 struct buffer_head *bh; in gfs2_ail1_wait() local
486 static void gfs2_log_write_endio(struct buffer_head *bh, int uptodate) in gfs2_log_write_endio()
506 struct buffer_head *bh; in gfs2_log_get_buf() local
528 static void gfs2_fake_write_endio(struct buffer_head *bh, int uptodate) in gfs2_fake_write_endio()
554 struct buffer_head *bh; in gfs2_log_fake_buf() local
596 struct buffer_head *bh; in log_write_header() local
665 struct buffer_head *bh; in gfs2_ordered_write() local
694 struct buffer_head *bh; in gfs2_ordered_wait() local
/linux-3.3/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-3.3/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
/linux-3.3/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-3.3/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
/linux-3.3/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-3.3/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
/linux-3.3/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-3.3/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
/linux-3.3/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()

1234567891011