Searched refs:indirs (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c83 struct indir indirs[UFS_NIADDR + 2]; local
206 if ((error = ufs_getlbns(ip, lbn, indirs, &num)) != 0)
219 nb = ufs_rw32(ip->i_ffs1_ib[indirs[0].in_off], needswap);
229 bp = getblk((void *)ip->i_devvp, indirs[1].in_lbn,
239 allocib = &ip->i_ffs1_ib[indirs[0].in_off];
248 error = bread((void *)ip->i_devvp, indirs[i].in_lbn,
255 nb = ufs_rw32(bap[indirs[i].in_off], needswap);
272 nbp = getblk((void *)ip->i_devvp, indirs[i].in_lbn,
285 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap);
295 pref = ffs_blkpref_ufs1(ip, lbn, indirs[nu
340 struct indir indirs[UFS_NIADDR + 2]; local
[all...]
/freebsd-current/sys/fs/ext2fs/
H A Dext2_balloc.c105 struct indir indirs[EXT2_NIADDR + 2]; local
175 if ((error = ext2_getlbns(vp, lbn, indirs, &num)) != 0)
185 nb = ip->i_ib[indirs[0].in_off];
188 pref = ext2_blkpref(ip, lbn, indirs[0].in_off +
196 bp = getblk(vp, indirs[1].in_lbn, fs->e2fs_bsize, 0, 0, 0);
207 ip->i_ib[indirs[0].in_off] = newb;
215 indirs[i].in_lbn, (int)fs->e2fs_bsize, NOCRED, &bp);
220 nb = le32toh(bap[indirs[i].in_off]);
230 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap,
240 nbp = getblk(vp, indirs[
[all...]
/freebsd-current/sys/ufs/ffs/
H A Dffs_balloc.c100 struct indir indirs[UFS_NIADDR + 2]; local
243 if ((error = ufs_getlbns(vp, lbn, indirs, &num)) != 0)
254 nb = dp->di_ib[indirs[0].in_off];
260 pref = ffs_blkpref_ufs1(ip, lbn, -indirs[0].in_off - 1,
272 *lbns_remfree++ = indirs[1].in_lbn;
273 bp = getblk(vp, indirs[1].in_lbn, fs->fs_bsize, 0, 0, gbflags);
278 UFS_NDADDR + indirs[0].in_off, newb, 0,
289 allocib = &dp->di_ib[indirs[0].in_off];
299 indirs[i].in_lbn, (int)fs->fs_bsize, NOCRED, &bp);
304 nb = bap[indirs[
604 struct indir indirs[UFS_NIADDR + 2]; local
[all...]
H A Dffs_snapshot.c1137 struct indir indirs[UFS_NIADDR + 2]; local
1146 if ((error = ufs_getlbns(cancelvp, rlbn, indirs, &num)) != 0)
1148 if (lbn != indirs[num - 1 - level].in_lbn || num < 2)
1421 struct indir indirs[UFS_NIADDR + 2]; local
1430 if ((error = ufs_getlbns(cancelvp, rlbn, indirs, &num)) != 0)
1432 if (lbn != indirs[num - 1 - level].in_lbn || num < 2)

Completed in 181 milliseconds