| /linux-4.4.14/fs/ocfs2/ | 
| D | export.c | 55 	u64 blkno = handle->ih_blkno;  in ocfs2_get_dentry()  local 59 	trace_ocfs2_get_dentry_begin(sb, handle, (unsigned long long)blkno);  in ocfs2_get_dentry() 61 	if (blkno == 0) {  in ocfs2_get_dentry() 66 	inode = ocfs2_ilookup(sb, blkno);  in ocfs2_get_dentry() 84 	status = ocfs2_test_inode_bit(osb, blkno, &set);  in ocfs2_get_dentry() 105 	inode = ocfs2_iget(osb, blkno, 0, 0);  in ocfs2_get_dentry() 113 			trace_ocfs2_get_dentry_stale((unsigned long long)blkno,  in ocfs2_get_dentry() 129 		trace_ocfs2_get_dentry_generation((unsigned long long)blkno,  in ocfs2_get_dentry() 148 	u64 blkno;  in ocfs2_get_parent()  local 163 	status = ocfs2_lookup_ino_from_name(dir, "..", 2, &blkno);  in ocfs2_get_parent() [all …] 
 | 
| D | dir.h | 66 		      struct inode *inode, u64 blkno, 71 				  struct inode *inode, u64 blkno,  in ocfs2_add_entry()  argument 77 				 inode, blkno, parent_fe_bh, lookup);  in ocfs2_add_entry() 90 			     u64 *blkno, 94 			       int namelen, u64 *blkno);
  | 
| D | ocfs2_trace.h | 44 	TP_PROTO(unsigned long long blkno), 45 	TP_ARGS(blkno), 47 		__field(unsigned long long, blkno) 50 		__entry->blkno = blkno; 52 	TP_printk("%llu", __entry->blkno) 437 	TP_PROTO(int subtree_root, unsigned long long blkno, 439 	TP_ARGS(subtree_root, blkno, depth), 442 		__field(unsigned long long, blkno) 447 		__entry->blkno = blkno; 451 		  __entry->blkno, __entry->depth) [all …] 
 | 
| D | ioctl.c | 280 				       struct inode *inode_alloc, u64 blkno,  in ocfs2_info_scan_inode_alloc()  argument 300 		status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh);  in ocfs2_info_scan_inode_alloc() 331 	u64 blkno = -1;  in ocfs2_info_handle_freeinode()  local 368 							    &blkno);  in ocfs2_info_handle_freeinode() 375 		status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i);  in ocfs2_info_handle_freeinode() 442 	u64 blkno;  in ocfs2_info_freefrag_scan_chain()  local 456 			blkno = le64_to_cpu(rec->c_blkno);  in ocfs2_info_freefrag_scan_chain() 458 			blkno = le64_to_cpu(bg->bg_next_group);  in ocfs2_info_freefrag_scan_chain() 468 							     blkno, &bh);  in ocfs2_info_freefrag_scan_chain() 470 			status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh);  in ocfs2_info_freefrag_scan_chain() [all …] 
 | 
| D | sysfile.c | 144 	u64 blkno;  in _ocfs2_get_system_file_inode()  local 152 					    strlen(namebuf), &blkno);  in _ocfs2_get_system_file_inode() 157 	inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type);  in _ocfs2_get_system_file_inode()
  | 
| D | resize.c | 63 	u64 blkno, gd_blkno, lgd_blkno = le64_to_cpu(gd->bg_blkno);  in ocfs2_calc_new_backup_super()  local 66 		blkno = ocfs2_backup_super_blkno(inode->i_sb, i);  in ocfs2_calc_new_backup_super() 67 		cluster = ocfs2_blocks_to_clusters(inode->i_sb, blkno);  in ocfs2_calc_new_backup_super() 190 	u64 blkno;  in update_backups()  local 197 		blkno = ocfs2_backup_super_blkno(inode->i_sb, i);  in update_backups() 198 		cluster = ocfs2_blocks_to_clusters(inode->i_sb, blkno);  in update_backups() 202 		ret = ocfs2_read_blocks_sync(osb, blkno, 1, &backup);  in update_backups() 211 		backup_di->i_blkno = cpu_to_le64(blkno);  in update_backups()
  | 
| D | move_extents.c | 370 	u64 blkno;  in ocfs2_find_victim_alloc_group()  local 382 					 strlen(namebuf), &blkno);  in ocfs2_find_victim_alloc_group() 388 	ret = ocfs2_read_blocks_sync(osb, blkno, 1, &ac_bh);  in ocfs2_find_victim_alloc_group() 421 				blkno = le64_to_cpu(rec->c_blkno);  in ocfs2_find_victim_alloc_group() 423 				blkno = le64_to_cpu(bg->bg_next_group);  in ocfs2_find_victim_alloc_group() 430 			ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh);  in ocfs2_find_victim_alloc_group() 442 				*vict_bit = (vict_blkno - blkno) >>  in ocfs2_find_victim_alloc_group() 446 				     blkno, le16_to_cpu(bg->bg_bits),  in ocfs2_find_victim_alloc_group()
  | 
| D | buffer_head_io.c | 376 					sector_t blkno)  in ocfs2_check_super_or_backup()  argument 381 	if (blkno == OCFS2_SUPER_BLOCK_BLKNO)  in ocfs2_check_super_or_backup() 386 		if (backup_blkno == blkno)  in ocfs2_check_super_or_backup()
  | 
