Lines Matching refs:bap
159 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap)
166 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
175 if (indx == 0 || bap[indx - 1] == 0)
180 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
194 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
198 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap)
205 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
214 if (indx == 0 || bap[indx - 1] == 0)
219 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
235 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;