| /Linux-v5.4/fs/ocfs2/ | 
| D | export.c | 41 	u64 blkno = handle->ih_blkno;  in ocfs2_get_dentry()  local45 	trace_ocfs2_get_dentry_begin(sb, handle, (unsigned long long)blkno);  in ocfs2_get_dentry()
 47 	if (blkno == 0) {  in ocfs2_get_dentry()
 52 	inode = ocfs2_ilookup(sb, blkno);  in ocfs2_get_dentry()
 70 	status = ocfs2_test_inode_bit(osb, blkno, &set);  in ocfs2_get_dentry()
 91 	inode = ocfs2_iget(osb, blkno, 0, 0);  in ocfs2_get_dentry()
 99 			trace_ocfs2_get_dentry_stale((unsigned long long)blkno,  in ocfs2_get_dentry()
 114 		trace_ocfs2_get_dentry_generation((unsigned long long)blkno,  in ocfs2_get_dentry()
 134 	u64 blkno;  in ocfs2_get_parent()  local
 157 	status = ocfs2_lookup_ino_from_name(dir, "..", 2, &blkno);  in ocfs2_get_parent()
 [all …]
 
 | 
| D | dir.h | 52 		      struct inode *inode, u64 blkno,57 				  struct inode *inode, u64 blkno,  in ocfs2_add_entry()  argument
 63 				 inode, blkno, parent_fe_bh, lookup);  in ocfs2_add_entry()
 76 			     u64 *blkno,
 80 			       int namelen, u64 *blkno);
 
 | 
| D | ocfs2_trace.h | 45 	TP_PROTO(unsigned long long blkno),46 	TP_ARGS(blkno),
 48 		__field(unsigned long long, blkno)
 51 		__entry->blkno = blkno;
 53 	TP_printk("%llu", __entry->blkno)
 438 	TP_PROTO(int subtree_root, unsigned long long blkno,
 440 	TP_ARGS(subtree_root, blkno, depth),
 443 		__field(unsigned long long, blkno)
 448 		__entry->blkno = blkno;
 452 		  __entry->blkno, __entry->depth)
 [all …]
 
 | 
| D | ioctl.c | 274 				       struct inode *inode_alloc, u64 blkno,  in ocfs2_info_scan_inode_alloc()  argument294 		status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh);  in ocfs2_info_scan_inode_alloc()
 325 	u64 blkno = -1;  in ocfs2_info_handle_freeinode()  local
 362 							    &blkno);  in ocfs2_info_handle_freeinode()
 369 		status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i);  in ocfs2_info_handle_freeinode()
 436 	u64 blkno;  in ocfs2_info_freefrag_scan_chain()  local
 450 			blkno = le64_to_cpu(rec->c_blkno);  in ocfs2_info_freefrag_scan_chain()
 452 			blkno = le64_to_cpu(bg->bg_next_group);  in ocfs2_info_freefrag_scan_chain()
 462 							     blkno, &bh);  in ocfs2_info_freefrag_scan_chain()
 464 			status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh);  in ocfs2_info_freefrag_scan_chain()
 [all …]
 
 | 
| D | sysfile.c | 131 	u64 blkno;  in _ocfs2_get_system_file_inode()  local139 					    strlen(namebuf), &blkno);  in _ocfs2_get_system_file_inode()
 144 	inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type);  in _ocfs2_get_system_file_inode()
 
 | 
| /Linux-v5.4/fs/jfs/ | 
| D | jfs_dmap.c | 64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
 73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
 75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
 78 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
 85 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno,
 87 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks);
 89 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno);
 91 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
 93 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
 [all …]
 
 | 
| D | jfs_discard.c | 32 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks)  in jfs_issue_discard()  argument37 	r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0);  in jfs_issue_discard()
 40 			sb, (unsigned long long)blkno,  in jfs_issue_discard()
 45 		sb, (unsigned long long)blkno,  in jfs_issue_discard()
 
 | 