| D | dir.c | 613 	u64 blkno = le64_to_cpu(di->i_dx_root);  in ocfs2_read_dx_root()  local 616 	ret = ocfs2_read_block(INODE_CACHE(dir), blkno, &tmp,  in ocfs2_read_dx_root() 650 static int ocfs2_read_dx_leaf(struct inode *dir, u64 blkno,  in ocfs2_read_dx_leaf()  argument 656 	ret = ocfs2_read_block(INODE_CACHE(dir), blkno, &tmp,  in ocfs2_read_dx_leaf() 870 	u64 uninitialized_var(blkno);  in ocfs2_dx_dir_lookup() 873 	ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno,  in ocfs2_dx_dir_lookup() 883 		blkno += ocfs2_clusters_to_blocks(inode->i_sb, clen - 1);  in ocfs2_dx_dir_lookup() 886 		blkno += ocfs2_clusters_to_blocks(inode->i_sb,  in ocfs2_dx_dir_lookup() 896 	blkno += ocfs2_dx_dir_hash_idx(OCFS2_SB(inode->i_sb), hinfo);  in ocfs2_dx_dir_lookup() 899 		*ret_phys_blkno = blkno;  in ocfs2_dx_dir_lookup() [all …] 
 | 
| D | alloc.c | 85 				   u64 blkno); 156 					 u64 blkno); 179 					 u64 blkno)  in ocfs2_dinode_set_last_eb_blk()  argument 184 	di->i_last_eb_blk = cpu_to_le64(blkno);  in ocfs2_dinode_set_last_eb_blk() 267 					      u64 blkno)  in ocfs2_xattr_value_set_last_eb_blk()  argument 271 	vb->vb_xv->xr_last_eb_blk = cpu_to_le64(blkno);  in ocfs2_xattr_value_set_last_eb_blk() 311 					     u64 blkno)  in ocfs2_xattr_tree_set_last_eb_blk()  argument 316 	xt->xt_last_eb_blk = cpu_to_le64(blkno);  in ocfs2_xattr_tree_set_last_eb_blk() 344 					  u64 blkno)  in ocfs2_dx_root_set_last_eb_blk()  argument 348 	dx_root->dr_last_eb_blk = cpu_to_le64(blkno);  in ocfs2_dx_root_set_last_eb_blk() [all …] 
 | 
