Searched refs:cpfile (Results 1 – 3 of 3) sorted by relevance
34 nilfs_cpfile_checkpoints_per_block(const struct inode *cpfile) in nilfs_cpfile_checkpoints_per_block() argument36 return NILFS_MDT(cpfile)->mi_entries_per_block; in nilfs_cpfile_checkpoints_per_block()41 nilfs_cpfile_get_blkoff(const struct inode *cpfile, __u64 cno) in nilfs_cpfile_get_blkoff() argument43 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_blkoff()44 do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); in nilfs_cpfile_get_blkoff()50 nilfs_cpfile_get_offset(const struct inode *cpfile, __u64 cno) in nilfs_cpfile_get_offset() argument52 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_offset()53 return do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); in nilfs_cpfile_get_offset()56 static __u64 nilfs_cpfile_first_checkpoint_in_block(const struct inode *cpfile, in nilfs_cpfile_first_checkpoint_in_block() argument59 return (__u64)nilfs_cpfile_checkpoints_per_block(cpfile) * blkoff in nilfs_cpfile_first_checkpoint_in_block()[all …]
4 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
720 struct inode *cpfile = nilfs->ns_cpfile; in nilfs_ioctl_delete_checkpoints() local726 cpfile, periods[i].p_start, periods[i].p_end); in nilfs_ioctl_delete_checkpoints()