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

1234

/freebsd-11-stable/sys/kern/
H A Dsubr_disk.c45 switch(bp->bio_cmd) {
51 default: printf("cmd=%x ", bp->bio_cmd); break;
254 if (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE &&
255 bp->bio_cmd != BIO_DELETE) {
H A Dsubr_devstat.c355 if (bp->bio_cmd == BIO_DELETE)
357 else if ((bp->bio_cmd == BIO_READ)
358 || ((bp->bio_cmd == BIO_ZONE)
361 else if (bp->bio_cmd == BIO_WRITE)
H A Dkern_physio.c132 bp->bio_cmd = BIO_READ;
135 bp->bio_cmd = BIO_WRITE;
/freebsd-11-stable/sys/dev/altera/sdcard/
H A Daltera_sdcard_io.c297 switch (bp->bio_cmd) {
314 bp->bio_cmd);
368 switch (bp->bio_cmd) {
397 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" :
398 (bp->bio_cmd == BIO_WRITE ? "BIO_WRITE" :
418 __func__, bp->bio_cmd == BIO_READ ? "BIO_READ" :
419 (bp->bio_cmd == BIO_WRITE ? "write" : "unknown"),
424 switch (bp->bio_cmd) {
435 bp->bio_cmd);
/freebsd-11-stable/sys/dev/nand/
H A Dnand_geom.c103 bp->bio_cmd == BIO_READ ? "READ" :
104 (bp->bio_cmd == BIO_WRITE ? "WRITE" :
105 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")),
125 bp->bio_cmd == BIO_READ ? "READ" :
126 (bp->bio_cmd == BIO_WRITE ? "WRITE" :
127 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")),
323 if (bp->bio_cmd == BIO_READ) {
327 } else if (bp->bio_cmd == BIO_WRITE) {
333 if (bp->bio_cmd == BIO_READ) {
337 } else if (bp->bio_cmd
[all...]
/freebsd-11-stable/sys/geom/
H A Dgeom_io.c204 bp2->bio_cmd = bp->bio_cmd;
221 if (bp->bio_cmd == BIO_ZONE)
249 bp2->bio_cmd = bp->bio_cmd;
298 bp->bio_cmd = BIO_GETATTR;
318 bp->bio_cmd = BIO_ZONE;
346 bp->bio_cmd = BIO_FLUSH;
371 switch(bp->bio_cmd) {
400 switch(bp->bio_cmd) {
[all...]
H A Dgeom_dev.c642 if (bp2->bio_cmd == BIO_ZONE)
672 KASSERT(bp->bio_cmd == BIO_READ ||
673 bp->bio_cmd == BIO_WRITE ||
674 bp->bio_cmd == BIO_DELETE ||
675 bp->bio_cmd == BIO_FLUSH ||
676 bp->bio_cmd == BIO_ZONE,
677 ("Wrong bio_cmd bio=%p cmd=%d", bp, bp->bio_cmd));
709 bp2->bio_data, bp2->bio_cmd);
/freebsd-11-stable/sys/dev/fdc/
H A Dfdc.c872 if (bp->bio_cmd == BIO_READ) {
945 bp->bio_cmd == BIO_READ ? ISADMA_READ : ISADMA_WRITE,
990 if (bp->bio_cmd == BIO_FMT) {
1028 if (bp->bio_cmd == BIO_PROBE) {
1066 if (bp->bio_cmd == BIO_FMT || bp->bio_cmd == BIO_WRITE) {
1086 (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE)) {
1089 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd
[all...]
/freebsd-11-stable/sys/cam/
H A Dcam_iosched.c1142 if (bp->bio_cmd == BIO_WRITE) {
1148 printf("HWQ : %p %#x\n", bp, bp->bio_cmd);
1252 if (bp->bio_cmd == BIO_READ &&
1260 if (bp->bio_cmd == BIO_READ) {
1265 printf("Found bio_cmd = %#x\n", bp->bio_cmd);
1268 printf("HWQ : %p %#x\n", bp, bp->bio_cmd);
1288 if (bp->bio_cmd == BIO_DELETE) {
1297 (bp->bio_cmd == BIO_WRITE || bp->bio_cmd
[all...]
/freebsd-11-stable/sys/riscv/htif/
H A Dhtif_block.c219 if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) {
233 if (bp->bio_cmd == BIO_READ)
261 printf("unknown op %d\n", bp->bio_cmd);
/freebsd-11-stable/sys/dev/ofw/
H A Dofw_disk.c84 switch (bp->bio_cmd) {
120 if (bp->bio_cmd == BIO_GETATTR) {
/freebsd-11-stable/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-11-stable/sys/geom/vinum/
H A Dgeom_vinum_raid5.c224 cbp->bio_cmd = BIO_READ;
237 cbp->bio_cmd = BIO_READ;
319 cbp->bio_cmd = BIO_READ;
405 bp->bio_pflags & GV_BIO_SYNCREQ && bp->bio_cmd == BIO_WRITE) {
431 switch (bp->bio_cmd) {
490 cbp->bio_cmd = BIO_READ;
530 cbp->bio_cmd = BIO_READ;
542 cbp->bio_cmd = BIO_READ;
H A Dgeom_vinum_plex.c259 if (bp->bio_cmd == BIO_READ)
341 switch (bp->bio_parent->bio_cmd) {
427 if (pbp->bio_cmd == BIO_WRITE &&
430 } else if (pbp->bio_cmd == BIO_WRITE &&
586 bp->bio_cmd = type;
624 if (bp->bio_cmd == BIO_READ) {
628 } else if (bp->bio_cmd == BIO_WRITE) {
694 bp->bio_cmd = type;
730 if (bp->bio_cmd == BIO_READ) {
735 } else if (bp->bio_cmd
[all...]
/freebsd-11-stable/sys/geom/eli/
H A Dg_eli_privacy.c260 if (bp->bio_cmd == BIO_WRITE)
268 if (bp->bio_cmd == BIO_READ)
286 if (bp->bio_cmd == BIO_WRITE)
288 else /* if (bp->bio_cmd == BIO_READ) */
300 if (bp->bio_cmd == BIO_WRITE)
H A Dg_eli_integrity.c435 if (bp->bio_cmd == BIO_READ) {
472 if (bp->bio_cmd == BIO_WRITE)
477 if (bp->bio_cmd == BIO_READ) {
497 if (bp->bio_cmd == BIO_WRITE) {
514 if (bp->bio_cmd == BIO_WRITE)
/freebsd-11-stable/sys/geom/raid/
H A Dtr_raid1.c260 bp->bio_cmd = BIO_READ;
633 switch (bp->bio_cmd) {
646 bp->bio_cmd, vol->v_name));
681 if (bp->bio_cmd == BIO_READ) {
705 bp->bio_cmd = BIO_WRITE;
772 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) {
831 if (bp->bio_cmd == BIO_READ &&
850 cbp->bio_cmd = BIO_WRITE;
868 if (bp->bio_cmd == BIO_WRITE && bp->bio_error) {
882 if (pbp->bio_cmd !
[all...]
H A Dtr_raid1e.c476 bp->bio_cmd = BIO_READ;
797 bp->bio_cmd != BIO_DELETE) {
814 if (bp->bio_cmd != BIO_DELETE)
861 switch (bp->bio_cmd) {
874 bp->bio_cmd, vol->v_name));
897 if (bp->bio_cmd == BIO_READ) {
921 bp->bio_cmd = BIO_WRITE;
997 if (bp->bio_cmd == BIO_READ && bp->bio_error != 0) {
1067 if (bp->bio_cmd == BIO_READ &&
1086 cbp->bio_cmd
[all...]
H A Dtr_raid0.c204 if (bp->bio_cmd == BIO_FLUSH) {
234 bp->bio_cmd != BIO_DELETE) {
249 if (bp->bio_cmd != BIO_DELETE)
H A Dtr_concat.c224 if (bp->bio_cmd == BIO_FLUSH) {
253 bp->bio_cmd != BIO_DELETE) {
264 if (bp->bio_cmd != BIO_DELETE)
/freebsd-11-stable/sys/powerpc/ps3/
H A Dps3disk.c370 DPRINTF(sc, PS3DISK_DEBUG_TASK, "%s: bio_cmd 0x%02x\n",
371 __func__, bp->bio_cmd);
374 if (bp->bio_cmd == BIO_FLUSH) {
381 } else if (bp->bio_cmd == BIO_READ || bp->bio_cmd == BIO_WRITE) {
435 (bp->bio_cmd == BIO_READ) ? "Read" : "Write",
446 if (bp->bio_cmd == BIO_READ)
613 if (bp->bio_cmd == BIO_READ) {
/freebsd-11-stable/sys/dev/md/
H A Dmd.c431 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) {
600 switch (bp->bio_cmd) {
629 if (bp->bio_cmd == BIO_DELETE) {
632 } else if (bp->bio_cmd == BIO_READ) {
671 } else if (bp->bio_cmd == BIO_WRITE) {
802 switch (bp->bio_cmd) {
840 switch (bp->bio_cmd) {
869 if (bp->bio_cmd == BIO_FLUSH) {
883 if (bp->bio_cmd
[all...]
/freebsd-11-stable/sys/sys/
H A Dbio.h44 /* bio_cmd */
82 uint16_t bio_cmd; /* I/O operation. */ member in struct:bio
/freebsd-11-stable/sys/geom/zero/
H A Dg_zero.c80 switch (bp->bio_cmd) {
/freebsd-11-stable/sys/powerpc/mambo/
H A Dmambo_disk.c230 if (bp->bio_cmd == BIO_READ) {
233 } else if (bp->bio_cmd == BIO_WRITE) {

Completed in 193 milliseconds

1234