Searched refs:dblocks (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_attr.c | 186 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size() local 187 nblks += dblocks; in xfs_attr_calc_size() 188 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
|
/linux-4.19.296/fs/gfs2/ |
D | inode.c | 375 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() argument 378 struct gfs2_alloc_parms ap = { .target = *dblocks, .aflags = flags, }; in alloc_dinode() 389 error = gfs2_trans_begin(sdp, (*dblocks * RES_RG_BIT) + RES_STATFS + RES_QUOTA, 0); in alloc_dinode() 393 error = gfs2_alloc_blocks(ip, &ip->i_no_addr, dblocks, 1, &ip->i_generation); in alloc_dinode()
|