Home
last modified time | relevance | path

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

1234567891011

/linux-6.6.21/fs/
Dbuffer.c62 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()
196 struct buffer_head *bh; in __find_get_block_slow() local
[all …]
/linux-6.6.21/fs/gfs2/
Dmeta_io.c35 struct buffer_head *bh, *head; in gfs2_aspace_writepage() local
119 struct buffer_head *bh; in gfs2_getbuf() local
166 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
188 struct buffer_head *bh; in gfs2_meta_new() local
201 struct buffer_head *bh = page_buffers(page); in gfs2_meta_read_endio() local
223 struct buffer_head *bh = *bhs; in gfs2_submit_bhs() local
257 struct buffer_head *bh, *bhs[2]; in gfs2_meta_read() local
316 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
335 void gfs2_remove_from_journal(struct buffer_head *bh, int meta) in gfs2_remove_from_journal()
385 struct buffer_head *bh; in gfs2_ail1_wipe() local
[all …]
Ddir.c92 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
633 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next()
668 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del()
708 struct buffer_head *bh, in do_init_dirent()
732 struct buffer_head *bh) in gfs2_init_dirent()
742 struct buffer_head *bh, in gfs2_dirent_split_alloc()
810 struct buffer_head *bh; in gfs2_dirent_search() local
[all …]
Dutil.h99 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-6.6.21/fs/jbd2/
Dcommit.c32 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync()
63 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page()
90 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set()
120 struct buffer_head *bh; in journal_submit_commit_record() local
166 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()
321 struct buffer_head *bh, __u32 sequence) in jbd2_block_tag_csum_set()
487 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_commit_transaction() local
717 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
811 struct buffer_head *bh = list_entry(io_bufs.prev, in jbd2_journal_commit_transaction() local
[all …]
Dtransaction.c926 static void warn_dirty_buffer(struct buffer_head *bh) in warn_dirty_buffer()
939 struct buffer_head *bh = jh2bh(jh); in jbd2_freeze_jh_data() local
969 struct buffer_head *bh; in do_get_write_access() local
1167 static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh, in jbd2_write_access_granted()
1231 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
1271 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
1370 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
1432 void jbd2_journal_set_triggers(struct buffer_head *bh, in jbd2_journal_set_triggers()
1446 struct buffer_head *bh = jh2bh(jh); in jbd2_buffer_frozen_trigger() local
1486 int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) in jbd2_journal_dirty_metadata()
[all …]
/linux-6.6.21/include/linux/
Dbuffer_head.h160 static __always_inline void clear_buffer_uptodate(struct buffer_head *bh) in clear_buffer_uptodate()
165 static __always_inline int buffer_uptodate(const struct buffer_head *bh) in buffer_uptodate()
174 static inline unsigned long bh_offset(const struct buffer_head *bh) in bh_offset()
220 static inline void clean_bdev_bh_alias(struct buffer_head *bh) in clean_bdev_bh_alias()
300 static inline void get_bh(struct buffer_head *bh) in get_bh()
305 static inline void put_bh(struct buffer_head *bh) in put_bh()
311 static inline void brelse(struct buffer_head *bh) in brelse()
317 static inline void bforget(struct buffer_head *bh) in bforget()
361 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
369 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer()
[all …]
/linux-6.6.21/fs/minix/
Dbitmap.c46 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
Ditree_common.c7 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-6.6.21/fs/nilfs2/
Dpage.c34 struct buffer_head *bh; in __nilfs_get_page_block() local
55 struct buffer_head *bh; in nilfs_grab_buffer() local
74 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer()
104 struct buffer_head *bh; in nilfs_copy_buffer() local
142 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
172 struct buffer_head *bh, *head; in nilfs_page_bug() local
409 struct buffer_head *bh, *head; in nilfs_clear_dirty_page() local
435 struct buffer_head *bh, *head; in nilfs_page_count_clean_buffers() local
517 struct buffer_head *bh, *head; in nilfs_find_uncommitted_extent() local
/linux-6.6.21/fs/hpfs/
Danode.c16 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-6.6.21/fs/reiserfs/
Dprints.c148 static int scnprintf_block_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_block_head()
155 static int scnprintf_buffer_head(char *buf, size_t size, struct buffer_head *bh) in scnprintf_buffer_head()
442 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal()
477 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf()
546 static int print_super_block(struct buffer_head *bh) in print_super_block()
596 static int print_desc_block(struct buffer_head *bh) in print_desc_block()
611 void print_block(struct buffer_head *bh, ...) in print_block()
731 static void check_leaf_block_head(struct buffer_head *bh) in check_leaf_block_head()
747 static void check_internal_block_head(struct buffer_head *bh) in check_internal_block_head()
762 void check_leaf(struct buffer_head *bh) in check_leaf()
[all …]
/linux-6.6.21/fs/ext2/
Dxattr.c69 #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-6.6.21/fs/ocfs2/
Dbuffer_head_io.c38 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()
Djournal.c494 struct buffer_head *bh, in ocfs2_frozen_trigger()
513 struct buffer_head *bh, in ocfs2_dq_frozen_trigger()
533 struct buffer_head *bh, in ocfs2_db_frozen_trigger()
549 struct buffer_head *bh) in ocfs2_abort_trigger()
633 struct buffer_head *bh, in __ocfs2_journal_access()
709 struct buffer_head *bh, int type) in ocfs2_journal_access_di()
715 struct buffer_head *bh, int type) in ocfs2_journal_access_eb()
721 struct buffer_head *bh, int type) in ocfs2_journal_access_rb()
728 struct buffer_head *bh, int type) in ocfs2_journal_access_gd()
734 struct buffer_head *bh, int type) in ocfs2_journal_access_db()
[all …]
/linux-6.6.21/lib/crypto/mpi/
Dlonglong.h114 #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-6.6.21/fs/affs/
Daffs.h19 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
21 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) argument
22 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… argument
23 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) argument
24 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str… argument
25 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) argument
26 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) argument
253 struct buffer_head *bh; in affs_getzeroblk() local
268 struct buffer_head *bh; in affs_getemptyblk() local
279 affs_brelse(struct buffer_head *bh) in affs_brelse()
[all …]
Damigaffs.c26 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()
Dfile.c53 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
472 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
491 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
510 struct buffer_head *bh, tmp_bh; in affs_getemptyblk_ino() local
530 struct buffer_head *bh; in affs_do_read_folio_ofs() local
562 struct buffer_head *bh, *prev_bh; in affs_extent_file_ofs() local
695 struct buffer_head *bh, *prev_bh; in affs_write_end_ofs() local
[all …]
/linux-6.6.21/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
297 struct buffer_head *bh; in omfs_lookup() local
335 struct buffer_head *bh = omfs_bread(dir->i_sb, fsblock); in omfs_fill_chain() local
411 struct buffer_head *bh; in omfs_readdir() local
/linux-6.6.21/fs/sysv/
Dballoc.c31 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk()
46 struct buffer_head * bh; in sysv_free_block() local
105 struct buffer_head * bh; in sysv_new_block() local
164 struct buffer_head * bh = NULL; in sysv_count_free_blocks() local
Dsuper.c179 static int detect_xenix(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_xenix()
200 static int detect_sysv(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_sysv()
253 static int detect_coherent(struct sysv_sb_info *sbi, struct buffer_head *bh) in detect_coherent()
266 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
438 static int v7_sanity_check(struct super_block *sb, struct buffer_head *bh) in v7_sanity_check()
477 struct buffer_head *bh; in v7_fill_super() local
/linux-6.6.21/drivers/usb/gadget/function/
Df_mass_storage.c333 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-6.6.21/fs/ext4/
Dbitmap.c21 struct buffer_head *bh, int sz) in ext4_inode_bitmap_csum_verify()
43 struct buffer_head *bh, int sz) in ext4_inode_bitmap_csum_set()
59 struct buffer_head *bh) in ext4_block_bitmap_csum_verify()
82 struct buffer_head *bh) in ext4_block_bitmap_csum_set()
Dmmp.c43 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

1234567891011