Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nilfs2/
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 do_div(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 …]
DMakefile5 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
Dioctl.c699 struct inode *cpfile = nilfs->ns_cpfile; in nilfs_ioctl_delete_checkpoints() local
705 cpfile, periods[i].p_start, periods[i].p_end); in nilfs_ioctl_delete_checkpoints()
/kernel/linux/linux-5.10/Documentation/filesystems/
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