Home
last modified time | relevance | path

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

12

/netbsd/src/sys/arch/amiga/dev/
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()
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()
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()
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()
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()
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/src/sys/kern/
Dkern_physio.c217 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 …]
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/src/sys/dev/scsipi/
Dses.c884 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 …]
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/src/external/bsd/nvi/dist/ex/
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()
Dex.h189 char obp[1024]; /* Ex output buffer. */ member
/netbsd/src/games/sail/
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/src/sys/dev/
Dvnd.c677 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->b_oflags; in vndthread()
[all …]
Dcgd.c938 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/
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/src/bin/csh/
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/src/sys/arch/acorn32/podulebus/
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/src/sys/ufs/ufs/
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/src/sys/ufs/lfs/
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/src/sys/arch/mvme68k/dev/
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/src/sys/dev/ic/
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/src/games/hunt/huntd/
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/src/external/bsd/nvi/dist/common/
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/src/sys/dev/dkwedge/
Ddk.c1652 struct buf *obp = bp->b_private; in dkiodone() local
1653 struct dkwedge_softc *sc = dkwedge_lookup(obp->b_dev); in dkiodone()
1659 obp->b_error = bp->b_error; in dkiodone()
1660 obp->b_resid = bp->b_resid; in dkiodone()
1664 disk_unbusy(&sc->sc_dk, obp->b_bcount - obp->b_resid, in dkiodone()
1665 obp->b_flags & B_READ); in dkiodone()
1668 biodone(obp); in dkiodone()

12