ret_mws 1044 drivers/ntb/hw/idt/ntb_hw_idt.c struct idt_mw_cfg mws[IDT_MAX_NR_MWS], *ret_mws; ret_mws 1107 drivers/ntb/hw/idt/ntb_hw_idt.c ret_mws = devm_kcalloc(&ndev->ntb.pdev->dev, *mw_cnt, sizeof(*ret_mws), ret_mws 1109 drivers/ntb/hw/idt/ntb_hw_idt.c if (!ret_mws) ret_mws 1113 drivers/ntb/hw/idt/ntb_hw_idt.c memcpy(ret_mws, mws, (*mw_cnt)*sizeof(*ret_mws)); ret_mws 1115 drivers/ntb/hw/idt/ntb_hw_idt.c return ret_mws;