Home
last modified time | relevance | path

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

12345678910

/fs/
Dbuffer.c54 void init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private) in init_buffer()
61 inline void touch_buffer(struct buffer_head *bh) in touch_buffer()
68 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
74 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
90 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() local
121 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
135 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
154 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
169 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
176 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
[all …]
Ddax.c71 static long dax_get_addr(struct buffer_head *bh, void __pmem **addr, in dax_get_addr()
91 static bool buffer_written(struct buffer_head *bh) in buffer_written()
103 static bool buffer_size_valid(struct buffer_head *bh) in buffer_size_valid()
110 struct buffer_head *bh) in dax_io()
213 struct buffer_head bh; in dax_do_io() local
278 static int copy_user_bh(struct page *to, struct buffer_head *bh, in copy_user_bh()
292 static int dax_insert_mapping(struct inode *inode, struct buffer_head *bh, in dax_insert_mapping()
362 struct buffer_head bh; in __dax_fault() local
533 struct buffer_head bh; in __dax_pmd_fault() local
739 struct buffer_head bh; in dax_zero_page_range() local
/fs/jbd2/
Dcommit.c35 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
66 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
95 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set()
125 struct buffer_head *bh; in journal_submit_commit_record() local
173 struct buffer_head *bh) in journal_wait_on_commit_record()
300 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data()
323 struct buffer_head *bh) in jbd2_descr_block_csum_set()
339 struct buffer_head *bh, __u32 sequence) in jbd2_block_tag_csum_set()
495 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
727 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c766 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
783 struct buffer_head *bh = jh2bh(jh); in jbd2_freeze_jh_data() local
815 struct buffer_head *bh; in do_get_write_access() local
1013 static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh, in jbd2_write_access_granted()
1076 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
1113 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
1212 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1277 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1291 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1331 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
[all …]
/fs/gfs2/
Dmeta_io.c38 struct buffer_head *bh, *head; in gfs2_aspace_writepage() local
119 struct buffer_head *bh; in gfs2_getbuf() local
162 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
184 struct buffer_head *bh; in gfs2_meta_new() local
204 struct buffer_head *bh; in gfs2_meta_read() local
245 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
264 void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) in gfs2_remove_from_journal()
308 struct buffer_head *bh; in gfs2_meta_wipe() local
341 struct buffer_head *bh; in gfs2_meta_indirect_buffer() local
366 struct buffer_head *first_bh, *bh; in gfs2_meta_ra() local
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()
74 #define buffer_busy(bh) \ argument
Ddir.c95 struct buffer_head *bh; in gfs2_dir_get_new_buffer() local
108 struct buffer_head *bh; in gfs2_dir_get_existing_buffer() local
189 struct buffer_head *bh; in gfs2_dir_write_data() local
292 struct buffer_head *bh; in gfs2_dir_read_data() local
614 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next()
649 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del()
692 struct buffer_head *bh) in gfs2_init_dirent()
710 struct buffer_head *bh, in gfs2_dirent_alloc()
774 struct buffer_head *bh; in gfs2_dirent_search() local
830 struct buffer_head *bh; in new_leaf() local
[all …]
/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
81 struct buffer_head *bh; in alloc_branch() local
152 struct buffer_head *bh, int create) in get_block()
277 struct buffer_head * bh; in free_branches() local
/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
278 struct buffer_head *bh; in hpfs_remove_btree() local
332 struct buffer_head *bh; in anode_lookup() local
340 struct buffer_head *bh; in hpfs_ea_read() local
363 struct buffer_head *bh; in hpfs_ea_write() local
387 struct buffer_head *bh; in hpfs_ea_remove() local
402 struct buffer_head *bh; in hpfs_truncate_btree() local
482 struct buffer_head *bh; in hpfs_remove_fnode() local
/fs/ocfs2/
Dbuffer_head_io.c53 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block()
109 struct buffer_head *bh; in ocfs2_read_blocks_sync() local
206 struct buffer_head *bh)) in ocfs2_read_blocks()
210 struct buffer_head *bh; in ocfs2_read_blocks() local
439 struct buffer_head *bh) in ocfs2_write_super_or_backup()
Djournal.c511 struct buffer_head *bh, in ocfs2_frozen_trigger()
530 struct buffer_head *bh, in ocfs2_dq_frozen_trigger()
550 struct buffer_head *bh, in ocfs2_db_frozen_trigger()
566 struct buffer_head *bh) in ocfs2_abort_trigger()
650 struct buffer_head *bh, in __ocfs2_journal_access()
726 struct buffer_head *bh, int type) in ocfs2_journal_access_di()
732 struct buffer_head *bh, int type) in ocfs2_journal_access_eb()
738 struct buffer_head *bh, int type) in ocfs2_journal_access_rb()
745 struct buffer_head *bh, int type) in ocfs2_journal_access_gd()
751 struct buffer_head *bh, int type) in ocfs2_journal_access_db()
[all …]
/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()
423 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal()
458 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf()
527 static int print_super_block(struct buffer_head *bh) in print_super_block()
578 static int print_desc_block(struct buffer_head *bh) in print_desc_block()
593 void print_block(struct buffer_head *bh, ...) in print_block()
713 static void check_leaf_block_head(struct buffer_head *bh) in check_leaf_block_head()
729 static void check_internal_block_head(struct buffer_head *bh) in check_internal_block_head()
747 void check_leaf(struct buffer_head *bh) in check_leaf()
[all …]
/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()
119 struct buffer_head *bh; in nilfs_copy_buffer() local
157 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
187 struct buffer_head *bh, *head; in nilfs_page_bug() local
421 struct buffer_head *bh, *head; in nilfs_clear_dirty_page() local
447 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local
547 struct buffer_head *bh, *head; in nilfs_find_uncommitted_extent() local
Dmdt.c43 struct buffer_head *bh, in nilfs_mdt_insert_new_block()
86 struct buffer_head *bh; in nilfs_mdt_create_block() local
129 struct buffer_head *bh; in nilfs_mdt_submit_block() local
182 struct buffer_head *first_bh, *bh; in nilfs_mdt_read_block() local
381 struct buffer_head *bh; in nilfs_mdt_forget_block() local
412 struct buffer_head *bh; in nilfs_mdt_mark_block_dirty() local
554 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_freeze_buffer()
586 nilfs_mdt_get_frozen_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_get_frozen_buffer()
608 struct buffer_head *bh; in nilfs_release_frozen_buffers() local
/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()
354 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
Dialloc.c56 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode()
73 struct buffer_head * bh; in refill_free_cache() local
105 struct buffer_head * bh; in sysv_free_inode() local
184 struct buffer_head * bh; in sysv_count_free_inodes() local
/fs/affs/
Daffs.h18 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
20 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) argument
21 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… argument
22 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) argument
23 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str… argument
24 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) argument
25 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) argument
239 struct buffer_head *bh; in affs_getzeroblk() local
254 struct buffer_head *bh; in affs_getemptyblk() local
265 affs_brelse(struct buffer_head *bh) in affs_brelse()
[all …]
Damigaffs.c23 affs_insert_hash(struct inode *dir, struct buffer_head *bh) in affs_insert_hash()
75 struct buffer_head *bh; in affs_remove_hash() local
143 struct buffer_head *bh, *link_bh = NULL; in affs_remove_link() local
234 struct buffer_head *bh; in affs_empty_dir() local
268 struct buffer_head *bh = NULL; in affs_remove_header() local
336 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) in affs_checksum_block()
354 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) in affs_fix_checksum()
Dinode.c19 struct buffer_head *bh; in affs_iget() local
169 struct buffer_head *bh; in affs_write_inode() local
293 struct buffer_head *bh; in affs_new_inode() local
349 struct buffer_head *bh; in affs_add_entry() 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
335 struct buffer_head *bh = omfs_bread(dir->i_sb, fsblock); in omfs_fill_chain() local
407 struct buffer_head *bh; in omfs_readdir() local
/fs/ext4/
Dext4_jbd2.c133 struct buffer_head *bh, in ext4_journal_abort_handle()
157 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
186 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget()
240 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access()
255 struct buffer_head *bh) in __ext4_handle_dirty_metadata()
315 struct buffer_head *bh = EXT4_SB(sb)->s_sbh; in __ext4_handle_dirty_super() local
Dbitmap.c20 struct buffer_head *bh, int sz) in ext4_inode_bitmap_csum_verify()
42 struct buffer_head *bh, int sz) in ext4_inode_bitmap_csum_set()
58 struct buffer_head *bh) in ext4_block_bitmap_csum_verify()
84 struct buffer_head *bh) in ext4_block_bitmap_csum_set()
/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
150 struct buffer_head *bh = NULL; in ext2_xattr_get() local
246 struct buffer_head *bh = NULL; in ext2_xattr_list() local
361 struct buffer_head *bh = NULL; in ext2_xattr_set() local
758 struct buffer_head *bh = NULL; in ext2_xattr_delete_inode() local
818 ext2_xattr_cache_insert(struct mb2_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert()
895 struct buffer_head *bh; in ext2_xattr_cache_find() local

12345678910