Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/s390/char/
Dmonwriter.c50 size_t data_to_read; member
241 monpriv->data_to_read = monpriv->current_buf ? in monwrite_write()
245 if (monpriv->data_to_read) { in monwrite_write()
246 len = min(count - written, monpriv->data_to_read); in monwrite_write()
248 monpriv->hdr.datalen - monpriv->data_to_read; in monwrite_write()
253 monpriv->data_to_read -= len; in monwrite_write()
255 if (monpriv->data_to_read > 0) in monwrite_write()
267 monpriv->data_to_read = 0; in monwrite_write()
/Linux-v4.19/drivers/char/ipmi/
Dipmi_watchdog.c153 static char data_to_read; variable
791 if (!data_to_read) { in ipmi_read()
799 while (!data_to_read) { in ipmi_read()
812 data_to_read = 0; in ipmi_read()
818 if (copy_to_user(buf, &data_to_read, 1)) in ipmi_read()
854 if (data_to_read) in ipmi_poll()
933 data_to_read = 1; in ipmi_wdog_pretimeout_handler()