Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/s390/char/
Dmonwriter.c46 size_t data_to_read; member
244 monpriv->data_to_read = monpriv->current_buf ? in monwrite_write()
248 if (monpriv->data_to_read) { in monwrite_write()
249 len = min(count - written, monpriv->data_to_read); in monwrite_write()
251 monpriv->hdr.datalen - monpriv->data_to_read; in monwrite_write()
256 monpriv->data_to_read -= len; in monwrite_write()
258 if (monpriv->data_to_read > 0) in monwrite_write()
270 monpriv->data_to_read = 0; in monwrite_write()
/linux-6.6.21/drivers/char/ipmi/
Dipmi_watchdog.c154 static char data_to_read; variable
797 if (!data_to_read) { in ipmi_read()
805 while (!data_to_read && !signal_pending(current)) { in ipmi_read()
818 data_to_read = 0; in ipmi_read()
824 if (copy_to_user(buf, &data_to_read, 1)) in ipmi_read()
860 if (data_to_read) in ipmi_poll()
939 data_to_read = 1; in ipmi_wdog_pretimeout_handler()