Home
last modified time | relevance | path

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

/third_party/curl/lib/vssh/
Dlibssh2.c798 struct SSHPROTO *sshp = data->req.p.ssh; in ssh_statemach_act() local
1280 result = Curl_getworkingpath(data, sshc->homedir, &sshp->path); in ssh_statemach_act()
1335 sshp->path); in ssh_statemach_act()
1417 memset(&sshp->quote_attrs, 0, sizeof(LIBSSH2_SFTP_ATTRIBUTES)); in ssh_statemach_act()
1536 &sshp->quote_attrs); in ssh_statemach_act()
1555 sshp->quote_attrs.gid = strtoul(sshc->quote_path1, NULL, 10); in ssh_statemach_act()
1556 sshp->quote_attrs.flags = LIBSSH2_SFTP_ATTR_UIDGID; in ssh_statemach_act()
1557 if(sshp->quote_attrs.gid == 0 && !ISDIGIT(sshc->quote_path1[0]) && in ssh_statemach_act()
1569 sshp->quote_attrs.permissions = strtoul(sshc->quote_path1, NULL, 8); in ssh_statemach_act()
1570 sshp->quote_attrs.flags = LIBSSH2_SFTP_ATTR_PERMISSIONS; in ssh_statemach_act()
[all …]
/third_party/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 …]
/third_party/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);