Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nilfs2/
Dsufile.c573 int nilfs_sufile_get_stat(struct inode *sufile, struct nilfs_sustat *sustat) in nilfs_sufile_get_stat() argument
589 sustat->ss_nsegs = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_get_stat()
590 sustat->ss_ncleansegs = le64_to_cpu(header->sh_ncleansegs); in nilfs_sufile_get_stat()
591 sustat->ss_ndirtysegs = le64_to_cpu(header->sh_ndirtysegs); in nilfs_sufile_get_stat()
592 sustat->ss_ctime = nilfs->ns_ctime; in nilfs_sufile_get_stat()
593 sustat->ss_nongc_ctime = nilfs->ns_nongc_ctime; in nilfs_sufile_get_stat()
595 sustat->ss_prot_seq = nilfs->ns_prot_seq; in nilfs_sufile_get_stat()
Dioctl.c412 struct nilfs_sustat sustat; in nilfs_ioctl_get_sustat() local
416 ret = nilfs_sufile_get_stat(nilfs->ns_sufile, &sustat); in nilfs_ioctl_get_sustat()
421 if (copy_to_user(argp, &sustat, sizeof(sustat))) in nilfs_ioctl_get_sustat()
Dsysfs.c399 struct nilfs_sustat sustat; in nilfs_segments_dirty_segments_show() local
403 err = nilfs_sufile_get_stat(nilfs->ns_sufile, &sustat); in nilfs_segments_dirty_segments_show()
411 return snprintf(buf, PAGE_SIZE, "%llu\n", sustat.ss_ndirtysegs); in nilfs_segments_dirty_segments_show()