Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_io_linux.c174 struct sg_scsi_sense_hdr * sshp) in sg_normalize_sense() argument
177 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()
Dsg_lib.c1947 struct sg_scsi_sense_hdr * sshp) in sg_scsi_normalize_sense() argument
1950 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 …]
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_io_linux.h164 struct sg_scsi_sense_hdr * sshp);
Dsg_lib.h185 struct sg_scsi_sense_hdr * sshp);
/external/openssh/
Dssh_api.c73 ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) in ssh_init() argument
133 *sshp = ssh; in ssh_init()