Searched refs:hio (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sbin/hastd/
H A Dsecondary.c69 struct hio { struct
77 TAILQ_ENTRY(hio) hio_next;
86 static TAILQ_HEAD(, hio) hio_free_list;
93 static TAILQ_HEAD(, hio) hio_disk_list;
100 static TAILQ_HEAD(, hio) hio_send_list;
114 #define QUEUE_INSERT(name, hio) do { \
118 TAILQ_INSERT_TAIL(&hio_##name##_list, (hio), hio_next); \
122 #define QUEUE_TAKE(name, hio) do { \
124 while (((hio) = TAILQ_FIRST(&hio_##name##_list)) == NULL) { \
130 TAILQ_REMOVE(&hio_##name##_list, (hio), hio_nex
144 hio_clear(struct hio *hio) argument
173 struct hio *hio; local
514 reqlog(int loglevel, int debuglevel, int error, struct hio *hio, const char *fmt, ...) argument
557 requnpack(struct hast_resource *res, struct hio *hio, struct nv *nv) argument
658 struct hio *hio, *mshio; local
751 struct hio *hio; local
866 struct hio *hio; local
[all...]
H A Dprimary.c76 struct hio { struct
112 TAILQ_ENTRY(hio) *hio_next;
121 static TAILQ_HEAD(, hio) hio_free_list;
130 static TAILQ_HEAD(, hio) *hio_send_list;
140 static TAILQ_HEAD(, hio) *hio_recv_list;
149 static TAILQ_HEAD(, hio) hio_done_list;
184 #define QUEUE_INSERT1(hio, name, ncomp) do { \
188 TAILQ_INSERT_TAIL(&hio_##name##_list[(ncomp)], (hio), \
193 #define QUEUE_INSERT2(hio, name) do { \
197 TAILQ_INSERT_TAIL(&hio_##name##_list, (hio), hio
381 struct hio *hio; local
1181 write_complete(struct hast_resource *res, struct hio *hio) argument
1229 struct hio *hio; local
1389 struct hio *hio; local
1551 struct hio *hio; local
1707 struct hio *hio; local
1869 struct hio *hio; local
1960 struct hio *hio; local
[all...]
/freebsd-13-stable/sys/dev/ocs_fc/
H A Docs_unsol.h51 extern void ocs_seq_coalesce_cleanup(ocs_hw_io_t *hio, uint8_t abort_io);
H A Docs_unsol.c117 ocs_unsol_abort_cb (ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t len, int32_t status, uint32_t ext, void *arg) argument
120 ocs_assert(hio, -1);
122 ocs_log_debug(ocs, "xri=0x%x tag=0x%x\n", hio->indicator, hio->reqtag);
123 ocs_hw_io_free(&ocs->hw, hio);
133 ocs_port_owned_abort(ocs_t *ocs, ocs_hw_io_t *hio) argument
136 hw_rc = ocs_hw_io_abort(&ocs->hw, hio, FALSE,
140 ocs_log_debug(ocs, "already aborted XRI 0x%x\n", hio->indicator);
143 hio->indicator, hw_rc);
221 if (seq->hio !
1075 ocs_hw_io_t *hio = seq->hio; local
[all...]
H A Docs_scsi.c76 static int32_t ocs_scsi_abort_io_cb(struct ocs_hw_io_s *hio, ocs_remote_node_t *rnode, uint32_t len, int32_t status,
89 static int32_t ocs_scsi_io_dispatch_hw_io(ocs_io_t *io, ocs_hw_io_t *hio);
202 if (io->hio != NULL) {
203 ocs_log_err(node->ocs, "assertion failed: io->hio is not NULL\n");
308 * @param hio Pointer to the HW IO structure.
319 ocs_target_io_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, argument
686 ocs_scsi_build_sgls(ocs_hw_t *hw, ocs_hw_io_t *hio, ocs_hw_dif_info_t *hw_dif, ocs_scsi_sgl_t *sgl, uint32_t sgl_count, ocs_hw_io_type_e type) argument
694 ocs_assert(hio, -1);
697 rc = ocs_hw_io_init_sges(hw, hio, type);
707 rc = ocs_hw_io_add_seed_sge(hw, hio, hw_di
910 ocs_hw_io_t *hio = io->hio; local
996 ocs_hw_io_t *hio; local
1123 ocs_hw_io_t *hio; local
1246 ocs_scsi_io_dispatch_hw_io(ocs_io_t *io, ocs_hw_io_t *hio) argument
1849 ocs_target_abort_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *app) argument
1995 ocs_target_bls_resp_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *app) argument
2122 ocs_initiator_io_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *app) argument
2664 ocs_scsi_abort_io_cb(struct ocs_hw_io_s *hio, ocs_remote_node_t *rnode, uint32_t len, int32_t status, uint32_t ext_status, void *arg) argument
[all...]
H A Docs_io.c255 io->hio = NULL;
287 ocs_hw_io_t *hio = NULL; local
294 hio = io->hio;
295 io->hio = NULL;
299 if (hio) {
300 ocs_hw_io_free(&ocs->hw, hio);
394 if (io->hio) {
395 ocs_ddump_value(textbuf, "hw_tag", "%#x", io->hio->reqtag);
396 ocs_ddump_value(textbuf, "hw_xri", "%#x", io->hio
[all...]
H A Docs_io.h96 ocs_hw_io_t *hio; /**< HW IO context */ member in struct:ocs_io_s
H A Docs_els.c62 static int32_t ocs_els_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *arg);
64 static int32_t ocs_bls_send_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length,
205 if (els->hio != NULL) {
443 * @param hio Pointer to the HW IO context that completed.
454 ocs_els_req_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *arg) argument
471 ocs_assert(io->hio, -1);
472 ocs_assert(hio == io->hio, -1);
536 * @param hio Pointer to the HW IO context that completed.
547 ocs_els_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_ argument
1962 ocs_bls_send_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *app) argument
1989 ocs_els_abort_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *app) argument
2677 ocs_ct_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_t ext_status, void *arg) argument
[all...]
H A Docs_hw_queues.c1759 seq->hio = NULL;
1866 seq->hio = NULL;
1877 seq->hio = ocs_hw_io_lookup(hw, seq->xri);
1878 ocs_lock(&seq->hio->axr_lock);
1882 seq->hio->axr_buf->fcfi = seq->fcfi;
1883 seq->hio->axr_buf->hdr.ox_id = fc_hdr->ox_id;
1884 seq->hio->axr_buf->hdr.s_id = fc_hdr->s_id;
1885 seq->hio->axr_buf->hdr.d_id = fc_hdr->d_id;
1886 seq->hio->axr_buf->cmd_cqe = 1;
1896 if (seq->hio
[all...]
H A Docs_node.c741 node->ls_acc_io->hio = NULL;
944 if (node->ls_acc_io && node->ls_acc_io->hio != NULL) {
949 * case, force the LS_ACC to go out on another XRI (hio)
957 ocs_hw_io_free(&ocs->hw, node->ls_acc_io->hio);
959 /* NULL out hio to force the LS_ACC to grab a new XRI */
960 node->ls_acc_io->hio = NULL;
H A Docs_hw.h760 ocs_hw_io_t *hio; /**< HW IO */ member in struct:__anon13804

Completed in 194 milliseconds