bounce
int bounce = 0;
bounce = 1;
if (!bounce || rn2(2))
bounce = 2;
switch (bounce) {
int bounce = 0, rmn;
bounce = 1;
if (!bounce || rn2(2))
bounce = 2;
switch (bounce) {
void bounce(short, short, short, short, short);
bounce(FIRE, dir, monster->row, monster->col, 0);
bounce((short)wand->which_kind, d, row, col, 0);
bounce(ball, new_dir, orow, ocol, r);
bounce(curobj);
bounce(biggie);
void bounce(OBJECT *);
void *bounce;
bounce = NULL;
bounce = malloc(*fidsize + FHANDLE_HEADERLEN);
if (!bounce)
if (getfh(PNPATH(pn), bounce, fidsize) == -1)
memcpy(fid, (uint8_t *)bounce + FHANDLE_HEADERLEN,
free(bounce);
u_char* bounce; /* Bounce buffer for this device */
if (!dev->sc_tinfo[dev->target].bounce) {
dev->sc_tinfo[xs->xs_periph->periph_target].bounce
if (isztwomem(dev->sc_tinfo[xs->xs_periph->periph_target].bounce))
(unsigned)kvtop(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
else if (dev->sc_tinfo[xs->xs_periph->periph_target].bounce)
PREP_DMA_MEM(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
(unsigned)kvtop(dev->sc_tinfo[dev->target].bounce));
(unsigned)kvtop(dev->sc_tinfo[dev->target].bounce));
bcopy (addr, dev->sc_tinfo[dev->target].bounce, count);
addr = dev->sc_tinfo[dev->target].bounce;/* and use DMA buffer */
(unsigned)kvtop(dev->sc_tinfo[dev->target].bounce));
bcopy(dev->sc_tinfo[dev->target].bounce,
else if (dev->sc_tinfo[xs->xs_periph->periph_target].bounce)
else if ((dev->sc_tinfo[xs->xs_periph->periph_target].bounce
if (isztwomem(dev->sc_tinfo[xs->xs_periph->periph_target].bounce))
(unsigned)kvtop(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
else if (dev->sc_tinfo[xs->xs_periph->periph_target].bounce)
PREP_DMA_MEM(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
u_char* bounce; /* Bounce buffer for this device */
bool bounce;
bounce = false;
bounce = true;
bounce = true;
if (bounce) {
if (bounce) {
u_int16_t *bounce = NULL;
bounce = (u_int16_t *) malloc(size, M_DEVBUF, M_NOWAIT);
if (bounce == NULL)
memcpy(bounce, src, size);
src = bounce;
if (bounce != NULL)
free(bounce, M_DEVBUF);
struct cdbounce *bounce = bp->b_private;
struct buf *obp = bounce->obp;
if (bp == bounce->lbp) {
if ((bounce->lerr = bp->b_error) == 0)
memcpy(obp->b_data, (char *)bp->b_data + bounce->head, bounce->lcount);
bounce->lbp = NULL;
if (bp == bounce->rbp) {
if ((bounce->rerr = bp->b_error) == 0)
memcpy((char *)obp->b_data + bounce->lcount, bp->b_data, bounce->rcount);
bounce->rbp = NULL;
if (bounce->lbp != NULL || bounce->rbp != NULL)
obp->b_error = bounce->rerr;
if (bounce->lerr)
obp->b_error = bounce->lerr;
free(bounce, M_DEVBUF);
struct cdbounce *bounce;
bounce = malloc(sizeof(struct cdbounce), M_DEVBUF, M_NOWAIT|M_ZERO);
if (bounce == NULL)
bounce->head = skip * DEV_BSIZE;
bounce->lcount = imin(count - bounce->head, bp->b_bcount);
bounce->rcount = bp->b_bcount - bounce->lcount;
error = cd_make_bounce_buffer(cd, bp, blkno, count, &lbp, bounce);
error = cd_make_bounce_buffer(cd, bp, blkno, count, &rbp, bounce);
bounce->obp = bp;
bounce->lbp = lbp;
bounce->rbp = rbp;
*bouncep = bounce;
free(bounce, M_DEVBUF);
struct cdbounce *bounce = NULL;
error = cd_make_bounce(cd, bp, &bounce);
dk_strategy(dksc, bounce->lbp);
if (bounce->rbp != NULL)
dk_strategy(dksc, bounce->rbp);
{ "bounce", bounce, 0, CMP(n) R|I|MSGLIST, 0, 0 },
int bounce(void *);
int bounce(void *);