Searched refs:indirs (Results 1 – 3 of 3) sorted by relevance
| /dragonfly/usr.sbin/makefs/ffs/ |
| HD | ffs_balloc.c | 89 struct indir indirs[UFS_NIADDR + 2]; in ffs_balloc_ufs1() local 211 if ((error = ufs_getlbns(ip, lbn, indirs, &num)) != 0) in ffs_balloc_ufs1() 224 nb = ufs_rw32(ip->i_ffs1_ib[indirs[0].in_off], needswap); in ffs_balloc_ufs1() 234 bp = getblk(ip->i_devvp, indirs[1].in_lbn, fs->fs_bsize, 0, 0, 0); in ffs_balloc_ufs1() 243 allocib = &ip->i_ffs1_ib[indirs[0].in_off]; in ffs_balloc_ufs1() 252 error = bread(ip->i_devvp, indirs[i].in_lbn, fs->fs_bsize, in ffs_balloc_ufs1() 259 nb = ufs_rw32(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs1() 276 nbp = getblk(ip->i_devvp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0); in ffs_balloc_ufs1() 288 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 298 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]); in ffs_balloc_ufs1() [all …]
|
| /dragonfly/sys/vfs/ufs/ |
| HD | ffs_balloc.c | 77 struct indir indirs[UFS_NIADDR + 2]; in ffs_balloc() local 219 if ((error = ufs_getlbns(vp, lbn, indirs, &num)) != 0) in ffs_balloc() 249 nb = ip->i_ib[indirs[0].in_off]; in ffs_balloc() 262 *lbns_remfree++ = indirs[1].in_lbn; in ffs_balloc() 263 bp = getblk(vp, lblktodoff(fs, indirs[1].in_lbn), in ffs_balloc() 269 UFS_NDADDR + indirs[0].in_off, in ffs_balloc() 282 allocib = &ip->i_ib[indirs[0].in_off]; in ffs_balloc() 291 error = bread(vp, lblktodoff(fs, indirs[i].in_lbn), (int)fs->fs_bsize, &bp); in ffs_balloc() 297 nb = bap[indirs[i].in_off]; in ffs_balloc() 314 *lbns_remfree++ = indirs[i].in_lbn; in ffs_balloc() [all …]
|
| /dragonfly/sys/vfs/ext2fs/ |
| HD | ext2_balloc.c | 79 struct indir indirs[EXT2_NIADDR + 2]; in ext2_balloc() local 151 if ((error = ext2_getlbns(vp, lbn, indirs, &num)) != 0) in ext2_balloc() 161 nb = ip->i_ib[indirs[0].in_off]; in ext2_balloc() 164 pref = ext2_blkpref(ip, lbn, indirs[0].in_off + in ext2_balloc() 172 bp = getblk(vp, lblktodoff(fs, indirs[1].in_lbn), in ext2_balloc() 184 ip->i_ib[indirs[0].in_off] = newb; in ext2_balloc() 191 error = bread(vp, lblktodoff(fs, indirs[i].in_lbn), in ext2_balloc() 198 nb = le32toh(bap[indirs[i].in_off]); in ext2_balloc() 208 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap, in ext2_balloc() 220 nbp = getblk(vp, lblktodoff(fs, indirs[i].in_lbn), in ext2_balloc() [all …]
|