Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/trace/
Dblktrace.c104 t->pdu_len = len + cgid_len; in trace_note()
216 int op, int op_flags, u32 what, int error, int pdu_len, in __blk_add_trace() argument
257 sizeof(*t) + pdu_len + cgid_len, in __blk_add_trace()
274 t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len + cgid_len); in __blk_add_trace()
296 t->pdu_len = pdu_len + cgid_len; in __blk_add_trace()
300 if (pdu_len) in __blk_add_trace()
301 memcpy((void *)t + sizeof(*t) + cgid_len, pdu_data, pdu_len); in __blk_add_trace()
1255 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len()
1355 int pdu_len; in blk_log_dump_pdu() local
1359 pdu_len = pdu_real_len(ent, has_cg); in blk_log_dump_pdu()
[all …]
/kernel/linux/linux-5.10/drivers/nvme/host/
Dtcp.c83 u32 pdu_len; member
243 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()
402 void *pdu, size_t pdu_len) in nvme_tcp_verify_hdgst() argument
416 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
610 req->pdu_len = le32_to_cpu(pdu->r2t_length); in nvme_tcp_setup_h2c_data_pdu()
613 if (unlikely(!req->pdu_len)) { in nvme_tcp_setup_h2c_data_pdu()
616 rq->tag, req->pdu_len); in nvme_tcp_setup_h2c_data_pdu()
620 if (unlikely(req->data_sent + req->pdu_len > req->data_len)) { in nvme_tcp_setup_h2c_data_pdu()
623 rq->tag, req->pdu_len, req->data_len, in nvme_tcp_setup_h2c_data_pdu()
[all …]
/kernel/linux/linux-5.10/drivers/nvme/target/
Dtcp.c68 u32 pdu_len; member
190 return nvme_is_write(cmd->req.cmd) && cmd->pdu_len && in nvmet_tcp_has_inline_data()
206 cmd->pdu_len = 0; in nvmet_tcp_get_cmd()
306 length = cmd->pdu_len; in nvmet_tcp_map_pdu_iovec()
326 cmd->nr_mapped, cmd->pdu_len); in nvmet_tcp_map_pdu_iovec()
362 cmd->pdu_len = len; in nvmet_tcp_map_data()
947 cmd->pdu_len = le32_to_cpu(data->data_length); in nvmet_tcp_handle_h2c_data_pdu()
948 if (unlikely(cmd->pdu_len != (plen - sizeof(*data)) || in nvmet_tcp_handle_h2c_data_pdu()
949 cmd->pdu_len == 0 || in nvmet_tcp_handle_h2c_data_pdu()
950 cmd->pdu_len > NVMET_TCP_MAXH2CDATA)) { in nvmet_tcp_handle_h2c_data_pdu()
[all …]
/kernel/linux/linux-5.10/net/nfc/
Dllcp_core.c1366 u16 pdu_len; in nfc_llcp_recv_agf() local
1377 pdu_len = skb->data[0] << 8 | skb->data[1]; in nfc_llcp_recv_agf()
1381 if (pdu_len < LLCP_HEADER_SIZE || pdu_len > skb->len) { in nfc_llcp_recv_agf()
1391 new_skb = nfc_alloc_recv_skb(pdu_len, GFP_KERNEL); in nfc_llcp_recv_agf()
1397 skb_put_data(new_skb, skb->data, pdu_len); in nfc_llcp_recv_agf()
1403 skb_pull(skb, pdu_len); in nfc_llcp_recv_agf()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dblktrace_api.h90 __u16 pdu_len; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dblktrace_api.h112 __u16 pdu_len; /* length of data after this trace */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dblktrace_api.h103 __u16 pdu_len; member
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw.c387 u32 pdu_len, u32 num_bdqs, in qedi_unsol_pdu_adjust_bdq() argument
393 qedi_get_rq_bdq_buf(qedi, cqe, bdq_data, pdu_len); in qedi_unsol_pdu_adjust_bdq()
409 u32 pdu_len, num_bdqs; in qedi_process_nopin_mesg() local
416 pdu_len = cqe_nop_in->hdr_second_dword & in qedi_process_nopin_mesg()
418 num_bdqs = pdu_len / QEDI_BDQ_BUF_SIZE; in qedi_process_nopin_mesg()
431 pdu_len, num_bdqs, bdq_data); in qedi_process_nopin_mesg()
462 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, bdq_data, pdu_len); in qedi_process_nopin_mesg()
479 u32 pdu_len, num_bdqs; in qedi_process_async_mesg() local
486 pdu_len = cqe_async_msg->hdr_second_dword & in qedi_process_async_mesg()
488 num_bdqs = pdu_len / QEDI_BDQ_BUF_SIZE; in qedi_process_async_mesg()
[all …]
/kernel/linux/linux-5.10/drivers/atm/
Dfore200e.c967 int i, pdu_len = 0; in fore200e_push_rpd() local
985 pdu_len = 4; in fore200e_push_rpd()
991 pdu_len += rpd->rsd[ i ].length; in fore200e_push_rpd()
993 skb = alloc_skb(pdu_len, GFP_ATOMIC); in fore200e_push_rpd()
995 DPRINTK(2, "unable to alloc new skb, rx PDU length = %d\n", pdu_len); in fore200e_push_rpd()
1028 if (pdu_len < fore200e_vcc->rx_min_pdu) in fore200e_push_rpd()
1029 fore200e_vcc->rx_min_pdu = pdu_len; in fore200e_push_rpd()
1030 if (pdu_len > fore200e_vcc->rx_max_pdu) in fore200e_push_rpd()
1031 fore200e_vcc->rx_max_pdu = pdu_len; in fore200e_push_rpd()
Dhe.c1700 he_vcc->pdu_len += heb->len; in he_service_rbrq()
1724 skb = atm_alloc_charge(vcc, he_vcc->pdu_len + rx_skb_reserve, in he_service_rbrq()
1748 skb->len = AAL5_LEN(skb->data, he_vcc->pdu_len); in he_service_rbrq()
1754 he_vcc->pdu_len); in he_service_rbrq()
1780 he_vcc->pdu_len = 0; in he_service_rbrq()
2144 he_vcc->pdu_len = 0; in he_open()
Dhe.h322 int pdu_len; member
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_core.c2511 size_t pdu_len; in l2cap_segment_sdu() local
2522 pdu_len = chan->conn->mtu; in l2cap_segment_sdu()
2526 pdu_len = min_t(size_t, pdu_len, L2CAP_BREDR_MAX_PAYLOAD); in l2cap_segment_sdu()
2530 pdu_len -= L2CAP_FCS_SIZE; in l2cap_segment_sdu()
2532 pdu_len -= __ertm_hdr_size(chan); in l2cap_segment_sdu()
2535 pdu_len = min_t(size_t, pdu_len, chan->remote_mps); in l2cap_segment_sdu()
2537 if (len <= pdu_len) { in l2cap_segment_sdu()
2540 pdu_len = len; in l2cap_segment_sdu()
2547 skb = l2cap_create_iframe_pdu(chan, msg, pdu_len, sdu_len); in l2cap_segment_sdu()
2557 len -= pdu_len; in l2cap_segment_sdu()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/
Dib_isert.c1778 u32 padding, pdu_len; in isert_put_response() local
1786 pdu_len = cmd->se_cmd.scsi_sense_length + padding; in isert_put_response()
1789 (void *)cmd->sense_buffer, pdu_len, in isert_put_response()
1794 isert_cmd->pdu_buf_len = pdu_len; in isert_put_response()
1796 tx_dsg->length = pdu_len; in isert_put_response()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dnet_driver.h1345 size_t pdu_offset, size_t pdu_len);
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_iscsi.c3732 uint32_t pdu_len; in iscsi_if_transport_conn() local
3812 pdu_len = nlh->nlmsg_len - sizeof(*nlh) - sizeof(*ev); in iscsi_if_transport_conn()
3814 if ((ev->u.send_pdu.hdr_size > pdu_len) || in iscsi_if_transport_conn()
3815 (ev->u.send_pdu.data_size > (pdu_len - ev->u.send_pdu.hdr_size))) { in iscsi_if_transport_conn()