Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/ipmi/
H A Dipmb_dev_int.c78 struct ipmb_request_elem *queue_elem; in ipmb_read() local
100 queue_elem = list_first_entry(&ipmb_dev->request_queue, in ipmb_read()
102 memcpy(&msg, &queue_elem->request, sizeof(msg)); in ipmb_read()
103 list_del(&queue_elem->list); in ipmb_read()
104 kfree(queue_elem); in ipmb_read()
205 struct ipmb_request_elem *queue_elem; in ipmb_handle_request() local
211 queue_elem = kmalloc(sizeof(*queue_elem), GFP_ATOMIC); in ipmb_handle_request()
212 if (!queue_elem) in ipmb_handle_request()
215 memcpy(&queue_elem->request, &ipmb_dev->request, in ipmb_handle_request()
217 list_add(&queue_elem->list, &ipmb_dev->request_queue); in ipmb_handle_request()