Searched refs:kfifo_avail (Results 1 – 25 of 29) sorted by relevance
12
147 avail = kfifo_avail(&kf->kf); in iio_kfifo_buf_space_available()
185 if (kfifo_avail(&client->fifo) >= len) { in add_event_to_kfifo()
443 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()450 if (kfifo_avail(&sensor_inst->data_fifo) >= raw_len) in hid_sensor_capture_sample()
22 len = min(len, kfifo_avail(fifo)); in __kfifo_fromio()
504 kfifo_avail(&ctx->queue->softqueue) > in sec_skcipher_alg_callback()812 kfifo_avail(&queue->softqueue) > steps)) || in sec_alg_skcipher_crypto()
256 room = kfifo_avail(&port->write_fifo); in dbc_tty_write_room()
243 room = kfifo_avail(&port->write_fifo); in usb_serial_generic_write_room()
374 room = kfifo_avail(&port->write_fifo); in oti6858_write_room()
801 room = kfifo_avail(&priv->write_fifo); in cypress_write_room()
825 room = kfifo_avail(&port->write_fifo); in ti_write_room()
2086 room = kfifo_avail(&port->write_fifo); in edge_write_room()
294 #define kfifo_avail(fifo) \ macro
652 if (kfifo_avail(&line6->messages.fifo) >= line6->message_length) { in line6_hwdep_push_message()
110 if (kfifo_avail(&client->buffer) < n) { in ssam_cdev_notifier()
609 if (likely(kfifo_avail(&client->buffer) >= len)) in sdtx_push_event()
295 if (unlikely(kfifo_avail(&mq->fifo) < sizeof(msg))) { in __mbox_rx_interrupt()
449 room = kfifo_avail(&gb_tty->write_fifo); in gb_tty_write_room()
420 if (kfifo_avail(&pw->pw_fifo) >= RIO_PW_MSG_SIZE) { in fsl_rio_port_write_handler()
597 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) { in scmi_notify()
382 while (kfifo_avail(&midi->in_req_fifo)) { in f_midi_set_alt()
793 room = kfifo_avail(&port->port_write_buf); in gs_write_room()
847 available = kfifo_avail(&device->tx_fifo); in pi433_write()
952 return kfifo_avail(&info->port.xmit_fifo); in mxser_write_room()
1649 room = kfifo_avail(&port->fifo_ul); in ntty_write_room()
1382 overflow = kfifo_avail(&priv->event_fifo) < sizeof(*event) in rio_mport_add_event()