Home
last modified time | relevance | path

Searched refs:rlen_ahdr (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dlibiscsi.c246 struct iscsi_rlength_ahdr *rlen_ahdr; in iscsi_prep_bidi_ahs() local
249 rlen_ahdr = iscsi_next_hdr(task); in iscsi_prep_bidi_ahs()
250 rc = iscsi_add_hdr(task, sizeof(*rlen_ahdr)); in iscsi_prep_bidi_ahs()
254 rlen_ahdr->ahslength = in iscsi_prep_bidi_ahs()
255 cpu_to_be16(sizeof(rlen_ahdr->read_length) + in iscsi_prep_bidi_ahs()
256 sizeof(rlen_ahdr->reserved)); in iscsi_prep_bidi_ahs()
257 rlen_ahdr->ahstype = ISCSI_AHSTYPE_RLENGTH; in iscsi_prep_bidi_ahs()
258 rlen_ahdr->reserved = 0; in iscsi_prep_bidi_ahs()
259 rlen_ahdr->read_length = cpu_to_be32(scsi_in(sc)->length); in iscsi_prep_bidi_ahs()
264 be32_to_cpu(rlen_ahdr->read_length), in iscsi_prep_bidi_ahs()
[all …]