Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_hdr.h35 static inline struct sk_buff *PKT_TO_SKB(struct rxe_pkt_info *pkt) in PKT_TO_SKB() argument
37 return container_of((void *)pkt, struct sk_buff, cb); in PKT_TO_SKB()
281 static inline u8 bth_opcode(struct rxe_pkt_info *pkt) in bth_opcode() argument
283 return __bth_opcode(pkt->hdr + pkt->offset); in bth_opcode()
286 static inline void bth_set_opcode(struct rxe_pkt_info *pkt, u8 opcode) in bth_set_opcode() argument
288 __bth_set_opcode(pkt->hdr + pkt->offset, opcode); in bth_set_opcode()
291 static inline u8 bth_se(struct rxe_pkt_info *pkt) in bth_se() argument
293 return __bth_se(pkt->hdr + pkt->offset); in bth_se()
296 static inline void bth_set_se(struct rxe_pkt_info *pkt, int se) in bth_set_se() argument
298 __bth_set_se(pkt->hdr + pkt->offset, se); in bth_set_se()
[all …]
Drxe_recv.c13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state() argument
21 pkt_type = pkt->opcode & 0xe0; in check_type_state()
49 if (pkt->mask & RXE_REQ_MASK) { in check_type_state()
79 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys() argument
83 u16 pkey = bth_pkey(pkt); in check_keys()
85 pkt->pkey_index = 0; in check_keys()
94 pkt->mask) { in check_keys()
97 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys()
99 deth_qkey(pkt), qkey, qpn); in check_keys()
111 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr() argument
[all …]
Drxe_resp.c83 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_resp_queue_pkt() local
87 must_sched = (pkt->opcode == IB_OPCODE_RC_RDMA_READ_REQUEST) || in rxe_resp_queue_pkt()
118 struct rxe_pkt_info *pkt) in check_psn() argument
120 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn()
145 if (pkt->mask & RXE_START_MASK) { in check_psn()
162 struct rxe_pkt_info *pkt) in check_op_seq() argument
169 switch (pkt->opcode) { in check_op_seq()
181 switch (pkt->opcode) { in check_op_seq()
191 switch (pkt->opcode) { in check_op_seq()
210 switch (pkt->opcode) { in check_op_seq()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_cmds.c13 void pkt_sys_init(struct hfi_sys_init_pkt *pkt, u32 arch_type) in pkt_sys_init() argument
15 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init()
16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init()
17 pkt->arch_type = arch_type; in pkt_sys_init()
20 void pkt_sys_pc_prep(struct hfi_sys_pc_prep_pkt *pkt) in pkt_sys_pc_prep() argument
22 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep()
23 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep()
26 void pkt_sys_idle_indicator(struct hfi_sys_set_property_pkt *pkt, u32 enable) in pkt_sys_idle_indicator() argument
28 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator()
30 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_idle_indicator()
[all …]
Dhfi_msgs.c18 struct hfi_msg_event_notify_pkt *pkt) in event_seq_changed() argument
35 switch (pkt->event_data1) { in event_seq_changed()
44 event.event_type = pkt->event_data1; in event_seq_changed()
46 num_properties_changed = pkt->event_data2; in event_seq_changed()
52 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed()
120 struct hfi_msg_event_notify_pkt *pkt) in event_release_buffer_ref() argument
126 pkt->ext_event_data; in event_release_buffer_ref()
138 struct hfi_msg_event_notify_pkt *pkt) in event_sys_error() argument
140 if (pkt) in event_sys_error()
143 pkt->shdr.session_id, pkt->event_data1, in event_sys_error()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dviohs.c50 struct vio_ver_info pkt; in send_version() local
54 memset(&pkt, 0, sizeof(pkt)); in send_version()
55 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version()
56 pkt.major = major; in send_version()
57 pkt.minor = minor; in send_version()
58 pkt.dev_class = vio->dev_class; in send_version()
63 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
163 struct vio_msg_tag *pkt = arg; in process_unknown() local
166 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in process_unknown()
180 struct vio_dring_register pkt; in send_dreg() member
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_user_sdma.c254 static void qib_user_sdma_init_frag(struct qib_user_sdma_pkt *pkt, in qib_user_sdma_init_frag() argument
261 pkt->addr[i].offset = offset; in qib_user_sdma_init_frag()
262 pkt->addr[i].length = len; in qib_user_sdma_init_frag()
263 pkt->addr[i].first_desc = first_desc; in qib_user_sdma_init_frag()
264 pkt->addr[i].last_desc = last_desc; in qib_user_sdma_init_frag()
265 pkt->addr[i].put_page = put_page; in qib_user_sdma_init_frag()
266 pkt->addr[i].dma_mapped = dma_mapped; in qib_user_sdma_init_frag()
267 pkt->addr[i].page = page; in qib_user_sdma_init_frag()
268 pkt->addr[i].kvaddr = kvaddr; in qib_user_sdma_init_frag()
269 pkt->addr[i].addr = dma_addr; in qib_user_sdma_init_frag()
[all …]
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
Dfifo.c22 void usbhs_pkt_init(struct usbhs_pkt *pkt) in usbhs_pkt_init() argument
24 INIT_LIST_HEAD(&pkt->node); in usbhs_pkt_init()
30 static int usbhsf_null_handle(struct usbhs_pkt *pkt, int *is_done) in usbhsf_null_handle() argument
32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument
47 struct usbhs_pkt *pkt), in usbhs_pkt_push() argument
67 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push()
74 pkt->pipe = pipe; in usbhs_pkt_push()
75 pkt->buf = buf; in usbhs_pkt_push()
76 pkt->handler = pipe->handler; in usbhs_pkt_push()
[all …]
/kernel/linux/linux-5.10/net/caif/
Dcfpkt_skbuff.c17 #define PKT_ERROR(pkt, errmsg) \ argument
19 cfpkt_priv(pkt)->erronous = true; \
20 skb_reset_tail_pointer(&pkt->skb); \
45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument
47 return (struct cfpkt_priv_data *) pkt->skb.cb; in cfpkt_priv()
50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous() argument
52 return cfpkt_priv(pkt)->erronous; in is_erronous()
55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() argument
57 return &pkt->skb; in pkt_to_skb()
67 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() local
[all …]
Dcfctrl.c23 int cmd, struct cfpkt *pkt){ in handle_loop() argument
28 int cmd, struct cfpkt *pkt);
30 static int cfctrl_recv(struct cflayer *layr, struct cfpkt *pkt);
178 struct cfpkt *pkt; in cfctrl_enum_req() local
186 pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_enum_req()
187 if (!pkt) in cfctrl_enum_req()
190 init_info(cfpkt_info(pkt), cfctrl); in cfctrl_enum_req()
191 cfpkt_info(pkt)->dev_info->id = physlinkid; in cfctrl_enum_req()
193 cfpkt_addbdy(pkt, CFCTRL_CMD_ENUM); in cfctrl_enum_req()
194 cfpkt_addbdy(pkt, physlinkid); in cfctrl_enum_req()
[all …]
Dcfserl.c29 static int cfserl_receive(struct cflayer *layr, struct cfpkt *pkt);
30 static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt);
58 struct cfpkt *pkt = NULL; in cfserl_receive() local
72 pkt = layr->incomplete_frm; in cfserl_receive()
73 if (pkt == NULL) { in cfserl_receive()
78 pkt = newpkt; in cfserl_receive()
85 cfpkt_extr_head(pkt, &tmp8, 1); in cfserl_receive()
87 while (cfpkt_more(pkt) in cfserl_receive()
89 cfpkt_extr_head(pkt, &tmp8, 1); in cfserl_receive()
91 if (!cfpkt_more(pkt)) { in cfserl_receive()
[all …]
Dcfdgml.c24 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt);
25 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt);
40 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_receive() argument
49 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { in cfdgml_receive()
51 cfpkt_destroy(pkt); in cfdgml_receive()
56 if (cfpkt_extr_head(pkt, &dgmhdr, 3) < 0) { in cfdgml_receive()
58 cfpkt_destroy(pkt); in cfdgml_receive()
61 ret = layr->up->receive(layr->up, pkt); in cfdgml_receive()
68 cfpkt_destroy(pkt); in cfdgml_receive()
72 cfpkt_destroy(pkt); in cfdgml_receive()
[all …]
/kernel/linux/linux-5.10/net/vmw_vsock/
Dvirtio_transport_common.c48 struct virtio_vsock_pkt *pkt; in virtio_transport_alloc_pkt() local
51 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in virtio_transport_alloc_pkt()
52 if (!pkt) in virtio_transport_alloc_pkt()
55 pkt->hdr.type = cpu_to_le16(info->type); in virtio_transport_alloc_pkt()
56 pkt->hdr.op = cpu_to_le16(info->op); in virtio_transport_alloc_pkt()
57 pkt->hdr.src_cid = cpu_to_le64(src_cid); in virtio_transport_alloc_pkt()
58 pkt->hdr.dst_cid = cpu_to_le64(dst_cid); in virtio_transport_alloc_pkt()
59 pkt->hdr.src_port = cpu_to_le32(src_port); in virtio_transport_alloc_pkt()
60 pkt->hdr.dst_port = cpu_to_le32(dst_port); in virtio_transport_alloc_pkt()
61 pkt->hdr.flags = cpu_to_le32(info->flags); in virtio_transport_alloc_pkt()
[all …]
Dvmci_transport.c40 struct vmci_transport_packet *pkt);
44 struct vmci_transport_packet *pkt);
47 struct vmci_transport_packet *pkt);
50 struct vmci_transport_packet *pkt);
53 struct vmci_transport_packet *pkt);
55 struct vmci_transport_packet *pkt);
65 struct vmci_transport_packet pkt; member
112 vmci_transport_packet_init(struct vmci_transport_packet *pkt, in vmci_transport_packet_init() argument
125 pkt->dg.src = vmci_make_handle(VMADDR_CID_ANY, in vmci_transport_packet_init()
127 pkt->dg.dst = vmci_make_handle(dst->svm_cid, in vmci_transport_packet_init()
[all …]
Dvirtio_transport.c103 struct virtio_vsock_pkt *pkt; in virtio_transport_send_pkt_work() local
114 pkt = list_first_entry(&vsock->send_pkt_list, in virtio_transport_send_pkt_work()
116 list_del_init(&pkt->list); in virtio_transport_send_pkt_work()
119 virtio_transport_deliver_tap_pkt(pkt); in virtio_transport_send_pkt_work()
121 reply = pkt->reply; in virtio_transport_send_pkt_work()
123 sg_init_one(&hdr, &pkt->hdr, sizeof(pkt->hdr)); in virtio_transport_send_pkt_work()
125 if (pkt->buf) { in virtio_transport_send_pkt_work()
126 sg_init_one(&buf, pkt->buf, pkt->len); in virtio_transport_send_pkt_work()
130 ret = virtqueue_add_sgs(vq, sgs, out_sg, in_sg, pkt, GFP_KERNEL); in virtio_transport_send_pkt_work()
136 list_add(&pkt->list, &vsock->send_pkt_list); in virtio_transport_send_pkt_work()
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhwmon.c314 struct cpucp_packet pkt; in hl_get_temperature() local
317 memset(&pkt, 0, sizeof(pkt)); in hl_get_temperature()
319 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_GET << in hl_get_temperature()
321 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
322 pkt.type = __cpu_to_le16(attr); in hl_get_temperature()
324 rc = hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, sizeof(pkt), in hl_get_temperature()
340 struct cpucp_packet pkt; in hl_set_temperature() local
343 memset(&pkt, 0, sizeof(pkt)); in hl_set_temperature()
345 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_SET << in hl_set_temperature()
347 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature()
[all …]
Dfirmware_if.c71 struct cpucp_packet pkt = {}; in hl_fw_send_pci_access_msg() local
73 pkt.ctl = cpu_to_le32(opcode << CPUCP_PKT_CTL_OPCODE_SHIFT); in hl_fw_send_pci_access_msg()
75 return hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, in hl_fw_send_pci_access_msg()
76 sizeof(pkt), 0, NULL); in hl_fw_send_pci_access_msg()
82 struct cpucp_packet *pkt; in hl_fw_send_cpu_message() local
87 pkt = hdev->asic_funcs->cpu_accessible_dma_pool_alloc(hdev, len, in hl_fw_send_cpu_message()
89 if (!pkt) { in hl_fw_send_cpu_message()
95 memcpy(pkt, msg, len); in hl_fw_send_cpu_message()
113 rc = hl_poll_timeout_memory(hdev, &pkt->fence, tmp, in hl_fw_send_cpu_message()
125 tmp = le32_to_cpu(pkt->ctl); in hl_fw_send_cpu_message()
[all …]
/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-cmdq-helper.c127 struct cmdq_pkt *pkt; in cmdq_pkt_create() local
131 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in cmdq_pkt_create()
132 if (!pkt) in cmdq_pkt_create()
134 pkt->va_base = kzalloc(size, GFP_KERNEL); in cmdq_pkt_create()
135 if (!pkt->va_base) { in cmdq_pkt_create()
136 kfree(pkt); in cmdq_pkt_create()
139 pkt->buf_size = size; in cmdq_pkt_create()
140 pkt->cl = (void *)client; in cmdq_pkt_create()
143 dma_addr = dma_map_single(dev, pkt->va_base, pkt->buf_size, in cmdq_pkt_create()
147 kfree(pkt->va_base); in cmdq_pkt_create()
[all …]
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_tables_ipv6.h9 static inline void nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv6() argument
16 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in nft_set_pktinfo_ipv6()
18 nft_set_pktinfo_unspec(pkt, skb); in nft_set_pktinfo_ipv6()
22 pkt->tprot_set = true; in nft_set_pktinfo_ipv6()
23 pkt->tprot = protohdr; in nft_set_pktinfo_ipv6()
24 pkt->xt.thoff = thoff; in nft_set_pktinfo_ipv6()
25 pkt->xt.fragoff = frag_off; in nft_set_pktinfo_ipv6()
28 static inline int __nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt, in __nft_set_pktinfo_ipv6_validate() argument
51 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in __nft_set_pktinfo_ipv6_validate()
55 pkt->tprot_set = true; in __nft_set_pktinfo_ipv6_validate()
[all …]
Dnf_tables_ipv4.h8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv4() argument
13 ip = ip_hdr(pkt->skb); in nft_set_pktinfo_ipv4()
14 pkt->tprot_set = true; in nft_set_pktinfo_ipv4()
15 pkt->tprot = ip->protocol; in nft_set_pktinfo_ipv4()
16 pkt->xt.thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
17 pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4()
20 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt, in __nft_set_pktinfo_ipv4_validate() argument
41 pkt->tprot_set = true; in __nft_set_pktinfo_ipv4_validate()
42 pkt->tprot = iph->protocol; in __nft_set_pktinfo_ipv4_validate()
43 pkt->xt.thoff = thoff; in __nft_set_pktinfo_ipv4_validate()
[all …]
/kernel/linux/linux-5.10/include/net/caif/
Dcfpkt.h23 void cfpkt_destroy(struct cfpkt *pkt);
33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len);
35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8() argument
39 cfpkt_extr_head(pkt, &tmp, 1); in cfpkt_extr_head_u8()
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16() argument
48 cfpkt_extr_head(pkt, &tmp, 2); in cfpkt_extr_head_u16()
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32() argument
57 cfpkt_extr_head(pkt, &tmp, 4); in cfpkt_extr_head_u32()
71 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len);
81 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len);
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnft_set_pipapo_avx2.c220 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_2() argument
223 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2()
282 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_4() argument
285 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf }; in nft_pipapo_avx2_lookup_4b_4()
358 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_8() argument
360 u8 pg[8] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf, in nft_pipapo_avx2_lookup_4b_8()
361 pkt[2] >> 4, pkt[2] & 0xf, pkt[3] >> 4, pkt[3] & 0xf, in nft_pipapo_avx2_lookup_4b_8()
453 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_12() argument
455 u8 pg[12] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf, in nft_pipapo_avx2_lookup_4b_12()
456 pkt[2] >> 4, pkt[2] & 0xf, pkt[3] >> 4, pkt[3] & 0xf, in nft_pipapo_avx2_lookup_4b_12()
[all …]
Dnft_chain_filter.c18 struct nft_pktinfo pkt; in nft_do_chain_ipv4() local
20 nft_set_pktinfo(&pkt, skb, state); in nft_do_chain_ipv4()
21 nft_set_pktinfo_ipv4(&pkt, skb); in nft_do_chain_ipv4()
23 return nft_do_chain(&pkt, priv); in nft_do_chain_ipv4()
62 struct nft_pktinfo pkt; in nft_do_chain_arp() local
64 nft_set_pktinfo(&pkt, skb, state); in nft_do_chain_arp()
65 nft_set_pktinfo_unspec(&pkt, skb); in nft_do_chain_arp()
67 return nft_do_chain(&pkt, priv); in nft_do_chain_arp()
102 struct nft_pktinfo pkt; in nft_do_chain_ipv6() local
104 nft_set_pktinfo(&pkt, skb, state); in nft_do_chain_ipv6()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dusbtouchscreen.c71 void (*process_pkt) (struct usbtouch_usb *usbtouch, unsigned char *pkt, int len);
79 int (*get_pkt_len) (unsigned char *pkt, int len);
81 int (*read_data) (struct usbtouch_usb *usbtouch, unsigned char *pkt);
264 static int e2i_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in e2i_read_data() argument
266 int tmp = (pkt[0] << 8) | pkt[1]; in e2i_read_data()
267 dev->x = (pkt[2] << 8) | pkt[3]; in e2i_read_data()
268 dev->y = (pkt[4] << 8) | pkt[5]; in e2i_read_data()
332 static int egalax_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in egalax_read_data() argument
334 if ((pkt[0] & EGALAX_PKT_TYPE_MASK) != EGALAX_PKT_TYPE_REPT) in egalax_read_data()
337 dev->x = ((pkt[3] & 0x0F) << 7) | (pkt[4] & 0x7F); in egalax_read_data()
[all …]
/kernel/linux/linux-5.10/drivers/vhost/
Dvsock.c101 struct virtio_vsock_pkt *pkt; in vhost_transport_do_send_pkt() local
115 pkt = list_first_entry(&vsock->send_pkt_list, in vhost_transport_do_send_pkt()
117 list_del_init(&pkt->list); in vhost_transport_do_send_pkt()
124 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt()
131 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt()
145 virtio_transport_free_pkt(pkt); in vhost_transport_do_send_pkt()
151 if (iov_len < sizeof(pkt->hdr)) { in vhost_transport_do_send_pkt()
152 virtio_transport_free_pkt(pkt); in vhost_transport_do_send_pkt()
158 payload_len = pkt->len - pkt->off; in vhost_transport_do_send_pkt()
163 if (payload_len > iov_len - sizeof(pkt->hdr)) in vhost_transport_do_send_pkt()
[all …]

12345678910>>...16