Home
last modified time | relevance | path

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

/fs/nilfs2/
Dsuper.c357 static int nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) in nilfs_move_2nd_super() argument
379 if (sb2i >= 0 && (u64)blocknr << nilfs->ns_blocksize_bits == sb2off) in nilfs_move_2nd_super()
383 newblocknr = sb2off >> nilfs->ns_blocksize_bits; in nilfs_move_2nd_super()
384 offset = sb2off & (nilfs->ns_blocksize - 1); in nilfs_move_2nd_super()
422 loff_t sb2off; in nilfs_resize_fs() local
437 sb2off = NILFS_SB2_OFFSET_BYTES(newsize); in nilfs_resize_fs()
438 newnsegs = sb2off >> nilfs->ns_blocksize_bits; in nilfs_resize_fs()
451 nilfs_move_2nd_super(sb, sb2off); in nilfs_resize_fs()
Dthe_nilfs.c502 u64 sb2off = NILFS_SB2_OFFSET_BYTES(nilfs->ns_bdev->bd_inode->i_size); in nilfs_load_super_block() local
507 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
533 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block()