| /freebsd-13.1/usr.sbin/makefs/ffs/ |
| H A D | ffs_balloc.c | 89 int32_t *bap; in ffs_balloc_ufs1() local 256 bap = (int32_t *)bp->b_data; in ffs_balloc_ufs1() 257 nb = ufs_rw32(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs1() 286 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 296 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]); in ffs_balloc_ufs1() 310 bap[indirs[num].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 340 int64_t *bap; in ffs_balloc_ufs2() local 507 bap = (int64_t *)bp->b_data; in ffs_balloc_ufs2() 508 nb = ufs_rw64(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs2() 537 bap[indirs[i - 1].in_off] = ufs_rw64(nb, needswap); in ffs_balloc_ufs2() [all …]
|
| H A D | ffs_alloc.c | 154 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) in ffs_blkpref_ufs1() argument 161 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1() 170 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1() 175 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs1() 189 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs1() 193 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) in ffs_blkpref_ufs2() argument 200 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2() 209 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2() 214 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs2() 230 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs2()
|
| /freebsd-13.1/sys/fs/ext2fs/ |
| H A D | ext2_balloc.c | 110 e2fs_daddr_t *bap, pref; in ext2_balloc() local 222 bap = (e2fs_daddr_t *)bp->b_data; in ext2_balloc() 223 nb = le32toh(bap[indirs[i].in_off]); in ext2_balloc() 233 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap, in ext2_balloc() 255 bap[indirs[i - 1].in_off] = htole32(nb); in ext2_balloc() 273 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, &bap[0], in ext2_balloc() 287 bap[indirs[i].in_off] = htole32(nb); in ext2_balloc()
|
| H A D | ext2_inode.c | 129 e2fs_daddr_t *bap, *copy; in ext2_indirtrunc() local 171 bap = (e2fs_daddr_t *)bp->b_data; in ext2_indirtrunc() 173 bcopy((caddr_t)bap, (caddr_t)copy, (u_int)fs->e2fs_bsize); in ext2_indirtrunc() 174 bzero((caddr_t)&bap[last + 1], in ext2_indirtrunc() 185 bap = copy; in ext2_indirtrunc() 192 nb = le32toh(bap[i]); in ext2_indirtrunc() 210 nb = le32toh(bap[i]); in ext2_indirtrunc()
|
| H A D | ext2_alloc.c | 209 uint32_t *bap, *sbap, *ebap; in ext2_reallocblks() local 315 for (bap = &sbap[soff], i = 0; i < len; i++, blkno += fs->e2fs_fpb) { in ext2_reallocblks() 317 bap = ebap; in ext2_reallocblks() 321 if (buflist->bs_children[i]->b_blkno != fsbtodb(fs, *bap)) in ext2_reallocblks() 324 SDT_PROBE1(ext2fs, , alloc, ext2_reallocblks_bap, *bap); in ext2_reallocblks() 325 *bap++ = blkno; in ext2_reallocblks() 707 ext2_blkpref(struct inode *ip, e2fs_lbn_t lbn, int indx, e2fs_daddr_t *bap, in ext2_blkpref() argument 728 if (bap) in ext2_blkpref() 730 if (bap[tmp]) in ext2_blkpref() 731 return (le32toh(bap[tmp])); in ext2_blkpref()
|
| /freebsd-13.1/sys/ufs/ffs/ |
| H A D | ffs_balloc.c | 108 ufs1_daddr_t *bap, pref; in ffs_balloc_ufs1() local 308 bap = (ufs1_daddr_t *)bp->b_data; in ffs_balloc_ufs1() 309 nb = bap[indirs[i].in_off]; in ffs_balloc_ufs1() 375 bap[indirs[i - 1].in_off] = nb; in ffs_balloc_ufs1() 413 &bap[0]); in ffs_balloc_ufs1() 449 bap[indirs[i].in_off] = nb; in ffs_balloc_ufs1() 610 ufs2_daddr_t nb, newb, *bap, pref; in ffs_balloc_ufs2() local 930 nb = bap[indirs[i].in_off]; in ffs_balloc_ufs2() 997 bap[indirs[i - 1].in_off] = nb; in ffs_balloc_ufs2() 1035 &bap[0]); in ffs_balloc_ufs2() [all …]
|
| H A D | ffs_alloc.c | 572 ufs1_daddr_t *bap, *sbap, *ebap; local 716 bap = ebap; 728 printf(" %d,", *bap); 740 *bap++ = blkno; 838 ufs2_daddr_t *bap, *sbap, *ebap; local 980 bap = ebap; 1004 *bap++ = blkno; 1388 ufs1_daddr_t *bap; 1446 prevbn = bap[indx - 1]; 1501 ufs2_daddr_t *bap; [all …]
|
| H A D | ffs_snapshot.c | 1142 ufs1_daddr_t last, *bap; local 1171 bap = malloc(fs->fs_bsize, M_DEVBUF, M_WAITOK); 1172 bcopy(bp->b_data, (caddr_t)bap, fs->fs_bsize); 1174 error = (*acctfunc)(snapvp, &bap[0], &bap[last], fs, 1184 error = indiracct_ufs1(snapvp, cancelvp, level, bap[i], lbn, 1193 free(bap, M_DEVBUF); 1428 ufs2_daddr_t last, *bap; local 1457 bap = malloc(fs->fs_bsize, M_DEVBUF, M_WAITOK); 1458 bcopy(bp->b_data, (caddr_t)bap, fs->fs_bsize); 1460 error = (*acctfunc)(snapvp, &bap[0], &bap[last], fs, [all …]
|
| /freebsd-13.1/share/examples/indent/ |
| H A D | indent.pro | 18 -bap
|
| /freebsd-13.1/share/dict/ |
| H A D | web2 | 18410 bap
|