Searched refs:bio_cmd (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-9.3-release/sys/geom/
H A Dgeom_io.c191 bp2->bio_cmd = bp->bio_cmd;
232 bp2->bio_cmd = bp->bio_cmd;
274 bp->bio_cmd = BIO_GETATTR;
294 bp->bio_cmd = BIO_FLUSH;
317 switch(bp->bio_cmd) {
338 switch(bp->bio_cmd) {
446 if (bp->bio_cmd & (BIO_READ|BIO_WRITE|BIO_GETATTR)) {
448 ("NULL bp->data in g_io_request(cmd=%hhu)", bp->bio_cmd));
[all...]
H A Dgeom_dev.c525 KASSERT(bp->bio_cmd == BIO_READ ||
526 bp->bio_cmd == BIO_WRITE ||
527 bp->bio_cmd == BIO_DELETE ||
528 bp->bio_cmd == BIO_FLUSH,
529 ("Wrong bio_cmd bio=%p cmd=%d", bp, bp->bio_cmd));
563 bp2->bio_data, bp2->bio_cmd);
/freebsd-9.3-release/sys/dev/ofw/
H A Dofw_disk.c84 switch (bp->bio_cmd) {
120 if (bp->bio_cmd == BIO_GETATTR) {
/freebsd-9.3-release/sys/geom/bde/
H A Dg_bde_work.c431 if (wp->bp->bio_cmd == BIO_DELETE) {
438 KASSERT(wp->bp->bio_cmd == BIO_WRITE, ("Confused in g_bde_write_done()"));
469 bp->bio_cmd = BIO_WRITE;
524 bp->bio_cmd = BIO_READ;
581 if (wp->bp->bio_cmd == BIO_READ && wp->sp->state == IO)
588 switch(wp->bp->bio_cmd) {
685 switch (wp->bp->bio_cmd) {
723 ("Wrong bio_cmd %d in g_bde_start2", wp->bp->bio_cmd));
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum_raid5.c221 cbp->bio_cmd = BIO_READ;
234 cbp->bio_cmd = BIO_READ;
316 cbp->bio_cmd = BIO_READ;
402 bp->bio_pflags & GV_BIO_SYNCREQ && bp->bio_cmd == BIO_WRITE) {
428 switch (bp->bio_cmd) {
487 cbp->bio_cmd = BIO_READ;
527 cbp->bio_cmd = BIO_READ;
539 cbp->bio_cmd = BIO_READ;
H A Dgeom_vinum_plex.c259 if (bp->bio_cmd == BIO_READ)
340 switch (bp->bio_parent->bio_cmd) {
426 if (pbp->bio_cmd == BIO_WRITE &&
429 } else if (pbp->bio_cmd == BIO_WRITE &&
585 bp->bio_cmd = type;
623 if (bp->bio_cmd == BIO_READ) {
627 } else if (bp->bio_cmd == BIO_WRITE) {
693 bp->bio_cmd = type;
729 if (bp->bio_cmd == BIO_READ) {
734 } else if (bp->bio_cmd
[all...]
/freebsd-9.3-release/sys/kern/
H A Dsubr_disk.c45 switch(bp->bio_cmd) {
51 default: printf("cmd=%x ", bp->bio_cmd); break;
/freebsd-9.3-release/sys/dev/md/
H A Dmd.c411 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE))
519 switch (bp->bio_cmd) {
542 if (bp->bio_cmd == BIO_DELETE) {
545 } else if (bp->bio_cmd == BIO_READ) {
571 } else if (bp->bio_cmd == BIO_WRITE) {
643 switch (bp->bio_cmd) {
670 switch (bp->bio_cmd) {
691 if (bp->bio_cmd == BIO_FLUSH) {
710 if (bp->bio_cmd
[all...]
/freebsd-9.3-release/sys/geom/eli/
H A Dg_eli_privacy.c263 if (bp->bio_cmd == BIO_WRITE)
271 if (bp->bio_cmd == BIO_READ)
300 if (bp->bio_cmd == BIO_WRITE)
302 else /* if (bp->bio_cmd == BIO_READ) */
314 if (bp->bio_cmd == BIO_WRITE)
/freebsd-9.3-release/sys/dev/virtio/block/
H A Dvirtio_blk.c539 (bp->bio_cmd == BIO_WRITE || bp->bio_cmd == BIO_FLUSH)) {
550 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) {
836 switch (bp->bio_cmd) {
849 panic("%s: bio with unhandled cmd: %d", __func__, bp->bio_cmd);
894 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) {
902 if (bp->bio_cmd == BIO_READ)
1014 buf.bio_cmd
[all...]
/freebsd-9.3-release/sys/dev/fdc/
H A Dfdc.c716 if (bp->bio_cmd == BIO_READ) {
789 bp->bio_cmd & BIO_READ ? ISADMA_READ : ISADMA_WRITE,
831 if (bp->bio_cmd & BIO_FMT) {
845 if (bp->bio_cmd & BIO_PROBE) {
879 if(bp->bio_cmd & (BIO_FMT | BIO_WRITE)) {
898 if (fdc->retry == 0 && bp->bio_cmd & (BIO_READ|BIO_WRITE)) {
901 } else if (bp->bio_cmd & (BIO_READ|BIO_WRITE)) {
951 bp->bio_cmd, bp->bio_pblkno, fd->fd_iosize,
955 if ((bp->bio_cmd & (BIO_READ|BIO_WRITE|BIO_FMT))
958 bp->bio_cmd
[all...]
/freebsd-9.3-release/sys/mips/cavium/
H A Docteon_ebt3000_cf.c225 if(bp->bio_cmd & BIO_GETATTR) {
234 if ((bp->bio_cmd & (BIO_READ | BIO_WRITE))) {
236 if (bp->bio_cmd & BIO_READ) {
239 } else if (bp->bio_cmd & BIO_WRITE) {
243 printf("%s: unrecognized bio_cmd %x.\n", __func__, bp->bio_cmd);
/freebsd-9.3-release/sys/geom/raid/
H A Dtr_raid1.c268 bp->bio_cmd = BIO_READ;
641 switch (bp->bio_cmd) {
654 bp->bio_cmd, vol->v_name));
689 if (bp->bio_cmd == BIO_READ) {
713 bp->bio_cmd = BIO_WRITE;
780 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) {
839 if (bp->bio_cmd == BIO_READ &&
858 cbp->bio_cmd = BIO_WRITE;
876 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) {
890 if (pbp->bio_cmd !
[all...]
H A Dtr_raid1e.c484 bp->bio_cmd = BIO_READ;
805 bp->bio_cmd != BIO_DELETE) {
822 if (bp->bio_cmd != BIO_DELETE)
869 switch (bp->bio_cmd) {
882 bp->bio_cmd, vol->v_name));
905 if (bp->bio_cmd == BIO_READ) {
929 bp->bio_cmd = BIO_WRITE;
1005 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) {
1075 if (bp->bio_cmd == BIO_READ &&
1094 cbp->bio_cmd
[all...]
H A Dtr_concat.c224 if (bp->bio_cmd == BIO_FLUSH) {
253 bp->bio_cmd != BIO_DELETE) {
264 if (bp->bio_cmd != BIO_DELETE)
H A Dtr_raid0.c204 if (bp->bio_cmd == BIO_FLUSH) {
234 bp->bio_cmd != BIO_DELETE) {
249 if (bp->bio_cmd != BIO_DELETE)
/freebsd-9.3-release/sys/dev/mmc/
H A Dmmcsd.c311 if (bp->bio_cmd == BIO_READ) {
328 if (bp->bio_cmd == BIO_READ)
461 bp.bio_cmd = BIO_WRITE;
489 if (bp->bio_cmd != BIO_READ && mmc_get_read_only(dev)) {
500 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) {
505 } else if (bp->bio_cmd == BIO_DELETE) {
/freebsd-9.3-release/sys/powerpc/ps3/
H A Dps3disk.c371 DPRINTF(sc, PS3DISK_DEBUG_TASK, "%s: bio_cmd 0x%02x\n",
372 __func__, bp->bio_cmd);
375 if (bp->bio_cmd == BIO_FLUSH) {
382 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) {
436 (bp->bio_cmd == BIO_READ) ? "Read" : "Write",
447 if (bp->bio_cmd == BIO_READ)
614 if (bp->bio_cmd == BIO_READ) {
/freebsd-9.3-release/sys/cam/ctl/
H A Dctl_backend_block.c196 int bio_cmd; member in struct:ctl_be_block_io
369 if ((beio->bio_cmd == BIO_READ)
394 if ((beio->bio_cmd == BIO_READ)
473 } else if (beio->bio_cmd == BIO_FLUSH) {
488 if ((beio->bio_cmd == BIO_WRITE)
489 || (beio->bio_cmd == BIO_FLUSH)) {
577 if (beio->bio_cmd == BIO_READ) {
584 if (beio->bio_cmd == BIO_READ)
602 if (beio->bio_cmd == BIO_READ) {
690 (beio->bio_cmd
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_geom.c210 bp->bio_cmd = cmd;
719 if (bp->bio_cmd == BIO_FLUSH && bp->bio_error == ENOTSUP) {
728 if (bp->bio_cmd == BIO_DELETE && bp->bio_error == ENOTSUP) {
804 bp->bio_cmd = zio->io_type == ZIO_TYPE_READ ? BIO_READ : BIO_WRITE;
812 bp->bio_cmd = BIO_FLUSH;
819 bp->bio_cmd = BIO_DELETE;
/freebsd-9.3-release/sys/dev/flash/
H A Dat45d.c335 switch (bp->bio_cmd) {
361 if (bp->bio_cmd == BIO_WRITE) {
387 if (err == 0 && bp->bio_cmd != BIO_READ)
393 if (bp->bio_cmd == BIO_WRITE) {
/freebsd-9.3-release/sys/dev/mlx/
H A Dmlx_compat.h64 # define MLX_BIO_IS_READ(bp) ((bp)->bio_cmd == BIO_READ)
/freebsd-9.3-release/sys/geom/zero/
H A Dg_zero.c80 switch (bp->bio_cmd) {
/freebsd-9.3-release/sys/sys/
H A Dbio.h43 /* bio_cmd */
75 uint8_t bio_cmd; /* I/O operation. */ member in struct:bio
/freebsd-9.3-release/sys/powerpc/mambo/
H A Dmambo_disk.c230 if (bp->bio_cmd == BIO_READ) {
233 } else if (bp->bio_cmd == BIO_WRITE) {

Completed in 140 milliseconds

1234