Searched refs:rblocks (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/misc/ |
D | sram.c | 177 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-v6.6/fs/xfs/ |
D | xfs_quota.h | 85 int64_t dblocks, int64_t rblocks, bool force); 134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
|
D | xfs_iomap.c | 248 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local 260 rblocks = resaligned; in xfs_iomap_write_direct() 263 rblocks = 0; in xfs_iomap_write_direct() 293 rblocks, force, &tp); in xfs_iomap_write_direct()
|
D | xfs_trans_dquot.c | 788 int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument 813 ip->i_gdquot, ip->i_pdquot, rblocks, 0, in xfs_trans_reserve_quota_nblks()
|
D | xfs_trans.c | 1188 unsigned int rblocks, in xfs_trans_alloc_inode() argument 1199 rblocks / mp->m_sb.sb_rextsize, in xfs_trans_alloc_inode() 1214 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode()
|
D | xfs_trans.h | 261 unsigned int dblocks, unsigned int rblocks, bool force,
|
D | xfs_bmap_util.c | 821 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local 854 rblocks = resblks; in xfs_alloc_file_space() 857 rblocks = 0; in xfs_alloc_file_space() 861 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
|
/Linux-v6.6/fs/gfs2/ |
D | file.c | 423 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local 494 rblocks = RES_DINODE + ind_blocks; in gfs2_page_mkwrite() 496 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite() 498 rblocks += RES_STATFS + RES_QUOTA; in gfs2_page_mkwrite() 499 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite() 501 err = gfs2_trans_begin(sdp, rblocks, 0); in gfs2_page_mkwrite() 1249 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local 1320 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate() 1323 rblocks += data_blocks ? data_blocks : 1; in __gfs2_fallocate() 1325 error = gfs2_trans_begin(sdp, rblocks, in __gfs2_fallocate()
|
D | bmap.c | 1021 unsigned int rblocks; in gfs2_iomap_begin_write() local 1035 rblocks = RES_DINODE + ind_blocks; in gfs2_iomap_begin_write() 1037 rblocks += data_blocks; in gfs2_iomap_begin_write() 1039 rblocks += RES_STATFS + RES_QUOTA; in gfs2_iomap_begin_write() 1041 rblocks += 2 * RES_STATFS; in gfs2_iomap_begin_write() 1042 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_iomap_begin_write() 1044 ret = gfs2_trans_begin(sdp, rblocks, in gfs2_iomap_begin_write()
|