CMD_FLAGS 498 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) = FNIC_NO_FLAGS; CMD_FLAGS 561 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_INITIALIZED; CMD_FLAGS 574 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 596 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ISSUED; CMD_FLAGS 607 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) >> 32) | CMD_STATE(sc))); CMD_FLAGS 874 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_REQ_NULL; CMD_FLAGS 897 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_DONE; CMD_FLAGS 898 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABTS_PENDING; CMD_FLAGS 901 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABORTED; CMD_FLAGS 986 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_DONE; CMD_FLAGS 1012 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 1102 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_REQ_NULL; CMD_FLAGS 1119 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_DONE; CMD_FLAGS 1129 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_IO_ABTS_ISSUED) CMD_FLAGS 1141 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_IO_ABTS_ISSUED) CMD_FLAGS 1148 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_IO_ABTS_ISSUED) CMD_FLAGS 1161 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_DONE; CMD_FLAGS 1168 drivers/scsi/fnic/fnic_scsi.c if (!(CMD_FLAGS(sc) & (FNIC_IO_ABORTED | FNIC_IO_DONE))) CMD_FLAGS 1205 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_FLAGS 1221 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_ABTS_PENDING; CMD_FLAGS 1226 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 1234 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEV_RST_TIMED_OUT) { CMD_FLAGS 1241 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 1250 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_DONE; CMD_FLAGS 1384 drivers/scsi/fnic/fnic_scsi.c if ((CMD_FLAGS(sc) & FNIC_DEVICE_RESET) && CMD_FLAGS 1385 drivers/scsi/fnic/fnic_scsi.c !(CMD_FLAGS(sc) & FNIC_DEV_RST_DONE)) { CMD_FLAGS 1390 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_DONE; CMD_FLAGS 1397 drivers/scsi/fnic/fnic_scsi.c } else if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) { CMD_FLAGS 1432 drivers/scsi/fnic/fnic_scsi.c if (!(CMD_FLAGS(sc) & FNIC_IO_ISSUED)) CMD_FLAGS 1444 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 1506 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 1598 drivers/scsi/fnic/fnic_scsi.c if ((CMD_FLAGS(sc) & FNIC_DEVICE_RESET) && CMD_FLAGS 1599 drivers/scsi/fnic/fnic_scsi.c (!(CMD_FLAGS(sc) & FNIC_DEV_RST_ISSUED))) { CMD_FLAGS 1622 drivers/scsi/fnic/fnic_scsi.c if (!(CMD_FLAGS(sc) & FNIC_IO_ISSUED)) { CMD_FLAGS 1627 drivers/scsi/fnic/fnic_scsi.c sc, tag, CMD_FLAGS(sc), CMD_STATE(sc)); CMD_FLAGS 1632 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) { CMD_FLAGS 1665 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) CMD_FLAGS 1666 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_TERM_ISSUED; CMD_FLAGS 1668 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_INTERNAL_TERM_ISSUED; CMD_FLAGS 1749 drivers/scsi/fnic/fnic_scsi.c if ((CMD_FLAGS(sc) & FNIC_DEVICE_RESET) && CMD_FLAGS 1750 drivers/scsi/fnic/fnic_scsi.c (!(CMD_FLAGS(sc) & FNIC_DEV_RST_ISSUED))) { CMD_FLAGS 1771 drivers/scsi/fnic/fnic_scsi.c if (!(CMD_FLAGS(sc) & FNIC_IO_ISSUED)) { CMD_FLAGS 1776 drivers/scsi/fnic/fnic_scsi.c sc, tag, CMD_FLAGS(sc), CMD_STATE(sc)); CMD_FLAGS 1781 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) { CMD_FLAGS 1814 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) CMD_FLAGS 1815 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_TERM_ISSUED; CMD_FLAGS 1817 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_INTERNAL_TERM_ISSUED; CMD_FLAGS 1869 drivers/scsi/fnic/fnic_scsi.c rport->port_id, sc->device->lun, tag, CMD_FLAGS(sc)); CMD_FLAGS 1871 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) = FNIC_NO_FLAGS; CMD_FLAGS 1963 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABTS_ISSUED; CMD_FLAGS 1966 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_TERM_ISSUED; CMD_FLAGS 1988 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_REQ_NULL; CMD_FLAGS 2002 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_TIMED_OUT; CMD_FLAGS 2009 drivers/scsi/fnic/fnic_scsi.c if (!(CMD_FLAGS(sc) & (FNIC_IO_ABORTED | FNIC_IO_DONE))) { CMD_FLAGS 2057 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 2174 drivers/scsi/fnic/fnic_scsi.c if ((CMD_FLAGS(sc) & FNIC_DEVICE_RESET) && CMD_FLAGS 2175 drivers/scsi/fnic/fnic_scsi.c (!(CMD_FLAGS(sc) & FNIC_DEV_RST_ISSUED))) { CMD_FLAGS 2200 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) { CMD_FLAGS 2227 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEVICE_RESET) CMD_FLAGS 2228 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_TERM_ISSUED; CMD_FLAGS 2231 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_INTERNAL_TERM_ISSUED; CMD_FLAGS 2242 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_REQ_NULL; CMD_FLAGS 2251 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_DONE; CMD_FLAGS 2371 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) = FNIC_DEVICE_RESET; CMD_FLAGS 2423 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_ISSUED; CMD_FLAGS 2453 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_TIMED_OUT; CMD_FLAGS 2462 drivers/scsi/fnic/fnic_scsi.c if (CMD_FLAGS(sc) & FNIC_DEV_RST_TERM_ISSUED) { CMD_FLAGS 2475 drivers/scsi/fnic/fnic_scsi.c CMD_FLAGS(sc) |= FNIC_DEV_RST_TERM_ISSUED; CMD_FLAGS 2487 drivers/scsi/fnic/fnic_scsi.c if (!(CMD_FLAGS(sc) & FNIC_DEV_RST_DONE)) { CMD_FLAGS 2554 drivers/scsi/fnic/fnic_scsi.c (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); CMD_FLAGS 136 drivers/scsi/snic/snic_scsi.c (CMD_FLAGS(sc) & SNIC_DEV_RST_NOTSUP) || CMD_FLAGS 137 drivers/scsi/snic/snic_scsi.c (CMD_FLAGS(sc) & SNIC_IO_INTERNAL_TERM_ISSUED) || CMD_FLAGS 138 drivers/scsi/snic/snic_scsi.c (CMD_FLAGS(sc) & SNIC_DEV_RST_TERM_ISSUED) || CMD_FLAGS 139 drivers/scsi/snic/snic_scsi.c (CMD_FLAGS(sc) & SNIC_SCSI_CLEANUP) || CMD_FLAGS 146 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 253 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) = SNIC_NO_FLAGS; CMD_FLAGS 279 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= (SNIC_IO_INITIALIZED | SNIC_IO_ISSUED); CMD_FLAGS 294 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) &= ~SNIC_IO_ISSUED; /* turn off the flag */ CMD_FLAGS 384 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_PENDING; CMD_FLAGS 386 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_PENDING; CMD_FLAGS 392 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_DONE; CMD_FLAGS 396 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABORTED; CMD_FLAGS 475 drivers/scsi/snic/snic_scsi.c snic_io_status_to_str(cmpl_stat), CMD_FLAGS(sc)); CMD_FLAGS 532 drivers/scsi/snic/snic_scsi.c snic_io_status_to_str(cmpl_stat), CMD_FLAGS(sc)); CMD_FLAGS 599 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc), rqi); CMD_FLAGS 601 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_HOST_RESET_CMD_TERM) { CMD_FLAGS 611 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_REQ_NULL; CMD_FLAGS 617 drivers/scsi/snic/snic_scsi.c cmnd_id, sc, CMD_FLAGS(sc)); CMD_FLAGS 646 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 660 drivers/scsi/snic/snic_scsi.c snic_io_status_to_str(hdr_stat), CMD_FLAGS(sc)); CMD_FLAGS 665 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_DONE; CMD_FLAGS 701 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_ABTS_PENDING; CMD_FLAGS 711 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 717 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_DEV_RST_TIMEDOUT) { CMD_FLAGS 726 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 732 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_DONE; CMD_FLAGS 738 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 788 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_HOST_RESET_CMD_TERM) { CMD_FLAGS 799 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TERM_REQ_NULL; CMD_FLAGS 803 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 828 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TERM_DONE; CMD_FLAGS 834 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 852 drivers/scsi/snic/snic_scsi.c sc, CMD_FLAGS(sc)); CMD_FLAGS 882 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_DONE; CMD_FLAGS 887 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 905 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 1058 drivers/scsi/snic/snic_scsi.c sc, rqi, cmnd_id, CMD_FLAGS(sc)); CMD_FLAGS 1078 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TERM_REQ_NULL; CMD_FLAGS 1082 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 1445 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TERM_REQ_NULL; CMD_FLAGS 1449 drivers/scsi/snic/snic_scsi.c tag, sc, CMD_FLAGS(sc)); CMD_FLAGS 1463 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TIMEDOUT; CMD_FLAGS 1467 drivers/scsi/snic/snic_scsi.c sc, snic_cmd_tag(sc), CMD_FLAGS(sc)); CMD_FLAGS 1496 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc)); CMD_FLAGS 1549 drivers/scsi/snic/snic_scsi.c tag, CMD_FLAGS(sc)); CMD_FLAGS 1587 drivers/scsi/snic/snic_scsi.c tag, ret, CMD_FLAGS(sc)); CMD_FLAGS 1603 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_ISSUED; CMD_FLAGS 1607 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_TERM_ISSUED; CMD_FLAGS 1613 drivers/scsi/snic/snic_scsi.c sc, tag, CMD_FLAGS(sc)); CMD_FLAGS 1760 drivers/scsi/snic/snic_scsi.c if ((CMD_FLAGS(sc) & SNIC_DEVICE_RESET) && CMD_FLAGS 1761 drivers/scsi/snic/snic_scsi.c (!(CMD_FLAGS(sc) & SNIC_DEV_RST_ISSUED))) { CMD_FLAGS 1788 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_DEVICE_RESET) { CMD_FLAGS 1810 drivers/scsi/snic/snic_scsi.c sc, tag, rqi->tm_tag, CMD_FLAGS(sc)); CMD_FLAGS 1826 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_DEVICE_RESET) CMD_FLAGS 1827 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_TERM_ISSUED; CMD_FLAGS 1829 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_INTERNAL_TERM_ISSUED; CMD_FLAGS 1838 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TERM_REQ_NULL; CMD_FLAGS 1847 drivers/scsi/snic/snic_scsi.c sc, tag, rqi->tm_tag, CMD_FLAGS(sc)); CMD_FLAGS 1849 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_ABTS_TERM_DONE; CMD_FLAGS 1936 drivers/scsi/snic/snic_scsi.c snic_cmd_tag(sc), sc, CMD_FLAGS(sc)); CMD_FLAGS 1951 drivers/scsi/snic/snic_scsi.c snic_cmd_tag(sc), CMD_FLAGS(sc)); CMD_FLAGS 1953 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_TIMEDOUT; CMD_FLAGS 1969 drivers/scsi/snic/snic_scsi.c snic_io_status_to_str(lr_res), CMD_FLAGS(sc)); CMD_FLAGS 2038 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEVICE_RESET; CMD_FLAGS 2043 drivers/scsi/snic/snic_scsi.c tag, CMD_FLAGS(sc)); CMD_FLAGS 2073 drivers/scsi/snic/snic_scsi.c tag, ret, CMD_FLAGS(sc)); CMD_FLAGS 2089 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_ISSUED; CMD_FLAGS 2131 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= flag; CMD_FLAGS 2189 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) = SNIC_NO_FLAGS; CMD_FLAGS 2262 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_INITIALIZED; CMD_FLAGS 2282 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_HOST_RESET_ISSUED; CMD_FLAGS 2395 drivers/scsi/snic/snic_scsi.c snic_cmd_tag(sc), CMD_FLAGS(sc)); CMD_FLAGS 2416 drivers/scsi/snic/snic_scsi.c sc, snic_io_status_to_str(CMD_STATE(sc)), CMD_FLAGS(sc)); CMD_FLAGS 2484 drivers/scsi/snic/snic_scsi.c sc, rqi, tag, CMD_FLAGS(sc)); CMD_FLAGS 2487 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_SCSI_CLEANUP; CMD_FLAGS 2493 drivers/scsi/snic/snic_scsi.c rqi, CMD_FLAGS(sc)); CMD_FLAGS 2501 drivers/scsi/snic/snic_scsi.c sc, sc->request->tag, CMD_FLAGS(sc), rqi, CMD_FLAGS 2548 drivers/scsi/snic/snic_scsi.c if ((CMD_FLAGS(sc) & SNIC_DEVICE_RESET) && CMD_FLAGS 2549 drivers/scsi/snic/snic_scsi.c (!(CMD_FLAGS(sc) & SNIC_DEV_RST_ISSUED))) { CMD_FLAGS 2559 drivers/scsi/snic/snic_scsi.c if (!(CMD_FLAGS(sc) & SNIC_IO_ISSUED)) { CMD_FLAGS 2562 drivers/scsi/snic/snic_scsi.c sc, snic_cmd_tag(sc), CMD_FLAGS(sc), CMD_STATE(sc)); CMD_FLAGS 2570 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_INTERNAL_TERM_PENDING; CMD_FLAGS 2572 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_DEVICE_RESET) { CMD_FLAGS 2598 drivers/scsi/snic/snic_scsi.c if (CMD_FLAGS(sc) & SNIC_DEVICE_RESET) CMD_FLAGS 2599 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_DEV_RST_TERM_ISSUED; CMD_FLAGS 2601 drivers/scsi/snic/snic_scsi.c CMD_FLAGS(sc) |= SNIC_IO_INTERNAL_TERM_ISSUED; CMD_FLAGS 119 drivers/scsi/snic/snic_trc.h ((u64) CMD_FLAGS(sc) << 32 | CMD_STATE(sc))