Home
last modified time | relevance | path

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

/openbmc/linux/drivers/s390/char/
H A Dmonreader.c158 monpriv->read_index = (monpriv->read_index + 1) % in mon_send_reply()
176 kfree(monpriv); in mon_free_mem()
185 if (!monpriv) in mon_alloc_mem()
195 return monpriv; in mon_alloc_mem()
212 monmsg = monpriv->msg_array[monpriv->read_index]; in mon_next_message()
218 monpriv->read_index = (monpriv->read_index + 1) % in mon_next_message()
255 memcpy(&monpriv->msg_array[monpriv->write_index]->msg, in mon_iucv_message_pending()
259 monpriv->msg_array[monpriv->write_index]->msglim_reached = 1; in mon_iucv_message_pending()
289 if (!monpriv) in mon_open()
356 kfree(monpriv); in mon_close()
[all …]
H A Dmonwriter.c173 kfree(monpriv->current_buf); in monwrite_new_data()
189 struct mon_private *monpriv; in monwrite_open() local
192 if (!monpriv) in monwrite_open()
195 monpriv->hdr_to_read = sizeof(monpriv->hdr); in monwrite_open()
215 kfree(monpriv); in monwrite_close()
229 if (monpriv->hdr_to_read) { in monwrite_write()
232 sizeof(monpriv->hdr) - monpriv->hdr_to_read; in monwrite_write()
244 monpriv->data_to_read = monpriv->current_buf ? in monwrite_write()
251 monpriv->hdr.datalen - monpriv->data_to_read; in monwrite_write()
264 monpriv->hdr_to_read = sizeof(monpriv->hdr); in monwrite_write()
[all …]