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

/linux-master/fs/nilfs2/
H A Dthe_nilfs.h84 * @ns_blocks_per_segment: number of blocks per segment
180 unsigned long ns_blocks_per_segment; member in struct:the_nilfs
313 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum;
314 *seg_end = *seg_start + nilfs->ns_blocks_per_segment - 1;
323 (sector_t)nilfs->ns_blocks_per_segment * segnum;
331 sector_div(segnum, nilfs->ns_blocks_per_segment);
H A Dthe_nilfs.c416 max_count = div64_ul(max_count, nilfs->ns_blocks_per_segment);
456 nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment);
457 if (nilfs->ns_blocks_per_segment < NILFS_SEG_MIN_BLOCKS) {
459 nilfs->ns_blocks_per_segment);
485 u64 min_block_count = nsegments * nilfs->ns_blocks_per_segment;
804 *nblocks = (sector_t)ncleansegs * nilfs->ns_blocks_per_segment;
814 nilfs->ns_blocks_per_segment + 1;
H A Dsuper.c451 newnsegs = div64_ul(newnsegs, nilfs->ns_blocks_per_segment);
623 blocks = nilfs->ns_blocks_per_segment * nilfs->ns_nsegments
625 nrsvblocks = nilfs->ns_nrsvsegs * nilfs->ns_blocks_per_segment;
H A Dsufile.c959 nilfs->ns_blocks_per_segment))
1081 max_blocks = ((u64)nilfs->ns_nsegments * nilfs->ns_blocks_per_segment);
H A Dioctl.c894 if (argv[n].v_nmembs > nsegs * nilfs->ns_blocks_per_segment)
1111 segbytes = nilfs->ns_blocks_per_segment * nilfs->ns_blocksize;
H A Dsysfs.c367 return sysfs_emit(buf, "%lu\n", nilfs->ns_blocks_per_segment);
H A Drecovery.c217 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment))

Completed in 111 milliseconds