Searched refs:bap (Results 1 - 21 of 21) sorted by relevance

/netbsd-current/sys/arch/amiga/dev/
H A Dzz9k_usb.c75 struct zz9kbus_attach_args *bap = aux; local
77 if (strcmp(bap->zzaa_name, "zz9k_usb") != 0)
86 struct zz9kbus_attach_args *bap = aux; local
91 sc->sc_bst.base = bap->zzaa_base;
H A Dzz9k_if.c114 struct zz9kbus_attach_args *bap = aux; local
116 if (strcmp(bap->zzaa_name, "zz9k_if") != 0)
125 struct zz9kbus_attach_args *bap = aux; local
132 sc->sc_bst.base = bap->zzaa_base;
H A Dzz9k_ax.c189 struct zz9kbus_attach_args *bap = aux; local
191 if (strcmp(bap->zzaa_name, "zz9k_ax") != 0)
200 struct zz9kbus_attach_args *bap = aux; local
205 sc->sc_bst.base = bap->zzaa_base;
H A Dzz9k_fb.c243 struct zz9kbus_attach_args *bap = aux; local
245 if (strcmp(bap->zzaa_name, "zz9k_fb") != 0) {
255 struct zz9kbus_attach_args *bap = aux; local
263 sc->sc_bst.base = bap->zzaa_base;
/netbsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c94 int32_t *bap; local
257 bap = (int32_t *)bp->b_data;
258 nb = ufs_rw32(bap[indirs[i].in_off], needswap);
287 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap);
297 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]);
311 bap[indirs[num].in_off] = ufs_rw32(nb, needswap);
340 int64_t *bap; local
503 bap = (int64_t *)bp->b_data;
504 nb = ufs_rw64(bap[indirs[i].in_off], needswap);
533 bap[indir
[all...]
H A Dffs_alloc.c159 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) argument
166 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
175 if (indx == 0 || bap[indx - 1] == 0)
180 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
194 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
198 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) argument
205 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
214 if (indx == 0 || bap[indx - 1] == 0)
219 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
235 return ufs_rw64(bap[ind
[all...]
/netbsd-current/sys/ufs/ext2fs/
H A Dext2fs_balloc.c104 int32_t *bap; /* XXX ondisk32 */ local
218 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */
219 nb = fs2h32(bap[indirs[i].in_off]);
250 bap[indirs[i - 1].in_off] = h2fs32((int32_t)nb);
265 pref = ext2fs_blkpref(ip, lbn, indirs[num].in_off, &bap[0]);
276 bap[indirs[num].in_off] = h2fs32((int32_t)nb);
331 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */
332 bap[indirs[unwindidx].in_off] = 0;
H A Dext2fs_inode.c503 int32_t *bap; /* XXX ondisk32 */ local
552 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */
556 memcpy((void *)copy, (void *)bap, (u_int)fs->e2fs_bsize);
557 memset((void *)&bap[last + 1], 0,
562 bap = copy;
572 nb = fs2h32(bap[i]);
593 nb = fs2h32(bap[i]);
H A Dext2fs_alloc.c248 int32_t *bap /* XXX ondisk32 */)
264 * bap, if provided, gives us a list of blocks to which we want to
268 if (bap) {
270 if (bap[i]) {
271 return fs2h32(bap[i]) + 1;
/netbsd-current/sys/ufs/ffs/
H A Dffs_balloc.c120 int32_t *bap; /* XXX ondisk32 */ local
318 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */
319 nb = ufs_rw32(bap[indirs[i].in_off], needswap);
335 flags | B_METAONLY, &bap[0]);
363 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap);
394 &bap[0]);
411 bap[indirs[num].in_off] = ufs_rw32(nb, needswap);
499 bap = (int32_t *)bp->b_data; /* XXX ondisk32 */
500 bap[indirs[unwindidx].in_off] = 0;
538 int64_t *bap; local
[all...]
H A Dffs_snapshot.c1052 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, b
[all...]
H A Dffs_alloc.c772 int32_t *bap /* XXX ondisk32 */)
801 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
810 if (indx == 0 || bap[indx - 1] == 0)
815 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
831 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
836 int64_t *bap)
865 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
874 if (indx == 0 || bap[indx - 1] == 0)
879 ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
895 return ufs_rw64(bap[ind
835 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int flags, int64_t *bap) argument
[all...]
/netbsd-current/sys/ufs/lfs/
H A Dlfs_inode.c729 void *bap; local
786 bap = lfs_malloc(fs, lfs_sb_getbsize(fs), LFS_NB_IBLOCK);
787 memcpy(bap, bp->b_data, lfs_sb_getbsize(fs));
797 bap = bp->b_data;
806 nb = lfs_iblock_get(fs, bap, i);
820 if (lfs_iblock_get(fs, bap, i) > 0)
830 nb = lfs_iblock_get(fs, bap, i);
843 lfs_free(fs, bap, LFS_NB_IBLOCK);
H A Dulfs_extattr.c962 struct ulfs_extattr_header *ueh, off_t *bap)
1030 if (bap != NULL)
1031 *bap = base_offset;
961 ulfs_extattr_get_header(struct vnode *vp, struct ulfs_extattr_list_entry *uele, struct ulfs_extattr_header *ueh, off_t *bap) argument
/netbsd-current/sys/arch/sun2/sun2/
H A Dmachdep.c1059 bus_addr_t *bap)
1079 *bap = base | addr;
1080 *btp = (*bap & 0x800000 ? PMAP_VME8 : PMAP_VME0);
1058 vmebus_translate(vme_am_t mod, vme_addr_t addr, bus_type_t *btp, bus_addr_t *bap) argument
/netbsd-current/sys/ufs/ufs/
H A Dufs_extattr.c951 struct ufs_extattr_header *ueh, off_t *bap)
1019 if (bap != NULL)
1020 *bap = base_offset;
950 ufs_extattr_get_header(struct vnode *vp, struct ufs_extattr_list_entry *uele, struct ufs_extattr_header *ueh, off_t *bap) argument
/netbsd-current/sys/arch/sparc/dev/
H A Dvme_machdep.c466 bus_addr_t *bap)
477 *bap = BUS_ADDR(rp->pspace, rp->poffset + addr);
465 vmebus_translate(struct sparcvme_softc *sc, vme_am_t mod, vme_addr_t addr, bus_addr_t *bap) argument
/netbsd-current/sys/arch/sparc64/sparc64/
H A Dmachdep.c2207 bus_addr_t *bap)
2209 int i, space = BUS_ADDR_IOSPACE(*bap);
2218 *bap = BUS_ADDR(rp->or_parent_space,
2219 rp->or_parent_base + BUS_ADDR_PADDR(*bap));
2206 bus_space_translate_address_generic(struct openprom_range *ranges, int nranges, bus_addr_t *bap) argument
/netbsd-current/sys/arch/sparc/sparc/
H A Dmachdep.c2823 bus_addr_t *bap)
2825 int i, space = BUS_ADDR_IOSPACE(*bap);
2834 *bap = BUS_ADDR(rp->or_parent_space,
2835 rp->or_parent_base + BUS_ADDR_PADDR(*bap));
2822 bus_space_translate_address_generic(struct openprom_range *ranges, int nranges, bus_addr_t *bap) argument
/netbsd-current/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dpftn.c2152 struct attr *bap; local
2166 bap = typ->n_ap;
2205 ap->next = bap;
2207 idp->n_ap = bap;
/netbsd-current/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dpftn.c2134 struct attr *bap; local
2148 bap = typ->n_ap;
2182 idp->n_ap = bap;

Completed in 430 milliseconds