| /netbsd-src/sys/arch/amiga/dev/ |
| H A D | wstsc.c | 211 u_char *obp = (u_char *) buf; in wstsc_dma_xfer_in() local 280 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in wstsc_dma_xfer_in() 281 obp[6], obp[7], obp[8], obp[9])); in wstsc_dma_xfer_in() 345 u_char *obp = (u_char *) buf; in wstsc_dma_xfer_in2() local 417 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in wstsc_dma_xfer_in2() 418 obp[6], obp[7], obp[8], obp[9])); in wstsc_dma_xfer_in2() 433 u_char *obp = (u_char *) buf; in wstsc_dma_xfer_out2() local 442 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in wstsc_dma_xfer_out2() 443 obp[6], obp[7], obp[8], obp[9])); in wstsc_dma_xfer_out2()
|
| H A D | otgsc.c | 193 u_char *obp = buf; in otgsc_dma_xfer_in() local 224 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in otgsc_dma_xfer_in() 225 obp[6], obp[7], obp[8], obp[9])); in otgsc_dma_xfer_in()
|
| H A D | ivsc.c | 200 u_char *obp = buf; in ivsc_dma_xfer_in() local 268 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in ivsc_dma_xfer_in() 269 obp[6], obp[7], obp[8], obp[9])); in ivsc_dma_xfer_in()
|
| H A D | mlhsc.c | 187 u_char *obp = buf; in mlhsc_dma_xfer_in() local 257 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in mlhsc_dma_xfer_in() 258 obp[6], obp[7], obp[8], obp[9])); in mlhsc_dma_xfer_in()
|
| H A D | sci.c | 454 u_char *obp = buf; in sci_ixfer_in() local 489 len, obp[0], obp[1], obp[2], obp[3], obp[4], obp[5], in sci_ixfer_in() 490 obp[6], obp[7], obp[8], obp[9])); in sci_ixfer_in()
|
| H A D | sbic.c | 1237 u_char *obp; in sbicxfin() local 1243 obp = bp; in sbicxfin() 1271 "%02x %02x %02x %02x\n", len, obp[0], obp[1], obp[2], in sbicxfin() 1272 obp[3], obp[4], obp[5], obp[6], obp[7], obp[8], obp[9])); in sbicxfin() 1297 "%02x %02x %02x %02x\n", len, obp[0], obp[1], obp[2], in sbicxfin() 1298 obp[3], obp[4], obp[5], obp[6], obp[7], obp[8], obp[9])); in sbicxfin()
|
| /netbsd-src/sys/kern/ |
| H A D | kern_physio.c | 217 physio(void (*strategy)(struct buf *), struct buf *obp, dev_t dev, int flags, in physio() argument 243 ps->ps_orig_bp = obp; in physio() 255 if (obp != NULL) { in physio() 258 while (bbusy(obp, false, 0, NULL) == EPASSTHROUGH) in physio() 278 if (obp != NULL) { in physio() 283 bp = obp; in physio() 409 if (bp != NULL && bp != obp) { in physio() 424 if (obp != NULL) { in physio() 425 KASSERT((obp->b_cflags & BC_BUSY) != 0); in physio() 432 obp->b_cflags &= ~(BC_BUSY | BC_WANTED); in physio() [all …]
|
| H A D | bufq_priocscan.c | 148 struct buf *obp __diagused; in cscan_put() 150 obp = rb_tree_insert_node(&q->cq_buffers, bp); in cscan_put() 151 KASSERT(obp == bp); /* see cscan_tree_compare_nodes */ in cscan_put()
|
| /netbsd-src/sys/dev/scsipi/ |
| H A D | ses.c | 884 ses_get_objstat(ses_softc_t *ssc, ses_objstat *obp, int slpflag) in ses_get_objstat() argument 886 int i = (int)obp->obj_id; in ses_get_objstat() 899 obp->cstat[0] = ssc->ses_objmap[i].encstat[0]; in ses_get_objstat() 900 obp->cstat[1] = ssc->ses_objmap[i].encstat[1]; in ses_get_objstat() 901 obp->cstat[2] = ssc->ses_objmap[i].encstat[2]; in ses_get_objstat() 902 obp->cstat[3] = ssc->ses_objmap[i].encstat[3]; in ses_get_objstat() 907 ses_set_objstat(ses_softc_t *ssc, ses_objstat *obp, int slpflag) in ses_set_objstat() argument 914 if ((obp->cstat[0] & SESCTL_CSEL) == 0) { in ses_set_objstat() 917 ComStat.comstatus = obp->cstat[0]; in ses_set_objstat() 918 ComStat.comstat[0] = obp->cstat[1]; in ses_set_objstat() [all …]
|
| H A D | cd.c | 117 struct buf *obp; /* original buf */ member 573 struct buf *obp = bounce->obp; in cd_bounce_buffer_done() local 577 memcpy(obp->b_data, (char *)bp->b_data + bounce->head, bounce->lcount); in cd_bounce_buffer_done() 583 memcpy((char *)obp->b_data + bounce->lcount, bp->b_data, bounce->rcount); in cd_bounce_buffer_done() 593 obp->b_error = bounce->rerr; in cd_bounce_buffer_done() 595 obp->b_error = bounce->lerr; in cd_bounce_buffer_done() 597 obp->b_resid = 0; in cd_bounce_buffer_done() 598 if (obp->b_error) in cd_bounce_buffer_done() 599 obp in cd_bounce_buffer_done() [all...] |
| /netbsd-src/external/bsd/nvi/dist/ex/ |
| H A D | ex_print.c | 290 exp->obp_len += n = vsnprintf(exp->obp + exp->obp_len, 291 sizeof(exp->obp) - exp->obp_len, fmt, ap); 295 if (exp->obp[exp->obp_len - 1] == '\n' || 296 exp->obp_len > sizeof(exp->obp) / 2) 317 if (exp->obp_len > sizeof(exp->obp)) in ex_puts() 319 if ((exp->obp[exp->obp_len++] = *str++) == '\n') in ex_puts() 341 sp->wp->scr_msg(sp, M_NONE, exp->obp, exp->obp_len); in ex_fflush()
|
| H A D | ex.h | 189 char obp[1024]; /* Ex output buffer. */ member
|
| /netbsd-src/games/sail/ |
| H A D | dr_3.c | 294 int obp = 0; in is_toughmelee() local 302 obp += bp->mensent / 100 in is_toughmelee() 304 obp += (bp->mensent % 100)/10 in is_toughmelee() 306 obp += bp->mensent % 10 in is_toughmelee() 311 return obp; in is_toughmelee() 315 if (OBP > obp + 10 || OBP + DBP >= obp + dbp + 10) in is_toughmelee()
|
| /netbsd-src/sys/dev/ |
| H A D | vnd.c | 677 struct buf *obp; in vndthread() local 680 obp = bufq_get(vnd->sc_tab); in vndthread() 681 if (obp == NULL) { in vndthread() 693 printf("vndthread(%p)\n", obp); in vndthread() 697 obp->b_error = ENXIO; in vndthread() 702 if ((obp->b_flags & B_READ) != 0 && (vnd->sc_flags & VNF_COMP)) { in vndthread() 706 bn = obp->b_rawblkno * in vndthread() 709 compstrategy(obp, bn); in vndthread() 735 bp->b_flags = (obp->b_flags & (B_READ | B_PHYS | B_RAW)); in vndthread() 736 bp->b_oflags = obp in vndthread() 800 handle_with_rdwr(struct vnd_softc * vnd,const struct buf * obp,struct buf * bp) handle_with_rdwr() argument 862 handle_with_strategy(struct vnd_softc * vnd,const struct buf * obp,struct buf * bp) handle_with_strategy() argument 978 struct buf *obp = bp->b_private; vndiodone() local [all...] |
| H A D | cgd.c | 938 struct buf *obp = cx->cx_obp; in cgdiodone() local 939 struct cgd_softc *sc = getcgd_softc(obp->b_dev); in cgdiodone() 948 obp, obp->b_bcount, obp->b_resid)); in cgdiodone() 953 obp->b_error = nbp->b_error; in cgdiodone() 955 obp->b_error)); in cgdiodone() 967 cx->cx_obp = obp; in cgdiodone() 969 cx->cx_dstv = obp->b_data; in cgdiodone() 970 cx->cx_srcv = obp->b_data; in cgdiodone() 971 cx->cx_len = obp->b_bcount; in cgdiodone() 987 struct buf *obp = cx->cx_obp; in cgd_iodone2() local [all …]
|
| /netbsd-src/sbin/fsck_ffs/ |
| H A D | quota2.c | 144 struct bufarea *bp, *obp = hbp; in quota2_walk_list() local 168 dirty(obp); in quota2_walk_list() 170 if (bp != hbp && bp != obp) in quota2_walk_list() 174 if (obp != bp && obp != hbp) in quota2_walk_list() 175 obp->b_flags &= ~B_INUSE; in quota2_walk_list() 176 obp = bp; in quota2_walk_list() 181 if (obp != hbp) in quota2_walk_list() 182 obp->b_flags &= ~B_INUSE; in quota2_walk_list()
|
| /netbsd-src/bin/csh/ |
| H A D | dol.c | 822 Char *Dv[2], *lbp, *obp, *mbp, **vp; in heredoc() local 850 obp = obuf; in heredoc() 887 *obp++ = (Char)c; in heredoc() 890 obp = obuf; in heredoc() 951 *obp++ = *mbp & TRIM; in heredoc() 954 obp = obuf; in heredoc() 958 *obp++ = '\n'; in heredoc() 961 obp = obuf; in heredoc()
|
| /netbsd-src/sys/arch/acorn32/podulebus/ |
| H A D | sbic.c | 1172 u_char *obp, *buf; in sbicxfin() local 1179 obp = bp; in sbicxfin() 1206 "%02x %02x %02x %02x\n", len, obp[0], obp[1], obp[2], in sbicxfin() 1207 obp[3], obp[4], obp[5], obp[6], obp[7], obp[8], obp[9])); in sbicxfin() 1231 "%02x %02x %02x %02x\n", len, obp[0], obp[1], obp[2], in sbicxfin() 1232 obp[3], obp[4], obp[5], obp[6], obp[7], obp[8], obp[9])); in sbicxfin()
|
| /netbsd-src/sys/ufs/ufs/ |
| H A D | ufs_quota2.c | 197 struct buf *bp, *obp = hbp; in quota2_walk_list() local 212 bp = obp; in quota2_walk_list() 228 if (bp != hbp && bp != obp) in quota2_walk_list() 232 if (obp != bp && obp != hbp) { in quota2_walk_list() 234 ret2 = bwrite(obp); in quota2_walk_list() 236 brelse(obp, 0); in quota2_walk_list() 238 obp = bp; in quota2_walk_list() 250 if (obp != hbp) { in quota2_walk_list() 252 ret2 = bwrite(obp); in quota2_walk_list() 254 brelse(obp, 0); in quota2_walk_list()
|
| /netbsd-src/sys/ufs/lfs/ |
| H A D | ulfs_quota2.c | 201 struct buf *bp, *obp = hbp; in quota2_walk_list() local 216 bp = obp; in quota2_walk_list() 232 if (bp != hbp && bp != obp) in quota2_walk_list() 236 if (obp != bp && obp != hbp) { in quota2_walk_list() 238 ret2 = bwrite(obp); in quota2_walk_list() 240 brelse(obp, 0); in quota2_walk_list() 242 obp = bp; in quota2_walk_list() 254 if (obp != hbp) { in quota2_walk_list() 256 ret2 = bwrite(obp); in quota2_walk_list() 258 brelse(obp, 0); in quota2_walk_list()
|
| /netbsd-src/sys/arch/mvme68k/dev/ |
| H A D | sbic.c | 1238 u_char *obp = bp; in sbicxfin() local 1270 "%02x %02x %02x %02x\n", len, obp[0], obp[1], obp[2], in sbicxfin() 1271 obp[3], obp[4], obp[5], obp[6], obp[7], obp[ in sbicxfin() [all...] |
| /netbsd-src/sys/dev/ic/ |
| H A D | wd33c93.c | 1221 u_char *obp = bp; in wd33c93_xfin() local 1251 "%02x %02x %02x %02x\n", len, obp[0], obp[1], obp[2], in wd33c93_xfin() 1252 obp[3], obp[4], obp[5], obp[6], obp[7], obp[8], obp[9])); in wd33c93_xfin()
|
| /netbsd-src/games/hunt/huntd/ |
| H A D | shots.c | 986 zapshot(BULLET *blist, BULLET *obp) in zapshot() argument 993 if (bp->b_x != obp->b_x || bp->b_y != obp->b_y) in zapshot() 995 if (bp->b_face == obp->b_face) in zapshot() 1002 explshot(blist, obp->b_y, obp->b_x); in zapshot()
|
| /netbsd-src/external/bsd/nvi/dist/common/ |
| H A D | conv.c | 280 char *obp = (char *)cw->bp1 + offset; \ in default_int2char() 286 ret = iconv(id, (char **)(void *)&bp, lenp, &obp, &outleft);\ in default_int2char() 288 HANDLE_ICONV_ERROR(obp, bp, outleft, len); \ in default_int2char()
|
| /netbsd-src/sys/dev/dkwedge/ |
| H A D | dk.c | 1642 struct buf *obp = bp->b_private; in dkiodone() local 1643 struct dkwedge_softc *sc = dkwedge_lookup(obp->b_dev); in dkiodone() 1649 obp->b_error = bp->b_error; in dkiodone() 1650 obp->b_resid = bp->b_resid; in dkiodone() 1654 disk_unbusy(&sc->sc_dk, obp->b_bcount - obp->b_resid, in dkiodone() 1655 obp->b_flags & B_READ); in dkiodone() 1658 biodone(obp); in dkiodone()
|