Home
last modified time | relevance | path

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

12345678910

/linux-6.15/fs/
H A Dbuffer.c186 struct buffer_head *bh; in __find_get_block_slow() local
304 struct buffer_head *bh; member
543 struct buffer_head *bh; in osync_buffers_list() local
668 struct buffer_head *bh; in write_boundary_block() local
784 struct buffer_head *bh; in fsync_buffers_list() local
1047 struct buffer_head *bh; in grow_dev_folio() local
1456 struct buffer_head *bh; in bdev_getblk() local
1511 struct buffer_head *bh; in __bread_gfp() local
1752 struct buffer_head *bh; in clean_bdev_aliases() local
1802 struct buffer_head *bh; in folio_create_buffers() local
[all …]
/linux-6.15/fs/gfs2/
H A Dmeta_io.c36 struct buffer_head *bh, *head; in gfs2_aspace_write_folio() local
129 struct buffer_head *bh; in gfs2_getbuf() local
193 struct buffer_head *bh; in gfs2_meta_new() local
205 struct buffer_head *bh = folio_buffers(folio); in gfs2_meta_read_endio() local
227 struct buffer_head *bh = *bhs; in gfs2_submit_bhs() local
261 struct buffer_head *bh, *bhs[2]; in gfs2_meta_read() local
392 struct buffer_head *bh; in gfs2_ail1_wipe() local
416 struct buffer_head *bh; in gfs2_getjdatabuf() local
443 struct buffer_head *bh; in gfs2_journal_wipe() local
491 struct buffer_head *bh; in gfs2_meta_buffer() local
[all …]
H A 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
813 struct buffer_head *bh; in gfs2_dirent_search() local
869 struct buffer_head *bh; in new_leaf() local
1375 struct buffer_head *bh; in gfs2_dir_read_leaf() local
1487 struct buffer_head *bh; in gfs2_dir_readahead() local
1648 struct buffer_head *bh; in gfs2_dir_search() local
1679 struct buffer_head *bh; in gfs2_dir_check() local
[all …]
H A 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.15/fs/jbd2/
H A 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()
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
712 struct buffer_head *bh = wbuf[i]; in jbd2_journal_commit_transaction() local
804 struct buffer_head *bh = list_entry(io_bufs.prev, in jbd2_journal_commit_transaction() local
848 struct buffer_head *bh; in jbd2_journal_commit_transaction() local
[all …]
H A Dtransaction.c907 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
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
2025 struct buffer_head *bh = jh2bh(jh); in __jbd2_journal_temp_unlink_buffer() local
2115 struct buffer_head *bh; in jbd2_journal_try_to_free_buffers() local
2168 struct buffer_head *bh = jh2bh(jh); in __dispose_buffer() local
2416 struct buffer_head *head, *bh, *next; in jbd2_journal_invalidate_folio() local
2472 struct buffer_head *bh = jh2bh(jh); in __jbd2_journal_file_buffer() local
[all …]
/linux-6.15/include/linux/
H A Dbuffer_head.h166 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()
418 static inline void wait_on_buffer(struct buffer_head *bh) in wait_on_buffer()
425 static inline int trylock_buffer(struct buffer_head *bh) in trylock_buffer()
430 static inline void lock_buffer(struct buffer_head *bh) in lock_buffer()
[all …]
/linux-6.15/fs/minix/
H A 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
H A 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.15/fs/nilfs2/
H A Dpage.c34 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 Dmdt.c31 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
570 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_freeze_buffer()
605 nilfs_mdt_get_frozen_buffer(struct inode *inode, struct buffer_head *bh) in nilfs_mdt_get_frozen_buffer()
630 struct buffer_head *bh; in nilfs_release_frozen_buffers() local
/linux-6.15/fs/hpfs/
H A 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.15/fs/ext2/
H A 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.15/fs/ocfs2/
H A 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()
H A Djournal.c527 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()
823 struct buffer_head *bh, int type) in ocfs2_journal_access()
923 struct buffer_head *bh = NULL; in ocfs2_journal_init() local
1260 struct buffer_head *bh = NULL; in ocfs2_force_read_journal() local
1648 struct buffer_head **bh, in ocfs2_read_journal_inode()
1694 struct buffer_head *bh = NULL; in ocfs2_replay_journal() local
[all …]
H A Dquota_local.c94 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
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
972 struct buffer_head *bh = NULL, *dbh = NULL; in ocfs2_local_quota_add_chunk() local
[all …]
/linux-6.15/lib/crypto/mpi/
H A 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.15/fs/affs/
H A Daffs.h17 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
19 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) argument
20 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… argument
21 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) argument
23 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) argument
24 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) argument
252 struct buffer_head *bh; in affs_getzeroblk() local
267 struct buffer_head *bh; in affs_getemptyblk() local
278 affs_brelse(struct buffer_head *bh) in affs_brelse()
286 affs_adjust_checksum(struct buffer_head *bh, u32 val) in affs_adjust_checksum()
[all …]
H A 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()
H A 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
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 …]
/linux-6.15/fs/omfs/
H A 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.15/drivers/usb/gadget/function/
H A Df_mass_storage.c583 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
1438 struct fsg_buffhd *bh) in do_read_format_capacities()
1514 struct fsg_buffhd *bh, *bh2; in throw_away_data() local
1666 struct fsg_buffhd *bh; in send_status() local
1864 struct fsg_buffhd *bh; in do_scsi_command() local
2256 struct fsg_buffhd *bh; in get_next_command() local
2429 struct fsg_buffhd *bh; in handle_exception() local
2729 struct fsg_buffhd *bh = buffhds; in _fsg_common_free_buffers() local
[all …]
/linux-6.15/fs/ext4/
H A Dbitmap.c21 struct buffer_head *bh) in ext4_inode_bitmap_csum_verify()
45 struct buffer_head *bh) in ext4_inode_bitmap_csum_set()
63 struct buffer_head *bh) in ext4_block_bitmap_csum_verify()
86 struct buffer_head *bh) in ext4_block_bitmap_csum_set()
H A 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
/linux-6.15/fs/fat/
H A Ddir.c42 struct buffer_head *bh, in fat_make_i_pos()
54 struct buffer_head *bh; in fat_dir_readahead() local
117 struct buffer_head **bh, in fat_get_entry()
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()
919 struct buffer_head *bh; in fat_dir_empty() local
944 struct buffer_head *bh; in fat_subdirs() local
1009 struct buffer_head *bh; in __fat_remove_entries() local
1045 struct buffer_head *bh; in fat_remove_entries() local
[all …]

12345678910