| D | jfs_extent.c | 446 	s64 blkno = offsetXAD(xp) >> ip->i_blkbits;  in extFill()  local454 	if ((rc = extAlloc(ip, nbperpage, blkno, xp, false)))  in extFill()
 496 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno)  in extBalloc()  argument
 534 	*blkno = daddr;  in extBalloc()
 590 	    s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno)  in extBrealloc()  argument
 595 	if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) {  in extBrealloc()
 596 		*newblkno = blkno;  in extBrealloc()
 606 	return (extBalloc(ip, blkno, newnblks, newblkno));  in extBrealloc()
 
 | 
| D | xattr.c | 208 	s64 blkno;  in ea_write()  local232 	rc = dbAlloc(ip, INOHINT(ip), nblocks, &blkno);  in ea_write()
 256 		if (!(mp = get_metapage(ip, blkno + i, bytes_to_write, 1))) {  in ea_write()
 290 	DXDaddress(ea, blkno);  in ea_write()
 302 	dbFree(ip, blkno, nblocks);  in ea_write()
 357 	s64 blkno;  in ea_read()  local
 379 	blkno = addressDXD(&ji->ea) << sbi->l2nbperpage;  in ea_read()
 396 		if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1)))  in ea_read()
 433 	s64 blkno;  in ea_get()  local
 515 			     &blkno);  in ea_get()
 [all …]
 
 | 
| D | jfs_dmap.h | 284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks);287 			int free, s64 blkno, s64 nblocks, struct tblock * tblk);
 294 		     s64 blkno, s64 nblocks, s64 addnblocks, s64 * results);
 297 extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks);
 298 extern int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks);
 
 | 
| /Linux-v5.4/fs/xfs/libxfs/ | 
| D | xfs_da_btree.c | 132 		if (be64_to_cpu(hdr3->blkno) != bp->b_bn)  in xfs_da3_blkinfo_verify()330 	xfs_dablk_t		blkno,  in xfs_da3_node_create()  argument
 346 	error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, whichfork);  in xfs_da3_node_create()
 358 		hdr3->info.blkno = cpu_to_be64(bp->b_bn);  in xfs_da3_node_create()
 506 		if (be32_to_cpu(node->hdr.info.forw) != addblk->blkno) {  in xfs_da3_split()
 511 		node->hdr.info.back = cpu_to_be32(oldblk->blkno);  in xfs_da3_split()
 518 		if (be32_to_cpu(node->hdr.info.back) != addblk->blkno) {  in xfs_da3_split()
 523 		node->hdr.info.forw = cpu_to_be32(oldblk->blkno);  in xfs_da3_split()
 553 	xfs_dablk_t		blkno;  in xfs_da3_root_split()  local
 565 	error = xfs_da_grow_inode(args, &blkno);  in xfs_da3_root_split()
 [all …]
 
 | 
| D | xfs_attr.c | 591 	args->blkno = 0;  in xfs_attr_leaf_addname()592 	error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp);  in xfs_attr_leaf_addname()
 614 		args->blkno2 = args->blkno;		/* set 2nd entry info*/  in xfs_attr_leaf_addname()
 703 		args->blkno = args->blkno2;  in xfs_attr_leaf_addname()
 717 		error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno,  in xfs_attr_leaf_addname()
 771 	args->blkno = 0;  in xfs_attr_leaf_removename()
 772 	error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp);  in xfs_attr_leaf_removename()
 815 	args->blkno = 0;  in xfs_attr_leaf_get()
 816 	error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp);  in xfs_attr_leaf_get()
 885 		args->blkno2 = args->blkno;		/* set 2nd entry info*/  in xfs_attr_node_addname()
 [all …]
 
 | 
| D | xfs_attr_leaf.c | 813 	xfs_dablk_t			blkno;  in xfs_attr_shortform_to_leaf()  local832 	error = xfs_da_grow_inode(args, &blkno);  in xfs_attr_shortform_to_leaf()
 836 	ASSERT(blkno == 0);  in xfs_attr_shortform_to_leaf()
 837 	error = xfs_attr3_leaf_create(args, blkno, &bp);  in xfs_attr_shortform_to_leaf()
 1090 	xfs_dablk_t		blkno;  in xfs_attr3_leaf_to_node()  local
 1095 	error = xfs_da_grow_inode(args, &blkno);  in xfs_attr3_leaf_to_node()
 1102 	error = xfs_da_get_buf(args->trans, dp, blkno, -1, &bp2, XFS_ATTR_FORK);  in xfs_attr3_leaf_to_node()
 1112 		hdr3->blkno = cpu_to_be64(bp2->b_bn);  in xfs_attr3_leaf_to_node()
 1132 	btree[0].before = cpu_to_be32(blkno);  in xfs_attr3_leaf_to_node()
 1152 	xfs_dablk_t		blkno,  in xfs_attr3_leaf_create()  argument
 [all …]
 
 | 
