Home
last modified time | relevance | path

Searched refs:rblocks (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/misc/
H A Dsram.c179 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 Dxfs_rtalloc.h47 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 Dxfs_quota.h102 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 Dxfs_rtalloc.c744 xfs_rfsblock_t rblocks, in xfs_growfs_rt_alloc_fake_mount() argument
753 nmp->m_sb.sb_rblocks = rblocks; in xfs_growfs_rt_alloc_fake_mount()
764 if (rblocks > 0) in xfs_growfs_rt_alloc_fake_mount()
1235 xfs_rfsblock_t rblocks, in xfs_growfs_check_rtgeom() argument
1241 nmp = xfs_growfs_rt_alloc_fake_mount(mp, rblocks, rextsize); in xfs_growfs_check_rtgeom()
1294 xfs_rfsblock_t rblocks, in xfs_growfs_rt_prep_groups() argument
1300 *new_rgcount = howmany_64(rblocks, mp->m_sb.sb_rgextents * rextsize); in xfs_growfs_rt_prep_groups()
H A Dxfs_iomap.c277 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local
289 rblocks = resaligned; in xfs_iomap_write_direct()
292 rblocks = 0; in xfs_iomap_write_direct()
322 rblocks, force, &tp); in xfs_iomap_write_direct()
1137 unsigned int dblocks = 0, rblocks = 0; in xfs_atomic_write_cow_iomap_begin() local
1189 rblocks = resaligned; in xfs_atomic_write_cow_iomap_begin()
1192 rblocks = 0; in xfs_atomic_write_cow_iomap_begin()
1196 rblocks, false, &tp); in xfs_atomic_write_cow_iomap_begin()
H A Dxfs_qm.c1965 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 Dxfs_inode.h672 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
/linux/fs/gfs2/
H A Dfile.c424 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()
H A Dbmap.c1030 unsigned int rblocks; in gfs2_iomap_begin_write() local
1044 rblocks = RES_DINODE + ind_blocks; in gfs2_iomap_begin_write()
1046 rblocks += data_blocks; in gfs2_iomap_begin_write()
1048 rblocks += RES_STATFS + RES_QUOTA; in gfs2_iomap_begin_write()
1050 rblocks += 2 * RES_STATFS; in gfs2_iomap_begin_write()
1051 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_iomap_begin_write()
1053 ret = gfs2_trans_begin(sdp, rblocks, in gfs2_iomap_begin_write()