Lines Matching defs:bap
154 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap)
161 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
170 if (indx == 0 || bap[indx - 1] == 0)
175 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
189 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
193 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap)
200 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
209 if (indx == 0 || bap[indx - 1] == 0)
214 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
230 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;