Searched refs:monpriv (Results 1 – 2 of 2) sorted by relevance
150 struct mon_private *monpriv) in mon_send_reply() argument154 rc = iucv_message_reply(monpriv->path, &monmsg->msg, in mon_send_reply()156 atomic_dec(&monpriv->msglim_count); in mon_send_reply()160 monpriv->read_index = (monpriv->read_index + 1) % in mon_send_reply()162 atomic_dec(&monpriv->read_ready); in mon_send_reply()172 static void mon_free_mem(struct mon_private *monpriv) in mon_free_mem() argument177 if (monpriv->msg_array[i]) in mon_free_mem()178 kfree(monpriv->msg_array[i]); in mon_free_mem()179 kfree(monpriv); in mon_free_mem()185 struct mon_private *monpriv; in mon_alloc_mem() local[all …]
78 static struct mon_buf *monwrite_find_hdr(struct mon_private *monpriv, in monwrite_find_hdr() argument83 list_for_each_entry_safe(entry, next, &monpriv->list, list) in monwrite_find_hdr()96 static int monwrite_new_hdr(struct mon_private *monpriv) in monwrite_new_hdr() argument98 struct monwrite_hdr *monhdr = &monpriv->hdr; in monwrite_new_hdr()108 monbuf = monwrite_find_hdr(monpriv, monhdr); in monwrite_new_hdr()133 list_add_tail(&monbuf->list, &monpriv->list); in monwrite_new_hdr()137 monpriv->current_buf = monbuf; in monwrite_new_hdr()141 static int monwrite_new_data(struct mon_private *monpriv) in monwrite_new_data() argument143 struct monwrite_hdr *monhdr = &monpriv->hdr; in monwrite_new_data()144 struct mon_buf *monbuf = monpriv->current_buf; in monwrite_new_data()[all …]