| /linux/drivers/misc/ |
| H A D | sram.c | 179 struct sram_reserve *rblocks, *block; in sram_reserve_regions() local 194 rblocks = kzalloc_objs(*rblocks, nblocks); in sram_reserve_regions() 195 if (!rblocks) in sram_reserve_regions() 198 block = &rblocks[0]; in sram_reserve_regions() 263 rblocks[nblocks - 1].start = size; in sram_reserve_regions() 264 rblocks[nblocks - 1].size = 0; in sram_reserve_regions() 265 list_add_tail(&rblocks[nblocks - 1].list, &reserve_list); in sram_reserve_regions() 333 kfree(rblocks); in sram_reserve_regions()
|
| /linux/fs/xfs/ |
| H A D | xfs_rtalloc.h | 47 xfs_rfsblock_t rblocks, xfs_agblock_t rextsize); 68 xfs_rfsblock_t dblocks, xfs_rfsblock_t rblocks, in xfs_growfs_check_rtgeom() argument
|
| H A D | xfs_trans.c | 1070 unsigned int rblocks, in xfs_trans_alloc_inode() argument 1081 xfs_extlen_to_rtxlen(mp, rblocks), in xfs_trans_alloc_inode() 1096 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode() 1154 unsigned int rblocks, in xfs_trans_reserve_more_inode() argument 1158 unsigned int rtx = xfs_extlen_to_rtxlen(mp, rblocks); in xfs_trans_reserve_more_inode() 1173 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, in xfs_trans_reserve_more_inode() 1290 xfs_filblks_t dblocks, rblocks; in xfs_trans_alloc_ichange() local 1303 xfs_inode_count_blocks(tp, ip, &dblocks, &rblocks); in xfs_trans_alloc_ichange() 1306 rblocks += ip->i_delayed_blks; in xfs_trans_alloc_ichange() 1330 pdqp, rblocks, 0, qflags); in xfs_trans_alloc_ichange()
|
| H A D | xfs_quota.h | 102 int64_t dblocks, int64_t rblocks, bool force); 174 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
|
| H A D | xfs_rtalloc.c | 747 xfs_rfsblock_t rblocks, in xfs_growfs_rt_alloc_fake_mount() argument 756 nmp->m_sb.sb_rblocks = rblocks; in xfs_growfs_rt_alloc_fake_mount() 767 if (rblocks > 0) in xfs_growfs_rt_alloc_fake_mount() 1265 xfs_rfsblock_t rblocks, in xfs_growfs_check_rtgeom() argument 1271 nmp = xfs_growfs_rt_alloc_fake_mount(mp, rblocks, rextsize); in xfs_growfs_check_rtgeom() 1324 xfs_rfsblock_t rblocks, in xfs_growfs_rt_prep_groups() argument 1330 *new_rgcount = howmany_64(rblocks, mp->m_sb.sb_rgextents * rextsize); in xfs_growfs_rt_prep_groups()
|
| H A D | xfs_qm.c | 1965 xfs_filblks_t dblocks, rblocks; in xfs_qm_vop_chown() local 1977 xfs_inode_count_blocks(tp, ip, &dblocks, &rblocks); in xfs_qm_vop_chown() 1982 -(xfs_qcnt_t)rblocks); in xfs_qm_vop_chown() 1987 xfs_trans_mod_ino_dquot(tp, ip, newdq, XFS_TRANS_DQ_RTBCOUNT, rblocks); in xfs_qm_vop_chown()
|
| H A D | xfs_inode.c | 2985 xfs_filblks_t *rblocks) in xfs_inode_count_blocks() argument 2989 *rblocks = 0; in xfs_inode_count_blocks() 2991 xfs_bmap_count_leaves(ifp, rblocks); in xfs_inode_count_blocks() 2992 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
|
| H A D | xfs_inode.h | 672 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
|
| /linux/fs/gfs2/ |
| H A D | file.c | 424 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local 496 rblocks = RES_DINODE + ind_blocks; in gfs2_page_mkwrite() 498 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite() 500 rblocks += RES_STATFS + RES_QUOTA; in gfs2_page_mkwrite() 501 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite() 503 err = gfs2_trans_begin(sdp, rblocks, 0); in gfs2_page_mkwrite() 1258 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local 1329 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate() 1332 rblocks += data_blocks ? data_blocks : 1; in __gfs2_fallocate() 1334 error = gfs2_trans_begin(sdp, rblocks, in __gfs2_fallocate()
|