Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nfc/
Dvirtual_ncidev.c27 struct sk_buff *send_buff; member
41 kfree_skb(vdev->send_buff); in virtual_nci_close()
42 vdev->send_buff = NULL; in virtual_nci_close()
53 if (vdev->send_buff) { in virtual_nci_send()
58 vdev->send_buff = skb_copy(skb, GFP_KERNEL); in virtual_nci_send()
59 if (!vdev->send_buff) { in virtual_nci_send()
84 while (!vdev->send_buff) { in virtual_ncidev_read()
86 if (wait_event_interruptible(vdev->wq, vdev->send_buff)) in virtual_ncidev_read()
91 actual_len = min_t(size_t, count, vdev->send_buff->len); in virtual_ncidev_read()
93 if (copy_to_user(buf, vdev->send_buff->data, actual_len)) { in virtual_ncidev_read()
[all …]