Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/tpm/
Dtpm-dev-common.c41 memset(priv->data_buffer, 0, sizeof(priv->data_buffer)); in timeout_work()
69 rc = copy_to_user(buf, priv->data_buffer, ret_size); in tpm_common_read()
70 memset(priv->data_buffer, 0, priv->data_pending); in tpm_common_read()
103 (priv->data_buffer, (void __user *) buf, in_size)) { in tpm_common_write()
109 in_size < be32_to_cpu(*((__be32 *) (priv->data_buffer + 2)))) { in tpm_common_write()
122 out_size = tpm_transmit(priv->chip, space, priv->data_buffer, in tpm_common_write()
123 sizeof(priv->data_buffer), 0); in tpm_common_write()
Dtpm-dev.h17 u8 data_buffer[TPM_BUFSIZE]; member
/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_guest.c62 void *data_buffer; member
212 u8 *dg_in_buffer = vmci_dev->data_buffer; in vmci_dispatch_dgs()
221 vmci_dev->data_buffer, current_dg_in_buffer_size); in vmci_dispatch_dgs()
283 vmci_dev->data_buffer + in vmci_dispatch_dgs()
325 vmci_dev->data_buffer, in vmci_dispatch_dgs()
344 vmci_dev->data_buffer, in vmci_dispatch_dgs()
475 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device()
476 if (!vmci_dev->data_buffer) { in vmci_guest_probe_device()
655 vfree(vmci_dev->data_buffer); in vmci_guest_probe_device()
710 vfree(vmci_dev->data_buffer); in vmci_guest_remove_device()