/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/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() 296 static inline void get_bh(struct buffer_head *bh) in get_bh() 301 static inline void put_bh(struct buffer_head *bh) in put_bh() 323 static inline void brelse(struct buffer_head *bh) in brelse() 339 static inline void bforget(struct buffer_head *bh) in bforget() 410 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() 418 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer() [all …]
|
/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 279 struct buffer_head *bh; in hpfs_remove_btree() local 333 struct buffer_head *bh; in anode_lookup() local 341 struct buffer_head *bh; in hpfs_ea_read() local 364 struct buffer_head *bh; in hpfs_ea_write() local 388 struct buffer_head *bh; in hpfs_ea_remove() local 403 struct buffer_head *bh; in hpfs_truncate_btree() local 483 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/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/gfs2/ |
H A D | dir.c | 92 struct buffer_head *bh; in gfs2_dir_get_new_buffer() local 105 struct buffer_head *bh; in gfs2_dir_get_existing_buffer() local 185 struct buffer_head *bh; in gfs2_dir_write_data() local 288 struct buffer_head *bh; in gfs2_dir_read_data() local 636 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() 671 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del() 711 struct buffer_head *bh, in do_init_dirent() 735 struct buffer_head *bh) in gfs2_init_dirent() 745 struct buffer_head *bh, in gfs2_dirent_split_alloc() 813 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() 134 #define gfs2_metatype_check(sdp, bh, type) \ argument 137 static inline void gfs2_metatype_set(struct buffer_head *bh, u16 type, in gfs2_metatype_set() 163 #define gfs2_io_error_bh_wd(sdp, bh) \ argument 166 #define gfs2_io_error_bh(sdp, bh) \ argument
|
/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 471 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 490 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 509 struct buffer_head *bh, tmp_bh; in affs_getemptyblk_ino() local 529 struct buffer_head *bh; in affs_do_read_folio_ofs() local 561 struct buffer_head *bh, *prev_bh; in affs_extent_file_ofs() local 693 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 | 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
|
H A D | indirect.c | 34 struct buffer_head *bh; member 37 static inline void add_chain(Indirect *p, struct buffer_head *bh, __le32 *v) in add_chain() 150 struct buffer_head *bh; in ext4_get_branch() local 333 struct buffer_head * bh; in ext4_alloc_branch() local 690 struct buffer_head *bh, int *dropped) in ext4_ind_trunc_restart_fn() 726 struct buffer_head *bh, in ext4_ind_truncate_ensure_credits() 858 struct buffer_head *bh, in ext4_clear_blocks() 1011 struct buffer_head *bh; in ext4_free_branches() local
|
/linux/fs/nilfs2/ |
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/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
|
/linux/fs/qnx4/ |
H A D | inode.c | 61 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create… in qnx4_get_block() 88 struct buffer_head *bh = NULL; in qnx4_block_map() local 159 struct buffer_head *bh; in qnx4_checkroot() local 194 struct buffer_head *bh; in qnx4_fill_super() local 284 struct buffer_head *bh; in qnx4_iget() local
|
H A D | namei.c | 27 struct buffer_head *bh, unsigned long *offset) in qnx4_match() 54 struct buffer_head *bh; in qnx4_find_entry() local 93 struct buffer_head *bh; in qnx4_lookup() local
|