Searched refs:indirs (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.3-release/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 67 struct indir indirs[NIADDR + 2]; local 155 if ((error = ext2_getlbns(vp, lbn, indirs, &num)) != 0) 165 nb = ip->i_ib[indirs[0].in_off]; 168 pref = ext2_blkpref(ip, lbn, indirs[0].in_off + 174 bp = getblk(vp, indirs[1].in_lbn, fs->e2fs_bsize, 0, 0, 0); 185 ip->i_ib[indirs[0].in_off] = newb; 193 indirs[i].in_lbn, (int)fs->e2fs_bsize, NOCRED, &bp); 199 nb = bap[indirs[i].in_off]; 209 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap, 217 nbp = getblk(vp, indirs[ [all...] |
/freebsd-10.3-release/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 85 struct indir indirs[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(ip->i_fd, ip->i_fs, indirs[1].in_lbn, fs->fs_bsize); 238 allocib = &ip->i_ffs1_ib[indirs[0].in_off]; 247 error = bread(ip->i_fd, ip->i_fs, indirs[i].in_lbn, 254 nb = ufs_rw32(bap[indirs[i].in_off], needswap); 271 nbp = getblk(ip->i_fd, ip->i_fs, indirs[i].in_lbn, 284 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); 294 pref = ffs_blkpref_ufs1(ip, lbn, indirs[nu 336 struct indir indirs[NIADDR + 2]; local [all...] |
/freebsd-10.3-release/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 100 struct indir indirs[NIADDR + 2]; local 232 if ((error = ufs_getlbns(vp, lbn, indirs, &num)) != 0) 243 nb = dp->di_ib[indirs[0].in_off]; 249 pref = ffs_blkpref_ufs1(ip, lbn, -indirs[0].in_off - 1, 259 *lbns_remfree++ = indirs[1].in_lbn; 260 bp = getblk(vp, indirs[1].in_lbn, fs->fs_bsize, 0, 0, gbflags); 264 softdep_setup_allocdirect(ip, NDADDR + indirs[0].in_off, 277 allocib = &dp->di_ib[indirs[0].in_off]; 287 indirs[i].in_lbn, (int)fs->fs_bsize, NOCRED, &bp); 293 nb = bap[indirs[ 550 struct indir indirs[NIADDR + 2]; local [all...] |
H A D | ffs_snapshot.c | 1103 struct indir indirs[NIADDR + 2]; local 1112 if ((error = ufs_getlbns(cancelvp, rlbn, indirs, &num)) != 0) 1114 if (lbn != indirs[num - 1 - level].in_lbn || num < 2) 1387 struct indir indirs[NIADDR + 2]; local 1396 if ((error = ufs_getlbns(cancelvp, rlbn, indirs, &num)) != 0) 1398 if (lbn != indirs[num - 1 - level].in_lbn || num < 2)
|
Completed in 58 milliseconds