• Home
  • Raw
  • Download

Lines Matching refs:rpc_resp

6454 	struct ksmbd_rpc_command *rpc_resp;  in smb2_read_pipe()  local
6462 rpc_resp = ksmbd_rpc_read(work->sess, id); in smb2_read_pipe()
6463 if (rpc_resp) { in smb2_read_pipe()
6466 if (rpc_resp->flags != KSMBD_RPC_OK) { in smb2_read_pipe()
6472 kvmalloc(rpc_resp->payload_sz, GFP_KERNEL); in smb2_read_pipe()
6478 memcpy(aux_payload_buf, rpc_resp->payload, rpc_resp->payload_sz); in smb2_read_pipe()
6480 nbytes = rpc_resp->payload_sz; in smb2_read_pipe()
6488 kvfree(rpc_resp); in smb2_read_pipe()
6507 kvfree(rpc_resp); in smb2_read_pipe()
6737 struct ksmbd_rpc_command *rpc_resp; in smb2_write_pipe() local
6760 rpc_resp = ksmbd_rpc_write(work->sess, id, data_buf, length); in smb2_write_pipe()
6761 if (rpc_resp) { in smb2_write_pipe()
6762 if (rpc_resp->flags == KSMBD_RPC_ENOTIMPLEMENTED) { in smb2_write_pipe()
6764 kvfree(rpc_resp); in smb2_write_pipe()
6768 if (rpc_resp->flags != KSMBD_RPC_OK) { in smb2_write_pipe()
6771 kvfree(rpc_resp); in smb2_write_pipe()
6774 kvfree(rpc_resp); in smb2_write_pipe()
7845 struct ksmbd_rpc_command *rpc_resp; in fsctl_pipe_transceive() local
7849 rpc_resp = ksmbd_rpc_ioctl(work->sess, id, data_buf, in fsctl_pipe_transceive()
7851 if (rpc_resp) { in fsctl_pipe_transceive()
7852 if (rpc_resp->flags == KSMBD_RPC_SOME_NOT_MAPPED) { in fsctl_pipe_transceive()
7858 } else if (rpc_resp->flags == KSMBD_RPC_ENOTIMPLEMENTED) { in fsctl_pipe_transceive()
7861 } else if (rpc_resp->flags != KSMBD_RPC_OK) { in fsctl_pipe_transceive()
7866 nbytes = rpc_resp->payload_sz; in fsctl_pipe_transceive()
7867 if (rpc_resp->payload_sz > out_buf_len) { in fsctl_pipe_transceive()
7872 if (!rpc_resp->payload_sz) { in fsctl_pipe_transceive()
7878 memcpy((char *)rsp->Buffer, rpc_resp->payload, nbytes); in fsctl_pipe_transceive()
7881 kvfree(rpc_resp); in fsctl_pipe_transceive()