Home
last modified time | relevance | path

Searched refs:dblocks (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/fs/xfs/
Dxfs_quota.h85 int64_t dblocks, int64_t rblocks, bool force);
91 struct xfs_dquot *pdqp, int64_t dblocks);
134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
Dxfs_trans.c1180 unsigned int dblocks, in xfs_trans_alloc_inode() argument
1191 error = xfs_trans_alloc(mp, resv, dblocks, in xfs_trans_alloc_inode()
1207 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode()
1238 unsigned int dblocks, in xfs_trans_alloc_icreate() argument
1246 error = xfs_trans_alloc(mp, resv, dblocks, 0, 0, &tp); in xfs_trans_alloc_icreate()
1250 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
1365 unsigned int *dblocks, in xfs_trans_alloc_dir() argument
1377 resblks = *dblocks; in xfs_trans_alloc_dir()
1427 *dblocks = resblks; in xfs_trans_alloc_dir()
Dxfs_trans.h261 unsigned int dblocks, unsigned int rblocks, bool force,
265 struct xfs_dquot *pdqp, unsigned int dblocks,
271 struct xfs_inode *ip, unsigned int *dblocks,
Dxfs_trans_dquot.c787 int64_t dblocks, in xfs_trans_reserve_quota_nblks() argument
806 ip->i_gdquot, ip->i_pdquot, dblocks, 0, in xfs_trans_reserve_quota_nblks()
817 ip->i_gdquot, ip->i_pdquot, -dblocks, 0, in xfs_trans_reserve_quota_nblks()
832 int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
840 dblocks, 1, XFS_QMOPT_RES_REGBLKS); in xfs_trans_reserve_quota_icreate()
Dxfs_iomap.c204 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local
215 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_iomap_write_direct()
218 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct()
244 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0) << 1; in xfs_iomap_write_direct()
248 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct()
Dxfs_mount.c371 uint64_t dblocks = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() local
375 do_div(dblocks, 100); in xfs_set_low_space_thresholds()
379 mp->m_low_space[i] = dblocks * (i + 1); in xfs_set_low_space_thresholds()
Dxfs_bmap_util.c819 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local
851 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_alloc_file_space()
854 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resblks); in xfs_alloc_file_space()
859 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_ag.c209 xfs_rfsblock_t dblocks) in __xfs_ag_block_count() argument
215 return dblocks - (agno * mp->m_sb.sb_agblocks); in __xfs_ag_block_count()
266 xfs_rfsblock_t dblocks, in xfs_initialize_perag() argument
333 dblocks); in xfs_initialize_perag()
Dxfs_attr.c309 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size() local
310 nblks += dblocks; in xfs_attr_calc_size()
311 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
/Linux-v6.1/fs/gfs2/
Dinode.c387 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() argument
390 struct gfs2_alloc_parms ap = { .target = *dblocks, .aflags = flags, }; in alloc_dinode()
401 error = gfs2_trans_begin(sdp, (*dblocks * RES_RG_BIT) + RES_STATFS + RES_QUOTA, 0); in alloc_dinode()
405 error = gfs2_alloc_blocks(ip, &ip->i_no_addr, dblocks, 1, &ip->i_generation); in alloc_dinode()