Home
last modified time | relevance | path

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

/drivers/misc/vmw_vmci/
Dvmci_host.c713 void *cpt_buf; in vmci_host_do_ctx_get_cpt_state() local
726 &get_info.buf_size, &cpt_buf); in vmci_host_do_ctx_get_cpt_state()
728 void __user *ubuf = (void __user *)(uintptr_t)get_info.cpt_buf; in vmci_host_do_ctx_get_cpt_state()
729 retval = copy_to_user(ubuf, cpt_buf, get_info.buf_size); in vmci_host_do_ctx_get_cpt_state()
730 kfree(cpt_buf); in vmci_host_do_ctx_get_cpt_state()
745 void *cpt_buf; in vmci_host_do_ctx_set_cpt_state() local
756 cpt_buf = kmalloc(set_info.buf_size, GFP_KERNEL); in vmci_host_do_ctx_set_cpt_state()
757 if (!cpt_buf) { in vmci_host_do_ctx_set_cpt_state()
764 if (copy_from_user(cpt_buf, (void __user *)(uintptr_t)set_info.cpt_buf, in vmci_host_do_ctx_set_cpt_state()
772 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.c815 void *cpt_buf) in vmci_ctx_set_chkpt_state() argument
837 current_id = ((u32 *)cpt_buf)[i]; in vmci_ctx_set_chkpt_state()