Home
last modified time | relevance | path

Searched refs:fs_cs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ufs/
H A Dialloc.c104 fs32_add(sb, &UFS_SB(sb)->fs_cs(cg).cs_nifree, 1); in ufs_free_inode()
109 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cg).cs_ndir, 1); in ufs_free_inode()
204 if (sbi->fs_cs(i).cs_nifree) { in ufs_new_inode()
216 if (sbi->fs_cs(i).cs_nifree) { in ufs_new_inode()
230 if (sbi->fs_cs(i).cs_nifree) { in ufs_new_inode()
278 fs32_sub(sb, &sbi->fs_cs(cg).cs_nifree, 1); in ufs_new_inode()
283 fs32_add(sb, &sbi->fs_cs(cg).cs_ndir, 1); in ufs_new_inode()
H A Dballoc.c90 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_free_fragments()
101 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments()
106 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nbfree, 1); in ufs_free_fragments()
195 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nbfree, 1); in ufs_free_blocks()
521 if (fs32_to_cpu(sb, UFS_SB(sb)->fs_cs(cgno).cs_nffree) < count) in ufs_add_fragments()
561 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_add_fragments()
663 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, i); in ufs_alloc_fragments()
678 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_alloc_fragments()
741 fs32_sub(sb, &UFS_SB(sb)->fs_cs(ucpi->c_cgx).cs_nbfree, 1); in ufs_alloccg_block()
H A Dufs_fs.h513 #define fs_cs(indx) s_csp[(indx)] macro