Home
last modified time | relevance | path

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

/openbmc/linux/fs/nilfs2/
H A 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()
H A Dsegment.c985 struct nilfs_super_root *raw_sr; in nilfs_segctor_fill_in_super_root() local
991 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_segctor_fill_in_super_root()
995 raw_sr->sr_sum = 0; /* Ensure initialization within this update */ in nilfs_segctor_fill_in_super_root()
996 raw_sr->sr_bytes = cpu_to_le16(srsz); in nilfs_segctor_fill_in_super_root()
997 raw_sr->sr_nongc_ctime in nilfs_segctor_fill_in_super_root()
1000 raw_sr->sr_flags = 0; in nilfs_segctor_fill_in_super_root()
1002 nilfs_write_inode_common(nilfs->ns_dat, (void *)raw_sr + in nilfs_segctor_fill_in_super_root()
1004 nilfs_write_inode_common(nilfs->ns_cpfile, (void *)raw_sr + in nilfs_segctor_fill_in_super_root()
1006 nilfs_write_inode_common(nilfs->ns_sufile, (void *)raw_sr + in nilfs_segctor_fill_in_super_root()
1008 memset((void *)raw_sr + srsz, 0, nilfs->ns_blocksize - srsz); in nilfs_segctor_fill_in_super_root()
H A 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()