Home
last modified time | relevance | path

Searched refs:cpt_buf (Results 1 – 3 of 3) sorted by relevance

/drivers/misc/vmw_vmci/
Dvmci_host.c715 void *cpt_buf; in vmci_host_do_ctx_get_cpt_state() local
728 &get_info.buf_size, &cpt_buf); in vmci_host_do_ctx_get_cpt_state()
730 void __user *ubuf = (void __user *)(uintptr_t)get_info.cpt_buf; in vmci_host_do_ctx_get_cpt_state()
731 retval = copy_to_user(ubuf, cpt_buf, get_info.buf_size); in vmci_host_do_ctx_get_cpt_state()
732 kfree(cpt_buf); in vmci_host_do_ctx_get_cpt_state()
747 void *cpt_buf; in vmci_host_do_ctx_set_cpt_state() local
758 cpt_buf = memdup_user((void __user *)(uintptr_t)set_info.cpt_buf, in vmci_host_do_ctx_set_cpt_state()
760 if (IS_ERR(cpt_buf)) in vmci_host_do_ctx_set_cpt_state()
761 return PTR_ERR(cpt_buf); in vmci_host_do_ctx_set_cpt_state()
765 set_info.buf_size, cpt_buf); in vmci_host_do_ctx_set_cpt_state()
[all …]
Dvmci_context.h93 u64 cpt_buf; member
145 u32 num_cids, void *cpt_buf);
Dvmci_context.c816 void *cpt_buf) in vmci_ctx_set_chkpt_state() argument
838 current_id = ((u32 *)cpt_buf)[i]; in vmci_ctx_set_chkpt_state()