• Home
  • Raw
  • Download

Lines Matching refs:desp

763 	struct work_handler_desp *desp =  in hmdfs_request_work_fn()  local
766 hmdfs_msg_handle_sync(desp->peer, desp->head, desp->buf); in hmdfs_request_work_fn()
767 peer_put(desp->peer); in hmdfs_request_work_fn()
768 kfree(desp->head); in hmdfs_request_work_fn()
769 kfree(desp); in hmdfs_request_work_fn()
777 struct work_handler_desp *desp = NULL; in hmdfs_msg_handle_async() local
781 desp = kzalloc(sizeof(*desp), GFP_KERNEL); in hmdfs_msg_handle_async()
782 if (!desp) { in hmdfs_msg_handle_async()
794 desp->peer = con; in hmdfs_msg_handle_async()
795 desp->head = dup_head; in hmdfs_msg_handle_async()
796 desp->buf = buf; in hmdfs_msg_handle_async()
797 INIT_WORK(&desp->work, work_fn); in hmdfs_msg_handle_async()
800 queue_work(wq, &desp->work); in hmdfs_msg_handle_async()
806 kfree(desp); in hmdfs_msg_handle_async()
872 struct work_handler_desp *desp) in hmdfs_readfile_slice() argument
874 struct slice_descriptor *sdesc = desp->buf; in hmdfs_readfile_slice()
904 struct work_handler_desp *desp = in hmdfs_file_response_work_fn() local
909 u8 cmd = desp->head->operations.command; in hmdfs_file_response_work_fn()
911 hmdfs_override_creds(desp->peer->sbi->cred); in hmdfs_file_response_work_fn()
913 msg_info = (struct sendmsg_wait_queue *)hmdfs_find_msg_head(desp->peer, in hmdfs_file_response_work_fn()
914 le32_to_cpu(desp->head->msg_id)); in hmdfs_file_response_work_fn()
916 hmdfs_client_resp_statis(desp->peer->sbi, cmd, HMDFS_RESP_DELAY, in hmdfs_file_response_work_fn()
919 le32_to_cpu(desp->head->msg_id)); in hmdfs_file_response_work_fn()
923 ret = le32_to_cpu(desp->head->ret_code); in hmdfs_file_response_work_fn()
924 if (ret || le32_to_cpu(desp->head->data_len) == sizeof(*desp->head)) in hmdfs_file_response_work_fn()
926 ret = hmdfs_readfile_slice(msg_info, desp); in hmdfs_file_response_work_fn()
935 hmdfs_client_resp_statis(desp->peer->sbi, cmd, HMDFS_RESP_NORMAL, in hmdfs_file_response_work_fn()
940 peer_put(desp->peer); in hmdfs_file_response_work_fn()
943 kfree(desp->buf); in hmdfs_file_response_work_fn()
944 kfree(desp->head); in hmdfs_file_response_work_fn()
945 kfree(desp); in hmdfs_file_response_work_fn()