/netbsd-src/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 94 int32_t *bap; in ffs_balloc_ufs1() local 257 bap = (int32_t *)bp->b_data; in ffs_balloc_ufs1() 258 nb = ufs_rw32(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs1() 287 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 297 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]); in ffs_balloc_ufs1() 311 bap[indirs[num].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 340 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 …]
|
H A D | ffs_alloc.c | 159 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) in ffs_blkpref_ufs1() argument 166 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1() 175 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1() 180 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs1() 194 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs1() 198 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) in ffs_blkpref_ufs2() argument 205 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2() 214 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2() 219 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs2() 235 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs2()
|
/netbsd-src/sys/arch/amiga/dev/ |
H A D | zz9k_usb.c | 75 struct zz9kbus_attach_args *bap = aux; in zzusb_match() local 77 if (strcmp(bap->zzaa_name, "zz9k_usb") != 0) in zzusb_match() 86 struct zz9kbus_attach_args *bap = aux; in zzusb_attach() local 91 sc->sc_bst.base = bap->zzaa_base; in zzusb_attach()
|
H A D | zz9k_if.c | 114 struct zz9kbus_attach_args *bap = aux; in zzif_match() local 116 if (strcmp(bap->zzaa_name, "zz9k_if") != 0) in zzif_match() 125 struct zz9kbus_attach_args *bap = aux; in zzif_attach() local 132 sc->sc_bst.base = bap->zzaa_base; in zzif_attach()
|
H A D | zz9k_ax.c | 189 struct zz9kbus_attach_args *bap = aux; in zzax_match() local 191 if (strcmp(bap->zzaa_name, "zz9k_ax") != 0) in zzax_match() 200 struct zz9kbus_attach_args *bap = aux; in zzax_attach() local 205 sc->sc_bst.base = bap->zzaa_base; in zzax_attach()
|
H A D | zz9k_fb.c | 243 struct zz9kbus_attach_args *bap = aux; in zzfb_match() local 245 if (strcmp(bap->zzaa_name, "zz9k_fb") != 0) { in zzfb_match() 255 struct zz9kbus_attach_args *bap = aux; in zzfb_attach() local 263 sc->sc_bst.base = bap->zzaa_base; in zzfb_attach()
|
/netbsd-src/sys/ufs/ext2fs/ |
H A D | ext2fs_balloc.c | 104 int32_t *bap; /* XXX ondisk32 */ in ext2fs_balloc() local 218 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */ in ext2fs_balloc() 219 nb = fs2h32(bap[indirs[i].in_off]); in ext2fs_balloc() 250 bap[indirs[i - 1].in_off] = h2fs32((int32_t)nb); in ext2fs_balloc() 265 pref = ext2fs_blkpref(ip, lbn, indirs[num].in_off, &bap[0]); in ext2fs_balloc() 276 bap[indirs[num].in_off] = h2fs32((int32_t)nb); in ext2fs_balloc() 331 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */ in ext2fs_balloc() 332 bap[indirs[unwindidx].in_off] = 0; in ext2fs_balloc()
|
H A D | ext2fs_inode.c | 503 int32_t *bap; /* XXX ondisk32 */ in ext2fs_indirtrunc() local 552 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */ in ext2fs_indirtrunc() 556 memcpy((void *)copy, (void *)bap, (u_int)fs->e2fs_bsize); in ext2fs_indirtrunc() 557 memset((void *)&bap[last + 1], 0, in ext2fs_indirtrunc() 562 bap = copy; in ext2fs_indirtrunc() 572 nb = fs2h32(bap[i]); in ext2fs_indirtrunc() 593 nb = fs2h32(bap[i]); in ext2fs_indirtrunc()
|
H A D | ext2fs_alloc.c | 248 int32_t *bap /* XXX ondisk32 */) in ext2fs_blkpref() argument 268 if (bap) { in ext2fs_blkpref() 270 if (bap[i]) { in ext2fs_blkpref() 271 return fs2h32(bap[i]) + 1; in ext2fs_blkpref()
|
/netbsd-src/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 120 int32_t *bap; /* XXX ondisk32 */ in ffs_balloc_ufs1() local 318 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */ in ffs_balloc_ufs1() 319 nb = ufs_rw32(bap[indirs[i].in_off], needswap); in ffs_balloc_ufs1() 335 flags | B_METAONLY, &bap[0]); in ffs_balloc_ufs1() 363 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 394 &bap[0]); in ffs_balloc_ufs1() 411 bap[indirs[num].in_off] = ufs_rw32(nb, needswap); in ffs_balloc_ufs1() 499 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */ in ffs_balloc_ufs1() 500 bap[indirs[unwindidx].in_off] = 0; in ffs_balloc_ufs1() 538 int64_t *bap; in ffs_balloc_ufs2() local [all …]
|
H A D | ffs_snapshot.c | 1052 void *bap; 1122 bap = &cancelip->i_ffs1_db[0]; 1124 bap = &cancelip->i_ffs2_db[0]; 1125 error = (*acctfunc)(snapvp, bap, 0, UFS_NDADDR, fs, 0, expungetype); 1129 bap = &cancelip->i_ffs1_ib[0]; 1131 bap = &cancelip->i_ffs2_ib[0]; 1132 error = (*acctfunc)(snapvp, bap, 0, UFS_NIADDR, fs, -1, expungetype); 1166 void *bap; 1197 bap = malloc(fs->fs_bsize, M_DEVBUF, M_WAITOK | M_ZERO); 1198 memcpy((void *)bap, bp->b_data, fs->fs_bsize); [all …]
|
H A D | ffs_alloc.c | 772 int32_t *bap /* XXX ondisk32 */) in ffs_blkpref_ufs1() argument 801 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs1() 810 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs1() 815 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs1() 831 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs1() 836 int64_t *bap) in ffs_blkpref_ufs2() argument 865 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in ffs_blkpref_ufs2() 874 if (indx == 0 || bap[indx - 1] == 0) in ffs_blkpref_ufs2() 879 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); in ffs_blkpref_ufs2() 895 return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; in ffs_blkpref_ufs2()
|
/netbsd-src/sys/ufs/lfs/ |
H A D | lfs_inode.c | 729 void *bap; in lfs_indirtrunc() local 786 bap = lfs_malloc(fs, lfs_sb_getbsize(fs), LFS_NB_IBLOCK); in lfs_indirtrunc() 787 memcpy(bap, bp->b_data, lfs_sb_getbsize(fs)); in lfs_indirtrunc() 797 bap = bp->b_data; in lfs_indirtrunc() 806 nb = lfs_iblock_get(fs, bap, i); in lfs_indirtrunc() 820 if (lfs_iblock_get(fs, bap, i) > 0) in lfs_indirtrunc() 830 nb = lfs_iblock_get(fs, bap, i); in lfs_indirtrunc() 843 lfs_free(fs, bap, LFS_NB_IBLOCK); in lfs_indirtrunc()
|
H A D | ulfs_extattr.c | 962 struct ulfs_extattr_header *ueh, off_t *bap) in ulfs_extattr_get_header() argument 1030 if (bap != NULL) in ulfs_extattr_get_header() 1031 *bap = base_offset; in ulfs_extattr_get_header()
|
/netbsd-src/share/misc/ |
H A D | indent.pro | 1 -bap
|
/netbsd-src/sys/arch/sun2/sun2/ |
H A D | machdep.c | 1059 bus_addr_t *bap) in vmebus_translate() argument 1079 *bap = base | addr; in vmebus_translate() 1080 *btp = (*bap & 0x800000 ? PMAP_VME8 : PMAP_VME0); in vmebus_translate()
|
/netbsd-src/usr.bin/indent/ |
H A D | .indent.pro | 3 -bap /* Force a blank line after function body. */
|
/netbsd-src/sys/ufs/ufs/ |
H A D | ufs_extattr.c | 951 struct ufs_extattr_header *ueh, off_t *bap) in ufs_extattr_get_header() argument 1019 if (bap != NULL) in ufs_extattr_get_header() 1020 *bap = base_offset; in ufs_extattr_get_header()
|
/netbsd-src/sys/arch/sparc/dev/ |
H A D | vme_machdep.c | 466 bus_addr_t *bap) in vmebus_translate() argument 477 *bap = BUS_ADDR(rp->pspace, rp->poffset + addr); in vmebus_translate()
|
/netbsd-src/sys/arch/sparc64/sparc64/ |
H A D | machdep.c | 2207 bus_addr_t *bap) in bus_space_translate_address_generic() argument 2209 int i, space = BUS_ADDR_IOSPACE(*bap); in bus_space_translate_address_generic() 2218 *bap = BUS_ADDR(rp->or_parent_space, in bus_space_translate_address_generic() 2219 rp->or_parent_base + BUS_ADDR_PADDR(*bap)); in bus_space_translate_address_generic()
|
/netbsd-src/sys/arch/sparc/sparc/ |
H A D | machdep.c | 2823 bus_addr_t *bap) in bus_space_translate_address_generic() argument 2825 int i, space = BUS_ADDR_IOSPACE(*bap); in bus_space_translate_address_generic() 2834 *bap = BUS_ADDR(rp->or_parent_space, in bus_space_translate_address_generic() 2835 rp->or_parent_base + BUS_ADDR_PADDR(*bap)); in bus_space_translate_address_generic()
|
/netbsd-src/crypto/external/bsd/openssl/dist/util/ |
H A D | indent.pro | 1 -bap
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/util/ |
H A D | indent.pro | 1 -bap
|
/netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/ |
H A D | pftn.c | 2152 struct attr *bap; in tymerge() local 2166 bap = typ->n_ap; in tymerge() 2205 ap->next = bap; in tymerge() 2207 idp->n_ap = bap; in tymerge()
|
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
H A D | pftn.c | 2134 struct attr *bap; in tymerge() local 2148 bap = typ->n_ap; in tymerge() 2182 idp->n_ap = bap; in tymerge()
|