| D | xattr.c | 283 				  u64 blkno, u32 cpos, u32 len, void *para); 293 				  u64 blkno, 1091 	u64 blkno;  in ocfs2_xattr_get_value_outside()  local 1111 		blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster);  in ocfs2_xattr_get_value_outside() 1113 		for (i = 0; i < num_clusters * bpc; i++, blkno++) {  in ocfs2_xattr_get_value_outside() 1114 			ret = ocfs2_read_block(INODE_CACHE(inode), blkno,  in ocfs2_xattr_get_value_outside() 1341 	u64 blkno;  in __ocfs2_xattr_set_value_outside()  local 1359 		blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster);  in __ocfs2_xattr_set_value_outside() 1361 		for (i = 0; i < num_clusters * bpc; i++, blkno++) {  in __ocfs2_xattr_set_value_outside() 1362 			ret = ocfs2_read_block(INODE_CACHE(inode), blkno,  in __ocfs2_xattr_set_value_outside() [all …] 
 | 
| D | slot_map.c | 358 	u64 blkno;  in ocfs2_map_slot_buffers()  local 395 						     &blkno, NULL, NULL);  in ocfs2_map_slot_buffers() 401 		trace_ocfs2_map_slot_buffers_block((unsigned long long)blkno, i);  in ocfs2_map_slot_buffers() 404 		status = ocfs2_read_blocks(INODE_CACHE(si->si_inode), blkno,  in ocfs2_map_slot_buffers()
  | 
| D | inode.c | 116 struct inode *ocfs2_ilookup(struct super_block *sb, u64 blkno)  in ocfs2_ilookup()  argument 120 	args.fi_blkno = blkno;  in ocfs2_ilookup() 122 	args.fi_ino = ino_from_blkno(sb, blkno);  in ocfs2_ilookup() 125 	return ilookup5(sb, blkno, ocfs2_find_actor, &args);  in ocfs2_ilookup() 127 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags,  in ocfs2_iget()  argument 135 	trace_ocfs2_iget_begin((unsigned long long)blkno, flags,  in ocfs2_iget() 141 	if (blkno == 0) {  in ocfs2_iget() 147 	args.fi_blkno = blkno;  in ocfs2_iget() 149 	args.fi_ino = ino_from_blkno(sb, blkno);  in ocfs2_iget()
  | 
| D | namei.c | 80 				    u64 blkno, 114 	u64 blkno;  in ocfs2_lookup()  local 137 					    dentry->d_name.len, &blkno);  in ocfs2_lookup() 141 	inode = ocfs2_iget(OCFS2_SB(dir->i_sb), blkno, 0, 0);  in ocfs2_lookup() 886 	u64 blkno;  in ocfs2_unlink()  local 920 					  dentry->d_name.len, &blkno, dir,  in ocfs2_unlink() 928 	if (OCFS2_I(inode)->ip_blkno != blkno) {  in ocfs2_unlink() 933 				(unsigned long long)blkno,  in ocfs2_unlink() 2059 static int ocfs2_blkno_stringify(u64 blkno, char *name)  in ocfs2_blkno_stringify()  argument 2064 			   (long long)blkno);  in ocfs2_blkno_stringify() [all …] 
 | 
| D | alloc.h | 211 				u64 blkno, unsigned int bit); 213 			      int type, int slot, u64 suballoc, u64 blkno,
  | 
| D | suballoc.c | 2734 static int ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno,  in ocfs2_get_suballoc_slot_bit()  argument 2742 	trace_ocfs2_get_suballoc_slot_bit((unsigned long long)blkno);  in ocfs2_get_suballoc_slot_bit() 2745 	status = ocfs2_read_blocks_sync(osb, blkno, 1, &inode_bh);  in ocfs2_get_suballoc_slot_bit() 2748 		     (unsigned long long)blkno, status);  in ocfs2_get_suballoc_slot_bit() 2755 		     (unsigned long long)blkno);  in ocfs2_get_suballoc_slot_bit() 2763 		     (unsigned long long)blkno,  in ocfs2_get_suballoc_slot_bit() 2794 				   u64 group_blkno, u64 blkno,  in ocfs2_test_suballoc_bit()  argument 2803 	trace_ocfs2_test_suballoc_bit((unsigned long long)blkno,  in ocfs2_test_suballoc_bit() 2816 		   ocfs2_which_suballoc_group(blkno, bit);  in ocfs2_test_suballoc_bit() 2849 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res)  in ocfs2_test_inode_bit()  argument [all …] 
 | 
| D | refcounttree.c | 201 ocfs2_find_refcount_tree(struct ocfs2_super *osb, u64 blkno)  in ocfs2_find_refcount_tree()  argument 209 		if (blkno < tree->rf_blkno)  in ocfs2_find_refcount_tree() 211 		else if (blkno > tree->rf_blkno)  in ocfs2_find_refcount_tree() 972 	u64 blkno;  in ocfs2_get_refcount_cpos_end()  local 1041 	blkno = left_path->p_node[subtree_root+1].bh->b_blocknr;  in ocfs2_get_refcount_cpos_end() 1043 		if (le64_to_cpu(tmp_el->l_recs[i].e_blkno) == blkno) {  in ocfs2_get_refcount_cpos_end() 1291 	u64 suballoc_loc, blkno;  in ocfs2_expand_inline_ref_root()  local 1307 				   &blkno);  in ocfs2_expand_inline_ref_root() 1313 	new_bh = sb_getblk(sb, blkno);  in ocfs2_expand_inline_ref_root() 1339 	new_rb->rf_blkno = cpu_to_le64(blkno);  in ocfs2_expand_inline_ref_root() [all …] 
 | 
| D | localalloc.c | 971 	u64 blkno;  in ocfs2_sync_local_to_main()  local 1002 			blkno = la_start_blk +  in ocfs2_sync_local_to_main() 1009 			     (unsigned long long)blkno);  in ocfs2_sync_local_to_main() 1013 							main_bm_bh, blkno,  in ocfs2_sync_local_to_main()
  | 
| D | suballoc.h | 218 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
  | 
| D | ocfs2.h | 708 					   u64 blkno)  in ino_from_blkno()  argument 710 	return (unsigned long)(blkno & (u64)ULONG_MAX);  in ino_from_blkno()
  | 
| D | file.c | 1635 				 u64 *blkno, int *done)  in ocfs2_calc_trunc_pos()  argument 1653 		*blkno = le64_to_cpu(rec->e_blkno);  in ocfs2_calc_trunc_pos() 1668 		*blkno = le64_to_cpu(rec->e_blkno) +  in ocfs2_calc_trunc_pos() 1701 	u64 blkno, refcount_loc = le64_to_cpu(di->i_refcount_loc);  in ocfs2_remove_inode_range()  local 1818 				     &trunc_len, &trunc_end, &blkno, &done);  in ocfs2_remove_inode_range() 1823 		phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno);  in ocfs2_remove_inode_range()
  | 
| D | aops.c | 97 		u64 blkno = le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) +  in ocfs2_symlink_get_block()  local 99 		buffer_cache_bh = sb_getblk(osb->sb, blkno);  in ocfs2_symlink_get_block()
  | 
| D | dlmglue.c | 394 				  u64 blkno,  in ocfs2_build_lock_name()  argument 404 		       (long long)blkno, generation);  in ocfs2_build_lock_name()
  | 
| /linux-4.4.14/fs/jfs/ | 
| D | jfs_dmap.c | 77 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 83 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, 86 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, 88 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, 91 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 98 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, 100 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks); 102 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno); 104 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 106 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, [all …] 
 | 
| D | jfs_discard.c | 45 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks)  in jfs_issue_discard()  argument 50 	r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0);  in jfs_issue_discard() 54 			sb, (unsigned long long)blkno,  in jfs_issue_discard() 60 		sb, (unsigned long long)blkno,  in jfs_issue_discard()
  | 
