Lines Matching refs:SSH2_FX_OK
526 if (status != SSH2_FX_OK) in do_close()
531 return status == SSH2_FX_OK ? 0 : -1; in do_close()
678 return status == SSH2_FX_OK ? 0 : -1; in do_lsreaddir()
711 if (status != SSH2_FX_OK) in do_rm()
713 return status == SSH2_FX_OK ? 0 : -1; in do_rm()
726 if (status != SSH2_FX_OK && print_flag) in do_mkdir()
729 return status == SSH2_FX_OK ? 0 : -1; in do_mkdir()
742 if (status != SSH2_FX_OK) in do_rmdir()
745 return status == SSH2_FX_OK ? 0 : -1; in do_rmdir()
807 if (status != SSH2_FX_OK) in do_setstat()
811 return status == SSH2_FX_OK ? 0 : -1; in do_setstat()
825 if (status != SSH2_FX_OK) in do_fsetstat()
828 return status == SSH2_FX_OK ? 0 : -1; in do_fsetstat()
922 if (status != SSH2_FX_OK) in do_rename()
926 return status == SSH2_FX_OK ? 0 : -1; in do_rename()
958 if (status != SSH2_FX_OK) in do_hardlink()
962 return status == SSH2_FX_OK ? 0 : -1; in do_hardlink()
993 if (status != SSH2_FX_OK) in do_symlink()
997 return status == SSH2_FX_OK ? 0 : -1; in do_symlink()
1025 if (status != SSH2_FX_OK) in do_fsync()
1028 return status == SSH2_FX_OK ? 0 : -1; in do_fsync()
1170 if (status != SSH2_FX_OK) in do_lsetstat()
1174 return status == SSH2_FX_OK ? 0 : -1; in do_lsetstat()
1207 u_int mode, id, buflen, num_req, max_req, status = SSH2_FX_OK; in do_download()
1460 status = SSH2_FX_OK; in do_download()
1492 return status == SSH2_FX_OK ? 0 : -1; in do_download()
1613 u_int status = SSH2_FX_OK; in do_upload()
1722 if (interrupted || status != SSH2_FX_OK) in do_upload()
1802 if (status != SSH2_FX_OK) { in do_upload()
1826 return status == SSH2_FX_OK ? 0 : -1; in do_upload()