Searched refs:sb2off (Results 1 – 2 of 2) sorted by relevance
343 static int nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) in nilfs_move_2nd_super() argument365 if (sb2i >= 0 && (u64)blocknr << nilfs->ns_blocksize_bits == sb2off) in nilfs_move_2nd_super()369 newblocknr = sb2off >> nilfs->ns_blocksize_bits; in nilfs_move_2nd_super()370 offset = sb2off & (nilfs->ns_blocksize - 1); in nilfs_move_2nd_super()429 loff_t sb2off; in nilfs_resize_fs() local453 sb2off = NILFS_SB2_OFFSET_BYTES(newsize); in nilfs_resize_fs()454 newnsegs = sb2off >> nilfs->ns_blocksize_bits; in nilfs_resize_fs()467 nilfs_move_2nd_super(sb, sb2off); in nilfs_resize_fs()
598 u64 sb2off, devsize = bdev_nr_bytes(nilfs->ns_bdev); in nilfs_load_super_block() local605 sb2off = NILFS_SB2_OFFSET_BYTES(devsize); in nilfs_load_super_block()609 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()635 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block()