| D | jfs_extent.c | 459 	s64 blkno = offsetXAD(xp) >> ip->i_blkbits;  in extFill()  local 467 	if ((rc = extAlloc(ip, nbperpage, blkno, xp, false)))  in extFill() 509 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno)  in extBalloc()  argument 547 	*blkno = daddr;  in extBalloc() 603 	    s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno)  in extBrealloc()  argument 608 	if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) {  in extBrealloc() 609 		*newblkno = blkno;  in extBrealloc() 619 	return (extBalloc(ip, blkno, newnblks, newblkno));  in extBrealloc()
  | 
| D | xattr.c | 223 	s64 blkno;  in ea_write()  local 247 	rc = dbAlloc(ip, INOHINT(ip), nblocks, &blkno);  in ea_write() 271 		if (!(mp = get_metapage(ip, blkno + i, bytes_to_write, 1))) {  in ea_write() 305 	DXDaddress(ea, blkno);  in ea_write() 317 	dbFree(ip, blkno, nblocks);  in ea_write() 372 	s64 blkno;  in ea_read()  local 394 	blkno = addressDXD(&ji->ea) << sbi->l2nbperpage;  in ea_read() 411 		if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1)))  in ea_read() 448 	s64 blkno;  in ea_get()  local 528 			     &blkno);  in ea_get() [all …] 
 | 
| D | jfs_dmap.h | 297 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks); 300 			int free, s64 blkno, s64 nblocks, struct tblock * tblk); 307 		     s64 blkno, s64 nblocks, s64 addnblocks, s64 * results); 310 extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks); 311 extern int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks);
  | 
| D | jfs_imap.c | 312 	s64 blkno, agstart;  in diRead()  local 352 	blkno = INOPBLK(&iagp->inoext[extno], ino, sbi->l2nbperpage);  in diRead() 360 	pageno = blkno >> sbi->l2nbperpage;  in diRead() 362 	if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) {  in diRead() 606 	s64 blkno;  in diWrite()  local 636 	blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage);  in diWrite() 639 	pageno = blkno >> sbi->l2nbperpage;  in diWrite() 641 	if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) {  in diWrite() 2176 	s64 blkno, hint;  in diNewExt()  local 2273 	if ((rc = dbAlloc(ipimap, hint, (s64) imap->im_nbperiext, &blkno)))  in diNewExt() [all …] 
 | 
| D | jfs_discard.h | 23 extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks);
  | 
| D | jfs_dtree.c | 208 static struct metapage *read_index_page(struct inode *inode, s64 blkno)  in read_index_page()  argument 215 	rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1);  in read_index_page() 227 static struct metapage *get_index_page(struct inode *inode, s64 blkno)  in get_index_page()  argument 234 	rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1);  in get_index_page() 253 	s64 blkno;  in find_index()  local 281 		blkno = ((offset + 1) >> L2PSIZE) <<  in find_index() 284 		if (*mp && (*lblock != blkno)) {  in find_index() 289 			*lblock = blkno;  in find_index() 290 			*mp = read_index_page(ip, blkno);  in find_index() 339 	u64 blkno;  in add_index()  local [all …] 
 | 
| /linux-4.4.14/fs/xfs/libxfs/ | 
| D | xfs_da_btree.c | 152 		if (be64_to_cpu(hdr3->info.blkno) != bp->b_bn)  in xfs_da3_node_verify() 303 	xfs_dablk_t		blkno,  in xfs_da3_node_create()  argument 319 	error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, whichfork);  in xfs_da3_node_create() 331 		hdr3->info.blkno = cpu_to_be64(bp->b_bn);  in xfs_da3_node_create() 472 		if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) {  in xfs_da3_split() 479 		node->hdr.info.back = cpu_to_be32(oldblk->blkno);  in xfs_da3_split() 486 		if (be32_to_cpu(node->hdr.info.back) == addblk->blkno) {  in xfs_da3_split() 493 		node->hdr.info.forw = cpu_to_be32(oldblk->blkno);  in xfs_da3_split() 522 	xfs_dablk_t		blkno;  in xfs_da3_root_split()  local 534 	error = xfs_da_grow_inode(args, &blkno);  in xfs_da3_root_split() [all …] 
 | 
| D | xfs_attr_leaf.c | 268 		if (be64_to_cpu(hdr3->info.blkno) != bp->b_bn)  in xfs_attr3_leaf_verify() 747 	xfs_dablk_t blkno;  in xfs_attr_shortform_to_leaf()  local 766 	error = xfs_da_grow_inode(args, &blkno);  in xfs_attr_shortform_to_leaf() 779 	ASSERT(blkno == 0);  in xfs_attr_shortform_to_leaf() 780 	error = xfs_attr3_leaf_create(args, blkno, &bp);  in xfs_attr_shortform_to_leaf() 970 	xfs_dablk_t		blkno;  in xfs_attr3_leaf_to_node()  local 975 	error = xfs_da_grow_inode(args, &blkno);  in xfs_attr3_leaf_to_node() 982 	error = xfs_da_get_buf(args->trans, dp, blkno, -1, &bp2, XFS_ATTR_FORK);  in xfs_attr3_leaf_to_node() 992 		hdr3->blkno = cpu_to_be64(bp2->b_bn);  in xfs_attr3_leaf_to_node() 1012 	btree[0].before = cpu_to_be32(blkno);  in xfs_attr3_leaf_to_node() [all …] 
 | 
| D | xfs_dir2_node.c | 74 		if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn)  in xfs_dir3_leafn_check() 99 		if (be64_to_cpu(hdr3->blkno) != bp->b_bn)  in xfs_dir3_free_verify() 231 		hdr3->hdr.blkno = cpu_to_be64(bp->b_bn);  in xfs_dir3_free_get_buf() 450 				args->blkno, args->index));  in xfs_dir2_leafn_add() 556 		curfdb = state->extrablk.blkno;  in xfs_dir2_leafn_lookup_for_addname() 644 		state->extrablk.blkno = curfdb;  in xfs_dir2_leafn_lookup_for_addname() 707 		curdb = state->extrablk.blkno;  in xfs_dir2_leafn_lookup_for_entry() 737 						curdb != state->extrablk.blkno))  in xfs_dir2_leafn_lookup_for_entry() 744 					newdb == state->extrablk.blkno) {  in xfs_dir2_leafn_lookup_for_entry() 773 						curdb != state->extrablk.blkno)  in xfs_dir2_leafn_lookup_for_entry() [all …] 
 | 
