Lines Matching defs:psgl_handle
253 inv_tbl.icd = abrt_io_task->psgl_handle->sgl_index;
336 inv_tbl->tbl[nents].icd = io_task->psgl_handle->sgl_index;
894 struct sgl_handle *psgl_handle;
904 psgl_handle = phba->io_sgl_hndl_base[phba->
914 psgl_handle = NULL;
916 return psgl_handle;
920 free_io_sgl_handle(struct beiscsi_hba *phba, struct sgl_handle *psgl_handle)
941 phba->io_sgl_hndl_base[phba->io_sgl_free_index] = psgl_handle;
1041 struct sgl_handle *psgl_handle;
1046 psgl_handle = phba->eh_sgl_hndl_base[phba->eh_sgl_alloc_index];
1061 psgl_handle = NULL;
1063 return psgl_handle;
1067 free_mgmt_sgl_handle(struct beiscsi_hba *phba, struct sgl_handle *psgl_handle)
1089 phba->eh_sgl_hndl_base[phba->eh_sgl_free_index] = psgl_handle;
2121 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2210 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2313 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
3884 struct sgl_handle *psgl_handle;
3923 psgl_handle = mem_descr_sglh->mem_array[idx].virtual_address;
3928 phba->io_sgl_hndl_base[arr_index] = psgl_handle;
3934 psgl_handle;
3938 psgl_handle++;
3970 psgl_handle = phba->io_sgl_hndl_base[arr_index];
3972 psgl_handle = phba->eh_sgl_hndl_base[arr_index -
3974 psgl_handle->pfrag = pfrag;
3978 psgl_handle->sgl_index = ulp_icd_start + arr_index++;
4235 if (io_task->psgl_handle) {
4236 free_mgmt_sgl_handle(phba, io_task->psgl_handle);
4237 io_task->psgl_handle = NULL;
4283 if (io_task->psgl_handle) {
4284 free_io_sgl_handle(phba, io_task->psgl_handle);
4285 io_task->psgl_handle = NULL;
4397 io_task->psgl_handle = NULL;
4401 io_task->psgl_handle = alloc_io_sgl_handle(phba);
4402 if (!io_task->psgl_handle) {
4426 io_task->psgl_handle = (struct sgl_handle *)
4428 if (!io_task->psgl_handle) {
4441 io_task->psgl_handle;
4460 io_task->psgl_handle =
4466 io_task->psgl_handle = alloc_mgmt_sgl_handle(phba);
4467 if (!io_task->psgl_handle) {
4494 (io_task->psgl_handle->sgl_index));
4501 free_io_sgl_handle(phba, io_task->psgl_handle);
4504 free_mgmt_sgl_handle(phba, io_task->psgl_handle);
4505 io_task->psgl_handle = NULL;
4557 io_task->psgl_handle->sgl_index);
4617 io_task->psgl_handle->sgl_index);
4662 io_task->psgl_handle->sgl_index);
4680 io_task->psgl_handle->sgl_index);