Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:bn

95 ext2fs_balloc(struct inode *ip, daddr_t bn, int size,
112 UVMHIST_LOG(ubchist, "bn 0x%x", bn, 0, 0, 0);
117 if (bn < 0)
120 lbn = bn;
125 if (bn < EXT2FS_NDADDR) {
127 nb = fs2h32(ip->i_e2fs_blocks[bn]);
135 error = bread(vp, bn, fs->e2fs_bsize,
149 error = ext2fs_alloc(ip, bn,
150 ext2fs_blkpref(ip, bn, bn, &ip->i_e2fs_blocks[0]),
157 ip->i_e2fs_blocks[bn] = h2fs32((int32_t)newb);
160 bp = getblk(vp, bn, fs->e2fs_bsize, 0, 0);
172 if ((error = ufs_getlbns(vp, bn, indirs, &num)) != 0)