Home
last modified time | relevance | path

Searched refs:cpfile (Results 1 – 5 of 5) sorted by relevance

/linux/fs/nilfs2/
H A Dcpfile.c20 nilfs_cpfile_checkpoints_per_block(const struct inode *cpfile) in nilfs_cpfile_checkpoints_per_block() argument
22 return NILFS_MDT(cpfile)->mi_entries_per_block; in nilfs_cpfile_checkpoints_per_block()
27 nilfs_cpfile_get_blkoff(const struct inode *cpfile, __u64 cno) in nilfs_cpfile_get_blkoff() argument
29 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_blkoff()
31 tcno = div64_ul(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); in nilfs_cpfile_get_blkoff()
37 nilfs_cpfile_get_offset(const struct inode *cpfile, __u64 cno) in nilfs_cpfile_get_offset() argument
39 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_offset()
41 return do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); in nilfs_cpfile_get_offset()
44 static __u64 nilfs_cpfile_first_checkpoint_in_block(const struct inode *cpfile, in nilfs_cpfile_first_checkpoint_in_block() argument
47 return (__u64)nilfs_cpfile_checkpoints_per_block(cpfile) * blkoff in nilfs_cpfile_first_checkpoint_in_block()
[all …]
H A Dcpfile.h19 int nilfs_cpfile_read_checkpoint(struct inode *cpfile, __u64 cno,
21 int nilfs_cpfile_create_checkpoint(struct inode *cpfile, __u64 cno);
22 int nilfs_cpfile_finalize_checkpoint(struct inode *cpfile, __u64 cno,
H A DMakefile5 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
H A Dioctl.c675 struct inode *cpfile = nilfs->ns_cpfile; in nilfs_ioctl_delete_checkpoints() local
681 cpfile, periods[i].p_start, periods[i].p_end); in nilfs_ioctl_delete_checkpoints()
/linux/Documentation/filesystems/
H A Dnilfs2.rst239 2) Checkpoint file (cpfile) -- Stores checkpoints
248 | Summary | regular file | file | ... | ifile | cpfile | sufile | DAT |SR|
259 three special inodes, inodes for the DAT, cpfile, and sufile. Inodes
262 corresponding checkpoint entry in the cpfile. Thus, the hierarchy
271 `-- cpfile