Home
last modified time | relevance | path

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

/linux-6.12.1/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()
1206 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1306 int pdu_len; in blk_log_dump_pdu() local
1310 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
[all …]
/linux-6.12.1/drivers/nvme/host/ !
Dtcp.c107 u32 pdu_len; member
308 req->pdu_len - req->pdu_sent); in nvme_tcp_req_cur_length()
314 req->pdu_len - req->pdu_sent : 0; in nvme_tcp_pdu_data_left()
473 void *pdu, size_t pdu_len) in nvme_tcp_verify_hdgst() argument
487 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
685 u32 h2cdata_sent = req->pdu_len; in nvme_tcp_setup_h2c_data_pdu()
691 req->pdu_len = min(req->h2cdata_left, queue->maxh2cdata); in nvme_tcp_setup_h2c_data_pdu()
693 req->h2cdata_left -= req->pdu_len; in nvme_tcp_setup_h2c_data_pdu()
707 cpu_to_le32(data->hdr.hlen + hdgst + req->pdu_len + ddgst); in nvme_tcp_setup_h2c_data_pdu()
711 data->data_length = cpu_to_le32(req->pdu_len); in nvme_tcp_setup_h2c_data_pdu()
[all …]
/linux-6.12.1/drivers/nvme/target/ !
Dtcp.c121 u32 pdu_len; member
252 return nvme_is_write(cmd->req.cmd) && cmd->pdu_len && in nvmet_tcp_has_inline_data()
268 cmd->pdu_len = 0; in nvmet_tcp_get_cmd()
367 length = cmd->pdu_len; in nvmet_tcp_build_pdu_iovec()
387 nr_pages, cmd->pdu_len); in nvmet_tcp_build_pdu_iovec()
423 cmd->pdu_len = len; in nvmet_tcp_map_data()
1010 cmd->pdu_len = le32_to_cpu(data->data_length); in nvmet_tcp_handle_h2c_data_pdu()
1011 if (unlikely(cmd->pdu_len != exp_data_len || in nvmet_tcp_handle_h2c_data_pdu()
1012 cmd->pdu_len == 0 || in nvmet_tcp_handle_h2c_data_pdu()
1013 cmd->pdu_len > NVMET_TCP_MAXH2CDATA)) { in nvmet_tcp_handle_h2c_data_pdu()
[all …]
/linux-6.12.1/include/uapi/linux/ !
Dblktrace_api.h112 __u16 pdu_len; /* length of data after this trace */ member
/linux-6.12.1/net/nfc/ !
Dllcp_core.c1409 u16 pdu_len; in nfc_llcp_recv_agf() local
1420 pdu_len = skb->data[0] << 8 | skb->data[1]; in nfc_llcp_recv_agf()
1424 if (pdu_len < LLCP_HEADER_SIZE || pdu_len > skb->len) { in nfc_llcp_recv_agf()
1434 new_skb = nfc_alloc_recv_skb(pdu_len, GFP_KERNEL); in nfc_llcp_recv_agf()
1440 skb_put_data(new_skb, skb->data, pdu_len); in nfc_llcp_recv_agf()
1446 skb_pull(skb, pdu_len); in nfc_llcp_recv_agf()
/linux-6.12.1/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.12.1/net/bluetooth/ !
Dl2cap_core.c2363 size_t pdu_len; in l2cap_segment_sdu() local
2374 pdu_len = chan->conn->mtu; in l2cap_segment_sdu()
2377 pdu_len = min_t(size_t, pdu_len, L2CAP_BREDR_MAX_PAYLOAD); in l2cap_segment_sdu()
2381 pdu_len -= L2CAP_FCS_SIZE; in l2cap_segment_sdu()
2383 pdu_len -= __ertm_hdr_size(chan); in l2cap_segment_sdu()
2386 pdu_len = min_t(size_t, pdu_len, chan->remote_mps); in l2cap_segment_sdu()
2388 if (len <= pdu_len) { in l2cap_segment_sdu()
2391 pdu_len = len; in l2cap_segment_sdu()
2398 skb = l2cap_create_iframe_pdu(chan, msg, pdu_len, sdu_len); in l2cap_segment_sdu()
2408 len -= pdu_len; in l2cap_segment_sdu()
[all …]
/linux-6.12.1/drivers/atm/ !
Dfore200e.c962 int i, pdu_len = 0; in fore200e_push_rpd() local
980 pdu_len = 4; in fore200e_push_rpd()
986 pdu_len += rpd->rsd[ i ].length; in fore200e_push_rpd()
988 skb = alloc_skb(pdu_len, GFP_ATOMIC); in fore200e_push_rpd()
990 DPRINTK(2, "unable to alloc new skb, rx PDU length = %d\n", pdu_len); in fore200e_push_rpd()
1023 if (pdu_len < fore200e_vcc->rx_min_pdu) in fore200e_push_rpd()
1024 fore200e_vcc->rx_min_pdu = pdu_len; in fore200e_push_rpd()
1025 if (pdu_len > fore200e_vcc->rx_max_pdu) in fore200e_push_rpd()
1026 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.12.1/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.12.1/drivers/net/ethernet/sfc/siena/ !
Dnet_driver.h1338 size_t pdu_offset, size_t pdu_len);
/linux-6.12.1/drivers/net/ethernet/sfc/ !
Dnet_driver.h1400 size_t pdu_offset, size_t pdu_len);
/linux-6.12.1/drivers/scsi/ !
Dscsi_transport_iscsi.c3796 struct nlmsghdr *nlh, u32 pdu_len) in iscsi_if_transport_conn() argument
3886 if ((ev->u.send_pdu.hdr_size > pdu_len) || in iscsi_if_transport_conn()
3887 (ev->u.send_pdu.data_size > (pdu_len - ev->u.send_pdu.hdr_size))) { in iscsi_if_transport_conn()