Searched refs:data_avail (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/char/hw_random/ |
D | virtio-rng.c | 27 unsigned int data_avail; member 42 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) in random_recv_done() 55 vi->data_avail = 0; in request_entropy() 69 size = min_t(unsigned int, size, vi->data_avail); in copy_data() 72 vi->data_avail -= size; in copy_data() 73 if (vi->data_avail == 0) in copy_data() 91 if (vi->data_avail) { in virtio_read() 111 if (vi->data_avail == 0) in virtio_read() 181 vi->data_avail = 0; in remove_common()
|
D | core.c | 41 static int data_avail; variable 234 if (!data_avail) { in rng_dev_read() 242 data_avail = bytes_read; in rng_dev_read() 245 if (!data_avail) { in rng_dev_read() 251 len = data_avail; in rng_dev_read() 255 data_avail -= len; in rng_dev_read() 257 if (copy_to_user(buf + ret, rng_buffer + data_avail, in rng_dev_read()
|
/linux-6.1.9/drivers/char/ipmi/ |
D | kcs_bmc_cdev_ipmi.c | 324 bool data_avail; in kcs_bmc_ipmi_read() local 335 data_avail = priv->data_in_avail; in kcs_bmc_ipmi_read() 336 if (data_avail) { in kcs_bmc_ipmi_read() 342 if (!data_avail) { in kcs_bmc_ipmi_read()
|
/linux-6.1.9/net/mptcp/ |
D | subflow.c | 1206 WRITE_ONCE(subflow->data_avail, MPTCP_SUBFLOW_NODATA); in subflow_check_data_avail() 1207 if (subflow->data_avail) in subflow_check_data_avail() 1248 WRITE_ONCE(subflow->data_avail, MPTCP_SUBFLOW_DATA_AVAIL); in subflow_check_data_avail() 1270 WRITE_ONCE(subflow->data_avail, MPTCP_SUBFLOW_DATA_AVAIL); in subflow_check_data_avail() 1287 WRITE_ONCE(subflow->data_avail, MPTCP_SUBFLOW_NODATA); in subflow_check_data_avail() 1299 WRITE_ONCE(subflow->data_avail, MPTCP_SUBFLOW_DATA_AVAIL); in subflow_check_data_avail() 1311 WRITE_ONCE(subflow->data_avail, MPTCP_SUBFLOW_NODATA); in mptcp_subflow_data_available()
|
D | protocol.h | 475 enum mptcp_data_avail data_avail;
|
D | protocol.c | 940 if (READ_ONCE(subflow->data_avail)) in mptcp_subflow_recv_lookup()
|