Searched refs:sb2off (Results 1 – 2 of 2) sorted by relevance
339 static int nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) in nilfs_move_2nd_super() argument361 if (sb2i >= 0 && (u64)blocknr << nilfs->ns_blocksize_bits == sb2off) in nilfs_move_2nd_super()365 newblocknr = sb2off >> nilfs->ns_blocksize_bits; in nilfs_move_2nd_super()366 offset = sb2off & (nilfs->ns_blocksize - 1); in nilfs_move_2nd_super()425 loff_t sb2off; in nilfs_resize_fs() local449 sb2off = NILFS_SB2_OFFSET_BYTES(newsize); in nilfs_resize_fs()450 newnsegs = sb2off >> nilfs->ns_blocksize_bits; in nilfs_resize_fs()463 nilfs_move_2nd_super(sb, sb2off); in nilfs_resize_fs()
595 u64 sb2off, devsize = nilfs->ns_bdev->bd_inode->i_size; in nilfs_load_super_block() local602 sb2off = NILFS_SB2_OFFSET_BYTES(devsize); in nilfs_load_super_block()606 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()632 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block()