| D | xfs_da_btree.h | 77 	xfs_dablk_t	blkno;		/* blkno of attr leaf of interest */  member 116 	xfs_dablk_t	blkno;		/* filesystem blkno of buffer */  member 165 int	xfs_da3_node_create(struct xfs_da_args *args, xfs_dablk_t blkno,
  | 
| D | xfs_attr.c | 579 	args->blkno = 0;  in xfs_attr_leaf_addname() 580 	error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp);  in xfs_attr_leaf_addname() 602 		args->blkno2 = args->blkno;		/* set 2nd entry info*/  in xfs_attr_leaf_addname() 704 		args->blkno = args->blkno2;  in xfs_attr_leaf_addname() 718 		error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno,  in xfs_attr_leaf_addname() 786 	args->blkno = 0;  in xfs_attr_leaf_removename() 787 	error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp);  in xfs_attr_leaf_removename() 841 	args->blkno = 0;  in xfs_attr_leaf_get() 842 	error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp);  in xfs_attr_leaf_get() 913 		args->blkno2 = args->blkno;		/* set 2nd entry info*/  in xfs_attr_node_addname() [all …] 
 | 
| D | xfs_da_format.h | 61 	__be64			blkno;	/* first block of the buffer */  member 358 	__be64			blkno;	/* first block of the buffer */  member
  | 
| D | xfs_dir2_block.c | 73 		if (be64_to_cpu(hdr3->blkno) != bp->b_bn)  in xfs_dir3_block_verify() 162 		hdr3->blkno = cpu_to_be64(bp->b_bn);  in xfs_dir3_block_init() 1050 	xfs_dir2_db_t		blkno;		/* dir-relative block # (0) */  in xfs_dir2_sf_to_block()  local 1111 	error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno);  in xfs_dir2_sf_to_block() 1119 	error = xfs_dir3_data_init(args, blkno, &bp);  in xfs_dir2_sf_to_block()
  | 
| D | xfs_dir2_leaf.c | 71 		if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn)  in xfs_dir3_leaf1_check() 166 		if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn)  in xfs_dir3_leaf_verify() 316 		leaf3->info.blkno = cpu_to_be64(bp->b_bn);  in xfs_dir3_leaf_init() 380 	xfs_dablk_t		blkno;		/* leaf block's bno */  in xfs_dir2_block_to_leaf()  local 406 	if ((error = xfs_da_grow_inode(args, &blkno))) {  in xfs_dir2_block_to_leaf() 409 	ldb = xfs_dir2_da_to_db(args->geo, blkno);  in xfs_dir2_block_to_leaf()
  | 
| D | xfs_dir2_data.c | 226 		if (be64_to_cpu(hdr3->blkno) != bp->b_bn)  in xfs_dir3_data_verify() 575 	xfs_dir2_db_t		blkno,		/* logical dir block number */  in xfs_dir3_data_init()  argument 595 	error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, blkno),  in xfs_dir3_data_init() 611 		hdr3->blkno = cpu_to_be64(bp->b_bn);  in xfs_dir3_data_init()
  | 
| D | xfs_bmap.h | 43 	xfs_fsblock_t		blkno;	/* starting block of new extent */  member
  | 
| D | xfs_dir2_priv.h | 58 extern int xfs_dir3_data_init(struct xfs_da_args *args, xfs_dir2_db_t blkno,
  | 
| D | xfs_bmap.c | 3380 		ap->blkno = ap->prev.br_startblock + ap->prev.br_blockcount;  in xfs_bmap_adjacent() 3387 		    ISVALID(ap->blkno + adjust, ap->prev.br_startblock))  in xfs_bmap_adjacent() 3388 			ap->blkno += adjust;  in xfs_bmap_adjacent() 3490 			ap->blkno = prevdiff <= gotdiff ? prevbno : gotbno;  in xfs_bmap_adjacent() 3492 			ap->blkno = prevbno;  in xfs_bmap_adjacent() 3494 			ap->blkno = gotbno;  in xfs_bmap_adjacent() 3635 	ap->blkno = args->fsbno = XFS_AGB_TO_FSB(mp, ag, 0);  in xfs_bmap_btalloc_filestreams() 3684 			ap->blkno = XFS_AGB_TO_FSB(mp, ag, 0);  in xfs_bmap_btalloc() 3686 			ap->blkno = XFS_INO_TO_FSB(mp, ap->ip->i_ino);  in xfs_bmap_btalloc() 3689 		ap->blkno = *ap->firstblock;  in xfs_bmap_btalloc() [all …] 
 | 
