Home
last modified time | relevance | path

Searched refs:pdu_len (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/kernel/trace/
Dblktrace.c104 t->pdu_len = len + cgid_len; in trace_note()
217 int pdu_len, void *pdu_data, u64 cgid) in __blk_add_trace() argument
259 sizeof(*t) + pdu_len + cgid_len, in __blk_add_trace()
276 t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len + cgid_len); in __blk_add_trace()
298 t->pdu_len = pdu_len + cgid_len; in __blk_add_trace()
302 if (pdu_len) in __blk_add_trace()
303 memcpy((void *)t + sizeof(*t) + cgid_len, pdu_data, pdu_len); in __blk_add_trace()
1211 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1311 int pdu_len; in blk_log_dump_pdu() local
1315 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
[all …]
/linux-6.1.9/drivers/nvme/host/
Dtcp.c83 u32 pdu_len; member
248 req->pdu_len - req->pdu_sent); in nvme_tcp_req_cur_length()
254 req->pdu_len - req->pdu_sent : 0; in nvme_tcp_pdu_data_left()
407 void *pdu, size_t pdu_len) in nvme_tcp_verify_hdgst() argument
421 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
619 u32 h2cdata_sent = req->pdu_len; in nvme_tcp_setup_h2c_data_pdu()
625 req->pdu_len = min(req->h2cdata_left, queue->maxh2cdata); in nvme_tcp_setup_h2c_data_pdu()
627 req->h2cdata_left -= req->pdu_len; in nvme_tcp_setup_h2c_data_pdu()
641 cpu_to_le32(data->hdr.hlen + hdgst + req->pdu_len + ddgst); in nvme_tcp_setup_h2c_data_pdu()
645 data->data_length = cpu_to_le32(req->pdu_len); in nvme_tcp_setup_h2c_data_pdu()
[all …]
/linux-6.1.9/net/nfc/
Dllcp_core.c1362 u16 pdu_len; in nfc_llcp_recv_agf() local
1373 pdu_len = skb->data[0] << 8 | skb->data[1]; in nfc_llcp_recv_agf()
1377 if (pdu_len < LLCP_HEADER_SIZE || pdu_len > skb->len) { in nfc_llcp_recv_agf()
1387 new_skb = nfc_alloc_recv_skb(pdu_len, GFP_KERNEL); in nfc_llcp_recv_agf()
1393 skb_put_data(new_skb, skb->data, pdu_len); in nfc_llcp_recv_agf()
1399 skb_pull(skb, pdu_len); in nfc_llcp_recv_agf()
/linux-6.1.9/include/uapi/linux/
Dblktrace_api.h112 __u16 pdu_len; /* length of data after this trace */ member
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_fw.c398 u32 pdu_len, u32 num_bdqs, in qedi_unsol_pdu_adjust_bdq() argument
404 qedi_get_rq_bdq_buf(qedi, cqe, bdq_data, pdu_len); in qedi_unsol_pdu_adjust_bdq()
420 u32 pdu_len, num_bdqs; in qedi_process_nopin_mesg() local
427 pdu_len = cqe_nop_in->hdr_second_dword & in qedi_process_nopin_mesg()
429 num_bdqs = pdu_len / QEDI_BDQ_BUF_SIZE; in qedi_process_nopin_mesg()
442 pdu_len, num_bdqs, bdq_data); in qedi_process_nopin_mesg()
473 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, bdq_data, pdu_len); in qedi_process_nopin_mesg()
490 u32 pdu_len, num_bdqs; in qedi_process_async_mesg() local
497 pdu_len = cqe_async_msg->hdr_second_dword & in qedi_process_async_mesg()
499 num_bdqs = pdu_len / QEDI_BDQ_BUF_SIZE; in qedi_process_async_mesg()
[all …]
/linux-6.1.9/drivers/nvme/target/
Dtcp.c77 u32 pdu_len; member
200 return nvme_is_write(cmd->req.cmd) && cmd->pdu_len && in nvmet_tcp_has_inline_data()
216 cmd->pdu_len = 0; in nvmet_tcp_get_cmd()
314 length = cmd->pdu_len; in nvmet_tcp_build_pdu_iovec()
335 nr_pages, cmd->pdu_len); in nvmet_tcp_build_pdu_iovec()
370 cmd->pdu_len = len; in nvmet_tcp_map_data()
944 cmd->pdu_len = le32_to_cpu(data->data_length); in nvmet_tcp_handle_h2c_data_pdu()
/linux-6.1.9/drivers/atm/
Dfore200e.c965 int i, pdu_len = 0; in fore200e_push_rpd() local
983 pdu_len = 4; in fore200e_push_rpd()
989 pdu_len += rpd->rsd[ i ].length; in fore200e_push_rpd()
991 skb = alloc_skb(pdu_len, GFP_ATOMIC); in fore200e_push_rpd()
993 DPRINTK(2, "unable to alloc new skb, rx PDU length = %d\n", pdu_len); in fore200e_push_rpd()
1026 if (pdu_len < fore200e_vcc->rx_min_pdu) in fore200e_push_rpd()
1027 fore200e_vcc->rx_min_pdu = pdu_len; in fore200e_push_rpd()
1028 if (pdu_len > fore200e_vcc->rx_max_pdu) in fore200e_push_rpd()
1029 fore200e_vcc->rx_max_pdu = pdu_len; in fore200e_push_rpd()
Dhe.c1697 he_vcc->pdu_len += heb->len; in he_service_rbrq()
1721 skb = atm_alloc_charge(vcc, he_vcc->pdu_len + rx_skb_reserve, in he_service_rbrq()
1745 skb->len = AAL5_LEN(skb->data, he_vcc->pdu_len); in he_service_rbrq()
1751 he_vcc->pdu_len); in he_service_rbrq()
1777 he_vcc->pdu_len = 0; in he_service_rbrq()
2141 he_vcc->pdu_len = 0; in he_open()
Dhe.h322 int pdu_len; member
/linux-6.1.9/net/bluetooth/
Dl2cap_core.c2515 size_t pdu_len; in l2cap_segment_sdu() local
2526 pdu_len = chan->conn->mtu; in l2cap_segment_sdu()
2530 pdu_len = min_t(size_t, pdu_len, L2CAP_BREDR_MAX_PAYLOAD); in l2cap_segment_sdu()
2534 pdu_len -= L2CAP_FCS_SIZE; in l2cap_segment_sdu()
2536 pdu_len -= __ertm_hdr_size(chan); in l2cap_segment_sdu()
2539 pdu_len = min_t(size_t, pdu_len, chan->remote_mps); in l2cap_segment_sdu()
2541 if (len <= pdu_len) { in l2cap_segment_sdu()
2544 pdu_len = len; in l2cap_segment_sdu()
2551 skb = l2cap_create_iframe_pdu(chan, msg, pdu_len, sdu_len); in l2cap_segment_sdu()
2561 len -= pdu_len; in l2cap_segment_sdu()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/isert/
Dib_isert.c1779 u32 padding, pdu_len; in isert_put_response() local
1787 pdu_len = cmd->se_cmd.scsi_sense_length + padding; in isert_put_response()
1790 (void *)cmd->sense_buffer, pdu_len, in isert_put_response()
1795 isert_cmd->pdu_buf_len = pdu_len; in isert_put_response()
1797 tx_dsg->length = pdu_len; in isert_put_response()
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dnet_driver.h1351 size_t pdu_offset, size_t pdu_len);
/linux-6.1.9/drivers/net/ethernet/sfc/
Dnet_driver.h1425 size_t pdu_offset, size_t pdu_len);
/linux-6.1.9/drivers/scsi/
Dscsi_transport_iscsi.c3778 uint32_t pdu_len; in iscsi_if_transport_conn() local
3863 pdu_len = nlh->nlmsg_len - sizeof(*nlh) - sizeof(*ev); in iscsi_if_transport_conn()
3865 if ((ev->u.send_pdu.hdr_size > pdu_len) || in iscsi_if_transport_conn()
3866 (ev->u.send_pdu.data_size > (pdu_len - ev->u.send_pdu.hdr_size))) { in iscsi_if_transport_conn()