Lines Matching defs:sbale

51  * @sbtype: sbal type flags for sbale 0
56 * @sbale_curr: current sbale at creation of this request
72 * zfcp_qdio_sbale_req - return pointer to sbale on req_q for a request
75 * Returns: pointer to qdio_buffer_element (sbale) structure
84 * zfcp_qdio_sbale_curr - return current sbale on req_q for a request
87 * Returns: pointer to qdio_buffer_element (sbale) structure
112 struct qdio_buffer_element *sbale;
123 sbale = zfcp_qdio_sbale_req(qdio, q_req);
124 sbale->addr = (void *) req_id;
125 sbale->eflags = 0;
126 sbale->sflags = SBAL_SFLAGS0_COMMAND | sbtype;
130 sbale++;
131 sbale->addr = data;
132 sbale->length = len;
136 * zfcp_qdio_fill_next - Fill next sbale, only for single sbal requests
147 struct qdio_buffer_element *sbale;
151 sbale = zfcp_qdio_sbale_curr(qdio, q_req);
152 sbale->addr = data;
153 sbale->length = len;
157 * zfcp_qdio_set_sbale_last - set last entry flag in current sbale
165 struct qdio_buffer_element *sbale;
167 sbale = zfcp_qdio_sbale_curr(qdio, q_req);
168 sbale->eflags |= SBAL_EFLAGS_LAST_ENTRY;
172 * zfcp_qdio_sg_one_sbal - check if one sbale is enough for sg data
175 * Returns: 1 when one sbale is enough for the data in the scatterlist,
185 * zfcp_qdio_skip_to_last_sbale - skip to last sbale in sbal
221 struct qdio_buffer_element *sbale;
223 sbale = qdio->req_q[q_req->sbal_first]->element;
224 sbale->length = count;
228 * zfcp_qdio_sbale_count - count sbale used
265 struct qdio_buffer_element *sbale;
267 sbale = qdio->req_q[q_req->sbal_first]->element;
268 sbale->scount = q_req->sbal_number - 1;