pwrb_context 1078 drivers/scsi/be2iscsi/be_cmds.c struct hwi_wrb_context *pwrb_context, pwrb_context 1109 drivers/scsi/be2iscsi/be_cmds.c pwrb_context->cid = wrbq->id; pwrb_context 1111 drivers/scsi/be2iscsi/be_cmds.c pwrb_context->doorbell_offset = DB_TXULP0_OFFSET; pwrb_context 1112 drivers/scsi/be2iscsi/be_cmds.c pwrb_context->ulp_num = BEISCSI_ULP0; pwrb_context 1114 drivers/scsi/be2iscsi/be_cmds.c pwrb_context->ulp_num = resp->ulp_num; pwrb_context 1115 drivers/scsi/be2iscsi/be_cmds.c pwrb_context->doorbell_offset = resp->doorbell_offset; pwrb_context 854 drivers/scsi/be2iscsi/be_cmds.h struct hwi_wrb_context *pwrb_context, pwrb_context 179 drivers/scsi/be2iscsi/be_iscsi.c struct hwi_wrb_context *pwrb_context; pwrb_context 221 drivers/scsi/be2iscsi/be_iscsi.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 222 drivers/scsi/be2iscsi/be_iscsi.c beiscsi_conn->doorbell_offset = pwrb_context->doorbell_offset; pwrb_context 970 drivers/scsi/be2iscsi/be_iscsi.c struct hwi_wrb_context *pwrb_context; pwrb_context 976 drivers/scsi/be2iscsi/be_iscsi.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 977 drivers/scsi/be2iscsi/be_iscsi.c cid_post_ulp = pwrb_context->ulp_num; pwrb_context 951 drivers/scsi/be2iscsi/be_main.c beiscsi_get_wrb_handle(struct hwi_wrb_context *pwrb_context, pwrb_context 957 drivers/scsi/be2iscsi/be_main.c spin_lock_irqsave(&pwrb_context->wrb_lock, flags); pwrb_context 958 drivers/scsi/be2iscsi/be_main.c if (!pwrb_context->wrb_handles_available) { pwrb_context 959 drivers/scsi/be2iscsi/be_main.c spin_unlock_irqrestore(&pwrb_context->wrb_lock, flags); pwrb_context 962 drivers/scsi/be2iscsi/be_main.c pwrb_handle = pwrb_context->pwrb_handle_base[pwrb_context->alloc_index]; pwrb_context 963 drivers/scsi/be2iscsi/be_main.c pwrb_context->wrb_handles_available--; pwrb_context 964 drivers/scsi/be2iscsi/be_main.c if (pwrb_context->alloc_index == (wrbs_per_cxn - 1)) pwrb_context 965 drivers/scsi/be2iscsi/be_main.c pwrb_context->alloc_index = 0; pwrb_context 967 drivers/scsi/be2iscsi/be_main.c pwrb_context->alloc_index++; pwrb_context 968 drivers/scsi/be2iscsi/be_main.c spin_unlock_irqrestore(&pwrb_context->wrb_lock, flags); pwrb_context 987 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 992 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 994 drivers/scsi/be2iscsi/be_main.c *pcontext = pwrb_context; pwrb_context 995 drivers/scsi/be2iscsi/be_main.c return beiscsi_get_wrb_handle(pwrb_context, phba->params.wrbs_per_cxn); pwrb_context 999 drivers/scsi/be2iscsi/be_main.c beiscsi_put_wrb_handle(struct hwi_wrb_context *pwrb_context, pwrb_context 1005 drivers/scsi/be2iscsi/be_main.c spin_lock_irqsave(&pwrb_context->wrb_lock, flags); pwrb_context 1006 drivers/scsi/be2iscsi/be_main.c pwrb_context->pwrb_handle_base[pwrb_context->free_index] = pwrb_handle; pwrb_context 1007 drivers/scsi/be2iscsi/be_main.c pwrb_context->wrb_handles_available++; pwrb_context 1008 drivers/scsi/be2iscsi/be_main.c if (pwrb_context->free_index == (wrbs_per_cxn - 1)) pwrb_context 1009 drivers/scsi/be2iscsi/be_main.c pwrb_context->free_index = 0; pwrb_context 1011 drivers/scsi/be2iscsi/be_main.c pwrb_context->free_index++; pwrb_context 1013 drivers/scsi/be2iscsi/be_main.c spin_unlock_irqrestore(&pwrb_context->wrb_lock, flags); pwrb_context 1025 drivers/scsi/be2iscsi/be_main.c free_wrb_handle(struct beiscsi_hba *phba, struct hwi_wrb_context *pwrb_context, pwrb_context 1028 drivers/scsi/be2iscsi/be_main.c beiscsi_put_wrb_handle(pwrb_context, pwrb_context 1035 drivers/scsi/be2iscsi/be_main.c pwrb_handle, pwrb_context->free_index, pwrb_context 1036 drivers/scsi/be2iscsi/be_main.c pwrb_context->wrb_handles_available); pwrb_context 1219 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 1240 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 1241 drivers/scsi/be2iscsi/be_main.c pwrb_handle = pwrb_context->pwrb_handle_basestd[wrb_index]; pwrb_context 1330 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 1343 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 1345 drivers/scsi/be2iscsi/be_main.c pwrb_handle = pwrb_context->pwrb_handle_basestd[ pwrb_context 2602 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 2626 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[index]; pwrb_context 2627 drivers/scsi/be2iscsi/be_main.c pwrb_context->pwrb_handle_base = pwrb_context 2631 drivers/scsi/be2iscsi/be_main.c if (!pwrb_context->pwrb_handle_base) { pwrb_context 2636 drivers/scsi/be2iscsi/be_main.c pwrb_context->pwrb_handle_basestd = pwrb_context 2640 drivers/scsi/be2iscsi/be_main.c if (!pwrb_context->pwrb_handle_basestd) { pwrb_context 2653 drivers/scsi/be2iscsi/be_main.c pwrb_context->alloc_index = 0; pwrb_context 2654 drivers/scsi/be2iscsi/be_main.c pwrb_context->wrb_handles_available = 0; pwrb_context 2655 drivers/scsi/be2iscsi/be_main.c pwrb_context->free_index = 0; pwrb_context 2659 drivers/scsi/be2iscsi/be_main.c pwrb_context->pwrb_handle_base[j] = pwrb_handle; pwrb_context 2660 drivers/scsi/be2iscsi/be_main.c pwrb_context->pwrb_handle_basestd[j] = pwrb_context 2662 drivers/scsi/be2iscsi/be_main.c pwrb_context->wrb_handles_available++; pwrb_context 2668 drivers/scsi/be2iscsi/be_main.c spin_lock_init(&pwrb_context->wrb_lock); pwrb_context 2672 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[index]; pwrb_context 2683 drivers/scsi/be2iscsi/be_main.c pwrb_handle = pwrb_context->pwrb_handle_base[j]; pwrb_context 2693 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[j]; pwrb_context 2694 drivers/scsi/be2iscsi/be_main.c kfree(pwrb_context->pwrb_handle_base); pwrb_context 2695 drivers/scsi/be2iscsi/be_main.c kfree(pwrb_context->pwrb_handle_basestd); pwrb_context 3344 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 3425 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[i]; pwrb_context 3426 drivers/scsi/be2iscsi/be_main.c BE_SET_CID_TO_CRI(i, pwrb_context->cid); pwrb_context 3436 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 3440 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[index]; pwrb_context 3441 drivers/scsi/be2iscsi/be_main.c kfree(pwrb_context->pwrb_handle_base); pwrb_context 3442 drivers/scsi/be2iscsi/be_main.c kfree(pwrb_context->pwrb_handle_basestd); pwrb_context 4219 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 4225 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 4230 drivers/scsi/be2iscsi/be_main.c free_wrb_handle(phba, pwrb_context, io_task->pwrb_handle); pwrb_context 4260 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 4266 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 4277 drivers/scsi/be2iscsi/be_main.c free_wrb_handle(phba, pwrb_context, pwrb_context 4303 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context = NULL; pwrb_context 4319 drivers/scsi/be2iscsi/be_main.c &pwrb_context); pwrb_context 4325 drivers/scsi/be2iscsi/be_main.c pwrb_context); pwrb_context 4328 drivers/scsi/be2iscsi/be_main.c pwrb_context); pwrb_context 4346 drivers/scsi/be2iscsi/be_main.c beiscsi_put_wrb_handle(pwrb_context, pwrb_handle, pwrb_context 4351 drivers/scsi/be2iscsi/be_main.c pwrb_handle, pwrb_context->free_index, pwrb_context 4352 drivers/scsi/be2iscsi/be_main.c pwrb_context->wrb_handles_available); pwrb_context 4379 drivers/scsi/be2iscsi/be_main.c struct hwi_wrb_context *pwrb_context; pwrb_context 4411 drivers/scsi/be2iscsi/be_main.c &io_task->pwrb_context); pwrb_context 4444 drivers/scsi/be2iscsi/be_main.c &io_task->pwrb_context); pwrb_context 4479 drivers/scsi/be2iscsi/be_main.c &io_task->pwrb_context); pwrb_context 4509 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; pwrb_context 4511 drivers/scsi/be2iscsi/be_main.c free_wrb_handle(phba, pwrb_context, io_task->pwrb_handle); pwrb_context 4561 drivers/scsi/be2iscsi/be_main.c if (io_task->pwrb_context->plast_wrb) pwrb_context 4563 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb, pwrb_context 4565 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb = pwrb; pwrb_context 4622 drivers/scsi/be2iscsi/be_main.c if (io_task->pwrb_context->plast_wrb) pwrb_context 4624 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb, pwrb_context 4626 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb = pwrb; pwrb_context 4666 drivers/scsi/be2iscsi/be_main.c if (io_task->pwrb_context->plast_wrb) pwrb_context 4668 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb, pwrb_context 4670 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb = pwrb; pwrb_context 4684 drivers/scsi/be2iscsi/be_main.c if (io_task->pwrb_context->plast_wrb) pwrb_context 4686 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb, pwrb_context 4688 drivers/scsi/be2iscsi/be_main.c io_task->pwrb_context->plast_wrb = pwrb; pwrb_context 463 drivers/scsi/be2iscsi/be_main.h struct hwi_wrb_context *pwrb_context; pwrb_context 1284 drivers/scsi/be2iscsi/be_mgmt.c struct hwi_wrb_context *pwrb_context) pwrb_context 1328 drivers/scsi/be2iscsi/be_mgmt.c if (pwrb_context->plast_wrb) pwrb_context 1331 drivers/scsi/be2iscsi/be_mgmt.c pwrb_context->plast_wrb, pwrb_context 1333 drivers/scsi/be2iscsi/be_mgmt.c pwrb_context->plast_wrb = pwrb; pwrb_context 1355 drivers/scsi/be2iscsi/be_mgmt.c struct hwi_wrb_context *pwrb_context) pwrb_context 1369 drivers/scsi/be2iscsi/be_mgmt.c if (pwrb_context->plast_wrb) pwrb_context 1372 drivers/scsi/be2iscsi/be_mgmt.c pwrb_context->plast_wrb, pwrb_context 1374 drivers/scsi/be2iscsi/be_mgmt.c pwrb_context->plast_wrb = pwrb; pwrb_context 224 drivers/scsi/be2iscsi/be_mgmt.h struct hwi_wrb_context *pwrb_context); pwrb_context 228 drivers/scsi/be2iscsi/be_mgmt.h struct hwi_wrb_context *pwrb_context);