| D | xfs_btree.h | 385 	xfs_daddr_t		blkno,
  | 
| D | xfs_btree.c | 1001 	xfs_daddr_t		blkno,  in xfs_btree_init_block_int()  argument 1016 			buf->bb_u.l.bb_blkno = cpu_to_be64(blkno);  in xfs_btree_init_block_int() 1029 			buf->bb_u.s.bb_blkno = cpu_to_be64(blkno);  in xfs_btree_init_block_int()
  | 
| /linux-4.4.14/fs/xfs/ | 
| D | xfs_buf.h | 131 #define DEFINE_SINGLE_BUF_MAP(map, blkno, numblk) \  argument 132 	struct xfs_buf_map (map) = { .bm_bn = (blkno), .bm_len = (numblk) }; 201 	xfs_daddr_t		blkno,  in xfs_incore()  argument 205 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_incore() 216 	xfs_daddr_t		blkno,  in xfs_buf_alloc()  argument 220 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_buf_alloc() 238 	xfs_daddr_t		blkno,  in xfs_buf_get()  argument 242 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_buf_get() 249 	xfs_daddr_t		blkno,  in xfs_buf_read()  argument 254 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_buf_read() [all …] 
 | 
| D | xfs_attr_list.c | 60 	 !((cursor)->blkno) && !((cursor)->offset)) 175 	cursor->blkno = 0;  in xfs_attr_shortform_list() 243 	if (cursor->blkno > 0) {  in xfs_attr_node_list() 244 		error = xfs_da3_node_read(NULL, dp, cursor->blkno, -1,  in xfs_attr_node_list() 291 		cursor->blkno = 0;  in xfs_attr_node_list() 296 						      cursor->blkno, -1, &bp,  in xfs_attr_node_list() 320 					cursor->blkno = be32_to_cpu(btree->before);  in xfs_attr_node_list() 350 		cursor->blkno = leafhdr.forw;  in xfs_attr_node_list() 352 		error = xfs_attr3_leaf_read(NULL, dp, cursor->blkno, -1, &bp);  in xfs_attr_node_list() 497 	context->cursor->blkno = 0;  in xfs_attr_leaf_list() [all …] 
 | 
| D | xfs_attr_inactive.c | 50 	xfs_dablk_t		blkno,  in xfs_attr3_leaf_freextent()  argument 66 	tblkno = blkno;  in xfs_attr3_leaf_freextent() 332 	xfs_daddr_t		blkno;  in xfs_attr3_root_inactive()  local 344 	blkno = bp->b_bn;  in xfs_attr3_root_inactive() 371 	error = xfs_da_get_buf(*trans, dp, 0, blkno, &bp, XFS_ATTR_FORK);  in xfs_attr3_root_inactive()
  | 
| D | xfs_trans.h | 167 	xfs_daddr_t		blkno,  in xfs_trans_get_buf()  argument 171 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_trans_get_buf() 188 	xfs_daddr_t		blkno,  in xfs_trans_read_buf()  argument 194 	DEFINE_SINGLE_BUF_MAP(map, blkno, numblks);  in xfs_trans_read_buf()
  | 
| D | xfs_pnfs.c | 91 		iomap->blkno = IOMAP_NULL_BLOCK;  in xfs_bmbt_to_iomap() 94 		iomap->blkno = IOMAP_NULL_BLOCK;  in xfs_bmbt_to_iomap() 97 		iomap->blkno =  in xfs_bmbt_to_iomap()
  | 
| D | xfs_bmap_util.c | 223 		ap->blkno = rtx * mp->m_sb.sb_rextsize;  in xfs_bmap_rtalloc() 225 		ap->blkno = 0;  in xfs_bmap_rtalloc() 233 	atype = ap->blkno == 0 ?  XFS_ALLOCTYPE_ANY_AG : XFS_ALLOCTYPE_NEAR_BNO;  in xfs_bmap_rtalloc() 234 	do_div(ap->blkno, mp->m_sb.sb_rextsize);  in xfs_bmap_rtalloc() 235 	rtb = ap->blkno;  in xfs_bmap_rtalloc() 237 	if ((error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,  in xfs_bmap_rtalloc() 241 	    (error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1,  in xfs_bmap_rtalloc() 245 	ap->blkno = rtb;  in xfs_bmap_rtalloc() 246 	if (ap->blkno != NULLFSBLOCK) {  in xfs_bmap_rtalloc() 247 		ap->blkno *= mp->m_sb.sb_rextsize;  in xfs_bmap_rtalloc() [all …] 
 | 
| D | xfs_attr.h | 102 	__u32	blkno;		/* block containing entry (suggestion) */  member
  | 
| D | xfs_buf.c | 446 	xfs_daddr_t		blkno = map[0].bm_bn;  in _xfs_buf_find()  local 456 	ASSERT(!(BBTOB(blkno) & (xfs_off_t)btp->bt_meta_sectormask));  in _xfs_buf_find() 463 	if (blkno < 0 || blkno >= eofs) {  in _xfs_buf_find() 471 			  __func__, blkno, eofs);  in _xfs_buf_find() 478 				xfs_daddr_to_agno(btp->bt_mount, blkno));  in _xfs_buf_find() 489 		if (blkno < bp->b_bn)  in _xfs_buf_find() 491 		else if (blkno > bp->b_bn)  in _xfs_buf_find()
  | 
| D | xfs_log_priv.h | 417 #define XLOG_BUF_CANCEL_BUCKET(log, blkno) \  argument 418 	((log)->l_buf_cancel_table + ((__uint64_t)blkno % XLOG_BC_TABLE_SIZE))
  | 
| D | xfs_trace.h | 49 		__field(u32, blkno) 62 		__entry->blkno = ctx->cursor->blkno; 75 		   __entry->blkno, 171 		__field(u32, blkno) 186 		__entry->blkno = ctx->cursor->blkno; 202 		   __entry->blkno, 2011 		__field(__int64_t, blkno) 2019 		__entry->blkno = buf_f->blf_blkno; 2028 		  __entry->blkno, 2059 		__field(__int64_t, blkno) [all …] 
 | 
| D | xfs_fsops.c | 124 	xfs_daddr_t		blkno,  in xfs_growfs_get_hdr_buf()  argument 136 	bp->b_bn = blkno;  in xfs_growfs_get_hdr_buf() 137 	bp->b_maps[0].bm_bn = blkno;  in xfs_growfs_get_hdr_buf()
  | 
| D | xfs_log_recover.c | 1626 	xfs_daddr_t		blkno,  in xlog_peek_buffer_cancelled()  argument 1639 	bucket = XLOG_BUF_CANCEL_BUCKET(log, blkno);  in xlog_peek_buffer_cancelled() 1641 		if (bcp->bc_blkno == blkno && bcp->bc_len == len)  in xlog_peek_buffer_cancelled() 1666 	xfs_daddr_t		blkno,  in xlog_check_buffer_cancelled()  argument 1672 	bcp = xlog_peek_buffer_cancelled(log, blkno, len, flags);  in xlog_check_buffer_cancelled() 4202 	xfs_daddr_t		blkno)  in xlog_valid_rec_header()  argument 4226 	if (unlikely( blkno > log->l_logBBsize || blkno > INT_MAX )) {  in xlog_valid_rec_header()
  | 
| D | xfs_inode.c | 2221 	xfs_daddr_t		blkno;  in xfs_ifree_cluster()  local 2247 		blkno = XFS_AGB_TO_DADDR(mp, XFS_INO_TO_AGNO(mp, inum),  in xfs_ifree_cluster() 2258 		bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, blkno,  in xfs_ifree_cluster()
  | 
| /linux-4.4.14/fs/gfs2/ | 
| D | lops.c | 261 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno)  in gfs2_log_alloc_bio()  argument 269 	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 300 		if (blkno == nblk)  in gfs2_log_get_bio() 305 	return gfs2_log_alloc_bio(sdp, blkno);  in gfs2_log_get_bio() 324 	u64 blkno = gfs2_log_bmap(sdp);  in gfs2_log_write()  local 328 	bio = gfs2_log_get_bio(sdp, blkno);  in gfs2_log_write() 332 		bio = gfs2_log_alloc_bio(sdp, blkno);  in gfs2_log_write() 532 	u64 blkno;  in buf_lo_scan_elements()  local 541 		blkno = be64_to_cpu(*ptr++);  in buf_lo_scan_elements() [all …] 
 | 
| D | meta_io.c | 114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create)  in gfs2_getbuf()  argument 128 	index = blkno >> shift;             /* convert block to page */  in gfs2_getbuf() 129 	bufnum = blkno - (index << shift);  /* block buf index within page */  in gfs2_getbuf() 154 		map_bh(bh, sdp->sd_vfs, blkno);  in gfs2_getbuf() 182 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno)  in gfs2_meta_new()  argument 185 	bh = gfs2_getbuf(gl, blkno, CREATE);  in gfs2_meta_new() 200 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,  in gfs2_meta_read()  argument 211 	*bhp = bh = gfs2_getbuf(gl, blkno, CREATE);  in gfs2_meta_read()
  | 
| D | meta_io.h | 54 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); 55 extern int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, 58 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
  | 
| D | recovery.h | 26 extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where); 27 extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
  | 
| D | recovery.c | 55 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where)  in gfs2_revoke_add()  argument 62 		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()
  | 
