Searched refs:max_pdu_size (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/net/can/ |
D | isotp.c | 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() [all …]
|
/linux-6.12.1/net/bluetooth/ |
D | l2cap_core.c | 3298 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() 3564 size = min_t(u16, le16_to_cpu(rfc.max_pdu_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() 3865 .max_pdu_size = cpu_to_le16(chan->imtu), in l2cap_conf_rfc_get() [all …]
|
/linux-6.12.1/include/net/bluetooth/ |
D | l2cap.h | 345 __le16 max_pdu_size; member
|
/linux-6.12.1/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1924 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()
|