Searched refs:sshp (Results 1 – 5 of 5) sorted by relevance
174 struct sg_scsi_sense_hdr * sshp) in sg_normalize_sense() argument177 if (sshp) in sg_normalize_sense()178 memset(sshp, 0, sizeof(struct sg_scsi_sense_hdr)); in sg_normalize_sense()181 return sg_scsi_normalize_sense(hp->sbp, hp->sb_len_wr, sshp); in sg_normalize_sense()
1947 struct sg_scsi_sense_hdr * sshp) in sg_scsi_normalize_sense() argument1950 if (sshp) in sg_scsi_normalize_sense()1951 memset(sshp, 0, sizeof(struct sg_scsi_sense_hdr)); in sg_scsi_normalize_sense()1957 if (sshp) { in sg_scsi_normalize_sense()1958 sshp->response_code = resp_code; in sg_scsi_normalize_sense()1959 if (sshp->response_code >= 0x72) { /* descriptor format */ in sg_scsi_normalize_sense()1961 sshp->sense_key = (0xf & sbp[1]); in sg_scsi_normalize_sense()1963 sshp->asc = sbp[2]; in sg_scsi_normalize_sense()1965 sshp->ascq = sbp[3]; in sg_scsi_normalize_sense()1967 sshp->additional_length = sbp[7]; in sg_scsi_normalize_sense()[all …]
164 struct sg_scsi_sense_hdr * sshp);
185 struct sg_scsi_sense_hdr * sshp);
73 ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) in ssh_init() argument133 *sshp = ssh; in ssh_init()