Searched refs:fs_cs (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/ufs/ |
H A D | ialloc.c | 104 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 D | balloc.c | 90 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 D | ufs_fs.h | 513 #define fs_cs(indx) s_csp[(indx)] macro
|