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

/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_balloc.c67 struct indir indirs[NIADDR + 2]; local
128 if ((error = ext2_getlbns(vp, lbn, indirs, &num)) != 0)
138 nb = ip->i_ib[indirs[0].in_off];
141 pref = ext2_blkpref(ip, lbn, indirs[0].in_off +
147 bp = getblk(vp, indirs[1].in_lbn, fs->e2fs_bsize, 0, 0, 0);
158 ip->i_ib[indirs[0].in_off] = newb;
166 indirs[i].in_lbn, (int)fs->e2fs_bsize, NOCRED, &bp);
172 nb = bap[indirs[i].in_off];
182 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap,
190 nbp = getblk(vp, indirs[
[all...]
/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dffs_balloc.c85 struct indir indirs[NIADDR + 2]; local
207 if ((error = ufs_getlbns(ip, lbn, indirs, &num)) != 0)
220 nb = ufs_rw32(ip->i_ffs1_ib[indirs[0].in_off], needswap);
230 bp = getblk(&vp, indirs[1].in_lbn, fs->fs_bsize, 0, 0, 0);
239 allocib = &ip->i_ffs1_ib[indirs[0].in_off];
248 error = bread(&vp, indirs[i].in_lbn, fs->fs_bsize, NULL, &bp);
254 nb = ufs_rw32(bap[indirs[i].in_off], needswap);
271 nbp = getblk(&vp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0);
283 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap);
293 pref = ffs_blkpref_ufs1(ip, lbn, indirs[nu
335 struct indir indirs[NIADDR + 2]; local
[all...]
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_balloc.c101 struct indir indirs[NIADDR + 2]; local
234 if ((error = ufs_getlbns(vp, lbn, indirs, &num)) != 0)
245 nb = dp->di_ib[indirs[0].in_off];
251 pref = ffs_blkpref_ufs1(ip, lbn, -indirs[0].in_off - 1,
263 *lbns_remfree++ = indirs[1].in_lbn;
264 bp = getblk(vp, indirs[1].in_lbn, fs->fs_bsize, 0, 0, gbflags);
268 softdep_setup_allocdirect(ip, NDADDR + indirs[0].in_off,
281 allocib = &dp->di_ib[indirs[0].in_off];
291 indirs[i].in_lbn, (int)fs->fs_bsize, NOCRED, &bp);
297 nb = bap[indirs[
576 struct indir indirs[NIADDR + 2]; local
[all...]
H A Dffs_snapshot.c1104 struct indir indirs[NIADDR + 2]; local
1113 if ((error = ufs_getlbns(cancelvp, rlbn, indirs, &num)) != 0)
1115 if (lbn != indirs[num - 1 - level].in_lbn || num < 2)
1388 struct indir indirs[NIADDR + 2]; local
1397 if ((error = ufs_getlbns(cancelvp, rlbn, indirs, &num)) != 0)
1399 if (lbn != indirs[num - 1 - level].in_lbn || num < 2)

Completed in 65 milliseconds