Home
last modified time | relevance | path

Searched refs:bap (Results 1 – 11 of 11) sorted by relevance

/freebsd-11-stable/usr.sbin/makefs/ffs/
HDffs_balloc.c87 int32_t *bap; in ffs_balloc_ufs1() local
253 bap = (int32_t *)bp->b_data; in ffs_balloc_ufs1()
254 nb = ufs_rw32(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs1()
283 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1()
293 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]); in ffs_balloc_ufs1()
307 bap[indirs[num].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1()
337 int64_t *bap; in ffs_balloc_ufs2() local
503 bap = (int64_t *)bp->b_data; in ffs_balloc_ufs2()
504 nb = ufs_rw64(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs2()
533 bap[indirs[i - 1].in_off] = ufs_rw64(nb, needswap); in ffs_balloc_ufs2()
[all …]
HDffs_alloc.c152 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) in ffs_blkpref_ufs1() argument
159 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1()
168 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1()
173 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs1()
187 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs1()
191 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) in ffs_blkpref_ufs2() argument
198 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2()
207 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2()
212 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs2()
228 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs2()
/freebsd-11-stable/sys/fs/ext2fs/
HDext2_balloc.c69 e2fs_daddr_t *bap, pref; in ext2_balloc() local
171 bap = (e2fs_daddr_t *)bp->b_data; in ext2_balloc()
172 nb = bap[indirs[i].in_off]; in ext2_balloc()
182 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap, in ext2_balloc()
202 bap[indirs[i - 1].in_off] = nb; in ext2_balloc()
220 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, &bap[0], in ext2_balloc()
232 bap[indirs[i].in_off] = nb; in ext2_balloc()
HDext2_inode.c384 e2fs_daddr_t *bap, *copy; in ext2_indirtrunc() local
426 bap = (e2fs_daddr_t *)bp->b_data; in ext2_indirtrunc()
428 bcopy((caddr_t)bap, (caddr_t)copy, (u_int)fs->e2fs_bsize); in ext2_indirtrunc()
429 bzero((caddr_t)&bap[last + 1], in ext2_indirtrunc()
440 bap = copy; in ext2_indirtrunc()
447 nb = bap[i]; in ext2_indirtrunc()
465 nb = bap[i]; in ext2_indirtrunc()
HDext2_alloc.c186 uint32_t *bap, *sbap, *ebap; in ext2_reallocblks() local
294 for (bap = &sbap[soff], i = 0; i < len; i++, blkno += fs->e2fs_fpb) { in ext2_reallocblks()
296 bap = ebap; in ext2_reallocblks()
300 if (buflist->bs_children[i]->b_blkno != fsbtodb(fs, *bap)) in ext2_reallocblks()
304 printf(" %d,", *bap); in ext2_reallocblks()
306 *bap++ = blkno; in ext2_reallocblks()
575 ext2_blkpref(struct inode *ip, e2fs_lbn_t lbn, int indx, e2fs_daddr_t *bap, in ext2_blkpref() argument
593 if (bap) in ext2_blkpref()
595 if (bap[tmp]) in ext2_blkpref()
596 return bap[tmp]; in ext2_blkpref()
/freebsd-11-stable/sys/ufs/ffs/
HDffs_balloc.c104 ufs1_daddr_t *bap, pref; in ffs_balloc_ufs1() local
296 bap = (ufs1_daddr_t *)bp->b_data; in ffs_balloc_ufs1()
297 nb = bap[indirs[i].in_off]; in ffs_balloc_ufs1()
353 bap[indirs[i - 1].in_off] = nb; in ffs_balloc_ufs1()
390 &bap[0]); in ffs_balloc_ufs1()
421 bap[indirs[i].in_off] = nb; in ffs_balloc_ufs1()
514 bap = (ufs1_daddr_t *)bp->b_data; in ffs_balloc_ufs1()
515 bap[indirs[unwindidx].in_off] = 0; in ffs_balloc_ufs1()
577 ufs2_daddr_t nb, newb, *bap, pref; in ffs_balloc_ufs2() local
885 bap = (ufs2_daddr_t *)bp->b_data; in ffs_balloc_ufs2()
[all …]
HDffs_alloc.c521 ufs1_daddr_t *bap, *sbap, *ebap; local
663 for (bap = &sbap[soff], i = 0; i < len; i++, blkno += fs->fs_frag) {
665 bap = ebap;
672 if (dbtofsb(fs, buflist->bs_children[i]->b_blkno) != *bap)
677 printf(" %d,", *bap);
682 blkno, *bap, fs->fs_bsize, fs->fs_bsize,
687 *bap, buflist->bs_children[i]);
689 *bap++ = blkno;
771 ufs2_daddr_t *bap, *sbap, *ebap; local
911 for (bap = &sbap[soff], i = 0; i < len; i++, blkno += fs->fs_frag) {
[all …]
HDffs_snapshot.c1105 ufs1_daddr_t last, *bap; local
1134 bap = malloc(fs->fs_bsize, M_DEVBUF, M_WAITOK);
1135 bcopy(bp->b_data, (caddr_t)bap, fs->fs_bsize);
1137 error = (*acctfunc)(snapvp, &bap[0], &bap[last], fs,
1147 error = indiracct_ufs1(snapvp, cancelvp, level, bap[i], lbn,
1156 free(bap, M_DEVBUF);
1389 ufs2_daddr_t last, *bap; local
1418 bap = malloc(fs->fs_bsize, M_DEVBUF, M_WAITOK);
1419 bcopy(bp->b_data, (caddr_t)bap, fs->fs_bsize);
1421 error = (*acctfunc)(snapvp, &bap[0], &bap[last], fs,
[all …]
/freebsd-11-stable/share/examples/indent/
HDindent.pro18 -bap
/freebsd-11-stable/crypto/openssl/util/
HDindent.pro1 -bap
/freebsd-11-stable/share/dict/
HDweb218410 bap