/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_els.c | 1092 fc_unsol_buf_t *ubp; in emlxs_handle_unsol_rscn() local 1114 ubp = (fc_unsol_buf_t *)emlxs_ub_get(port, size, in emlxs_handle_unsol_rscn() 1117 if (ubp == NULL) { in emlxs_handle_unsol_rscn() 1129 bcopy(bp, ubp->ub_buffer, size); in emlxs_handle_unsol_rscn() 1130 ub_priv = ubp->ub_fca_private; in emlxs_handle_unsol_rscn() 1136 ubp->ub_frame.r_ctl = FC_ELS_REQ; in emlxs_handle_unsol_rscn() 1137 ubp->ub_frame.type = FC_TYPE_EXTENDED_LS; in emlxs_handle_unsol_rscn() 1138 ubp->ub_frame.s_id = LE_SWAP24_LO(iocb->un.elsreq.remoteID); in emlxs_handle_unsol_rscn() 1139 ubp->ub_frame.d_id = LE_SWAP24_LO(iocb->un.elsreq.myID); in emlxs_handle_unsol_rscn() 1140 ubp->ub_frame.ox_id = ub_priv->token; in emlxs_handle_unsol_rscn() [all …]
|
H A D | emlxs_ip.c | 182 fc_unsol_buf_t *ubp; in emlxs_ip_handle_unsol_req() local 195 ubp = NULL; in emlxs_ip_handle_unsol_req() 205 ubp = in emlxs_ip_handle_unsol_req() 209 if (!ubp) { in emlxs_ip_handle_unsol_req() 223 bcopy(mp->virt, ubp->ub_buffer, size); in emlxs_ip_handle_unsol_req() 225 ub_priv = ubp->ub_fca_private; in emlxs_ip_handle_unsol_req() 226 nd = (NETHDR *)ubp->ub_buffer; in emlxs_ip_handle_unsol_req() 255 &ubp->ub_token); in emlxs_ip_handle_unsol_req() 269 ubp->ub_frame.r_ctl = cmd->un.xrseq.w5.hcsw.Rctl; in emlxs_ip_handle_unsol_req() 270 ubp->ub_frame.type = cmd->un.xrseq.w5.hcsw.Type; in emlxs_ip_handle_unsol_req() [all …]
|
H A D | emlxs_solaris.c | 2815 fc_unsol_buf_t *ubp; in emlxs_fca_ub_alloc() local 2951 ubp = (fc_unsol_buf_t *)&new_pool->fc_ubufs[i]; in emlxs_fca_ub_alloc() 2952 ubp->ub_port_handle = port->ulp_handle; in emlxs_fca_ub_alloc() 2953 ubp->ub_token = (uint64_t)((unsigned long)ubp); in emlxs_fca_ub_alloc() 2954 ubp->ub_bufsize = size; in emlxs_fca_ub_alloc() 2955 ubp->ub_class = FC_TRAN_CLASS3; in emlxs_fca_ub_alloc() 2956 ubp->ub_port_private = NULL; in emlxs_fca_ub_alloc() 2957 ubp->ub_fca_private = in emlxs_fca_ub_alloc() 2964 ub_priv = ubp->ub_fca_private; in emlxs_fca_ub_alloc() 2965 ub_priv->ubp = ubp; in emlxs_fca_ub_alloc() [all …]
|
H A D | emlxs_clock.c | 1084 fc_unsol_buf_t *ubp; in emlxs_timer_check_ub() local 1101 ubp = (fc_unsol_buf_t *)&ulistp->fc_ubufs[i]; in emlxs_timer_check_ub() 1102 ub_priv = ubp->ub_fca_private; in emlxs_timer_check_ub() 1118 (ub_priv->timeout / 60), ubp, in emlxs_timer_check_ub() 1119 ubp->ub_frame.type, ubp->ub_frame.s_id, in emlxs_timer_check_ub() 1120 ubp->ub_frame.ox_id, ubp->ub_frame.rx_id); in emlxs_timer_check_ub()
|
H A D | emlxs_sli3.c | 144 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, 149 fc_unsol_buf_t *ubp, IOCBQ *iocbq); 6823 if (mbq->ubp) { in emlxs_sli3_reg_did_mbcmpl() 6824 ub_priv = ((fc_unsol_buf_t *)mbq->ubp)->ub_fca_private; in emlxs_sli3_reg_did_mbcmpl() 6846 mboxq->ubp = NULL; in emlxs_sli3_reg_did_mbcmpl() 6912 if (mbq->sbp || mbq->ubp) { in emlxs_sli3_reg_did_mbcmpl() 6914 mbq->ubp) == 0) { in emlxs_sli3_reg_did_mbcmpl() 6918 mbq->ubp = NULL; in emlxs_sli3_reg_did_mbcmpl() 6930 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, IOCBQ *iocbq) in emlxs_sli3_reg_did() argument 6994 mbq->ubp = (void *)ubp; in emlxs_sli3_reg_did() [all …]
|
H A D | emlxs_mbox.c | 2999 mbox_ubp = (fc_unsol_buf_t *)mbox_mbq->ubp; in emlxs_mb_fini() 3078 fc_unsol_buf_t *ubp, IOCBQ *iocbq) in emlxs_mb_deferred_cmpl() argument 3107 if (ubp) { in emlxs_mb_deferred_cmpl() 3108 ub_priv = ubp->ub_fca_private; in emlxs_mb_deferred_cmpl() 3111 emlxs_ub_callback(ub_priv->port, ubp); in emlxs_mb_deferred_cmpl() 3114 &ubp->ub_token); in emlxs_mb_deferred_cmpl()
|
H A D | emlxs_fcf.c | 11983 fc_unsol_buf_t *ubp; in emlxs_deferred_cmpl_thread() local 11990 ubp = (fc_unsol_buf_t *)cmpl->arg2; in emlxs_deferred_cmpl_thread() 11995 emlxs_mb_deferred_cmpl(port, mbxStatus, sbp, ubp, iocbq); in emlxs_deferred_cmpl_thread() 15392 mbq->ubp = rpip->cmpl->arg2; in emlxs_rpi_unreg_action() 15609 if (mbq->sbp || mbq->ubp) { in emlxs_rpi_reg_mbcmpl() 15611 (uint8_t *)mbq->ubp) == 0) { in emlxs_rpi_reg_mbcmpl() 15615 mbq->ubp = NULL; in emlxs_rpi_reg_mbcmpl() 15732 mbq->ubp = rpip->cmpl->arg2; in emlxs_rpi_reg_action() 15977 mbq->ubp = rpip->cmpl->arg2; in emlxs_rpi_resume_action()
|
H A D | emlxs_sli4.c | 132 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, 137 fc_unsol_buf_t *ubp, IOCBQ *iocbq); 8868 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, IOCBQ *iocbq) in emlxs_sli4_reg_did() argument 8912 (void *)ubp, (void *)iocbq); in emlxs_sli4_reg_did() 8921 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, IOCBQ *iocbq) in emlxs_sli4_unreg_node() argument 8962 rval = emlxs_rpi_offline_notify(port, rpip, (void *)sbp, (void *)ubp, in emlxs_sli4_unreg_node()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | statvfs.c | 80 cstatvfs32(struct vfs *vfsp, struct statvfs32 *ubp) in cstatvfs32() argument 137 if (copyout(&ds32, ubp, sizeof (ds32)) != 0) in cstatvfs32() 143 cstatvfs64(struct vfs *vfsp, struct statvfs64 *ubp) in cstatvfs64() argument 154 if (copyout(&ds64, ubp, sizeof (ds64)) != 0) in cstatvfs64() 260 cstatvfs64_32(struct vfs *vfsp, struct statvfs64_32 *ubp) in cstatvfs64_32() argument 283 if (copyout(&ds64_32, ubp, sizeof (ds64_32)) != 0) in cstatvfs64_32()
|
H A D | stat.c | 194 cstat(vnode_t *vp, struct stat *ubp, int flag, cred_t *cr) in cstat() argument 250 if (copyout(&sb, ubp, sizeof (sb))) in cstat() 324 cstat32(vnode_t *vp, struct stat32 *ubp, int flag, struct cred *cr) in cstat32() argument 373 if (copyout(&sb, ubp, sizeof (sb))) in cstat32() 451 cstat64(vnode_t *vp, struct stat64 *ubp, int flag, cred_t *cr) in cstat64() argument 481 if (copyout(&lsb, ubp, sizeof (lsb))) in cstat64() 562 cstat64_32(vnode_t *vp, struct stat64_32 *ubp, int flag, cred_t *cr) in cstat64_32() argument 600 if (copyout(&lsb, ubp, sizeof (lsb))) in cstat64_32()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_api.c | 1864 fc_unsol_buf_t *ubp = ha->ub_array[index]; in ql_detach() local 1866 if (ubp != NULL) { in ql_detach() 1867 ql_srb_t *sp = ubp->ub_fca_private; in ql_detach() 1881 ql_free_unsolicited_buffer(ha, ubp); in ql_detach() 3246 fc_unsol_buf_t *ubp; in ql_ub_alloc() local 3293 ubp = (fc_unsol_buf_t *)kmem_zalloc(sizeof (fc_unsol_buf_t), in ql_ub_alloc() 3295 if (ubp == NULL) { in ql_ub_alloc() 3301 kmem_free(ubp, sizeof (fc_unsol_buf_t)); in ql_ub_alloc() 3311 kmem_free(ubp, in ql_ub_alloc() 3325 kmem_free(ubp, in ql_ub_alloc() [all …]
|
H A D | ql_iocb.c | 1300 fc_unsol_buf_t *ubp; in ql_isp_rcvbuf() local 1343 ubp = ha->ub_array[index]; in ql_isp_rcvbuf() 1344 if (ubp != NULL) { in ql_isp_rcvbuf() 1345 sp = ubp->ub_fca_private; in ql_isp_rcvbuf() 1426 fc_unsol_buf_t *ubp; in ql_isp24xx_rcvbuf() local 1436 ubp = ha->ub_array[index]; in ql_isp24xx_rcvbuf() 1437 if (ubp != NULL) { in ql_isp24xx_rcvbuf() 1438 sp = ubp->ub_fca_private; in ql_isp24xx_rcvbuf()
|
H A D | ql_mbx.c | 502 fc_unsol_buf_t *ubp; in ql_shutdown_ip() local 518 ubp = ha->ub_array[index]; in ql_shutdown_ip() 519 if (ubp != NULL) { in ql_shutdown_ip() 520 sp = ubp->ub_fca_private; in ql_shutdown_ip()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_extern.h | 141 fc_unsol_buf_t *ubp); 195 extern void emlxs_swap_els_ub(fc_unsol_buf_t *ubp); 208 fc_unsol_buf_t *ubp); 285 uint8_t *ubp); 378 fc_unsol_buf_t *ubp); 485 fc_unsol_buf_t *ubp, IOCBQ *iocbq);
|
H A D | emlxs_os.h | 448 fc_unsol_buf_t *ubp; member
|
H A D | emlxs_mbox.h | 4661 void *ubp; /* ptr to fc_unsol_buf_t */ member
|