Home
last modified time | relevance | path

Searched refs:obp (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/sys/arch/amiga/dev/
H A Dwstsc.c211 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 Dotgsc.c193 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 Divsc.c200 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 Dmlhsc.c187 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 Dsci.c454 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 Dsbic.c1237 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/sys/kern/
H A Dkern_physio.c243 ps->ps_orig_bp = obp; in physio()
255 if (obp != NULL) { 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()
433 obp->b_flags &= ~(B_PHYS | B_RAW); in physio()
434 obp->b_iodone = NULL; in physio()
[all …]
H A Dbufq_priocscan.c148 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/sys/dev/scsipi/
H A Dses.c886 int i = (int)obp->obj_id; in ses_get_objstat()
1636 int i = (int)obp->obj_id; in safte_get_objstat()
1661 (int)obp->obj_id, obp->cstat[0], obp->cstat[1], obp->cstat[2], in safte_set_objstat()
1662 obp->cstat[3]); in safte_set_objstat()
1685 idx = (int)obp->obj_id; in safte_set_objstat()
1766 if (obp->cstat[3] & 0x1) { in safte_set_objstat()
1778 obp->cstat[3] &= ~0xa; in safte_set_objstat()
1779 if (obp->cstat[3] & 0x40) { in safte_set_objstat()
1781 } else if (obp->cstat[3] != 0) { in safte_set_objstat()
1786 ep->priv = obp->cstat[3]; in safte_set_objstat()
[all …]
H A Dcd.c117 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->b_resid = obp->b_bcount; in cd_bounce_buffer_done()
602 biodone(obp); in cd_bounce_buffer_done()
[all …]
/netbsd/external/bsd/nvi/dist/ex/
H A Dex_print.c290 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 Dex.h189 char obp[1024]; /* Ex output buffer. */ member
/netbsd/games/sail/
H A Ddr_3.c294 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/sys/dev/
H A Dvnd.c677 struct buf *obp; in vndthread() local
681 if (obp == NULL) { in vndthread()
697 obp->b_error = ENXIO; in vndthread()
706 bn = obp->b_rawblkno * in vndthread()
709 compstrategy(obp, bn); in vndthread()
739 bp->b_private = obp; in vndthread()
742 bp->b_data = obp->b_data; in vndthread()
744 BIO_COPYPRIO(bp, obp); in vndthread()
761 biodone(obp); in vndthread()
871 flags = obp->b_flags; in handle_with_strategy()
[all …]
H A Dcgd.c938 struct buf *obp = cx->cx_obp; in cgdiodone() local
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()
987 struct buf *obp = cx->cx_obp; in cgd_iodone2() local
1000 obp->b_resid = 0; in cgd_iodone2()
1001 if (obp->b_error != 0) in cgd_iodone2()
1002 obp->b_resid = obp->b_bcount; in cgd_iodone2()
[all …]
/netbsd/sbin/fsck_ffs/
H A Dquota2.c144 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/bin/csh/
H A Ddol.c822 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/sys/arch/acorn32/podulebus/
H A Dsbic.c1172 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/sys/ufs/ufs/
H A Dufs_quota2.c197 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/sys/ufs/lfs/
H A Dulfs_quota2.c201 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/sys/arch/mvme68k/dev/
H A Dsbic.c1238 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[8], obp[9])); in sbicxfin()
/netbsd/games/hunt/huntd/
H A Dshots.c986 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/sys/dev/ic/
H A Dwd33c93.c1221 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/external/bsd/nvi/dist/common/
H A Dconv.c280 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/sys/dev/dkwedge/
H A Ddk.c1642 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()

12