Lines Matching refs:new_frames
1096 void *new_frames; in bcm_tx_setup() local
1113 new_frames = kmalloc(msg_head->nframes * op->cfsiz, GFP_KERNEL); in bcm_tx_setup()
1114 if (!new_frames) in bcm_tx_setup()
1119 cf = new_frames + op->cfsiz * i; in bcm_tx_setup()
1122 kfree(new_frames); in bcm_tx_setup()
1135 kfree(new_frames); in bcm_tx_setup()
1148 memcpy(op->frames, new_frames, msg_head->nframes * op->cfsiz); in bcm_tx_setup()
1165 kfree(new_frames); in bcm_tx_setup()
1279 struct bcm_op *op, void *new_frames) in bcm_rx_setup_rtr_check() argument
1281 struct canfd_frame *frame0 = new_frames; in bcm_rx_setup_rtr_check()
1346 void *new_frames = NULL; in bcm_rx_setup() local
1360 new_frames = kmalloc(msg_head->nframes * op->cfsiz, in bcm_rx_setup()
1362 if (!new_frames) in bcm_rx_setup()
1365 err = memcpy_from_msg(new_frames, msg, in bcm_rx_setup()
1368 kfree(new_frames); in bcm_rx_setup()
1372 err = bcm_rx_setup_rtr_check(msg_head, op, new_frames); in bcm_rx_setup()
1374 kfree(new_frames); in bcm_rx_setup()
1385 memcpy(op->frames, new_frames, in bcm_rx_setup()
1404 kfree(new_frames); in bcm_rx_setup()