Searched refs:cpfile (Results 1 – 3 of 3) sorted by relevance
20 nilfs_cpfile_checkpoints_per_block(const struct inode *cpfile) in nilfs_cpfile_checkpoints_per_block() argument22 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() argument29 __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() argument39 __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() argument47 return (__u64)nilfs_cpfile_checkpoints_per_block(cpfile) * blkoff in nilfs_cpfile_first_checkpoint_in_block()[all …]
5 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
699 struct inode *cpfile = nilfs->ns_cpfile; in nilfs_ioctl_delete_checkpoints() local705 cpfile, periods[i].p_start, periods[i].p_end); in nilfs_ioctl_delete_checkpoints()