Home
last modified time | relevance | path

Searched refs:ns_sbp (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/nilfs2/
H A Dthe_nilfs.c101 struct nilfs_super_block **sbp = nilfs->ns_sbp; in nilfs_load_super_root()
254 struct nilfs_super_block **sbp = nilfs->ns_sbp; in load_nilfs()
322 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in load_nilfs()
566 if (nilfs->ns_sbp[i]) { in nilfs_release_super_block()
569 nilfs->ns_sbp[i] = NULL; in nilfs_release_super_block()
578 nilfs->ns_sbp[0] = nilfs->ns_sbp[1]; in nilfs_fall_back_super_block()
580 nilfs->ns_sbp[1] = NULL; in nilfs_fall_back_super_block()
586 struct nilfs_super_block *tsbp = nilfs->ns_sbp[0]; in nilfs_swap_super_block()
589 nilfs->ns_sbp[0] = nilfs->ns_sbp[1]; in nilfs_swap_super_block()
591 nilfs->ns_sbp[1] = tsbp; in nilfs_swap_super_block()
[all …]
H A Dsuper.c195 memcpy(nilfs->ns_sbp[1], nilfs->ns_sbp[0], in nilfs_sync_super()
201 struct nilfs_super_block *sbp = nilfs->ns_sbp[0]; in nilfs_sync_super()
218 if (le64_to_cpu(nilfs->ns_sbp[1]->s_last_cno) < in nilfs_sync_super()
219 le64_to_cpu(nilfs->ns_sbp[0]->s_last_cno)) in nilfs_sync_super()
220 sbp = nilfs->ns_sbp[1]; in nilfs_sync_super()
251 struct nilfs_super_block **sbp = nilfs->ns_sbp; in nilfs_prepare_super()
276 struct nilfs_super_block **sbp = nilfs->ns_sbp; in nilfs_commit_super()
385 memcpy(nsbp, nilfs->ns_sbp[sb2i], nilfs->ns_sbsize); in nilfs_move_2nd_super()
403 nilfs->ns_sbp[sb2i] = nsbp; in nilfs_move_2nd_super()
407 nilfs->ns_sbp[1] = nsbp; in nilfs_move_2nd_super()
[all …]
H A Dsysfs.c844 raw_sb = nilfs->ns_sbp[0]; in nilfs_dev_revision_show()
869 raw_sb = nilfs->ns_sbp[0]; in nilfs_dev_device_size_show()
897 raw_sb = nilfs->ns_sbp[0]; in nilfs_dev_uuid_show()
913 raw_sb = nilfs->ns_sbp[0]; in nilfs_dev_volume_name_show()
H A Dthe_nilfs.h110 struct nilfs_super_block *ns_sbp[2]; member