Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mbox.c430 struct hinic_recv_mbox *rcv_mbox_temp = NULL; in recv_mbox_handler() local
477 rcv_mbox_temp = kmemdup(recv_mbox, sizeof(*rcv_mbox_temp), GFP_KERNEL); in recv_mbox_handler()
478 if (!rcv_mbox_temp) in recv_mbox_handler()
481 rcv_mbox_temp->mbox = kmemdup(recv_mbox->mbox, MBOX_MAX_BUF_SZ, in recv_mbox_handler()
483 if (!rcv_mbox_temp->mbox) in recv_mbox_handler()
486 rcv_mbox_temp->buf_out = kzalloc(MBOX_MAX_BUF_SZ, GFP_KERNEL); in recv_mbox_handler()
487 if (!rcv_mbox_temp->buf_out) in recv_mbox_handler()
495 mbox_work->recv_mbox = rcv_mbox_temp; in recv_mbox_handler()
505 kfree(rcv_mbox_temp->buf_out); in recv_mbox_handler()
508 kfree(rcv_mbox_temp->mbox); in recv_mbox_handler()
[all …]