| /linux/fs/ |
| H A D | buffer.c | 62 inline void touch_buffer(struct buffer_head *bh) in touch_buffer() 69 void __lock_buffer(struct buffer_head *bh) in __lock_buffer() 75 void unlock_buffer(struct buffer_head *bh) in unlock_buffer() 91 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() local 121 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer() 127 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error() 143 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() 158 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() 165 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() 186 struct buffer_head *bh; in __find_get_block_slow() local [all …]
|
| /linux/fs/gfs2/ |
| H A D | meta_io.c | 36 struct buffer_head *bh, *head; in gfs2_aspace_write_folio() local 131 struct buffer_head *bh; in gfs2_getbuf() local 173 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new() 195 struct buffer_head *bh; in gfs2_meta_new() local 207 struct buffer_head *bh = folio_buffers(folio); in gfs2_meta_read_endio() local 229 struct buffer_head *bh = *bhs; in gfs2_submit_bhs() local 263 struct buffer_head *bh, *bhs[2]; in gfs2_meta_read() local 323 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait() 344 void gfs2_remove_from_journal(struct buffer_head *bh, int meta) in gfs2_remove_from_journal() 394 struct buffer_head *bh; in gfs2_ail1_wipe() local [all …]
|
| H A D | dir.c | 93 struct buffer_head *bh; in gfs2_dir_get_new_buffer() local 106 struct buffer_head *bh; in gfs2_dir_get_existing_buffer() local 186 struct buffer_head *bh; in gfs2_dir_write_data() local 289 struct buffer_head *bh; in gfs2_dir_read_data() local 637 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() 672 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del() 712 struct buffer_head *bh, in do_init_dirent() 736 struct buffer_head *bh) in gfs2_init_dirent() 746 struct buffer_head *bh, in gfs2_dirent_split_alloc() 814 struct buffer_head *bh; in gfs2_dirent_search() local [all …]
|
| H A D | util.h | 99 struct buffer_head *bh) in gfs2_meta_check() 117 struct buffer_head *bh, in gfs2_metatype_check_i() 138 #define gfs2_metatype_check(sdp, bh, type) \ argument 141 static inline void gfs2_metatype_set(struct buffer_head *bh, u16 type, in gfs2_metatype_set() 167 #define gfs2_io_error_bh_wd(sdp, bh) \ argument 170 #define gfs2_io_error_bh(sdp, bh) \ argument
|
| /linux/include/linux/ |
| H A D | buffer_head.h | 161 static __always_inline void clear_buffer_uptodate(struct buffer_head *bh) in clear_buffer_uptodate() 166 static __always_inline int buffer_uptodate(const struct buffer_head *bh) in buffer_uptodate() 175 static inline unsigned long bh_offset(const struct buffer_head *bh) in bh_offset() 216 static inline void clean_bdev_bh_alias(struct buffer_head *bh) in clean_bdev_bh_alias() 294 static inline void get_bh(struct buffer_head *bh) in get_bh() 299 static inline void put_bh(struct buffer_head *bh) in put_bh() 321 static inline void brelse(struct buffer_head *bh) in brelse() 337 static inline void bforget(struct buffer_head *bh) in bforget() 408 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() 416 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer() [all …]
|
| /linux/fs/nilfs2/ |
| H A D | page.c | 34 struct buffer_head *bh = folio_buffers(folio); in __nilfs_get_folio_block() local 54 struct buffer_head *bh; in nilfs_grab_buffer() local 74 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer() 105 struct buffer_head *bh; in nilfs_copy_buffer() local 142 struct buffer_head *bh, *head; in nilfs_folio_buffers_clean() local 155 struct buffer_head *bh, *head; in nilfs_folio_bug() local 402 struct buffer_head *bh, *head; in nilfs_clear_folio_dirty() local 451 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local 535 struct buffer_head *bh, *head; in nilfs_find_uncommitted_extent() local
|
| H A D | mdt.c | 31 struct buffer_head *bh, in nilfs_mdt_insert_new_block() 77 struct buffer_head *bh; in nilfs_mdt_create_block() local 119 struct buffer_head *bh; in nilfs_mdt_submit_block() local 173 struct buffer_head *first_bh, *bh; in nilfs_mdt_read_block() local 358 struct buffer_head *bh; in nilfs_mdt_forget_block() local 568 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_freeze_buffer() 603 nilfs_mdt_get_frozen_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_get_frozen_buffer() 628 struct buffer_head *bh; in nilfs_release_frozen_buffers() local
|
| /linux/fs/hpfs/ |
| H A D | anode.c | 16 struct buffer_head *bh) in hpfs_bplus_lookup() 68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local 280 struct buffer_head *bh; in hpfs_remove_btree() local 334 struct buffer_head *bh; in anode_lookup() local 342 struct buffer_head *bh; in hpfs_ea_read() local 365 struct buffer_head *bh; in hpfs_ea_write() local 389 struct buffer_head *bh; in hpfs_ea_remove() local 404 struct buffer_head *bh; in hpfs_truncate_btree() local 484 struct buffer_head *bh; in hpfs_remove_fnode() local
|
| /linux/fs/minix/ |
| H A D | bitmap.c | 46 struct buffer_head *bh; in minix_free_block() local 78 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() local 107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode() 131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode() 160 struct buffer_head *bh = NULL; in minix_clear_inode() local 187 struct buffer_head *bh; in minix_free_inode() local 218 struct buffer_head * bh; in minix_new_inode() local
|
| H A D | itree_common.c | 7 struct buffer_head *bh; member 12 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain() 25 static inline block_t *block_end(struct buffer_head *bh) in block_end() 38 struct buffer_head *bh; in get_branch() local 82 struct buffer_head *bh; in alloc_branch() local 153 struct buffer_head *bh, int create) in get_block() 278 struct buffer_head * bh; in free_branches() local
|
| /linux/fs/jbd2/ |
| H A D | transaction.c | 907 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer() 920 struct buffer_head *bh = jh2bh(jh); in jbd2_freeze_jh_data() local 950 struct buffer_head *bh; in do_get_write_access() local 1148 static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh, in jbd2_write_access_granted() 1212 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access() 1266 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access() 1365 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access() 1427 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers() 1441 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local 1481 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata() [all …]
|
| /linux/fs/ext2/ |
| H A D | xattr.c | 69 #define HDR(bh) ((struct ext2_xattr_header *)((bh)->b_data)) argument 71 #define FIRST_ENTRY(bh) ENTRY(HDR(bh)+1) argument 81 # define ea_bdebug(bh, f...) do { \ argument 89 # define ea_bdebug(bh, f...) no_printk(f) argument 199 struct buffer_head *bh = NULL; in ext2_xattr_get() local 291 struct buffer_head *bh = NULL; in ext2_xattr_list() local 410 struct buffer_head *bh = NULL; in ext2_xattr_set() local 654 struct buffer_head *bh) in ext2_xattr_release_block() 819 struct buffer_head *bh = NULL; in ext2_xattr_delete_inode() local 872 ext2_xattr_cache_insert(struct mb_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert() [all …]
|
| /linux/lib/crypto/mpi/ |
| H A D | longlong.h | 114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 272 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 300 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 309 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 397 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 406 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument [all …]
|
| /linux/fs/ocfs2/ |
| H A D | buffer_head_io.c | 38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block() 94 struct buffer_head *bh; in ocfs2_read_blocks_sync() local 196 struct buffer_head *bh)) in ocfs2_read_blocks() 200 struct buffer_head *bh; in ocfs2_read_blocks() local 429 struct buffer_head *bh) in ocfs2_write_super_or_backup()
|
| H A D | journal.c | 527 struct buffer_head *bh, in ocfs2_frozen_trigger() 546 struct buffer_head *bh, in ocfs2_dq_frozen_trigger() 566 struct buffer_head *bh, in ocfs2_db_frozen_trigger() 582 struct buffer_head *bh) in ocfs2_abort_trigger() 657 struct buffer_head *bh, in __ocfs2_journal_access() 733 struct buffer_head *bh, int type) in ocfs2_journal_access_di() 743 struct buffer_head *bh, int type) in ocfs2_journal_access_eb() 753 struct buffer_head *bh, int type) in ocfs2_journal_access_rb() 763 struct buffer_head *bh, int type) in ocfs2_journal_access_gd() 773 struct buffer_head *bh, int type) in ocfs2_journal_access_db() [all …]
|
| H A D | quota_local.c | 94 static int ocfs2_modify_bh(struct inode *inode, struct buffer_head *bh, in ocfs2_modify_bh() 135 struct buffer_head **bh) in ocfs2_read_quota_block() 168 struct buffer_head *bh = NULL; in ocfs2_local_check_quota_file() local 279 static void olq_update_info(struct buffer_head *bh, void *private) in olq_update_info() 396 struct buffer_head *bh; in ocfs2_begin_quota_recovery() local 591 struct buffer_head *bh; in ocfs2_finish_quota_recovery() local 689 struct buffer_head *bh = NULL; in ocfs2_local_read_info() local 795 struct buffer_head *bh = ((struct ocfs2_mem_dqinfo *)info->dqi_priv) in ocfs2_local_write_info() local 869 static void olq_set_dquot(struct buffer_head *bh, void *private) in olq_set_dquot() 897 struct buffer_head *bh; in ocfs2_local_write_dquot() local [all …]
|
| H A D | uptodate.c | 228 struct buffer_head *bh) in ocfs2_buffer_cached() 258 struct buffer_head *bh) in ocfs2_buffer_uptodate() 281 struct buffer_head *bh) in ocfs2_buffer_read_ahead() 468 struct buffer_head *bh) in ocfs2_set_buffer_uptodate() 506 struct buffer_head *bh) in ocfs2_set_new_buffer_uptodate() 588 struct buffer_head *bh) in ocfs2_remove_from_cache()
|
| /linux/fs/affs/ |
| H A D | amigaffs.c | 26 affs_insert_hash(struct inode *dir, struct buffer_head *bh) in affs_insert_hash() 78 struct buffer_head *bh; in affs_remove_hash() local 146 struct buffer_head *bh, *link_bh = NULL; in affs_remove_link() local 237 struct buffer_head *bh; in affs_empty_dir() local 271 struct buffer_head *bh = NULL; in affs_remove_header() local 339 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) in affs_checksum_block() 357 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) in affs_fix_checksum()
|
| H A D | file.c | 53 struct buffer_head *bh; in affs_grow_extcache() local 120 affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext) in affs_alloc_extblock() 161 struct buffer_head *bh = AFFS_I(inode)->i_ext_bh; in affs_get_extblock() local 175 struct buffer_head *bh; in affs_get_extblock_slow() local 473 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 492 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 511 struct buffer_head *bh, tmp_bh; in affs_getemptyblk_ino() local 531 struct buffer_head *bh; in affs_do_read_folio_ofs() local 563 struct buffer_head *bh, *prev_bh; in affs_extent_file_ofs() local 697 struct buffer_head *bh, *prev_bh; in affs_write_end_ofs() local [all …]
|
| H A D | inode.c | 21 struct buffer_head *bh; in affs_iget() local 169 struct buffer_head *bh; in affs_write_inode() local 296 struct buffer_head *bh; in affs_new_inode() local 352 struct buffer_head *bh; in affs_add_entry() local
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_mass_storage.c | 333 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length() 417 struct fsg_buffhd *bh = req->context; in bulk_in_complete() local 433 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local 546 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer() 564 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer() 583 struct fsg_buffhd *bh) in sleep_thread() 610 struct fsg_buffhd *bh; in do_read() local 741 struct fsg_buffhd *bh; in do_write() local 957 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify() local 1053 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry() [all …]
|
| /linux/fs/ext4/ |
| H A D | mmp.c | 43 struct buffer_head *bh) in write_mmp_block_thawed() 58 static int write_mmp_block(struct super_block *sb, struct buffer_head *bh) in write_mmp_block() 76 static int read_mmp_block(struct super_block *sb, struct buffer_head **bh, in read_mmp_block() 140 struct buffer_head *bh = EXT4_SB(sb)->s_mmp_bh; in kmmpd() local 283 struct buffer_head *bh = NULL; in ext4_multi_mount_protect() local
|
| H A D | namei.c | 58 struct buffer_head *bh; in ext4_append() local 130 struct buffer_head *bh; in __ext4_read_dirblock() local 274 struct buffer_head *bh; member 301 void ext4_initialize_dirent_tail(struct buffer_head *bh, in ext4_initialize_dirent_tail() 314 struct buffer_head *bh) in get_dirent_tail() 366 int ext4_dirblock_csum_verify(struct inode *inode, struct buffer_head *bh) in ext4_dirblock_csum_verify() 387 struct buffer_head *bh) in ext4_dirblock_csum_set() 406 struct buffer_head *bh) in ext4_handle_dirty_dirblock() 516 struct buffer_head *bh) in ext4_handle_dirty_dx_node() 716 struct buffer_head *bh; in dx_show_entries() local [all …]
|
| H A D | symlink.c | 30 struct buffer_head *bh = NULL; in ext4_encrypted_get_link() local 68 static void ext4_free_link(void *bh) in ext4_free_link() 76 struct buffer_head *bh; in ext4_get_link() local
|
| /linux/fs/fat/ |
| H A D | dir.c | 42 struct buffer_head *bh, in fat_make_i_pos() 54 struct buffer_head *bh; in fat_dir_readahead() local 83 struct buffer_head **bh, struct msdos_dir_entry **de) in fat__get_entry() 117 struct buffer_head **bh, in fat_get_entry() 292 struct buffer_head **bh, struct msdos_dir_entry **de, in fat_parse_long() 480 struct buffer_head *bh = NULL; in fat_search_long() local 571 struct buffer_head *bh; in __fat_readdir() local 882 struct buffer_head **bh, in fat_get_short_entry() 902 int fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh, in fat_get_dotdot_entry() 919 struct buffer_head *bh; in fat_dir_empty() local [all …]
|