Home
last modified time | relevance | path

Searched refs:ns_blocks_per_segment (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/fs/nilfs2/
Dthe_nilfs.h192 unsigned long ns_blocks_per_segment; member
323 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range()
324 *seg_end = *seg_start + nilfs->ns_blocks_per_segment - 1; in nilfs_get_segment_range()
333 (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_start_blocknr()
341 sector_div(segnum, nilfs->ns_blocks_per_segment); in nilfs_get_segnum_of_block()
Dthe_nilfs.c416 nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment); in nilfs_store_disk_layout()
417 if (nilfs->ns_blocks_per_segment < NILFS_SEG_MIN_BLOCKS) { in nilfs_store_disk_layout()
704 *nblocks = (sector_t)ncleansegs * nilfs->ns_blocks_per_segment; in nilfs_count_free_blocks()
714 nilfs->ns_blocks_per_segment + 1; in nilfs_near_disk_full()
Dsuper.c439 do_div(newnsegs, nilfs->ns_blocks_per_segment); in nilfs_resize_fs()
632 blocks = nilfs->ns_blocks_per_segment * nilfs->ns_nsegments in nilfs_statfs()
634 nrsvblocks = nilfs->ns_nrsvsegs * nilfs->ns_blocks_per_segment; in nilfs_statfs()
Dioctl.c928 if (argv[n].v_nmembs > nsegs * nilfs->ns_blocks_per_segment) in nilfs_ioctl_clean_segments()
1144 segbytes = nilfs->ns_blocks_per_segment * nilfs->ns_blocksize; in nilfs_ioctl_set_alloc_range()
Dsufile.c921 nilfs->ns_blocks_per_segment)) in nilfs_sufile_set_suinfo()
1043 max_blocks = ((u64)nilfs->ns_nsegments * nilfs->ns_blocks_per_segment); in nilfs_sufile_trim_fs()
Drecovery.c229 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) in nilfs_validate_log()
Dsysfs.c388 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_blocks_per_segment); in nilfs_segments_blocks_per_segment_show()