Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nfc/
Dvirtual_ncidev.c27 struct sk_buff *send_buff; member
45 kfree_skb(vdev->send_buff); in virtual_nci_close()
46 vdev->send_buff = NULL; in virtual_nci_close()
58 if (vdev->send_buff || !vdev->running) { in virtual_nci_send()
63 vdev->send_buff = skb_copy(skb, GFP_KERNEL); in virtual_nci_send()
64 if (!vdev->send_buff) { in virtual_nci_send()
89 while (!vdev->send_buff) { in virtual_ncidev_read()
91 if (wait_event_interruptible(vdev->wq, vdev->send_buff)) in virtual_ncidev_read()
96 actual_len = min_t(size_t, count, vdev->send_buff->len); in virtual_ncidev_read()
98 if (copy_to_user(buf, vdev->send_buff->data, actual_len)) { in virtual_ncidev_read()
[all …]