Searched refs:CFSIZ (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/net/can/ |
D | bcm.c | 134 #define CFSIZ sizeof(struct can_frame) macro 258 skb = alloc_skb(CFSIZ + sizeof(struct can_skb_priv), gfp_any()); in bcm_can_tx() 266 memcpy(skb_put(skb, CFSIZ), cf, CFSIZ); in bcm_can_tx() 295 unsigned int datalen = head->nframes * CFSIZ; in bcm_send_to_user() 438 memcpy(lastdata, rxdata, CFSIZ); in bcm_rx_update_and_send() 555 memset(op->last_frames, 0, op->nframes * CFSIZ); in bcm_rx_timeout_handler() 860 err = memcpy_from_msg((u8 *)&op->frames[i], msg, CFSIZ); in bcm_tx_setup() 885 op->frames = kmalloc(msg_head->nframes * CFSIZ, in bcm_tx_setup() 895 err = memcpy_from_msg((u8 *)&op->frames[i], msg, CFSIZ); in bcm_tx_setup() 979 return msg_head->nframes * CFSIZ + MHSIZ; in bcm_tx_setup() [all …]
|