| D | trans.c | 263 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len)  in gfs2_trans_add_unrevoke()  argument 271 		if ((bd->bd_blkno >= blkno) && (bd->bd_blkno < (blkno + len))) {  in gfs2_trans_add_unrevoke()
  | 
| D | trans.h | 45 extern void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len);
  | 
| D | rgrp.c | 2471 	u64 blkno = ip->i_no_addr;  in gfs2_unlink_di()  local 2473 	rgd = rgblk_free(sdp, blkno, 1, GFS2_BLKST_UNLINKED);  in gfs2_unlink_di() 2476 	trace_gfs2_block_alloc(ip, rgd, blkno, 1, GFS2_BLKST_UNLINKED);  in gfs2_unlink_di() 2483 static void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, u64 blkno)  in gfs2_free_uninit_di()  argument 2488 	tmp_rgd = rgblk_free(sdp, blkno, 1, GFS2_BLKST_FREE);  in gfs2_free_uninit_di()
  | 
| /linux-4.4.14/fs/ufs/ | 
| D | balloc.c | 44 	u64 blkno;  in ufs_free_fragments()  local 94 	blkno = ufs_fragstoblks (bbase);  in ufs_free_fragments() 95 	if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) {  in ufs_free_fragments() 100 			ufs_clusteracct (sb, ucpi, blkno, 1);  in ufs_free_fragments() 139 	u64 blkno;  in ufs_free_blocks()  local 181 		blkno = ufs_fragstoblks(i);  in ufs_free_blocks() 182 		if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) {  in ufs_free_blocks() 185 		ubh_setblock(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno);  in ufs_free_blocks() 187 			ufs_clusteracct (sb, ucpi, blkno, 1);  in ufs_free_blocks() 690 	u64 result, blkno;  in ufs_alloccg_block()  local [all …] 
 | 
| /linux-4.4.14/fs/f2fs/ | 
| D | checkpoint.c | 148 	block_t blkno = start;  in ra_meta_pages()  local 159 	for (; nrpages-- > 0; blkno++) {  in ra_meta_pages() 161 		if (!is_valid_blkaddr(sbi, blkno, type))  in ra_meta_pages() 166 			if (unlikely(blkno >=  in ra_meta_pages() 168 				blkno = 0;  in ra_meta_pages() 171 					blkno * NAT_ENTRY_PER_BLOCK);  in ra_meta_pages() 176 					blkno * SIT_ENTRY_PER_BLOCK);  in ra_meta_pages() 177 			if (blkno != start && prev_blk_addr + 1 != fio.blk_addr)  in ra_meta_pages() 184 			fio.blk_addr = blkno;  in ra_meta_pages() 204 	return blkno - start;  in ra_meta_pages()
  | 
| /linux-4.4.14/fs/nfsd/ | 
| D | blocklayout.c | 94 		bex->soff = (iomap.blkno << 9);  in nfsd4_block_proc_layoutget() 107 			bex->soff = (iomap.blkno << 9);  in nfsd4_block_proc_layoutget()
  | 
| /linux-4.4.14/include/linux/ | 
| D | exportfs.h | 193 	sector_t	blkno;	/* first sector of mapping */  member
  | 
| /linux-4.4.14/drivers/scsi/ | 
| D | st.c | 2703 	int fileno, blkno, at_sm, undone;  in st_int_ioctl()  local 2716 	blkno = STps->drv_block;  in st_int_ioctl() 2732 		blkno = 0;  in st_int_ioctl() 2747 		blkno = (-1);	/* We can't know the block number */  in st_int_ioctl() 2757 		if (blkno >= 0)  in st_int_ioctl() 2758 			blkno += arg;  in st_int_ioctl() 2769 		if (blkno >= 0)  in st_int_ioctl() 2770 			blkno -= arg;  in st_int_ioctl() 2781 			blkno = fileno = (-1);  in st_int_ioctl() 2794 			blkno = fileno = (-1);  in st_int_ioctl() [all …] 
 | 
| D | osst.c | 4064 	int			fileno, blkno, at_sm, frame_seq_numbr, logical_blk_num;  in osst_int_ioctl()  local 4077 	blkno = STps->drv_block;  in osst_int_ioctl() 4095 		blkno = 0;  in osst_int_ioctl() 4107 		blkno = (-1);  /* We can't know the block number */  in osst_int_ioctl() 4120 		   if (blkno >= 0) blkno += arg;  in osst_int_ioctl() 4124 		   if (blkno >= 0) blkno -= arg;  in osst_int_ioctl() 4128 		blkno  = STps->drv_block;  in osst_int_ioctl() 4144 			blkno = fileno = (-1);  in osst_int_ioctl() 4165 			blkno = fileno = (-1);  in osst_int_ioctl() 4182 		 if (blkno  >= 0) blkno   = 0;  in osst_int_ioctl() [all …] 
 | 
| /linux-4.4.14/Documentation/filesystems/ | 
| D | xfs-self-describing-metadata.txt | 195         __be64  blkno;		/* location on disk */ 209 	  information as @owner and @blkno in eh above structure, but using 8 257 		if (bp->b_bn != be64_to_cpu(hdr->blkno)) 281 		if (bp->b_bn != be64_to_cpu(hdr->blkno))
  | 
| /linux-4.4.14/drivers/usb/storage/ | 
| D | ene_ub6250.c | 1683 		u32 blkno;  in ms_scsi_read()  local 1706 			blkno  = phyblk * 0x20 + PageNum;  in ms_scsi_read() 1715 			bcb->CDB[5] = (unsigned char)(blkno);  in ms_scsi_read() 1716 			bcb->CDB[4] = (unsigned char)(blkno>>8);  in ms_scsi_read() 1717 			bcb->CDB[3] = (unsigned char)(blkno>>16);  in ms_scsi_read() 1718 			bcb->CDB[2] = (unsigned char)(blkno>>24);  in ms_scsi_read()
  |