Home
last modified time | relevance | path

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

/linux/drivers/misc/
A Dsram.c177 struct sram_reserve *rblocks, *block; in sram_reserve_regions() local
192 rblocks = kcalloc(nblocks, sizeof(*rblocks), GFP_KERNEL); in sram_reserve_regions()
193 if (!rblocks) in sram_reserve_regions()
196 block = &rblocks[0]; in sram_reserve_regions()
261 rblocks[nblocks - 1].start = size; in sram_reserve_regions()
262 rblocks[nblocks - 1].size = 0; in sram_reserve_regions()
263 list_add_tail(&rblocks[nblocks - 1].list, &reserve_list); in sram_reserve_regions()
331 kfree(rblocks); in sram_reserve_regions()
/linux/fs/gfs2/
A Dfile.c423 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local
495 rblocks = RES_DINODE + ind_blocks; in gfs2_page_mkwrite()
497 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite()
499 rblocks += RES_STATFS + RES_QUOTA; in gfs2_page_mkwrite()
500 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite()
502 err = gfs2_trans_begin(sdp, rblocks, 0); in gfs2_page_mkwrite()
1256 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local
1327 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate()
1330 rblocks += data_blocks ? data_blocks : 1; in __gfs2_fallocate()
1332 error = gfs2_trans_begin(sdp, rblocks, in __gfs2_fallocate()
A Dbmap.c1024 unsigned int rblocks; in gfs2_iomap_begin_write() local
1038 rblocks = RES_DINODE + ind_blocks; in gfs2_iomap_begin_write()
1040 rblocks += data_blocks; in gfs2_iomap_begin_write()
1042 rblocks += RES_STATFS + RES_QUOTA; in gfs2_iomap_begin_write()
1044 rblocks += 2 * RES_STATFS; in gfs2_iomap_begin_write()
1045 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_iomap_begin_write()
1047 ret = gfs2_trans_begin(sdp, rblocks, in gfs2_iomap_begin_write()
/linux/fs/xfs/
A Dxfs_quota.h101 int64_t dblocks, int64_t rblocks, bool force);
171 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
A Dxfs_trans.c1067 unsigned int rblocks, in xfs_trans_alloc_inode() argument
1078 xfs_extlen_to_rtxlen(mp, rblocks), in xfs_trans_alloc_inode()
1093 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode()
1142 unsigned int rblocks, in xfs_trans_reserve_more_inode() argument
1147 unsigned int rtx = xfs_extlen_to_rtxlen(mp, rblocks); in xfs_trans_reserve_more_inode()
1162 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, in xfs_trans_reserve_more_inode()
A Dxfs_trans.h253 unsigned int dblocks, unsigned int rblocks, bool force,
256 unsigned int dblocks, unsigned int rblocks, bool force_quota);
A Dxfs_bmap_util.c679 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local
713 rblocks = resblks; in xfs_alloc_file_space()
716 rblocks = 0; in xfs_alloc_file_space()
720 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
A Dxfs_iomap.c253 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local
265 rblocks = resaligned; in xfs_iomap_write_direct()
268 rblocks = 0; in xfs_iomap_write_direct()
298 rblocks, force, &tp); in xfs_iomap_write_direct()
A Dxfs_trans_dquot.c956 int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
981 ip->i_gdquot, ip->i_pdquot, rblocks, 0, in xfs_trans_reserve_quota_nblks()
A Dxfs_inode.h637 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
A Dxfs_inode.c2957 xfs_filblks_t *rblocks) in xfs_inode_count_blocks() argument
2961 *rblocks = 0; in xfs_inode_count_blocks()
2963 xfs_bmap_count_leaves(ifp, rblocks); in xfs_inode_count_blocks()
2964 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()

Completed in 28 milliseconds