| D | xfs_dir2_node.c | 52 		if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn)  in xfs_dir3_leafn_check()94 		if (be64_to_cpu(hdr3->blkno) != bp->b_bn)  in xfs_dir3_free_verify()
 276 		hdr3->hdr.blkno = cpu_to_be64(bp->b_bn);  in xfs_dir3_free_get_buf()
 494 				args->blkno, args->index));  in xfs_dir2_leafn_add()
 602 		curfdb = state->extrablk.blkno;  in xfs_dir2_leafn_lookup_for_addname()
 690 		state->extrablk.blkno = curfdb;  in xfs_dir2_leafn_lookup_for_addname()
 754 		curdb = state->extrablk.blkno;  in xfs_dir2_leafn_lookup_for_entry()
 784 						curdb != state->extrablk.blkno))  in xfs_dir2_leafn_lookup_for_entry()
 791 					newdb == state->extrablk.blkno) {  in xfs_dir2_leafn_lookup_for_entry()
 820 						curdb != state->extrablk.blkno)  in xfs_dir2_leafn_lookup_for_entry()
 [all …]
 
 | 
| /Linux-v5.4/fs/xfs/scrub/ | 
| D | dabtree.c | 54 					ds->state->path.blk[level].blkno),  in xchk_da_process_error()76 				ds->state->path.blk[level].blkno),  in xchk_da_set_corrupt()
 155 	xfs_dablk_t		blkno)  in xchk_da_btree_ptr_ok()  argument
 157 	if (blkno < ds->lowest || (ds->highest != 0 && blkno >= ds->highest)) {  in xchk_da_btree_ptr_ok()
 279 	if (ds->state->altpath.blk[level].blkno != sibling)  in xchk_da_btree_block_check_sibling()
 330 	xfs_dablk_t			blkno)  in xchk_da_btree_block()  argument
 353 	blk->blkno = blkno;  in xchk_da_btree_block()
 354 	if (!xchk_da_btree_ptr_ok(ds, level, blkno))  in xchk_da_btree_block()
 358 	error = xfs_da_read_buf(dargs->trans, dargs->dp, blk->blkno, -2,  in xchk_da_btree_block()
 466 	blk->blkno = 0;  in xchk_da_btree_block()
 [all …]
 
 | 
| /Linux-v5.4/fs/xfs/ | 
| D | xfs_buf.h | 107 #define DEFINE_SINGLE_BUF_MAP(map, blkno, numblk) \  argument108 	struct xfs_buf_map (map) = { .bm_bn = (blkno), .bm_len = (numblk) };
 192 			   xfs_daddr_t blkno, size_t numblks,
 209 	xfs_daddr_t		blkno,  in xfs_buf_get()  argument
 212 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_buf_get()
 219 	xfs_daddr_t		blkno,  in xfs_buf_read()  argument
 224 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_buf_read()
 231 	xfs_daddr_t		blkno,  in xfs_buf_readahead()  argument
 235 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_buf_readahead()
 
 | 
| D | xfs_attr_list.c | 43 	 !((cursor)->blkno) && !((cursor)->offset))153 	cursor->blkno = 0;  in xfs_attr_shortform_list()
 214 	cursor->blkno = 0;  in xfs_attr_node_list_lookup()
 216 		error = xfs_da3_node_read(tp, dp, cursor->blkno, -1, &bp,  in xfs_attr_node_list_lookup()
 239 		if (cursor->blkno == 0)  in xfs_attr_node_list_lookup()
 249 				cursor->blkno = be32_to_cpu(btree->before);  in xfs_attr_node_list_lookup()
 261 		if (cursor->blkno == 0)  in xfs_attr_node_list_lookup()
 300 	if (cursor->blkno > 0) {  in xfs_attr_node_list()
 301 		error = xfs_da3_node_read(context->tp, dp, cursor->blkno, -1,  in xfs_attr_node_list()
 365 		cursor->blkno = leafhdr.forw;  in xfs_attr_node_list()
 [all …]
 
 | 
| D | xfs_attr_inactive.c | 34 	xfs_dablk_t		blkno,  in xfs_attr3_leaf_freextent()  argument50 	tblkno = blkno;  in xfs_attr3_leaf_freextent()
 315 	xfs_daddr_t		blkno;  in xfs_attr3_root_inactive()  local
 327 	blkno = bp->b_bn;  in xfs_attr3_root_inactive()
 354 	error = xfs_da_get_buf(*trans, dp, 0, blkno, &bp, XFS_ATTR_FORK);  in xfs_attr3_root_inactive()
 
 | 
| D | xfs_trans.h | 181 	xfs_daddr_t		blkno,  in xfs_trans_get_buf()  argument185 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_trans_get_buf()
 202 	xfs_daddr_t		blkno,  in xfs_trans_read_buf()  argument
 208 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_trans_read_buf()
 
 | 
| /Linux-v5.4/fs/gfs2/ | 
| D | lops.c | 261 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno,  in gfs2_log_alloc_bio()  argument267 	bio->bi_iter.bi_sector = blkno * (sb->s_blocksize >> 9);  in gfs2_log_alloc_bio()
 292 static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno,  in gfs2_log_get_bio()  argument
 303 		if (blkno == nblk && !flush)  in gfs2_log_get_bio()
 308 	*biop = gfs2_log_alloc_bio(sdp, blkno, end_io);  in gfs2_log_get_bio()
 326 		    unsigned size, unsigned offset, u64 blkno)  in gfs2_log_write()  argument
 331 	bio = gfs2_log_get_bio(sdp, blkno, &sdp->sd_log_bio, REQ_OP_WRITE,  in gfs2_log_write()
 335 		bio = gfs2_log_get_bio(sdp, blkno, &sdp->sd_log_bio,  in gfs2_log_write()
 737 	u64 blkno;  in buf_lo_scan_elements()  local
 746 		blkno = be64_to_cpu(*ptr++);  in buf_lo_scan_elements()
 [all …]
 
 | 
| D | recovery.h | 23 extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);24 extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
 30 			    const struct gfs2_log_header *lh, unsigned int blkno,
 
 | 
| D | meta_io.c | 110 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create)  in gfs2_getbuf()  argument124 	index = blkno >> shift;             /* convert block to page */  in gfs2_getbuf()
 125 	bufnum = blkno - (index << shift);  /* block buf index within page */  in gfs2_getbuf()
 150 		map_bh(bh, sdp->sd_vfs, blkno);  in gfs2_getbuf()
 178 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno)  in gfs2_meta_new()  argument
 181 	bh = gfs2_getbuf(gl, blkno, CREATE);  in gfs2_meta_new()
 247 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,  in gfs2_meta_read()  argument
 259 	*bhp = bh = gfs2_getbuf(gl, blkno, CREATE);  in gfs2_meta_read()
 272 		bh = gfs2_getbuf(gl, blkno + 1, CREATE);  in gfs2_meta_read()
 
 | 
| D | recovery.c | 55 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where)  in gfs2_revoke_add()  argument62 		if (rr->rr_blkno == blkno) {  in gfs2_revoke_add()
 77 	rr->rr_blkno = blkno;  in gfs2_revoke_add()
 84 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where)  in gfs2_revoke_check()  argument
 91 		if (rr->rr_blkno == blkno) {  in gfs2_revoke_check()
 121 		     unsigned int blkno, struct gfs2_log_header_host *head)  in __get_log_header()  argument
 127 	    (blkno && be32_to_cpu(lh->lh_blkno) != blkno))  in __get_log_header()
 
 | 
| D | meta_io.h | 51 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);52 extern int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
 55 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
 
 | 
| /Linux-v5.4/fs/ufs/ | 
| D | balloc.c | 46 	u64 blkno;  in ufs_free_fragments()  local97 	blkno = ufs_fragstoblks (bbase);  in ufs_free_fragments()
 98 	if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) {  in ufs_free_fragments()
 103 			ufs_clusteracct (sb, ucpi, blkno, 1);  in ufs_free_fragments()
 142 	u64 blkno;  in ufs_free_blocks()  local
 184 		blkno = ufs_fragstoblks(i);  in ufs_free_blocks()
 185 		if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) {  in ufs_free_blocks()
 188 		ubh_setblock(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno);  in ufs_free_blocks()
 191 			ufs_clusteracct (sb, ucpi, blkno, 1);  in ufs_free_blocks()
 707 	u64 result, blkno;  in ufs_alloccg_block()  local
 [all …]
 
 |