/freebsd-9.3-release/sys/geom/ |
H A D | geom_io.c | 191 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 D | geom_dev.c | 525 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 D | ofw_disk.c | 84 switch (bp->bio_cmd) { 120 if (bp->bio_cmd == BIO_GETATTR) {
|
/freebsd-9.3-release/sys/geom/bde/ |
H A D | g_bde_work.c | 431 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 D | geom_vinum_raid5.c | 221 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 D | geom_vinum_plex.c | 259 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 D | subr_disk.c | 45 switch(bp->bio_cmd) { 51 default: printf("cmd=%x ", bp->bio_cmd); break;
|
/freebsd-9.3-release/sys/dev/md/ |
H A D | md.c | 411 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 D | g_eli_privacy.c | 263 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 D | virtio_blk.c | 539 (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 D | fdc.c | 716 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 D | octeon_ebt3000_cf.c | 225 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 D | tr_raid1.c | 268 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 D | tr_raid1e.c | 484 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 D | tr_concat.c | 224 if (bp->bio_cmd == BIO_FLUSH) { 253 bp->bio_cmd != BIO_DELETE) { 264 if (bp->bio_cmd != BIO_DELETE)
|
H A D | tr_raid0.c | 204 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 D | mmcsd.c | 311 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 D | ps3disk.c | 371 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 D | ctl_backend_block.c | 196 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 D | vdev_geom.c | 210 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 D | at45d.c | 335 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 D | mlx_compat.h | 64 # define MLX_BIO_IS_READ(bp) ((bp)->bio_cmd == BIO_READ)
|
/freebsd-9.3-release/sys/geom/zero/ |
H A D | g_zero.c | 80 switch (bp->bio_cmd) {
|
/freebsd-9.3-release/sys/sys/ |
H A D | bio.h | 43 /* bio_cmd */ 75 uint8_t bio_cmd; /* I/O operation. */ member in struct:bio
|
/freebsd-9.3-release/sys/powerpc/mambo/ |
H A D | mambo_disk.c | 230 if (bp->bio_cmd == BIO_READ) { 233 } else if (bp->bio_cmd == BIO_WRITE) {
|