/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | meta_io.h | 53 int rahead, struct buffer_head **bhp); 65 struct buffer_head **bhp); 68 struct buffer_head **bhp) in gfs2_meta_inode_buffer() 70 return gfs2_meta_indirect_buffer(ip, 0, ip->i_no_addr, bhp); in gfs2_meta_inode_buffer() 67 gfs2_meta_inode_buffer(struct gfs2_inode *ip, struct buffer_head **bhp) gfs2_meta_inode_buffer() argument
|
H A D | meta_io.c | 242 * @bhp: the place where the buffer is returned (NULL on failure) 248 int rahead, struct buffer_head **bhp) in gfs2_meta_read() 256 *bhp = NULL; in gfs2_meta_read() 260 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_read() 289 bh = *bhp; in gfs2_meta_read() 296 *bhp = NULL; in gfs2_meta_read() 469 * @bhp: the buffer is returned here 475 struct buffer_head **bhp) in gfs2_meta_indirect_buffer() 492 *bhp = bh; in gfs2_meta_indirect_buffer() 247 gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, int rahead, struct buffer_head **bhp) gfs2_meta_read() argument 474 gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num, struct buffer_head **bhp) gfs2_meta_indirect_buffer() argument
|
H A D | xattr.c | 615 * @bhp: Pointer to pointer to a struct buffer_head 620 static int ea_alloc_blk(struct gfs2_inode *ip, struct buffer_head **bhp) in ea_alloc_blk() argument 632 *bhp = gfs2_meta_new(ip->i_gl, block); in ea_alloc_blk() 633 gfs2_trans_add_meta(ip->i_gl, *bhp); in ea_alloc_blk() 634 gfs2_metatype_set(*bhp, GFS2_METATYPE_EA, GFS2_FORMAT_EA); in ea_alloc_blk() 635 gfs2_buffer_clear_tail(*bhp, sizeof(struct gfs2_meta_header)); in ea_alloc_blk() 637 ea = GFS2_EA_BH2FIRST(*bhp); in ea_alloc_blk()
|
H A D | dir.h | 50 struct buffer_head **bhp);
|
H A D | dir.c | 90 struct buffer_head **bhp) in gfs2_dir_get_new_buffer() 98 *bhp = bh; in gfs2_dir_get_new_buffer() 103 struct buffer_head **bhp) in gfs2_dir_get_existing_buffer() 115 *bhp = bh; in gfs2_dir_get_existing_buffer() 757 struct buffer_head **bhp) in get_leaf() 761 error = gfs2_meta_read(dip->i_gl, leaf_no, DIO_WAIT, 0, bhp); in get_leaf() 762 if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { in get_leaf() 89 gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, struct buffer_head **bhp) gfs2_dir_get_new_buffer() argument 102 gfs2_dir_get_existing_buffer(struct gfs2_inode *ip, u64 block, struct buffer_head **bhp) gfs2_dir_get_existing_buffer() argument 756 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) get_leaf() argument
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | meta_io.h | 55 int rahead, struct buffer_head **bhp); 67 struct buffer_head **bhp); 70 struct buffer_head **bhp) in gfs2_meta_inode_buffer() 72 return gfs2_meta_buffer(ip, GFS2_METATYPE_DI, ip->i_no_addr, bhp); in gfs2_meta_inode_buffer() 69 gfs2_meta_inode_buffer(struct gfs2_inode *ip, struct buffer_head **bhp) gfs2_meta_inode_buffer() argument
|
H A D | meta_io.c | 248 * @bhp: the place where the buffer is returned (NULL on failure) 254 int rahead, struct buffer_head **bhp) in gfs2_meta_read() 261 *bhp = NULL; in gfs2_meta_read() 265 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_read() 294 bh = *bhp; in gfs2_meta_read() 301 *bhp = NULL; in gfs2_meta_read() 480 * @bhp: the buffer is returned here 486 struct buffer_head **bhp) in gfs2_meta_buffer() 502 *bhp = bh; in gfs2_meta_buffer() 253 gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, int rahead, struct buffer_head **bhp) gfs2_meta_read() argument 485 gfs2_meta_buffer(struct gfs2_inode *ip, u32 mtype, u64 num, struct buffer_head **bhp) gfs2_meta_buffer() argument
|
H A D | xattr.c | 629 * @bhp: Pointer to pointer to a struct buffer_head 634 static int ea_alloc_blk(struct gfs2_inode *ip, struct buffer_head **bhp) in ea_alloc_blk() argument 646 *bhp = gfs2_meta_new(ip->i_gl, block); in ea_alloc_blk() 647 gfs2_trans_add_meta(ip->i_gl, *bhp); in ea_alloc_blk() 648 gfs2_metatype_set(*bhp, GFS2_METATYPE_EA, GFS2_FORMAT_EA); in ea_alloc_blk() 649 gfs2_buffer_clear_tail(*bhp, sizeof(struct gfs2_meta_header)); in ea_alloc_blk() 651 ea = GFS2_EA_BH2FIRST(*bhp); in ea_alloc_blk()
|
H A D | dir.h | 50 struct buffer_head **bhp);
|
H A D | dir.c | 90 struct buffer_head **bhp) in gfs2_dir_get_new_buffer() 98 *bhp = bh; in gfs2_dir_get_new_buffer() 103 struct buffer_head **bhp) in gfs2_dir_get_existing_buffer() 115 *bhp = bh; in gfs2_dir_get_existing_buffer() 756 struct buffer_head **bhp) in get_leaf() 760 error = gfs2_meta_read(dip->i_gl, leaf_no, DIO_WAIT, 0, bhp); in get_leaf() 761 if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { in get_leaf() 89 gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, struct buffer_head **bhp) gfs2_dir_get_new_buffer() argument 102 gfs2_dir_get_existing_buffer(struct gfs2_inode *ip, u64 block, struct buffer_head **bhp) gfs2_dir_get_existing_buffer() argument 755 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) get_leaf() argument
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | alloc.c | 201 struct buffer_head **bhp, in nilfs_palloc_get_block() 211 *bhp = prev->bh; in nilfs_palloc_get_block() 217 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block() 225 get_bh(*bhp); in nilfs_palloc_get_block() 226 prev->bh = *bhp; in nilfs_palloc_get_block() 258 * @bhp: pointer to store the resultant buffer head 262 int create, struct buffer_head **bhp) in nilfs_palloc_get_desc_block() 269 bhp, &cache->prev_desc, &cache->lock); in nilfs_palloc_get_desc_block() 277 * @bhp: pointer to store the resultant buffer head 281 int create, struct buffer_head **bhp) in nilfs_palloc_get_bitmap_block() 196 nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, int create, void (*init_block)(struct inode *, struct buffer_head *, void *), struct buffer_head **bhp, struct nilfs_bh_assoc *prev, spinlock_t *lock) nilfs_palloc_get_block() argument 260 nilfs_palloc_get_desc_block(struct inode *inode, unsigned long group, int create, struct buffer_head **bhp) nilfs_palloc_get_desc_block() argument 279 nilfs_palloc_get_bitmap_block(struct inode *inode, unsigned long group, int create, struct buffer_head **bhp) nilfs_palloc_get_bitmap_block() argument 314 nilfs_palloc_get_entry_block(struct inode *inode, __u64 nr, int create, struct buffer_head **bhp) nilfs_palloc_get_entry_block() argument [all...] |
H A D | cpfile.c | 129 struct buffer_head **bhp) in nilfs_cpfile_get_header_block() 131 return nilfs_mdt_get_block(cpfile, 0, 0, NULL, bhp); in nilfs_cpfile_get_header_block() 137 struct buffer_head **bhp) in nilfs_cpfile_get_checkpoint_block() 141 create, nilfs_cpfile_block_init, bhp); in nilfs_cpfile_get_checkpoint_block() 150 * @bhp: place to store a pointer to buffer_head struct 164 struct buffer_head **bhp) in nilfs_cpfile_find_checkpoint_block() 175 ret = nilfs_mdt_find_block(cpfile, start, end, &blkoff, bhp); in nilfs_cpfile_find_checkpoint_block() 195 * @bhp: pointer to a buffer head 203 * the place pointed by @cpp and @bhp, respectively. On error, one of the 218 struct buffer_head **bhp) in nilfs_cpfile_get_checkpoint() 128 nilfs_cpfile_get_header_block(struct inode *cpfile, struct buffer_head **bhp) nilfs_cpfile_get_header_block() argument 134 nilfs_cpfile_get_checkpoint_block(struct inode *cpfile, __u64 cno, int create, struct buffer_head **bhp) nilfs_cpfile_get_checkpoint_block() argument 161 nilfs_cpfile_find_checkpoint_block(struct inode *cpfile, __u64 start_cno, __u64 end_cno, __u64 *cnop, struct buffer_head **bhp) nilfs_cpfile_find_checkpoint_block() argument 214 nilfs_cpfile_get_checkpoint(struct inode *cpfile, __u64 cno, int create, struct nilfs_checkpoint **cpp, struct buffer_head **bhp) nilfs_cpfile_get_checkpoint() argument [all...] |
H A D | btree.c | 59 __u64 ptr, struct buffer_head **bhp) in nilfs_btree_get_new_block() 70 *bhp = bh; in nilfs_btree_get_new_block() 471 struct buffer_head **bhp, in __nilfs_btree_get_block() 536 *bhp = bh; in __nilfs_btree_get_block() 541 struct buffer_head **bhp) in nilfs_btree_get_block() 543 return __nilfs_btree_get_block(btree, ptr, bhp, NULL); in nilfs_btree_get_block() 1740 struct buffer_head **bhp, in nilfs_btree_prepare_convert_and_insert() 1764 *bhp = NULL; in nilfs_btree_prepare_convert_and_insert() 1776 *bhp = bh; in nilfs_btree_prepare_convert_and_insert() 58 nilfs_btree_get_new_block(const struct nilfs_bmap *btree, __u64 ptr, struct buffer_head **bhp) nilfs_btree_get_new_block() argument 470 __nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, struct buffer_head **bhp, const struct nilfs_btree_readahead_info *ra) __nilfs_btree_get_block() argument 540 nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, struct buffer_head **bhp) nilfs_btree_get_block() argument 1737 nilfs_btree_prepare_convert_and_insert(struct nilfs_bmap *btree, __u64 key, union nilfs_bmap_ptr_req *dreq, union nilfs_bmap_ptr_req *nreq, struct buffer_head **bhp, struct nilfs_bmap_stats *stats) nilfs_btree_prepare_convert_and_insert() argument
|
H A D | segbuf.c | 115 struct buffer_head **bhp) in nilfs_segbuf_extend_payload() 125 *bhp = bh; in nilfs_segbuf_extend_payload() 114 nilfs_segbuf_extend_payload(struct nilfs_segment_buffer *segbuf, struct buffer_head **bhp) nilfs_segbuf_extend_payload() argument
|
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | alloc.c | 201 struct buffer_head **bhp, in nilfs_palloc_get_block() 211 *bhp = prev->bh; in nilfs_palloc_get_block() 217 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block() 225 get_bh(*bhp); in nilfs_palloc_get_block() 226 prev->bh = *bhp; in nilfs_palloc_get_block() 258 * @bhp: pointer to store the resultant buffer head 262 int create, struct buffer_head **bhp) in nilfs_palloc_get_desc_block() 269 bhp, &cache->prev_desc, &cache->lock); in nilfs_palloc_get_desc_block() 277 * @bhp: pointer to store the resultant buffer head 281 int create, struct buffer_head **bhp) in nilfs_palloc_get_bitmap_block() 196 nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, int create, void (*init_block)(struct inode *, struct buffer_head *, void *), struct buffer_head **bhp, struct nilfs_bh_assoc *prev, spinlock_t *lock) nilfs_palloc_get_block() argument 260 nilfs_palloc_get_desc_block(struct inode *inode, unsigned long group, int create, struct buffer_head **bhp) nilfs_palloc_get_desc_block() argument 279 nilfs_palloc_get_bitmap_block(struct inode *inode, unsigned long group, int create, struct buffer_head **bhp) nilfs_palloc_get_bitmap_block() argument 314 nilfs_palloc_get_entry_block(struct inode *inode, __u64 nr, int create, struct buffer_head **bhp) nilfs_palloc_get_entry_block() argument [all...] |
H A D | cpfile.c | 129 struct buffer_head **bhp) in nilfs_cpfile_get_header_block() 131 return nilfs_mdt_get_block(cpfile, 0, 0, NULL, bhp); in nilfs_cpfile_get_header_block() 137 struct buffer_head **bhp) in nilfs_cpfile_get_checkpoint_block() 141 create, nilfs_cpfile_block_init, bhp); in nilfs_cpfile_get_checkpoint_block() 150 * @bhp: place to store a pointer to buffer_head struct 164 struct buffer_head **bhp) in nilfs_cpfile_find_checkpoint_block() 175 ret = nilfs_mdt_find_block(cpfile, start, end, &blkoff, bhp); in nilfs_cpfile_find_checkpoint_block() 195 * @bhp: pointer to a buffer head 203 * the place pointed by @cpp and @bhp, respectively. On error, one of the 218 struct buffer_head **bhp) in nilfs_cpfile_get_checkpoint() 128 nilfs_cpfile_get_header_block(struct inode *cpfile, struct buffer_head **bhp) nilfs_cpfile_get_header_block() argument 134 nilfs_cpfile_get_checkpoint_block(struct inode *cpfile, __u64 cno, int create, struct buffer_head **bhp) nilfs_cpfile_get_checkpoint_block() argument 161 nilfs_cpfile_find_checkpoint_block(struct inode *cpfile, __u64 start_cno, __u64 end_cno, __u64 *cnop, struct buffer_head **bhp) nilfs_cpfile_find_checkpoint_block() argument 214 nilfs_cpfile_get_checkpoint(struct inode *cpfile, __u64 cno, int create, struct nilfs_checkpoint **cpp, struct buffer_head **bhp) nilfs_cpfile_get_checkpoint() argument [all...] |
H A D | btree.c | 59 __u64 ptr, struct buffer_head **bhp) in nilfs_btree_get_new_block() 70 *bhp = bh; in nilfs_btree_get_new_block() 471 struct buffer_head **bhp, in __nilfs_btree_get_block() 536 *bhp = bh; in __nilfs_btree_get_block() 541 struct buffer_head **bhp) in nilfs_btree_get_block() 543 return __nilfs_btree_get_block(btree, ptr, bhp, NULL); in nilfs_btree_get_block() 1737 struct buffer_head **bhp, in nilfs_btree_prepare_convert_and_insert() 1761 *bhp = NULL; in nilfs_btree_prepare_convert_and_insert() 1773 *bhp = bh; in nilfs_btree_prepare_convert_and_insert() 58 nilfs_btree_get_new_block(const struct nilfs_bmap *btree, __u64 ptr, struct buffer_head **bhp) nilfs_btree_get_new_block() argument 470 __nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, struct buffer_head **bhp, const struct nilfs_btree_readahead_info *ra) __nilfs_btree_get_block() argument 540 nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, struct buffer_head **bhp) nilfs_btree_get_block() argument 1734 nilfs_btree_prepare_convert_and_insert(struct nilfs_bmap *btree, __u64 key, union nilfs_bmap_ptr_req *dreq, union nilfs_bmap_ptr_req *nreq, struct buffer_head **bhp, struct nilfs_bmap_stats *stats) nilfs_btree_prepare_convert_and_insert() argument
|
/kernel/linux/linux-5.10/fs/hpfs/ |
H A D | buffer.c | 71 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() argument 82 *bhp = bh = sb_bread(s, hpfs_search_hotfix_map(s, secno)); in hpfs_map_sector() 93 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() argument 96 /*return hpfs_map_sector(s, secno, bhp, 0);*/ in hpfs_get_sector() 102 if ((*bhp = bh = sb_getblk(s, hpfs_search_hotfix_map(s, secno))) != NULL) { in hpfs_get_sector()
|
H A D | map.c | 164 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() argument 170 if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { in hpfs_map_fnode() 217 brelse(*bhp); in hpfs_map_fnode() 221 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode() argument 225 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode() 248 brelse(*bhp); in hpfs_map_anode()
|
/kernel/linux/linux-6.6/fs/hpfs/ |
H A D | buffer.c | 71 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() argument 82 *bhp = bh = sb_bread(s, hpfs_search_hotfix_map(s, secno)); in hpfs_map_sector() 93 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() argument 96 /*return hpfs_map_sector(s, secno, bhp, 0);*/ in hpfs_get_sector() 102 if ((*bhp = bh = sb_getblk(s, hpfs_search_hotfix_map(s, secno))) != NULL) { in hpfs_get_sector()
|
H A D | map.c | 164 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() argument 170 if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { in hpfs_map_fnode() 217 brelse(*bhp); in hpfs_map_fnode() 221 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode() argument 225 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode() 248 brelse(*bhp); in hpfs_map_anode()
|
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | tasks.h | 819 static void trc_add_holdout(struct task_struct *t, struct list_head *bhp) in trc_add_holdout() argument 823 list_add(&t->trc_holdout_list, bhp); in trc_add_holdout() 921 struct list_head *bhp) in trc_wait_for_one_reader() 945 trc_add_holdout(t, bhp); in trc_wait_for_one_reader() 920 trc_wait_for_one_reader(struct task_struct *t, struct list_head *bhp) trc_wait_for_one_reader() argument
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | tasks.h | 1472 static void trc_add_holdout(struct task_struct *t, struct list_head *bhp) in trc_add_holdout() argument 1476 list_add(&t->trc_holdout_list, bhp); in trc_add_holdout() 1529 struct list_head *bhp = bhp_in; in trc_inspect_reader() local 1570 trc_add_holdout(t, bhp); in trc_inspect_reader() 1576 struct list_head *bhp) in trc_wait_for_one_reader() 1593 if (!task_call_func(t, trc_inspect_reader, bhp)) { in trc_wait_for_one_reader() 1606 trc_add_holdout(t, bhp); in trc_wait_for_one_reader() 1575 trc_wait_for_one_reader(struct task_struct *t, struct list_head *bhp) trc_wait_for_one_reader() argument
|
/kernel/linux/linux-5.10/fs/jbd2/ |
H A D | recovery.c | 128 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() argument 135 *bhp = NULL; in jread() 169 *bhp = bh; in jread()
|
/kernel/linux/linux-6.6/fs/jbd2/ |
H A D | recovery.c | 129 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() argument 136 *bhp = NULL; in jread() 175 *bhp = bh; in jread()
|