Home
last modified time | relevance | path

Searched refs:indirs (Results 1 – 3 of 3) sorted by relevance

/openbsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c76 struct indir indirs[NIADDR + 2]; in ffs_balloc_ufs1() local
209 nb = ip->i_ffs1_ib[indirs[0].in_off]; in ffs_balloc_ufs1()
228 allocib = &ip->i_ffs1_ib[indirs[0].in_off]; in ffs_balloc_ufs1()
244 nb = bap[indirs[i].in_off]; in ffs_balloc_ufs1()
273 bap[indirs[i - 1].in_off] = nb; in ffs_balloc_ufs1()
297 bap[indirs[num].in_off] = nb; in ffs_balloc_ufs1()
325 struct indir indirs[NIADDR + 2]; in ffs_balloc_ufs2() local
458 nb = ip->i_ffs2_ib[indirs[0].in_off]; in ffs_balloc_ufs2()
493 nb = bap[indirs[i].in_off]; in ffs_balloc_ufs2()
522 bap[indirs[i - 1].in_off] = nb; in ffs_balloc_ufs2()
[all …]
/openbsd/sys/ufs/ext2fs/
H A Dext2fs_balloc.c61 struct indir indirs[NIADDR + 2]; in ext2fs_buf_alloc() local
111 if ((error = ufs_getlbns(vp, bn, indirs, &num)) != 0) in ext2fs_buf_alloc()
121 nb = letoh32(ip->i_e2fs_blocks[NDADDR + indirs[0].in_off]); in ext2fs_buf_alloc()
142 allocib = &ip->i_e2fs_blocks[NDADDR + indirs[0].in_off]; in ext2fs_buf_alloc()
156 nb = letoh32(bap[indirs[i].in_off]); in ext2fs_buf_alloc()
186 bap[indirs[i - 1].in_off] = htole32(nb); in ext2fs_buf_alloc()
201 pref = ext2fs_blkpref(ip, lbn, indirs[num].in_off, bap); in ext2fs_buf_alloc()
211 bap[indirs[num].in_off] = htole32(nb); in ext2fs_buf_alloc()
257 r = bread(vp, indirs[unwindidx].in_lbn, in ext2fs_buf_alloc()
263 bap[indirs[unwindidx].in_off] = 0; in ext2fs_buf_alloc()
[all …]
/openbsd/sys/ufs/ffs/
H A Dffs_balloc.c78 struct indir indirs[NIADDR + 2]; in ffs1_balloc() local
222 nb = ip->i_ffs1_ib[indirs[0].in_off]; in ffs1_balloc()
260 nb = bap[indirs[i].in_off]; in ffs1_balloc()
290 bap[indirs[i - 1].in_off] = nb; in ffs1_balloc()
323 bap[indirs[i].in_off] = nb; in ffs1_balloc()
382 bap[indirs[unwindidx].in_off] = 0; in ffs1_balloc()
412 struct indir indirs[NIADDR + 2]; in ffs2_balloc() local
614 nb = bap[indirs[i].in_off]; in ffs2_balloc()
655 bap[indirs[i - 1].in_off] = nb; in ffs2_balloc()
691 bap[indirs[num].in_off] = nb; in ffs2_balloc()
[all …]