Searched refs:ecdb_ahdr (Results 1 – 1 of 1) sorted by relevance
211 struct iscsi_ecdb_ahdr *ecdb_ahdr; in iscsi_prep_ecdb_ahs() local214 ecdb_ahdr = iscsi_next_hdr(task); in iscsi_prep_ecdb_ahs()217 BUG_ON(rlen > sizeof(ecdb_ahdr->ecdb)); in iscsi_prep_ecdb_ahs()218 ahslength = rlen + sizeof(ecdb_ahdr->reserved); in iscsi_prep_ecdb_ahs()222 rc = iscsi_add_hdr(task, sizeof(ecdb_ahdr->ahslength) + in iscsi_prep_ecdb_ahs()223 sizeof(ecdb_ahdr->ahstype) + ahslength + pad_len); in iscsi_prep_ecdb_ahs()228 memset(&ecdb_ahdr->ecdb[rlen], 0, pad_len); in iscsi_prep_ecdb_ahs()230 ecdb_ahdr->ahslength = cpu_to_be16(ahslength); in iscsi_prep_ecdb_ahs()231 ecdb_ahdr->ahstype = ISCSI_AHSTYPE_CDB; in iscsi_prep_ecdb_ahs()232 ecdb_ahdr->reserved = 0; in iscsi_prep_ecdb_ahs()[all …]