Home
last modified time | relevance | path

Searched refs:readop (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/cam/scsi/
H A Dscsi_pt.c104 u_int tag_action, int readop, u_int byte2,
605 u_int tag_action, int readop, u_int byte2, in scsi_send_receive() argument
612 scsi_cmd->opcode = readop ? RECEIVE : SEND; in scsi_send_receive()
620 /*flags*/readop ? CAM_DIR_IN : CAM_DIR_OUT, in scsi_send_receive()
H A Dscsi_sa.h980 uint8_t tag_action, int readop, int sli,
H A Dscsi_sa.c5955 uint8_t tag_action, int readop, int sli, in scsi_sa_read_write() argument
5962 read = (readop & SCSI_RW_DIRMASK) == SCSI_RW_READ; in scsi_sa_read_write()
5975 ((readop & SCSI_RW_BIO) != 0 ? CAM_DATA_BIO : 0), in scsi_sa_read_write()
H A Dscsi_all.c8186 uint8_t tag_action, int readop, uint8_t byte2, in scsi_read_write() argument
8194 read = (readop & SCSI_RW_DIRMASK) == SCSI_RW_READ; in scsi_read_write()
8288 ((readop & SCSI_RW_BIO) != 0 ? CAM_DATA_BIO : 0), in scsi_read_write()
H A Dscsi_all.h4269 uint8_t tag_action, int readop, uint8_t byte2,
/freebsd/sys/dev/mfi/
H A Dmfi.c2056 mfi_build_cdb(int readop, uint8_t byte2, u_int64_t lba, u_int32_t block_count, uint8_t *cdb) in mfi_build_cdb() argument
2067 scsi_cmd->opcode = readop ? READ_6 : WRITE_6; in mfi_build_cdb()
2077 scsi_cmd->opcode = readop ? READ_10 : WRITE_10; in mfi_build_cdb()
2090 scsi_cmd->opcode = readop ? READ_12 : WRITE_12; in mfi_build_cdb()
2105 scsi_cmd->opcode = readop ? READ_16 : WRITE_16; in mfi_build_cdb()
2125 int flags = 0, blkcount = 0, readop; in mfi_build_syspdio() local
2143 readop = 1; in mfi_build_syspdio()
2147 readop = 0; in mfi_build_syspdio()
2159 cdb_len = mfi_build_cdb(readop, 0, bio->bio_pblkno, blkcount, in mfi_build_syspdio()
2651 int error, readop, cdb_len; in mfi_dump_syspd_blocks() local
[all …]
H A Dmfi_tbolt.c880 int readop; in mfi_tbolt_build_io() local
893 readop = 0; in mfi_tbolt_build_io()
895 readop = 1; in mfi_tbolt_build_io()
899 cdb_len = mfi_build_cdb(readop, 0, lba, in mfi_tbolt_build_io()
/freebsd/usr.sbin/bhyve/
H A Dpci_ahci.c134 int readop; member
675 int err, first, ncq, readop; in ahci_handle_rw() local
680 readop = 1; in ahci_handle_rw()
687 readop = 0; in ahci_handle_rw()
732 aior->readop = readop; in ahci_handle_rw()
746 if (readop) in ahci_handle_rw()
1484 aior->readop = 1; in atapi_read()
/freebsd/usr.sbin/camdd/
H A Dcamdd.c469 uint32_t nsid, int readop, uint64_t lba,
1650 uint32_t nsid, int readop, uint64_t lba, in nvme_read_write() argument
1656 nc->opc = readop ? NVME_OPC_READ : NVME_OPC_WRITE; in nvme_read_write()
1669 readop ? CAM_DIR_IN : CAM_DIR_OUT, in nvme_read_write()