Lines Matching refs:bap
152 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap)
159 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
168 if (indx == 0 || bap[indx - 1] == 0)
173 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
187 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
191 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap)
198 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
207 if (indx == 0 || bap[indx - 1] == 0)
212 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
228 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;