Lines Matching refs:psgl
2077 struct iscsi_sge *psgl;
2121 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2122 memset(psgl, 0, sizeof(*psgl) * BE2_SGE);
2124 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2);
2126 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2128 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2149 psgl++;
2150 psgl++;
2152 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) {
2155 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2157 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2159 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len);
2160 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset);
2161 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0);
2164 psgl--;
2165 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1);
2172 struct iscsi_sge *psgl;
2210 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2211 memset(psgl, 0, sizeof(*psgl) * BE2_SGE);
2213 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len - 2);
2215 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2217 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2237 psgl++;
2238 psgl++;
2240 for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) {
2243 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2245 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2247 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, sg_len);
2248 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, offset);
2249 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0);
2252 psgl--;
2253 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1);
2263 struct iscsi_sge *psgl;
2313 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag;
2315 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, io_task->bhs_len);
2317 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2319 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2322 psgl++;
2323 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl, 0);
2324 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl, 0);
2325 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0);
2326 AMAP_SET_BITS(struct amap_iscsi_sge, sge_offset, psgl, 0);
2327 AMAP_SET_BITS(struct amap_iscsi_sge, rsvd0, psgl, 0);
2328 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0);
2330 psgl++;
2332 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, psgl,
2334 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, psgl,
2337 AMAP_SET_BITS(struct amap_iscsi_sge, len, psgl, 0x106);
2339 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1);