| /linux/drivers/misc/ |
| H A D | sram.c | 179 struct sram_reserve *rblocks, *block; in sram_reserve_regions() local 194 rblocks = kcalloc(nblocks, sizeof(*rblocks), GFP_KERNEL); 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 | 1066 unsigned int rblocks, in xfs_trans_alloc_inode() argument 1077 xfs_extlen_to_rtxlen(mp, rblocks), in xfs_trans_alloc_inode() 1092 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode() 1150 unsigned int rblocks, in xfs_trans_reserve_more_inode() argument 1154 unsigned int rtx = xfs_extlen_to_rtxlen(mp, rblocks); in xfs_trans_reserve_more_inode() 1169 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, in xfs_trans_reserve_more_inode() 1275 xfs_filblks_t dblocks, rblocks; in xfs_trans_alloc_ichange() local 1288 xfs_inode_count_blocks(tp, ip, &dblocks, &rblocks); in xfs_trans_alloc_ichange() 1291 rblocks += ip->i_delayed_blks; in xfs_trans_alloc_ichange() 1315 pdqp, rblocks, 0, qflags); in xfs_trans_alloc_ichange()
|
| H A D | xfs_reflink.c | 443 unsigned int dblocks = 0, rblocks = 0; in xfs_reflink_fill_cow_hole() local 452 rblocks = resaligned; in xfs_reflink_fill_cow_hole() 455 rblocks = 0; in xfs_reflink_fill_cow_hole() 462 rblocks, false, &tp); in xfs_reflink_fill_cow_hole() 1323 unsigned int dblocks, rblocks, resblks; in xfs_reflink_remap_extent() local 1356 rblocks = dmap->br_blockcount; in xfs_reflink_remap_extent() 1359 rblocks = 0; in xfs_reflink_remap_extent() 1362 dblocks, rblocks, false, &tp); in xfs_reflink_remap_extent() 1444 rblocks = dmap->br_blockcount; in xfs_reflink_remap_extent() 1447 rblocks = 0; in xfs_reflink_remap_extent() [all …]
|
| 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_trans.h | 252 unsigned int dblocks, unsigned int rblocks, bool force, 255 unsigned int dblocks, unsigned int rblocks, bool force_quota);
|
| H A D | xfs_iomap.c | 277 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 D | xfs_bmap_util.c | 691 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local 725 rblocks = resblks; in xfs_alloc_file_space() 728 rblocks = 0; in xfs_alloc_file_space() 732 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
|
| H A D | xfs_inode.c | 2990 xfs_filblks_t *rblocks) in xfs_inode_count_blocks() argument 2994 *rblocks = 0; in xfs_inode_count_blocks() 2996 xfs_bmap_count_leaves(ifp, rblocks); in xfs_inode_count_blocks() 2997 *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 | bmap.c | 1030 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()
|