| /linux/fs/ |
| H A D | buffer.c | 63 inline void touch_buffer(struct buffer_head *bh) in touch_buffer() 70 void __lock_buffer(struct buffer_head *bh) in __lock_buffer() 76 void unlock_buffer(struct buffer_head *bh) in unlock_buffer() 92 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() local 122 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer() 128 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error() 144 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() 159 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() 166 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() 187 struct buffer_head *bh; in __find_get_block_slow() local [all …]
|
| /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
|
| H A D | segbuf.h | 99 #define NILFS_SEGBUF_NEXT_BH(bh) \ argument 102 #define NILFS_SEGBUF_BH_IS_LAST(bh, head) ((bh)->b_assoc_buffers.next == head) argument 136 struct buffer_head *bh) in nilfs_segbuf_add_segsum_buffer() 145 struct buffer_head *bh) in nilfs_segbuf_add_payload_buffer() 153 struct buffer_head *bh) in nilfs_segbuf_add_file_buffer()
|
| /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() 1267 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access() 1375 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access() 1437 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers() 1451 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local 1491 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 | 524 struct buffer_head *bh, in ocfs2_frozen_trigger() 543 struct buffer_head *bh, in ocfs2_dq_frozen_trigger() 563 struct buffer_head *bh, in ocfs2_db_frozen_trigger() 579 struct buffer_head *bh) in ocfs2_abort_trigger() 654 struct buffer_head *bh, in __ocfs2_journal_access() 730 struct buffer_head *bh, int type) in ocfs2_journal_access_di() 740 struct buffer_head *bh, int type) in ocfs2_journal_access_eb() 750 struct buffer_head *bh, int type) in ocfs2_journal_access_rb() 760 struct buffer_head *bh, int type) in ocfs2_journal_access_gd() 770 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/gfs2/ |
| 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 …]
|
| /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 | 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 | 334 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length() 418 struct fsg_buffhd *bh = req->context; in bulk_in_complete() local 434 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local 547 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer() 565 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer() 584 struct fsg_buffhd *bh) in sleep_thread() 611 struct fsg_buffhd *bh; in do_read() local 742 struct fsg_buffhd *bh; in do_write() local 958 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify() local 1054 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() 72 static int read_mmp_block(struct super_block *sb, struct buffer_head **bh, in read_mmp_block() 136 struct buffer_head *bh = EXT4_SB(sb)->s_mmp_bh; in kmmpd() local 279 struct buffer_head *bh = NULL; in ext4_multi_mount_protect() local
|
| 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
|
| H A D | ext4_jbd2.c | 186 struct buffer_head *bh, in ext4_journal_abort_handle() 233 struct buffer_head *bh, in __ext4_journal_get_write_access() 269 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget() 330 struct buffer_head *bh, in __ext4_journal_get_create_access() 355 struct buffer_head *bh) in __ext4_handle_dirty_metadata()
|
| H A D | xattr.c | 69 # define ea_bdebug(bh, fmt, ...) \ argument 74 # define ea_bdebug(bh, fmt, ...) no_printk(fmt, ##__VA_ARGS__) argument 154 struct buffer_head *bh) in ext4_xattr_block_csum_verify() 169 struct buffer_head *bh) in ext4_xattr_block_csum_set() 191 check_xattrs(struct inode *inode, struct buffer_head *bh, in check_xattrs() 304 __ext4_xattr_check_block(struct inode *inode, struct buffer_head *bh, in __ext4_xattr_check_block() 311 #define ext4_xattr_check_block(inode, bh) \ argument 578 struct buffer_head *bh = NULL; in ext4_xattr_block_get() local 751 struct buffer_head *bh = NULL; in ext4_xattr_block_list() local 858 struct buffer_head *bh = NULL; in ext4_get_inode_usage() local [all …]
|
| /linux/fs/udf/ |
| H A D | super.c | 743 struct buffer_head *bh = NULL; in udf_check_vsd() local 859 struct buffer_head *bh; in udf_find_fileset() local 894 struct buffer_head *bh; in udf_load_pvoldesc() local 1226 struct buffer_head *bh = NULL; in udf_load_vat() local 1282 struct buffer_head *bh; in udf_load_partdesc() local 1387 struct buffer_head *bh; in udf_load_sparable_map() local 1441 struct buffer_head *bh; in udf_load_logicalvol() local 1616 struct buffer_head *bh, *final_bh; in udf_load_logicalvolint() local 1684 struct buffer_head *bh, in handle_partition_descriptor() 1713 struct buffer_head *bh, struct desc_seq_scan_data *data) in get_volume_descriptor_record() [all …]
|
| /linux/fs/bfs/ |
| H A D | dir.c | 32 struct buffer_head *bh; in bfs_readdir() local 129 struct buffer_head *bh; in bfs_lookup() local 173 struct buffer_head *bh; in bfs_unlink() local 271 struct buffer_head *bh; in bfs_add_entry() local 322 struct buffer_head *bh = NULL; in bfs_find_entry() local
|