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

/freebsd-11-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-11-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.c118 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
121 ocs_assert(hio, -1);
123 ocs_log_debug(ocs, "xri=0x%x tag=0x%x\n", hio->indicator, hio->reqtag);
124 ocs_hw_io_free(&ocs->hw, hio);
135 ocs_port_owned_abort(ocs_t *ocs, ocs_hw_io_t *hio) argument
138 hw_rc = ocs_hw_io_abort(&ocs->hw, hio, FALSE,
142 ocs_log_debug(ocs, "already aborted XRI 0x%x\n", hio->indicator);
145 hio->indicator, hw_rc);
223 if (seq->hio !
1077 ocs_hw_io_t *hio = seq->hio; local
[all...]
H A Docs_scsi.c77 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,
90 static int32_t ocs_scsi_io_dispatch_hw_io(ocs_io_t *io, ocs_hw_io_t *hio);
204 if (io->hio != NULL) {
205 ocs_log_err(node->ocs, "assertion failed: io->hio is not NULL\n");
312 * @param hio Pointer to the HW IO structure.
323 ocs_target_io_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, argument
693 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
701 ocs_assert(hio, -1);
704 rc = ocs_hw_io_init_sges(hw, hio, type);
715 rc = ocs_hw_io_add_seed_sge(hw, hio, hw_di
919 ocs_hw_io_t *hio = io->hio; local
1006 ocs_hw_io_t *hio; local
1134 ocs_hw_io_t *hio; local
1258 ocs_scsi_io_dispatch_hw_io(ocs_io_t *io, ocs_hw_io_t *hio) argument
1864 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
2010 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
2138 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
2670 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.h97 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,
206 if (els->hio != NULL) {
445 * @param hio Pointer to the HW IO context that completed.
456 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
473 ocs_assert(io->hio, -1);
474 ocs_assert(hio == io->hio, -1);
539 * @param hio Pointer to the HW IO context that completed.
550 ocs_els_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_ argument
1971 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
1998 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
2690 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.c1757 seq->hio = NULL;
1864 seq->hio = NULL;
1875 seq->hio = ocs_hw_io_lookup(hw, seq->xri);
1876 ocs_lock(&seq->hio->axr_lock);
1880 seq->hio->axr_buf->fcfi = seq->fcfi;
1881 seq->hio->axr_buf->hdr.ox_id = fc_hdr->ox_id;
1882 seq->hio->axr_buf->hdr.s_id = fc_hdr->s_id;
1883 seq->hio->axr_buf->hdr.d_id = fc_hdr->d_id;
1884 seq->hio->axr_buf->cmd_cqe = 1;
1894 if (seq->hio
[all...]
H A Docs_node.c743 node->ls_acc_io->hio = NULL;
948 if (node->ls_acc_io && node->ls_acc_io->hio != NULL) {
953 * case, force the LS_ACC to go out on another XRI (hio)
961 ocs_hw_io_free(&ocs->hw, node->ls_acc_io->hio);
963 /* NULL out hio to force the LS_ACC to grab a new XRI */
964 node->ls_acc_io->hio = NULL;
H A Docs_hw.h763 ocs_hw_io_t *hio; /**< HW IO */ member in struct:__anon7586

Completed in 130 milliseconds