Home
last modified time | relevance | path

Searched refs:cpstat (Results 1 – 2 of 2) sorted by relevance

/linux/fs/nilfs2/
H A Dioctl.c327 struct nilfs_cpstat cpstat; in nilfs_ioctl_get_cpstat() local
331 ret = nilfs_cpfile_get_stat(nilfs->ns_cpfile, &cpstat); in nilfs_ioctl_get_cpstat()
336 if (copy_to_user(argp, &cpstat, sizeof(cpstat))) in nilfs_ioctl_get_cpstat()
H A Dcpfile.c1092 * @cpstat: pointer to a structure of checkpoint statistics
1095 * The checkpoint statistics are stored in the location pointed to by @cpstat.
1102 int nilfs_cpfile_get_stat(struct inode *cpfile, struct nilfs_cpstat *cpstat) in nilfs_cpfile_get_stat() argument
1114 cpstat->cs_cno = nilfs_mdt_cno(cpfile); in nilfs_cpfile_get_stat()
1115 cpstat->cs_ncps = le64_to_cpu(header->ch_ncheckpoints); in nilfs_cpfile_get_stat()
1116 cpstat->cs_nsss = le64_to_cpu(header->ch_nsnapshots); in nilfs_cpfile_get_stat()