/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_so.c | 83 idm_buf_t *idb, uint32_t offset, uint32_t length); 84 static void idm_so_send_rtt_data_done(idm_task_t *idt, idm_buf_t *idb); 86 idm_buf_t *idb, uint32_t buf_region_offset, uint32_t buf_region_length); 88 static uint32_t idm_fill_iov(idm_pdu_t *pdu, idm_buf_t *idb, 101 static idm_status_t idm_so_buf_tx_to_ini(idm_task_t *idt, idm_buf_t *idb); 102 static idm_status_t idm_so_buf_rx_from_ini(idm_task_t *idt, idm_buf_t *idb); 115 static idm_status_t idm_so_buf_alloc(idm_buf_t *idb, uint64_t buflen); 116 static void idm_so_buf_free(idm_buf_t *idb); 117 static idm_status_t idm_so_buf_setup(idm_buf_t *idb); 118 static void idm_so_buf_teardown(idm_buf_t *idb); [all …]
|
H A D | idm.c | 695 idm_buf_tx_to_ini(idm_task_t *idt, idm_buf_t *idb, in idm_buf_tx_to_ini() argument 701 idb->idb_bufoffset = offset; in idm_buf_tx_to_ini() 702 idb->idb_xfer_len = xfer_len; in idm_buf_tx_to_ini() 703 idb->idb_buf_cb = idb_buf_cb; in idm_buf_tx_to_ini() 704 idb->idb_cb_arg = cb_arg; in idm_buf_tx_to_ini() 705 gethrestime(&idb->idb_xfer_start); in idm_buf_tx_to_ini() 711 IDM_BUFPAT_CHECK(idb, xfer_len, BP_CHECK_ASSERT); in idm_buf_tx_to_ini() 718 idm_buf_bind_in_locked(idt, idb); in idm_buf_tx_to_ini() 719 idb->idb_in_transport = B_TRUE; in idm_buf_tx_to_ini() 721 (idt, idb); in idm_buf_tx_to_ini() [all …]
|
H A D | idm_impl.c | 1076 idm_buf_t *idb; in idm_listbuf_insert() local 1079 for (idb = list_tail(lst); idb != NULL; idb = list_prev(lst, idb)) { in idm_listbuf_insert() 1081 if (idb->idb_bufoffset < buf->idb_bufoffset) { in idm_listbuf_insert() 1083 list_insert_after(lst, idb, buf); in idm_listbuf_insert()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_cq.c | 89 idm_buf_t *idb = NULL; in iser_ib_poll_send_completions() local 163 idb = wr->iw_buf; in iser_ib_poll_send_completions() 165 idb->idb_buf_private)->iser_mr; in iser_ib_poll_send_completions() 168 &((iser_buf_t *)idb->idb_buf_private)-> in iser_ib_poll_send_completions() 171 idt = idb->idb_task_binding; in iser_ib_poll_send_completions() 176 uintptr_t, idb->idb_buf, in iser_ib_poll_send_completions() 177 uint32_t, idb->idb_bufoffset, in iser_ib_poll_send_completions() 180 uint32_t, idb->idb_xfer_len, in iser_ib_poll_send_completions() 182 idm_buf_tx_to_ini_done(idt, idb, in iser_ib_poll_send_completions() 187 uintptr_t, idb->idb_buf, in iser_ib_poll_send_completions() [all …]
|
H A D | iser_idm.c | 44 static idm_status_t iser_buf_tx_to_ini(idm_task_t *idt, idm_buf_t *idb); 45 static idm_status_t iser_buf_rx_from_ini(idm_task_t *idt, idm_buf_t *idb); 68 static idm_status_t iser_buf_alloc(idm_buf_t *idb, uint64_t buflen); 69 static idm_status_t iser_buf_setup(idm_buf_t *idb); 70 static void iser_buf_teardown(idm_buf_t *idb); 71 static void iser_buf_free(idm_buf_t *idb); 975 iser_buf_tx_to_ini(idm_task_t *idt, idm_buf_t *idb) in iser_buf_tx_to_ini() argument 982 iser_status = iser_xfer_buf_to_ini(idt, idb); in iser_buf_tx_to_ini() 987 (void *) idt, (void *) idb); in iser_buf_tx_to_ini() 988 idm_buf_tx_to_ini_done(idt, idb, IDM_STATUS_ABORTED); in iser_buf_tx_to_ini() [all …]
|
H A D | iser_resource.c | 308 iser_reg_rdma_mem(iser_hca_t *hca, idm_buf_t *idb) in iser_reg_rdma_mem() argument 312 ASSERT(idb != NULL); in iser_reg_rdma_mem() 313 ASSERT(idb->idb_buflen > 0); in iser_reg_rdma_mem() 315 iser_mr = iser_reg_mem(hca, (ib_vaddr_t)(uintptr_t)idb->idb_buf, in iser_reg_rdma_mem() 316 idb->idb_buflen, ISER_BUF_MR_FLAGS | IBT_MR_NOSLEEP); in iser_reg_rdma_mem() 323 idb->idb_reg_private = (void *)iser_mr; in iser_reg_rdma_mem() 329 iser_dereg_rdma_mem(iser_hca_t *hca, idm_buf_t *idb) in iser_dereg_rdma_mem() argument 333 ASSERT(idb != NULL); in iser_dereg_rdma_mem() 334 mr = (iser_mr_t *)idb->idb_reg_private; in iser_dereg_rdma_mem()
|
/illumos-gate/usr/src/uts/common/sys/idm/ |
H A D | idm_transport.h | 75 struct idm_buf_s *idb); 77 struct idm_buf_s *idb); 121 typedef idm_status_t (transport_buf_alloc_op_t)(struct idm_buf_s *idb, 123 typedef idm_status_t (transport_buf_setup_op_t)(struct idm_buf_s *idb); 124 typedef void (transport_buf_teardown_op_t)(struct idm_buf_s *idb); 125 typedef void (transport_buf_free_op_t)(struct idm_buf_s *idb);
|
H A D | idm.h | 144 typedef void (idm_buf_cb_t)(struct idm_buf_s *idb, idm_status_t status); 362 idm_buf_tx_to_ini(idm_task_t *idt, idm_buf_t *idb, 367 idm_buf_rx_from_ini(idm_task_t *idt, idm_buf_t *idb, 372 idm_buf_tx_to_ini_done(idm_task_t *idt, idm_buf_t *idb, idm_status_t status); 375 idm_buf_rx_from_ini_done(idm_task_t *idt, idm_buf_t *idb, idm_status_t status); 401 idm_buf_free(idm_buf_t *idb); 419 idm_bufpat_set(idm_buf_t *idb); 422 idm_bufpat_check(idm_buf_t *idb, int check_len, idm_bufpat_check_type_t type);
|
/illumos-gate/usr/src/uts/common/io/igc/ |
H A D | igc_ring.c | 213 igc_dma_free(igc_dma_buffer_t *idb) in igc_dma_free() argument 216 if (idb->idb_size != 0) { in igc_dma_free() 217 (void) ddi_dma_unbind_handle(idb->idb_hdl); in igc_dma_free() 218 idb->idb_size = 0; in igc_dma_free() 221 if (idb->idb_acc != NULL) { in igc_dma_free() 222 ddi_dma_mem_free(&idb->idb_acc); in igc_dma_free() 223 idb->idb_acc = NULL; in igc_dma_free() 224 idb->idb_va = NULL; in igc_dma_free() 225 idb->idb_alloc_len = 0; in igc_dma_free() 228 if (idb->idb_hdl != NULL) { in igc_dma_free() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/iser/ |
H A D | iser_resource.h | 176 int iser_reg_rdma_mem(struct iser_hca_s *hca, idm_buf_t *idb); 177 void iser_dereg_rdma_mem(struct iser_hca_s *hca, idm_buf_t *idb);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | macro.c | 190 unsigned char idb[2]; local 191 unsigned char *id = idb; 219 idb[1] = 0;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 2430 idm_buf_t idb; in iscsi_buffer_impl() local 2435 if (mdb_vread(&idb, sizeof (idm_buf_t), addr) != sizeof (idm_buf_t)) { in iscsi_buffer_impl() 2449 idb.idb_buf, idb.idb_buflen, in iscsi_buffer_impl() 2450 idb.idb_bufoffset, idb.idb_xfer_len, in iscsi_buffer_impl() 2451 idb.idb_exp_offset); in iscsi_buffer_impl()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit.c | 203 iscsit_buf_xfer_cb(idm_buf_t *idb, idm_status_t status); 1589 iscsit_buf_xfer_cb(idm_buf_t *idb, idm_status_t status) in iscsit_buf_xfer_cb() argument 1591 iscsit_task_t *itask = idb->idb_task_binding->idt_private; in iscsit_buf_xfer_cb() 1592 stmf_data_buf_t *dbuf = idb->idb_cb_arg; in iscsit_buf_xfer_cb() 1610 if (idb->idb_task_binding->idt_flags & IDM_TASK_PHASECOLLAPSE_SUCCESS) { in iscsit_buf_xfer_cb()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_io.c | 55 idm_buf_t *idb = (ICHK_CMD)->cmd_un.scsi.ibp_ibuf; \ 56 IDM_BUFPAT_CHECK(idb, ICHK_LEN, ICHK_TYPE); \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | magic.tab | 1546 |name match *.idb Intermediate File application/x-ms-mdpxfile
|