Home
last modified time | relevance | path

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

/fs/nilfs2/
A Dthe_nilfs.h174 unsigned long ns_blocks_per_segment; member
303 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range()
304 *seg_end = *seg_start + nilfs->ns_blocks_per_segment - 1; in nilfs_get_segment_range()
313 (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_start_blocknr()
321 sector_div(segnum, nilfs->ns_blocks_per_segment); in nilfs_get_segnum_of_block()
A Dthe_nilfs.c427 max_count = div64_ul(max_count, nilfs->ns_blocks_per_segment); in nilfs_max_segment_count()
473 nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment); in nilfs_store_disk_layout()
474 if (nilfs->ns_blocks_per_segment < NILFS_SEG_MIN_BLOCKS) { in nilfs_store_disk_layout()
476 nilfs->ns_blocks_per_segment); in nilfs_store_disk_layout()
502 u64 min_block_count = nsegments * nilfs->ns_blocks_per_segment; in nilfs_store_disk_layout()
829 *nblocks = (sector_t)ncleansegs * nilfs->ns_blocks_per_segment; in nilfs_count_free_blocks()
839 nilfs->ns_blocks_per_segment + 1; in nilfs_near_disk_full()
A Dsuper.c461 newnsegs = div64_ul(newnsegs, nilfs->ns_blocks_per_segment); in nilfs_resize_fs()
633 blocks = nilfs->ns_blocks_per_segment * nilfs->ns_nsegments in nilfs_statfs()
635 nrsvblocks = nilfs->ns_nrsvsegs * nilfs->ns_blocks_per_segment; in nilfs_statfs()
A Dioctl.c879 if (argv[n].v_nmembs > nsegs * nilfs->ns_blocks_per_segment) in nilfs_ioctl_clean_segments()
1090 segbytes = nilfs->ns_blocks_per_segment * nilfs->ns_blocksize; in nilfs_ioctl_set_alloc_range()
A Dsufile.c955 nilfs->ns_blocks_per_segment)) in nilfs_sufile_set_suinfo()
1078 max_blocks = ((u64)nilfs->ns_nsegments * nilfs->ns_blocks_per_segment); in nilfs_sufile_trim_fs()
A Drecovery.c233 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) in nilfs_validate_log()
A Dsysfs.c367 return sysfs_emit(buf, "%lu\n", nilfs->ns_blocks_per_segment); in nilfs_segments_blocks_per_segment_show()

Completed in 23 milliseconds