Lines Matching refs:psgl
2093 struct iscsi_sge *psgl;
2137 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2138 memset(psgl, 0, sizeof(*psgl) * BE2_SGE);
2140 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2);
2142 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2144 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2165 psgl++;
2166 psgl++;
2168 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) {
2171 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2173 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2175 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len);
2176 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset);
2177 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0);
2180 psgl--;
2181 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1);
2188 struct iscsi_sge *psgl;
2226 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2227 memset(psgl, 0, sizeof(*psgl) * BE2_SGE);
2229 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2);
2231 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2233 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2253 psgl++;
2254 psgl++;
2256 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) {
2259 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2261 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2263 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len);
2264 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset);
2265 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0);
2268 psgl--;
2269 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1);
2279 struct iscsi_sge *psgl;
2329 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2331 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len);
2333 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2335 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2338 psgl++;
2339 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, 0);
2340 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, 0);
2341 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0);
2342 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, 0);
2343 AMAP_SET_BITS(struct amap_iscsi_sge, rsvd0, psgl, 0);
2344 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0);
2346 psgl++;
2348 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2350 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2353 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0x106);
2355 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1);