Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 118) sorted by relevance

12345

/include/linux/
A Dvirtio_net.h29 const struct virtio_net_hdr *hdr) in virtio_net_hdr_set_proto() argument
51 const struct virtio_net_hdr *hdr, in __virtio_net_hdr_to_skb() argument
90 if (hdr->gso_size == 0) in __virtio_net_hdr_to_skb()
124 virtio_net_hdr_set_proto(skb, hdr); in __virtio_net_hdr_to_skb()
204 const struct virtio_net_hdr *hdr, in virtio_net_hdr_to_skb() argument
207 return __virtio_net_hdr_to_skb(skb, hdr, little_endian, hdr->gso_type); in virtio_net_hdr_to_skb()
211 struct virtio_net_hdr *hdr, in virtio_net_hdr_from_skb() argument
216 memset(hdr, 0, sizeof(*hdr)); /* no info leak */ in virtio_net_hdr_from_skb()
235 hdr->gso_type |= VIRTIO_NET_HDR_GSO_ECN; in virtio_net_hdr_from_skb()
237 hdr->gso_type = VIRTIO_NET_HDR_GSO_NONE; in virtio_net_hdr_from_skb()
[all …]
A Dptp_classify.h121 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype() argument
128 msgtype = hdr->control; in ptp_get_msgtype()
130 msgtype = hdr->tsmt & 0x0f; in ptp_get_msgtype()
168 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction() argument
174 memcpy(&correction_old, &hdr->correction, sizeof(correction_old)); in ptp_header_update_correction()
177 put_unaligned_be64((u64)correction, &hdr->correction); in ptp_header_update_correction()
183 uhdr = (struct udphdr *)((char *)hdr - sizeof(struct udphdr)); in ptp_header_update_correction()
191 hdr->correction, in ptp_header_update_correction()
224 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype() argument
239 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction() argument
A Dnvme-tcp.h90 struct nvme_tcp_hdr hdr; member
108 struct nvme_tcp_hdr hdr; member
124 struct nvme_tcp_hdr hdr; member
138 struct nvme_tcp_hdr hdr; member
150 struct nvme_tcp_hdr hdr; member
164 struct nvme_tcp_hdr hdr; member
182 struct nvme_tcp_hdr hdr; member
/include/uapi/linux/
A Dvirtio_gpu.h157 struct virtio_gpu_ctrl_hdr hdr; member
176 struct virtio_gpu_ctrl_hdr hdr; member
183 struct virtio_gpu_ctrl_hdr hdr; member
192 struct virtio_gpu_ctrl_hdr hdr; member
200 struct virtio_gpu_ctrl_hdr hdr; member
208 struct virtio_gpu_ctrl_hdr hdr; member
223 struct virtio_gpu_ctrl_hdr hdr; member
230 struct virtio_gpu_ctrl_hdr hdr; member
238 struct virtio_gpu_ctrl_hdr hdr; member
255 struct virtio_gpu_ctrl_hdr hdr; member
[all …]
A Dvboxguest.h66 struct vbg_ioctl_hdr hdr; member
111 struct vbg_ioctl_hdr hdr; member
129 struct vbg_ioctl_hdr hdr; member
145 struct vbg_ioctl_hdr hdr; member
188 struct vbg_ioctl_hdr hdr; member
207 struct vbg_ioctl_hdr hdr; member
243 struct vbg_ioctl_hdr hdr; member
263 struct vbg_ioctl_hdr hdr; member
287 struct vbg_ioctl_hdr hdr; member
312 struct vbg_ioctl_hdr hdr; member
[all …]
A Dvirtio_snd.h103 struct virtio_snd_hdr hdr; member
111 struct virtio_snd_hdr hdr; member
131 struct virtio_snd_hdr hdr; member
143 struct virtio_snd_info hdr; member
171 struct virtio_snd_hdr hdr; member
236 struct virtio_snd_info hdr; member
296 struct virtio_snd_hdr hdr; member
347 struct virtio_snd_info hdr; member
361 struct virtio_snd_hdr hdr; member
397 struct virtio_snd_info hdr; member
[all …]
A Dauto_fs.h51 struct autofs_packet_hdr hdr; member
59 struct autofs_packet_hdr hdr; member
177 struct autofs_packet_hdr hdr; member
184 struct autofs_packet_hdr hdr; member
192 struct autofs_packet_hdr hdr; member
210 struct autofs_packet_hdr hdr; member
A Dvirtio_net.h195 struct virtio_net_hdr_v1 hdr; member
236 struct virtio_net_hdr hdr; member
508 struct virtio_net_stats_reply_hdr hdr; member
515 struct virtio_net_stats_reply_hdr hdr; member
529 struct virtio_net_stats_reply_hdr hdr; member
543 struct virtio_net_stats_reply_hdr hdr; member
552 struct virtio_net_stats_reply_hdr hdr; member
559 struct virtio_net_stats_reply_hdr hdr; member
568 struct virtio_net_stats_reply_hdr hdr; member
579 struct virtio_net_stats_reply_hdr hdr; member
[all …]
A Dfanotify.h177 struct fanotify_event_info_header hdr; member
191 struct fanotify_event_info_header hdr; member
196 struct fanotify_event_info_header hdr; member
202 struct fanotify_event_info_header hdr; member
209 struct fanotify_event_info_header hdr; member
239 struct fanotify_response_info_header hdr; member
/include/sound/
A Dutil_mem.h39 void snd_util_memhdr_free(struct snd_util_memhdr *hdr);
40 struct snd_util_memblk *snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size);
41 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
42 int snd_util_mem_avail(struct snd_util_memhdr *hdr);
45 struct snd_util_memblk *__snd_util_mem_alloc(struct snd_util_memhdr *hdr, int size);
46 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
47 struct snd_util_memblk *__snd_util_memblk_new(struct snd_util_memhdr *hdr,
/include/uapi/scsi/
A Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
101 (hdr)->version = SCSI_NL_VERSION; \
102 (hdr)->transport = t; \
103 (hdr)->magic = SCSI_NL_MAGIC; \
104 (hdr)->msgtype = mtype; \
105 (hdr)->msglen = mlen; \
/include/sound/sof/
A Dpm.h20 struct sof_ipc_hdr hdr; member
31 struct sof_ipc_cmd_hdr hdr; member
44 struct sof_ipc_cmd_hdr hdr; member
49 struct sof_ipc_cmd_hdr hdr; member
A Dext_manifest.h79 struct sof_ext_man_elem_header hdr; member
87 struct sof_ext_man_elem_header hdr; member
94 struct sof_ext_man_elem_header hdr; member
100 struct sof_ext_man_elem_header hdr; member
119 struct sof_ext_man_elem_header hdr; member
A Dtrace.h24 struct sof_ipc_cmd_hdr hdr; member
31 struct sof_ipc_cmd_hdr hdr; member
67 struct sof_ipc_cmd_hdr hdr; /**< IPC command header */ member
101 struct sof_ipc_hdr hdr; member
A Ddai-intel.h63 struct sof_ipc_hdr hdr; member
95 struct sof_ipc_hdr hdr; member
103 struct sof_ipc_hdr hdr; member
132 struct sof_ipc_hdr hdr; member
177 struct sof_ipc_hdr hdr; member
A Ddai-amd.h16 struct sof_ipc_hdr hdr; member
31 struct sof_ipc_hdr hdr; member
A Dinfo.h45 struct sof_ipc_hdr hdr; member
63 struct sof_ipc_cmd_hdr hdr; member
91 struct sof_ipc_cmd_hdr hdr; member
96 struct sof_ipc_hdr hdr; member
/include/net/mana/
A Dgdma.h164 struct gdma_req_hdr hdr; member
173 struct gdma_resp_hdr hdr; member
182 hdr->req.msg_type = code; in mana_gd_init_req_hdr()
187 hdr->resp.msg_type = code; in mana_gd_init_req_hdr()
561 struct gdma_req_hdr hdr; member
611 struct gdma_req_hdr hdr; member
680 struct gdma_req_hdr hdr; member
693 struct gdma_req_hdr hdr; member
701 struct gdma_req_hdr hdr; member
727 struct gdma_req_hdr hdr; member
[all …]
A Dmana.h616 struct gdma_req_hdr hdr; member
631 struct gdma_req_hdr hdr; member
645 struct gdma_req_hdr hdr; member
681 struct gdma_req_hdr hdr; member
698 struct gdma_req_hdr hdr; member
713 struct gdma_req_hdr hdr; member
734 struct gdma_req_hdr hdr; member
746 struct gdma_req_hdr hdr; member
756 struct gdma_req_hdr hdr; member
799 struct gdma_req_hdr hdr; member
[all …]
/include/net/
A Dtipc.h47 static inline __be32 tipc_hdr_rps_key(struct tipc_basic_hdr *hdr) in tipc_hdr_rps_key() argument
49 u32 w0 = ntohl(hdr->w[0]); in tipc_hdr_rps_key()
55 return hdr->w[3]; in tipc_hdr_rps_key()
/include/uapi/drm/
A Dqaic_accel.h71 struct qaic_manage_trans_hdr hdr; member
85 struct qaic_manage_trans_hdr hdr; member
101 struct qaic_manage_trans_hdr hdr; member
116 struct qaic_manage_trans_hdr hdr; member
129 struct qaic_manage_trans_hdr hdr; member
139 struct qaic_manage_trans_hdr hdr; member
151 struct qaic_manage_trans_hdr hdr; member
261 struct qaic_attach_slice_hdr hdr; member
305 struct qaic_execute_hdr hdr; member
341 struct qaic_perf_stats_hdr hdr; member
/include/linux/dma/
A Dti-cppi5.h44 struct cppi5_desc_hdr_t hdr; member
141 struct cppi5_desc_hdr_t hdr; member
364 desc->hdr.pkt_info0 |= flags; in cppi5_hdesc_update_flags()
390 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata_size()
439 desc->hdr.pkt_info1 |= (ps_flags << in cppi5_hdesc_set_psflags()
463 desc->hdr.pkt_info2 |= in cppi5_hdesc_set_pkttype()
522 desc->hdr = (struct cppi5_desc_hdr_t) { 0 }; in cppi5_hdesc_reset_hbdesc()
552 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata()
561 if (cppi5_hdesc_epib_present(&desc->hdr)) in cppi5_hdesc_get_psdata()
580 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_swdata()
[all …]
/include/rdma/
A Dib_hdrs.h173 static inline u8 ib_get_lnh(struct ib_header *hdr) in ib_get_lnh() argument
175 return (be16_to_cpu(hdr->lrh[0]) & IB_LNH_MASK); in ib_get_lnh()
178 static inline u8 ib_get_sc(struct ib_header *hdr) in ib_get_sc() argument
180 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SC_SHIFT) & IB_SC_MASK); in ib_get_sc()
188 static inline u8 ib_get_sl(struct ib_header *hdr) in ib_get_sl() argument
193 static inline u16 ib_get_dlid(struct ib_header *hdr) in ib_get_dlid() argument
195 return (be16_to_cpu(hdr->lrh[1])); in ib_get_dlid()
198 static inline u16 ib_get_slid(struct ib_header *hdr) in ib_get_slid() argument
200 return (be16_to_cpu(hdr->lrh[3])); in ib_get_slid()
203 static inline u8 ib_get_lver(struct ib_header *hdr) in ib_get_lver() argument
[all …]
/include/net/nfc/
A Dnci.h170 #define nci_mt(hdr) (((hdr)[0]>>5)&0x07) argument
171 #define nci_mt_set(hdr, mt) ((hdr)[0] |= (__u8)(((mt)&0x07)<<5)) argument
177 #define nci_pbf(hdr) (__u8)(((hdr)[0]>>4)&0x01) argument
178 #define nci_pbf_set(hdr, pbf) ((hdr)[0] |= (__u8)(((pbf)&0x01)<<4)) argument
183 #define nci_opcode(hdr) nci_opcode_pack(hdr[0], hdr[1]) argument
188 #define nci_plen(hdr) (__u8)((hdr)[2]) argument
191 #define nci_conn_id(hdr) (__u8)(((hdr)[0])&0x0f) argument
/include/linux/mlx5/
A Dmlx5_ifc_vdpa.h200 struct mlx5_ifc_general_obj_in_cmd_hdr_bits hdr; member
205 struct mlx5_ifc_general_obj_in_cmd_hdr_bits hdr; member
210 struct mlx5_ifc_general_obj_in_cmd_hdr_bits hdr; member
214 struct mlx5_ifc_general_obj_out_cmd_hdr_bits hdr; member
218 struct mlx5_ifc_general_obj_in_cmd_hdr_bits hdr; member
222 struct mlx5_ifc_general_obj_in_cmd_hdr_bits hdr; member

Completed in 792 milliseconds

12345