Lines Matching refs:nblocks
548 unsigned long nblocks, time64_t modtime) in nilfs_sufile_set_segment_usage() argument
570 su->su_nblocks = cpu_to_le32(nblocks); in nilfs_sufile_set_segment_usage()
1067 sector_t start = 0, nblocks = 0; in nilfs_sufile_trim_fs() local
1123 if (!nblocks) { in nilfs_sufile_trim_fs()
1126 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1130 if (start + nblocks == seg_start) { in nilfs_sufile_trim_fs()
1132 nblocks += seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1138 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1142 if (nblocks >= minlen) { in nilfs_sufile_trim_fs()
1147 nblocks * sects_per_block, in nilfs_sufile_trim_fs()
1154 ndiscarded += nblocks; in nilfs_sufile_trim_fs()
1162 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1169 if (nblocks) { in nilfs_sufile_trim_fs()
1172 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1175 if (start + nblocks > end_block + 1) in nilfs_sufile_trim_fs()
1176 nblocks = end_block - start + 1; in nilfs_sufile_trim_fs()
1178 if (nblocks >= minlen) { in nilfs_sufile_trim_fs()
1181 nblocks * sects_per_block, in nilfs_sufile_trim_fs()
1184 ndiscarded += nblocks; in nilfs_sufile_trim_fs()