Home
last modified time | relevance | path

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

/openbmc/linux/net/can/
H A Disotp.c99 static unsigned int max_pdu_size __read_mostly = DEFAULT_MAX_PDU_SIZE;
100 module_param(max_pdu_size, uint, 0444);
101 MODULE_PARM_DESC(max_pdu_size, "maximum isotp pdu size (default "
515 if (so->rx.len > so->rx.buflen && so->rx.buflen < max_pdu_size) { in isotp_rcv_ff()
516 u8 *newbuf = kmalloc(max_pdu_size, GFP_ATOMIC); in isotp_rcv_ff()
520 so->rx.buflen = max_pdu_size; in isotp_rcv_ff()
966 if (size > so->tx.buflen && so->tx.buflen < max_pdu_size) { in isotp_sendmsg()
967 u8 *newbuf = kmalloc(max_pdu_size, GFP_KERNEL); in isotp_sendmsg()
971 so->tx.buflen = max_pdu_size; in isotp_sendmsg()
1716 max_pdu_size = max_t(unsigned int, max_pdu_size, MAX_12BIT_PDU_SIZE); in isotp_module_init()
[all …]
/openbmc/linux/net/bluetooth/
H A Dl2cap_core.c3298 rfc.max_pdu_size = 0; in l2cap_build_conf_req()
3313 rfc.max_pdu_size = cpu_to_le16(size); in l2cap_build_conf_req()
3350 rfc.max_pdu_size = cpu_to_le16(size); in l2cap_build_conf_req()
3533 size = min_t(u16, le16_to_cpu(rfc.max_pdu_size), in l2cap_parse_conf_req()
3536 rfc.max_pdu_size = cpu_to_le16(size); in l2cap_parse_conf_req()
3567 rfc.max_pdu_size = cpu_to_le16(size); in l2cap_parse_conf_req()
3686 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp()
3702 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp()
3863 .max_pdu_size = cpu_to_le16(chan->imtu), in l2cap_conf_rfc_get()
3895 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_conf_rfc_get()
[all …]
/openbmc/linux/include/net/bluetooth/
H A Dl2cap.h345 __le16 max_pdu_size; member
/openbmc/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.c1924 u32 max_pdu_size, max_num_pdu, num_pdu; in cxgbi_conn_alloc_pdu() local
1957 max_pdu_size = tdata->max_xmit_dlength + in cxgbi_conn_alloc_pdu()
1961 max_num_pdu = max_iso_data / max_pdu_size; in cxgbi_conn_alloc_pdu()
1978 max_pdu_size, max_num_pdu, in cxgbi_conn_alloc_pdu()