Lines Matching full:checkpoint

3  * cpfile.c - NILFS checkpoint file.
147 * @start_cno: start checkpoint number (inclusive)
148 * @end_cno: end checkpoint number (inclusive)
149 * @cnop: place to store the next checkpoint number
190 * nilfs_cpfile_get_checkpoint - get a checkpoint
191 * @cpfile: inode of checkpoint file
192 * @cno: checkpoint number
194 * @cpp: pointer to a checkpoint
197 * Description: nilfs_cpfile_get_checkpoint() acquires the checkpoint
198 * specified by @cno. A new checkpoint will be created if @cno is the current
199 * checkpoint number and @create is nonzero.
201 * Return Value: On success, 0 is returned, and the checkpoint and the
202 * buffer head of the buffer on which the checkpoint is located are stored in
210 * %-ENOENT - No such checkpoint.
212 * %-EINVAL - invalid checkpoint.
247 /* a newly-created checkpoint */ in nilfs_cpfile_get_checkpoint()
276 * nilfs_cpfile_put_checkpoint - put a checkpoint
277 * @cpfile: inode of checkpoint file
278 * @cno: checkpoint number
281 * Description: nilfs_cpfile_put_checkpoint() releases the checkpoint
294 * @cpfile: inode of checkpoint file
295 * @start: start checkpoint number
296 * @end: end checkpoint numer
380 "error %d deleting checkpoint block", in nilfs_cpfile_delete_checkpoints()
437 return -ENOENT; /* checkpoint number 0 is invalid */ in nilfs_cpfile_do_get_cpinfo()
629 return -ENOENT; /* checkpoint number 0 is invalid */ in nilfs_cpfile_set_snapshot()
747 return -ENOENT; /* checkpoint number 0 is invalid */ in nilfs_cpfile_clear_snapshot()
841 * @cpfile: inode of checkpoint file
842 * @cno: checkpoint number
846 * Return Value: On success, 1 is returned if the checkpoint specified by
854 * %-ENOENT - No such checkpoint.
889 * nilfs_cpfile_change_cpmode - change checkpoint mode
890 * @cpfile: inode of checkpoint file
891 * @cno: checkpoint number
892 * @mode: mode of checkpoint
894 * Description: nilfs_change_cpmode() changes the mode of the checkpoint
904 * %-ENOENT - No such checkpoint.
931 * nilfs_cpfile_get_stat - get checkpoint statistics
932 * @cpfile: inode of checkpoint file
933 * @cpstat: pointer to a structure of checkpoint statistics
973 * @cpsize: size of a checkpoint entry
984 nilfs_err(sb, "too large checkpoint size: %zu bytes", cpsize); in nilfs_cpfile_read()
987 nilfs_err(sb, "too small checkpoint size: %zu bytes", cpsize); in nilfs_cpfile_read()