Home
last modified time | relevance | path

Searched refs:nsegments (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/nilfs2/
Dthe_nilfs.c399 u64 nsegments, nblocks; in nilfs_store_disk_layout() local
447 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_store_disk_layout()
448 if (nsegments > nilfs_max_segment_count(nilfs)) { in nilfs_store_disk_layout()
451 (unsigned long long)nsegments, in nilfs_store_disk_layout()
459 u64 min_block_count = nsegments * nilfs->ns_blocks_per_segment; in nilfs_store_disk_layout()
475 nilfs_set_nsegments(nilfs, nsegments); in nilfs_store_disk_layout()
517 u64 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_sb2_bad_offset() local
526 return index < nsegments; in nilfs_sb2_bad_offset()
Dsufile.c311 unsigned long nsegments, nsus, cnt; in nilfs_sufile_alloc() local
324 nsegments = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_alloc()
330 for (cnt = 0; cnt < nsegments; cnt += nsus) { in nilfs_sufile_alloc()
341 sui->allocmax + 1 < nsegments) { in nilfs_sufile_alloc()
343 maxsegnum = nsegments - 1; in nilfs_sufile_alloc()