Lines Matching refs:Status

136 	if (err_rsp->hdr.Status != STATUS_STOPPED_ON_SYMLINK) {  in smb2_set_err_rsp()
221 rsp_hdr->Status = err; in set_smb2_rsp_status()
380 if (req->Command == SMB2_CREATE && rsp->Status == STATUS_SUCCESS) { in init_chained_smb2_rsp()
681 rsp_hdr->Status = status; in smb2_send_interim_resp()
685 rsp_hdr->Status = 0; in smb2_send_interim_resp()
1084 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1092 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1101 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1107 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1114 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1121 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1135 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1144 rsp->hdr.Status = status; in smb2_handle_negotiate()
1153 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_handle_negotiate()
1180 rsp->hdr.Status = STATUS_NOT_SUPPORTED; in smb2_handle_negotiate()
1772 rsp->hdr.Status = in smb2_sess_setup()
1813 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_sess_setup()
1815 rsp->hdr.Status = STATUS_USER_SESSION_DELETED; in smb2_sess_setup()
1817 rsp->hdr.Status = STATUS_REQUEST_NOT_ACCEPTED; in smb2_sess_setup()
1819 rsp->hdr.Status = STATUS_NETWORK_SESSION_EXPIRED; in smb2_sess_setup()
1821 rsp->hdr.Status = STATUS_INSUFFICIENT_RESOURCES; in smb2_sess_setup()
1823 rsp->hdr.Status = STATUS_LOGON_FAILURE; in smb2_sess_setup()
1944 rsp->hdr.Status = STATUS_SUCCESS; in smb2_tree_connect()
1950 rsp->hdr.Status = STATUS_BAD_NETWORK_NAME; in smb2_tree_connect()
1954 rsp->hdr.Status = STATUS_NO_MEMORY; in smb2_tree_connect()
1959 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_tree_connect()
1962 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_tree_connect()
1965 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_tree_connect()
2059 rsp->hdr.Status = STATUS_NETWORK_NAME_DELETED; in smb2_tree_disconnect()
2096 rsp->hdr.Status = STATUS_NETWORK_NAME_DELETED; in smb2_session_logoff()
2129 rsp->hdr.Status = STATUS_NO_MEMORY; in create_smb2_pipe()
2141 rsp->hdr.Status = STATUS_SUCCESS; in create_smb2_pipe()
2166 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in create_smb2_pipe()
2170 rsp->hdr.Status = STATUS_NO_MEMORY; in create_smb2_pipe()
2542 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_open()
2609 rsp->hdr.Status = STATUS_BAD_IMPERSONATION_LEVEL; in smb2_open()
2677 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_open()
2775 rsp->hdr.Status = STATUS_NOT_A_DIRECTORY; in smb2_open()
2781 rsp->hdr.Status = STATUS_FILE_IS_A_DIRECTORY; in smb2_open()
2787 rsp->hdr.Status = STATUS_NOT_A_DIRECTORY; in smb2_open()
2800 rsp->hdr.Status = STATUS_FILE_IS_A_DIRECTORY; in smb2_open()
2808 rsp->hdr.Status = STATUS_NOT_A_DIRECTORY; in smb2_open()
2862 rsp->hdr.Status = STATUS_OBJECT_PATH_NOT_FOUND; in smb2_open()
3273 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_open()
3275 rsp->hdr.Status = STATUS_NOT_SUPPORTED; in smb2_open()
3277 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_open()
3279 rsp->hdr.Status = STATUS_OBJECT_NAME_INVALID; in smb2_open()
3281 rsp->hdr.Status = STATUS_SHARING_VIOLATION; in smb2_open()
3283 rsp->hdr.Status = STATUS_DELETE_PENDING; in smb2_open()
3285 rsp->hdr.Status = STATUS_OBJECT_NAME_NOT_FOUND; in smb2_open()
3287 rsp->hdr.Status = STATUS_DUPLICATE_OBJECTID; in smb2_open()
3289 rsp->hdr.Status = STATUS_NO_SUCH_DEVICE; in smb2_open()
3291 rsp->hdr.Status = STATUS_OBJECT_NAME_COLLISION; in smb2_open()
3293 rsp->hdr.Status = STATUS_INSUFFICIENT_RESOURCES; in smb2_open()
3294 if (!rsp->hdr.Status) in smb2_open()
3295 rsp->hdr.Status = STATUS_UNEXPECTED_IO_ERROR; in smb2_open()
3300 ksmbd_debug(SMB, "Error response: %x\n", rsp->hdr.Status); in smb2_open()
3881 rsp->hdr.Status = STATUS_NO_MEMORY; in smb2_query_dir()
3987 rsp->hdr.Status = STATUS_NO_SUCH_FILE; in smb2_query_dir()
3990 rsp->hdr.Status = STATUS_NO_MORE_FILES; in smb2_query_dir()
4022 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_query_dir()
4024 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_query_dir()
4026 rsp->hdr.Status = STATUS_NO_SUCH_FILE; in smb2_query_dir()
4028 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_query_dir()
4030 rsp->hdr.Status = STATUS_NO_MEMORY; in smb2_query_dir()
4032 rsp->hdr.Status = STATUS_INVALID_INFO_CLASS; in smb2_query_dir()
4034 rsp->hdr.Status = STATUS_FILE_CORRUPT_ERROR; in smb2_query_dir()
4035 if (!rsp->hdr.Status) in smb2_query_dir()
4036 rsp->hdr.Status = STATUS_UNEXPECTED_IO_ERROR; in smb2_query_dir()
4060 rsp->hdr.Status = STATUS_INFO_LENGTH_MISMATCH; in buffer_check_err()
4066 rsp->hdr.Status = STATUS_BUFFER_OVERFLOW; in buffer_check_err()
4197 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_get_ea()
4249 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_get_ea()
4301 rsp->hdr.Status = STATUS_NO_EAS_ON_FILE; in smb2_get_ea()
5238 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_query_info()
5240 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_query_info()
5242 rsp->hdr.Status = STATUS_UNEXPECTED_IO_ERROR; in smb2_query_info()
5243 else if (rc == -EOPNOTSUPP || rsp->hdr.Status == 0) in smb2_query_info()
5244 rsp->hdr.Status = STATUS_INVALID_INFO_CLASS; in smb2_query_info()
5320 rsp->hdr.Status = STATUS_USER_SESSION_DELETED; in smb2_close()
5322 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_close()
5332 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_close()
5389 if (rsp->hdr.Status == 0) in smb2_close()
5390 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_close()
6089 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_set_info()
6091 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_set_info()
6093 rsp->hdr.Status = STATUS_SHARING_VIOLATION; in smb2_set_info()
6095 rsp->hdr.Status = STATUS_OBJECT_NAME_INVALID; in smb2_set_info()
6097 rsp->hdr.Status = STATUS_DIRECTORY_NOT_EMPTY; in smb2_set_info()
6099 rsp->hdr.Status = STATUS_FILE_LOCK_CONFLICT; in smb2_set_info()
6101 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_set_info()
6103 rsp->hdr.Status = STATUS_OBJECT_NAME_COLLISION; in smb2_set_info()
6104 else if (rsp->hdr.Status == 0 || rc == -EOPNOTSUPP) in smb2_set_info()
6105 rsp->hdr.Status = STATUS_INVALID_INFO_CLASS; in smb2_set_info()
6162 rsp->hdr.Status = STATUS_UNEXPECTED_IO_ERROR; in smb2_read_pipe()
6304 rsp->hdr.Status = STATUS_END_OF_FILE; in smb2_read()
6344 rsp->hdr.Status = STATUS_INVALID_DEVICE_REQUEST; in smb2_read()
6346 rsp->hdr.Status = STATUS_FILE_LOCK_CONFLICT; in smb2_read()
6348 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_read()
6350 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_read()
6352 rsp->hdr.Status = STATUS_SHARING_VIOLATION; in smb2_read()
6354 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_read()
6356 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_read()
6398 rsp->hdr.Status = STATUS_NOT_SUPPORTED; in smb2_write_pipe()
6404 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_write_pipe()
6422 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_write_pipe()
6581 rsp->hdr.Status = STATUS_FILE_LOCK_CONFLICT; in smb2_write()
6583 rsp->hdr.Status = STATUS_DISK_FULL; in smb2_write()
6585 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_write()
6587 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_write()
6589 rsp->hdr.Status = STATUS_SHARING_VIOLATION; in smb2_write()
6591 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_write()
6593 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_write()
6627 rsp->hdr.Status = STATUS_INVALID_HANDLE; in smb2_flush()
6860 rsp->hdr.Status = STATUS_INVALID_LOCK_RANGE; in smb2_lock()
6879 rsp->hdr.Status = STATUS_INVALID_LOCK_RANGE; in smb2_lock()
7000 rsp->hdr.Status = STATUS_RANGE_NOT_LOCKED; in smb2_lock()
7019 rsp->hdr.Status = STATUS_NOT_LOCKED; in smb2_lock()
7069 rsp->hdr.Status = in smb2_lock()
7079 rsp->hdr.Status = in smb2_lock()
7114 rsp->hdr.Status = STATUS_SUCCESS; in smb2_lock()
7153 if (!rsp->hdr.Status) { in smb2_lock()
7155 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_lock()
7157 rsp->hdr.Status = STATUS_INSUFFICIENT_RESOURCES; in smb2_lock()
7159 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb2_lock()
7161 rsp->hdr.Status = STATUS_LOCK_NOT_GRANTED; in smb2_lock()
7206 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in fsctl_copychunk()
7219 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in fsctl_copychunk()
7229 rsp->hdr.Status = STATUS_OBJECT_NAME_NOT_FOUND; in fsctl_copychunk()
7234 rsp->hdr.Status = STATUS_FILE_CLOSED; in fsctl_copychunk()
7244 rsp->hdr.Status = STATUS_ACCESS_DENIED; in fsctl_copychunk()
7255 rsp->hdr.Status = STATUS_ACCESS_DENIED; in fsctl_copychunk()
7257 rsp->hdr.Status = STATUS_FILE_LOCK_CONFLICT; in fsctl_copychunk()
7259 rsp->hdr.Status = STATUS_INVALID_HANDLE; in fsctl_copychunk()
7261 rsp->hdr.Status = STATUS_DISK_FULL; in fsctl_copychunk()
7263 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in fsctl_copychunk()
7265 rsp->hdr.Status = STATUS_FILE_IS_A_DIRECTORY; in fsctl_copychunk()
7267 rsp->hdr.Status = STATUS_INVALID_VIEW_SIZE; in fsctl_copychunk()
7269 rsp->hdr.Status = STATUS_UNEXPECTED_IO_ERROR; in fsctl_copychunk()
7495 rsp->hdr.Status = STATUS_SOME_NOT_MAPPED; in fsctl_pipe_transceive()
7497 rsp->hdr.Status = STATUS_NOT_SUPPORTED; in fsctl_pipe_transceive()
7500 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in fsctl_pipe_transceive()
7506 rsp->hdr.Status = STATUS_BUFFER_OVERFLOW; in fsctl_pipe_transceive()
7511 rsp->hdr.Status = in fsctl_pipe_transceive()
7614 rsp->hdr.Status = STATUS_NOT_SUPPORTED; in smb2_ioctl()
7622 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_ioctl()
7632 rsp->hdr.Status = STATUS_FS_DRIVER_REQUIRED; in smb2_ioctl()
7801 rsp->hdr.Status = STATUS_BUFFER_OVERFLOW; in smb2_ioctl()
7915 rsp->hdr.Status = STATUS_ACCESS_DENIED; in smb2_ioctl()
7917 rsp->hdr.Status = STATUS_OBJECT_NAME_NOT_FOUND; in smb2_ioctl()
7919 rsp->hdr.Status = STATUS_NOT_SUPPORTED; in smb2_ioctl()
7921 rsp->hdr.Status = STATUS_BUFFER_TOO_SMALL; in smb2_ioctl()
7922 else if (ret < 0 || rsp->hdr.Status == 0) in smb2_ioctl()
7923 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_ioctl()
7954 rsp->hdr.Status = STATUS_FILE_CLOSED; in smb20_oplock_break_ack()
7962 rsp->hdr.Status = STATUS_INVALID_OPLOCK_PROTOCOL; in smb20_oplock_break_ack()
7969 rsp->hdr.Status = STATUS_INVALID_OPLOCK_PROTOCOL; in smb20_oplock_break_ack()
7975 rsp->hdr.Status = STATUS_UNSUCCESSFUL; in smb20_oplock_break_ack()
8029 rsp->hdr.Status = err; in smb20_oplock_break_ack()
8095 rsp->hdr.Status = STATUS_UNSUCCESSFUL; in smb21_lease_break_ack()
8103 rsp->hdr.Status = STATUS_UNSUCCESSFUL; in smb21_lease_break_ack()
8108 rsp->hdr.Status = STATUS_REQUEST_NOT_ACCEPTED; in smb21_lease_break_ack()
8116 rsp->hdr.Status = STATUS_UNSUCCESSFUL; in smb21_lease_break_ack()
8183 rsp->hdr.Status = err; in smb21_lease_break_ack()
8227 rsp->hdr.Status = STATUS_INVALID_PARAMETER; in smb2_oplock_break()
8248 rsp->hdr.Status = STATUS_INTERNAL_ERROR; in smb2_notify()
8254 rsp->hdr.Status = STATUS_NOT_IMPLEMENTED; in smb2_notify()
8671 rsp->Status == STATUS_SUCCESS) in smb3_11_final_sess_setup_resp()