Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_host.c720 void *cpt_buf; in vmci_host_do_ctx_get_cpt_state() local
733 &get_info.buf_size, &cpt_buf); in vmci_host_do_ctx_get_cpt_state()
735 void __user *ubuf = (void __user *)(uintptr_t)get_info.cpt_buf; in vmci_host_do_ctx_get_cpt_state()
736 retval = copy_to_user(ubuf, cpt_buf, get_info.buf_size); in vmci_host_do_ctx_get_cpt_state()
737 kfree(cpt_buf); in vmci_host_do_ctx_get_cpt_state()
752 void *cpt_buf; in vmci_host_do_ctx_set_cpt_state() local
763 cpt_buf = kmalloc(set_info.buf_size, GFP_KERNEL); in vmci_host_do_ctx_set_cpt_state()
764 if (!cpt_buf) { in vmci_host_do_ctx_set_cpt_state()
771 if (copy_from_user(cpt_buf, (void __user *)(uintptr_t)set_info.cpt_buf, in vmci_host_do_ctx_set_cpt_state()
779 set_info.buf_size, cpt_buf); in vmci_host_do_ctx_set_cpt_state()
[all …]
Dvmci_context.h101 u64 cpt_buf; member
153 u32 num_cids, void *cpt_buf);
Dvmci_context.c827 void *cpt_buf) in vmci_ctx_set_chkpt_state() argument
849 current_id = ((u32 *)cpt_buf)[i]; in vmci_ctx_set_chkpt_state()