Home
last modified time | relevance | path

Searched refs:raw_sr (Results 1 – 3 of 3) sorted by relevance

/fs/nilfs2/
Dsegbuf.c234 struct nilfs_super_root *raw_sr; in nilfs_segbuf_fill_in_super_root_crc() local
239 raw_sr = (struct nilfs_super_root *)segbuf->sb_super_root->b_data; in nilfs_segbuf_fill_in_super_root_crc()
242 (unsigned char *)raw_sr + sizeof(raw_sr->sr_sum), in nilfs_segbuf_fill_in_super_root_crc()
243 srsize - sizeof(raw_sr->sr_sum)); in nilfs_segbuf_fill_in_super_root_crc()
244 raw_sr->sr_sum = cpu_to_le32(crc); in nilfs_segbuf_fill_in_super_root_crc()
Dsegment.c988 struct nilfs_super_root *raw_sr; in nilfs_segctor_fill_in_super_root() local
994 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_segctor_fill_in_super_root()
998 raw_sr->sr_sum = 0; /* Ensure initialization within this update */ in nilfs_segctor_fill_in_super_root()
999 raw_sr->sr_bytes = cpu_to_le16(srsz); in nilfs_segctor_fill_in_super_root()
1000 raw_sr->sr_nongc_ctime in nilfs_segctor_fill_in_super_root()
1003 raw_sr->sr_flags = 0; in nilfs_segctor_fill_in_super_root()
1005 nilfs_write_inode_common(nilfs->ns_dat, (void *)raw_sr + in nilfs_segctor_fill_in_super_root()
1007 nilfs_write_inode_common(nilfs->ns_cpfile, (void *)raw_sr + in nilfs_segctor_fill_in_super_root()
1009 nilfs_write_inode_common(nilfs->ns_sufile, (void *)raw_sr + in nilfs_segctor_fill_in_super_root()
1011 memset((void *)raw_sr + srsz, 0, nilfs->ns_blocksize - srsz); in nilfs_segctor_fill_in_super_root()
Dthe_nilfs.c100 struct nilfs_super_root *raw_sr; in nilfs_load_super_root() local
135 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_load_super_root()
136 nilfs->ns_nongc_ctime = le64_to_cpu(raw_sr->sr_nongc_ctime); in nilfs_load_super_root()