Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/misc/vmw_vmci/
A Dvmci_host.c709 void *cpt_buf; in vmci_host_do_ctx_get_cpt_state() local
722 &get_info.buf_size, &cpt_buf); in vmci_host_do_ctx_get_cpt_state()
724 void __user *ubuf = (void __user *)(uintptr_t)get_info.cpt_buf; in vmci_host_do_ctx_get_cpt_state()
725 retval = copy_to_user(ubuf, cpt_buf, get_info.buf_size); in vmci_host_do_ctx_get_cpt_state()
726 kfree(cpt_buf); in vmci_host_do_ctx_get_cpt_state()
741 void *cpt_buf; in vmci_host_do_ctx_set_cpt_state() local
752 cpt_buf = memdup_user((void __user *)(uintptr_t)set_info.cpt_buf, in vmci_host_do_ctx_set_cpt_state()
754 if (IS_ERR(cpt_buf)) in vmci_host_do_ctx_set_cpt_state()
755 return PTR_ERR(cpt_buf); in vmci_host_do_ctx_set_cpt_state()
759 set_info.buf_size, cpt_buf); in vmci_host_do_ctx_set_cpt_state()
[all …]
A Dvmci_context.h93 u64 cpt_buf; member
145 u32 num_cids, void *cpt_buf);
A 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()

Completed in 9 milliseconds