Searched refs:cpstat (Results 1 – 2 of 2) sorted by relevance
327 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()
1092 * @cpstat: pointer to a structure of checkpoint statistics1095 * 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()