Searched refs:sb2off (Results 1 – 2 of 2) sorted by relevance
340 static int nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) in nilfs_move_2nd_super() argument362 if (sb2i >= 0 && (u64)blocknr << nilfs->ns_blocksize_bits == sb2off) in nilfs_move_2nd_super()366 newblocknr = sb2off >> nilfs->ns_blocksize_bits; in nilfs_move_2nd_super()367 offset = sb2off & (nilfs->ns_blocksize - 1); in nilfs_move_2nd_super()426 loff_t sb2off; in nilfs_resize_fs() local450 sb2off = NILFS_SB2_OFFSET_BYTES(newsize); in nilfs_resize_fs()451 newnsegs = sb2off >> nilfs->ns_blocksize_bits; in nilfs_resize_fs()464 nilfs_move_2nd_super(sb, sb2off); in nilfs_resize_fs()
600 u64 sb2off, devsize = bdev_nr_bytes(nilfs->ns_bdev); in nilfs_load_super_block() local607 sb2off = NILFS_SB2_OFFSET_BYTES(devsize); in nilfs_load_super_block()611 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()637 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block()