Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c435 struct hinic_recv_mbox *rcv_mbox_temp = NULL; in recv_mbox_handler() local
482 rcv_mbox_temp = kmemdup(recv_mbox, sizeof(*rcv_mbox_temp), GFP_KERNEL); in recv_mbox_handler()
483 if (!rcv_mbox_temp) in recv_mbox_handler()
486 rcv_mbox_temp->mbox = kmemdup(recv_mbox->mbox, MBOX_MAX_BUF_SZ, in recv_mbox_handler()
488 if (!rcv_mbox_temp->mbox) in recv_mbox_handler()
491 rcv_mbox_temp->buf_out = kzalloc(MBOX_MAX_BUF_SZ, GFP_KERNEL); in recv_mbox_handler()
492 if (!rcv_mbox_temp->buf_out) in recv_mbox_handler()
500 mbox_work->recv_mbox = rcv_mbox_temp; in recv_mbox_handler()
510 kfree(rcv_mbox_temp->buf_out); in recv_mbox_handler()
513 kfree(rcv_mbox_temp->mbox); in recv_mbox_handler()
[all …]