Searched refs:sustat (Results 1 – 2 of 2) sorted by relevance
561 int nilfs_sufile_get_stat(struct inode *sufile, struct nilfs_sustat *sustat) in nilfs_sufile_get_stat() argument577 sustat->ss_nsegs = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_get_stat()578 sustat->ss_ncleansegs = le64_to_cpu(header->sh_ncleansegs); in nilfs_sufile_get_stat()579 sustat->ss_ndirtysegs = le64_to_cpu(header->sh_ndirtysegs); in nilfs_sufile_get_stat()580 sustat->ss_ctime = nilfs->ns_ctime; in nilfs_sufile_get_stat()581 sustat->ss_nongc_ctime = nilfs->ns_nongc_ctime; in nilfs_sufile_get_stat()583 sustat->ss_prot_seq = nilfs->ns_prot_seq; in nilfs_sufile_get_stat()
280 struct nilfs_sustat sustat; in nilfs_ioctl_get_sustat() local284 ret = nilfs_sufile_get_stat(nilfs->ns_sufile, &sustat); in nilfs_ioctl_get_sustat()289 if (copy_to_user(argp, &sustat, sizeof(sustat))) in nilfs_ioctl_get_sustat()