Home
last modified time | relevance | path

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

/linux-2.6.39/include/scsi/
Dlibiscsi.h436 return (len + ISCSI_PAD_LEN - 1) & ~(ISCSI_PAD_LEN - 1); in iscsi_padded()
442 len &= (ISCSI_PAD_LEN - 1); in iscsi_padding()
444 len = ISCSI_PAD_LEN - len; in iscsi_padding()
Dlibiscsi_tcp.h42 unsigned char padbuf[ISCSI_PAD_LEN];
Discsi_proto.h33 #define ISCSI_PAD_LEN 4 macro
/linux-2.6.39/drivers/scsi/
Dlibiscsi.c198 WARN_ON(len & (ISCSI_PAD_LEN - 1)); /* caller must pad the AHS */ in iscsi_add_hdr()
469 WARN_ON(hdrlength & (ISCSI_PAD_LEN-1)); in iscsi_prep_scsi_cmd_pdu()
470 hdrlength /= ISCSI_PAD_LEN; in iscsi_prep_scsi_cmd_pdu()