Lines Matching refs:max_pdu_size
100 static unsigned int max_pdu_size __read_mostly = DEFAULT_MAX_PDU_SIZE;
101 module_param(max_pdu_size, uint, 0444);
102 MODULE_PARM_DESC(max_pdu_size, "maximum isotp pdu size (default "
517 if (so->rx.len > so->rx.buflen && so->rx.buflen < max_pdu_size) { in isotp_rcv_ff()
518 u8 *newbuf = kmalloc(max_pdu_size, GFP_ATOMIC); in isotp_rcv_ff()
522 so->rx.buflen = max_pdu_size; in isotp_rcv_ff()
968 if (size > so->tx.buflen && so->tx.buflen < max_pdu_size) { in isotp_sendmsg()
969 u8 *newbuf = kmalloc(max_pdu_size, GFP_KERNEL); in isotp_sendmsg()
973 so->tx.buflen = max_pdu_size; in isotp_sendmsg()
1718 max_pdu_size = max_t(unsigned int, max_pdu_size, MAX_12BIT_PDU_SIZE); in isotp_module_init()
1719 max_pdu_size = min_t(unsigned int, max_pdu_size, MAX_PDU_SIZE); in isotp_module_init()
1721 pr_info("can: isotp protocol (max_pdu_size %d)\n", max_pdu_size); in isotp_module_init()