Home
last modified time | relevance | path

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

12345678910>>...67

/Linux-v5.4/sound/synth/
Dutil_mem.c27 struct snd_util_memhdr *hdr; in snd_util_memhdr_new() local
29 hdr = kzalloc(sizeof(*hdr), GFP_KERNEL); in snd_util_memhdr_new()
30 if (hdr == NULL) in snd_util_memhdr_new()
32 hdr->size = memsize; in snd_util_memhdr_new()
33 mutex_init(&hdr->block_mutex); in snd_util_memhdr_new()
34 INIT_LIST_HEAD(&hdr->block); in snd_util_memhdr_new()
36 return hdr; in snd_util_memhdr_new()
42 void snd_util_memhdr_free(struct snd_util_memhdr *hdr) in snd_util_memhdr_free() argument
46 if (!hdr) in snd_util_memhdr_free()
49 while ((p = hdr->block.next) != &hdr->block) { in snd_util_memhdr_free()
[all …]
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ucode.c31 static void radeon_ucode_print_common_hdr(const struct common_firmware_header *hdr) in radeon_ucode_print_common_hdr() argument
33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in radeon_ucode_print_common_hdr()
34 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in radeon_ucode_print_common_hdr()
35 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); in radeon_ucode_print_common_hdr()
36 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); in radeon_ucode_print_common_hdr()
37 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); in radeon_ucode_print_common_hdr()
38 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); in radeon_ucode_print_common_hdr()
39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
42 le32_to_cpu(hdr->ucode_array_offset_bytes)); in radeon_ucode_print_common_hdr()
[all …]
/Linux-v5.4/net/ieee802154/
Dheader_ops.c47 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr() argument
51 memcpy(buf, hdr, 1); in ieee802154_hdr_push_sechdr()
52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()
54 switch (hdr->key_id_mode) { in ieee802154_hdr_push_sechdr()
62 memcpy(buf + pos, &hdr->short_src, 4); in ieee802154_hdr_push_sechdr()
67 memcpy(buf + pos, &hdr->extended_src, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_sechdr()
72 buf[pos++] = hdr->key_id; in ieee802154_hdr_push_sechdr()
78 ieee802154_hdr_push(struct sk_buff *skb, struct ieee802154_hdr *hdr) in ieee802154_hdr_push() argument
83 struct ieee802154_hdr_fc *fc = &hdr->fc; in ieee802154_hdr_push()
85 buf[pos++] = hdr->seq; in ieee802154_hdr_push()
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_lwt_ip_encap.c21 } hdr; in bpf_lwt_encap_gre() local
24 memset(&hdr, 0, sizeof(struct encap_hdr)); in bpf_lwt_encap_gre()
26 hdr.iph.ihl = 5; in bpf_lwt_encap_gre()
27 hdr.iph.version = 4; in bpf_lwt_encap_gre()
28 hdr.iph.ttl = 0x40; in bpf_lwt_encap_gre()
29 hdr.iph.protocol = 47; /* IPPROTO_GRE */ in bpf_lwt_encap_gre()
31 hdr.iph.saddr = 0x640110ac; /* 172.16.1.100 */ in bpf_lwt_encap_gre()
32 hdr.iph.daddr = 0x641010ac; /* 172.16.16.100 */ in bpf_lwt_encap_gre()
34 hdr.iph.saddr = 0xac100164; /* 172.16.1.100 */ in bpf_lwt_encap_gre()
35 hdr.iph.daddr = 0xac101064; /* 172.16.16.100 */ in bpf_lwt_encap_gre()
[all …]
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_da_format.c22 struct xfs_dir2_sf_hdr *hdr, in xfs_dir2_sf_entsize() argument
28 count += hdr->i8count ? XFS_INO64_SIZE : XFS_INO32_SIZE; /* ino # */ in xfs_dir2_sf_entsize()
34 struct xfs_dir2_sf_hdr *hdr, in xfs_dir3_sf_entsize() argument
37 return xfs_dir2_sf_entsize(hdr, len) + sizeof(uint8_t); in xfs_dir3_sf_entsize()
42 struct xfs_dir2_sf_hdr *hdr, in xfs_dir2_sf_nextentry() argument
46 ((char *)sfep + xfs_dir2_sf_entsize(hdr, sfep->namelen)); in xfs_dir2_sf_nextentry()
51 struct xfs_dir2_sf_hdr *hdr, in xfs_dir3_sf_nextentry() argument
55 ((char *)sfep + xfs_dir3_sf_entsize(hdr, sfep->namelen)); in xfs_dir3_sf_nextentry()
111 struct xfs_dir2_sf_hdr *hdr, in xfs_dir2_sf_get_ino() argument
114 if (hdr->i8count) in xfs_dir2_sf_get_ino()
[all …]
Dxfs_dir2_data.c22 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
40 xfs_dir2_data_hdr_t *hdr; /* data block header */ in __xfs_dir3_data_check() local
73 hdr = bp->b_addr; in __xfs_dir3_data_check()
74 p = (char *)ops->data_entry_p(hdr); in __xfs_dir3_data_check()
76 switch (hdr->magic) { in __xfs_dir3_data_check()
79 btp = xfs_dir2_block_tail_p(geo, hdr); in __xfs_dir3_data_check()
99 endp = xfs_dir3_data_endp(geo, hdr); in __xfs_dir3_data_check()
106 bf = ops->data_bestfree_p(hdr); in __xfs_dir3_data_check()
146 (char *)dup - (char *)hdr) in __xfs_dir3_data_check()
148 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
[all …]
/Linux-v5.4/include/linux/
Dvirtio_net.h9 const struct virtio_net_hdr *hdr) in virtio_net_hdr_set_proto() argument
11 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_set_proto()
27 const struct virtio_net_hdr *hdr, in virtio_net_hdr_to_skb() argument
32 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in virtio_net_hdr_to_skb()
33 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_to_skb()
47 if (hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) in virtio_net_hdr_to_skb()
50 if (hdr->gso_size == 0) in virtio_net_hdr_to_skb()
54 if (hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) { in virtio_net_hdr_to_skb()
55 u16 start = __virtio16_to_cpu(little_endian, hdr->csum_start); in virtio_net_hdr_to_skb()
56 u16 off = __virtio16_to_cpu(little_endian, hdr->csum_offset); in virtio_net_hdr_to_skb()
[all …]
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.h23 struct qlink_tlv_hdr *hdr = skb_put(skb, sizeof(*hdr) + arr_len); in qtnf_cmd_skb_put_tlv_arr() local
25 hdr->type = cpu_to_le16(tlv_id); in qtnf_cmd_skb_put_tlv_arr()
26 hdr->len = cpu_to_le16(arr_len); in qtnf_cmd_skb_put_tlv_arr()
27 memcpy(hdr->val, arr, arr_len); in qtnf_cmd_skb_put_tlv_arr()
32 struct qlink_tlv_hdr *hdr = skb_put(skb, sizeof(*hdr)); in qtnf_cmd_skb_put_tlv_tag() local
34 hdr->type = cpu_to_le16(tlv_id); in qtnf_cmd_skb_put_tlv_tag()
35 hdr->len = cpu_to_le16(0); in qtnf_cmd_skb_put_tlv_tag()
41 struct qlink_tlv_hdr *hdr = skb_put(skb, sizeof(*hdr) + sizeof(value)); in qtnf_cmd_skb_put_tlv_u8() local
43 hdr->type = cpu_to_le16(tlv_id); in qtnf_cmd_skb_put_tlv_u8()
44 hdr->len = cpu_to_le16(sizeof(value)); in qtnf_cmd_skb_put_tlv_u8()
[all …]
/Linux-v5.4/drivers/firmware/google/
Dmemconsole-x86-legacy.c52 static void found_v1_header(struct biosmemcon_ebda *hdr) in found_v1_header() argument
55 hdr); in found_v1_header()
57 hdr->v1.buffer_addr, hdr->v1.start, in found_v1_header()
58 hdr->v1.end, hdr->v1.num_chars); in found_v1_header()
60 memconsole_baseaddr = phys_to_virt(hdr->v1.buffer_addr); in found_v1_header()
61 memconsole_length = hdr->v1.num_chars; in found_v1_header()
65 static void found_v2_header(struct biosmemcon_ebda *hdr) in found_v2_header() argument
68 hdr); in found_v2_header()
70 hdr->v2.buffer_addr, hdr->v2.start, in found_v2_header()
71 hdr->v2.end, hdr->v2.num_bytes); in found_v2_header()
[all …]
/Linux-v5.4/fs/nfs/
Dnfs42xdr.c163 struct compound_hdr *hdr) in encode_allocate() argument
165 encode_op_hdr(xdr, OP_ALLOCATE, decode_allocate_maxsz, hdr); in encode_allocate()
171 struct compound_hdr *hdr) in encode_copy() argument
173 encode_op_hdr(xdr, OP_COPY, decode_copy_maxsz, hdr); in encode_copy()
188 struct compound_hdr *hdr) in encode_offload_cancel() argument
190 encode_op_hdr(xdr, OP_OFFLOAD_CANCEL, decode_offload_cancel_maxsz, hdr); in encode_offload_cancel()
196 struct compound_hdr *hdr) in encode_deallocate() argument
198 encode_op_hdr(xdr, OP_DEALLOCATE, decode_deallocate_maxsz, hdr); in encode_deallocate()
204 struct compound_hdr *hdr) in encode_seek() argument
206 encode_op_hdr(xdr, OP_SEEK, decode_seek_maxsz, hdr); in encode_seek()
[all …]
Dpagelist.c43 struct nfs_pgio_header *hdr, in nfs_pgheader_init() argument
44 void (*release)(struct nfs_pgio_header *hdr)) in nfs_pgheader_init() argument
49 hdr->req = nfs_list_entry(mirror->pg_list.next); in nfs_pgheader_init()
50 hdr->inode = desc->pg_inode; in nfs_pgheader_init()
51 hdr->cred = nfs_req_openctx(hdr->req)->cred; in nfs_pgheader_init()
52 hdr->io_start = req_offset(hdr->req); in nfs_pgheader_init()
53 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init()
54 hdr->io_completion = desc->pg_io_completion; in nfs_pgheader_init()
55 hdr->dreq = desc->pg_dreq; in nfs_pgheader_init()
56 hdr->release = release; in nfs_pgheader_init()
[all …]
/Linux-v5.4/drivers/firmware/imx/
Dmisc.c15 struct imx_sc_rpc_msg hdr; member
22 struct imx_sc_rpc_msg hdr; member
30 struct imx_sc_rpc_msg hdr; member
36 struct imx_sc_rpc_msg hdr; member
55 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_misc_set_control() local
57 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_misc_set_control()
58 hdr->svc = (uint8_t)IMX_SC_RPC_SVC_MISC; in imx_sc_misc_set_control()
59 hdr->func = (uint8_t)IMX_SC_MISC_FUNC_SET_CONTROL; in imx_sc_misc_set_control()
60 hdr->size = 4; in imx_sc_misc_set_control()
86 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_misc_get_control() local
[all …]
/Linux-v5.4/scripts/
Dinsert-sys-cert.c68 static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr) in get_offset_from_address() argument
73 x = (void *)hdr + hdr->e_shoff; in get_offset_from_address()
74 if (hdr->e_shnum == SHN_UNDEF) in get_offset_from_address()
77 num_sections = hdr->e_shnum; in get_offset_from_address()
93 static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name, in get_symbol_from_map() argument
128 s->offset = get_offset_from_address(hdr, s->address); in get_symbol_from_map()
130 s->content = (void *)hdr + s->offset; in get_symbol_from_map()
133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() argument
141 x = (void *)hdr + hdr->e_shoff; in find_elf_symbol()
143 symtab_start = (void *)hdr + symtab->sh_offset; in find_elf_symbol()
[all …]
/Linux-v5.4/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c24 struct ieee80211_hdr *hdr; in hostap_dump_rx_80211() local
27 hdr = (struct ieee80211_hdr *) skb->data; in hostap_dump_rx_80211()
37 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_rx_80211()
49 printk(" dur=0x%04x seq=0x%04x\n", le16_to_cpu(hdr->duration_id), in hostap_dump_rx_80211()
50 le16_to_cpu(hdr->seq_ctrl)); in hostap_dump_rx_80211()
52 printk(KERN_DEBUG " A1=%pM", hdr->addr1); in hostap_dump_rx_80211()
53 printk(" A2=%pM", hdr->addr2); in hostap_dump_rx_80211()
54 printk(" A3=%pM", hdr->addr3); in hostap_dump_rx_80211()
56 printk(" A4=%pM", hdr->addr4); in hostap_dump_rx_80211()
134 struct linux_wlan_ng_prism_hdr *hdr; in prism2_rx_80211() local
[all …]
/Linux-v5.4/drivers/clk/imx/
Dclk-scu.c42 struct imx_sc_rpc_msg hdr; member
66 struct imx_sc_rpc_msg hdr; member
82 struct imx_sc_rpc_msg hdr; member
102 struct imx_sc_rpc_msg hdr; member
119 struct imx_sc_rpc_msg hdr; member
149 struct imx_sc_rpc_msg *hdr = &msg.hdr; in clk_scu_recalc_rate() local
152 hdr->ver = IMX_SC_RPC_VERSION; in clk_scu_recalc_rate()
153 hdr->svc = IMX_SC_RPC_SVC_PM; in clk_scu_recalc_rate()
154 hdr->func = IMX_SC_PM_FUNC_GET_CLOCK_RATE; in clk_scu_recalc_rate()
155 hdr->size = 2; in clk_scu_recalc_rate()
[all …]
/Linux-v5.4/net/6lowpan/
Diphc.c149 (!(hdr->saddr.s6_addr[1] & 0x3f) && \
150 !hdr->saddr.s6_addr16[1] && \
151 !hdr->saddr.s6_addr32[1])
504 static inline void lowpan_iphc_tf_set_ecn(struct ipv6hdr *hdr, const u8 *tf) in lowpan_iphc_tf_set_ecn() argument
510 hdr->flow_lbl[0] |= (ecn >> 2); in lowpan_iphc_tf_set_ecn()
514 static inline void lowpan_iphc_tf_set_dscp(struct ipv6hdr *hdr, const u8 *tf) in lowpan_iphc_tf_set_dscp() argument
520 hdr->priority |= ((dscp & 0x3c) >> 2); in lowpan_iphc_tf_set_dscp()
522 hdr->flow_lbl[0] |= ((dscp & 0x03) << 6); in lowpan_iphc_tf_set_dscp()
526 static inline void lowpan_iphc_tf_set_lbl(struct ipv6hdr *hdr, const u8 *lbl) in lowpan_iphc_tf_set_lbl() argument
537 hdr->flow_lbl[0] |= lbl[0] & 0x0f; in lowpan_iphc_tf_set_lbl()
[all …]
/Linux-v5.4/drivers/staging/media/hantro/
Dhantro_g1_vp8_dec.c136 const struct v4l2_ctrl_vp8_frame_header *hdr) in cfg_lf() argument
138 const struct v4l2_vp8_segment_header *seg = &hdr->segment_header; in cfg_lf()
139 const struct v4l2_vp8_loopfilter_header *lf = &hdr->lf_header; in cfg_lf()
178 const struct v4l2_ctrl_vp8_frame_header *hdr) in cfg_qp() argument
180 const struct v4l2_vp8_quantization_header *q = &hdr->quant_header; in cfg_qp()
181 const struct v4l2_vp8_segment_header *seg = &hdr->segment_header; in cfg_qp()
233 const struct v4l2_ctrl_vp8_frame_header *hdr) in cfg_parts() argument
237 u32 first_part_offset = VP8_FRAME_IS_KEY_FRAME(hdr) ? 10 : 3; in cfg_parts()
261 hdr->first_part_header_bits + 8; in cfg_parts()
265 mb_size = hdr->first_part_size - in cfg_parts()
[all …]
/Linux-v5.4/arch/s390/hypfs/
Dhypfs_diag.c55 static inline __u8 info_blk_hdr__npar(enum diag204_format type, void *hdr) in info_blk_hdr__npar() argument
58 return ((struct diag204_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()
60 return ((struct diag204_x_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()
63 static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr) in info_blk_hdr__flags() argument
66 return ((struct diag204_info_blk_hdr *)hdr)->flags; in info_blk_hdr__flags()
68 return ((struct diag204_x_info_blk_hdr *)hdr)->flags; in info_blk_hdr__flags()
71 static inline __u16 info_blk_hdr__pcpus(enum diag204_format type, void *hdr) in info_blk_hdr__pcpus() argument
74 return ((struct diag204_info_blk_hdr *)hdr)->phys_cpus; in info_blk_hdr__pcpus()
76 return ((struct diag204_x_info_blk_hdr *)hdr)->phys_cpus; in info_blk_hdr__pcpus()
89 static inline __u8 part_hdr__rcpus(enum diag204_format type, void *hdr) in part_hdr__rcpus() argument
[all …]
/Linux-v5.4/fs/nfs/filelayout/
Dfilelayout.c88 static void filelayout_reset_write(struct nfs_pgio_header *hdr) in filelayout_reset_write() argument
90 struct rpc_task *task = &hdr->task; in filelayout_reset_write()
92 if (!test_and_set_bit(NFS_IOHDR_REDO, &hdr->flags)) { in filelayout_reset_write()
95 hdr->task.tk_pid, in filelayout_reset_write()
96 hdr->inode->i_sb->s_id, in filelayout_reset_write()
97 (unsigned long long)NFS_FILEID(hdr->inode), in filelayout_reset_write()
98 hdr->args.count, in filelayout_reset_write()
99 (unsigned long long)hdr->args.offset); in filelayout_reset_write()
101 task->tk_status = pnfs_write_done_resend_to_mds(hdr); in filelayout_reset_write()
105 static void filelayout_reset_read(struct nfs_pgio_header *hdr) in filelayout_reset_read() argument
[all …]
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dhfi_cmds.c15 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init()
16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init()
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()
30 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_idle_indicator()
31 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator()
42 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_debug_config()
43 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config()
53 pkt->hdr.size = sizeof(*pkt) + sizeof(u32); in pkt_sys_coverage_config()
54 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config()
[all …]
/Linux-v5.4/drivers/thunderbolt/
Dtb_msgs.h128 struct icm_pkg_header hdr; member
134 struct icm_pkg_header hdr; member
145 struct icm_pkg_header hdr; member
151 struct icm_pkg_header hdr; member
172 struct icm_pkg_header hdr; member
188 struct icm_pkg_header hdr; member
196 struct icm_pkg_header hdr; member
202 struct icm_pkg_header hdr; member
214 struct icm_pkg_header hdr; member
221 struct icm_pkg_header hdr; member
[all …]
/Linux-v5.4/block/
Dscsi_ioctl.c217 struct sg_io_hdr *hdr, fmode_t mode) in blk_fill_sghdr_rq() argument
221 if (copy_from_user(req->cmd, hdr->cmdp, hdr->cmd_len)) in blk_fill_sghdr_rq()
229 req->cmd_len = hdr->cmd_len; in blk_fill_sghdr_rq()
231 rq->timeout = msecs_to_jiffies(hdr->timeout); in blk_fill_sghdr_rq()
242 static int blk_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr, in blk_complete_sghdr_rq() argument
251 hdr->status = req->result & 0xff; in blk_complete_sghdr_rq()
252 hdr->masked_status = status_byte(req->result); in blk_complete_sghdr_rq()
253 hdr->msg_status = msg_byte(req->result); in blk_complete_sghdr_rq()
254 hdr->host_status = host_byte(req->result); in blk_complete_sghdr_rq()
255 hdr->driver_status = driver_byte(req->result); in blk_complete_sghdr_rq()
[all …]
/Linux-v5.4/fs/nfs/flexfilelayout/
Dflexfilelayout.c36 struct nfs_pgio_header *hdr);
1069 static void ff_layout_reset_write(struct nfs_pgio_header *hdr, bool retry_pnfs) in ff_layout_reset_write() argument
1071 struct rpc_task *task = &hdr->task; in ff_layout_reset_write()
1073 pnfs_layoutcommit_inode(hdr->inode, false); in ff_layout_reset_write()
1078 hdr->task.tk_pid, in ff_layout_reset_write()
1079 hdr->inode->i_sb->s_id, in ff_layout_reset_write()
1080 (unsigned long long)NFS_FILEID(hdr->inode), in ff_layout_reset_write()
1081 hdr->args.count, in ff_layout_reset_write()
1082 (unsigned long long)hdr->args.offset); in ff_layout_reset_write()
1084 hdr->completion_ops->reschedule_io(hdr); in ff_layout_reset_write()
[all …]
/Linux-v5.4/drivers/target/iscsi/
Discsi_target.c503 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; in iscsit_xmit_nondatain_pdu() local
515 iscsit_do_crypto_hash_buf(conn->conn_tx_hash, hdr, in iscsit_xmit_nondatain_pdu()
523 hdr->opcode, *header_digest); in iscsit_xmit_nondatain_pdu()
552 data_buf_len, hdr->opcode, cmd->data_crc); in iscsit_xmit_nondatain_pdu()
999 struct iscsi_scsi_req *hdr; in iscsit_setup_scsi_cmd() local
1005 hdr = (struct iscsi_scsi_req *) buf; in iscsit_setup_scsi_cmd()
1006 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
1010 if (!(hdr->flags & ISCSI_FLAG_CMD_WRITE) && in iscsit_setup_scsi_cmd()
1011 !(hdr->flags & ISCSI_FLAG_CMD_FINAL)) { in iscsit_setup_scsi_cmd()
1018 if (((hdr->flags & ISCSI_FLAG_CMD_READ) || in iscsit_setup_scsi_cmd()
[all …]
/Linux-v5.4/net/tipc/
Dtrace.c57 struct tipc_msg *hdr; in tipc_skb_dump() local
65 hdr = buf_msg(skb); in tipc_skb_dump()
69 i += scnprintf(buf, sz, "msg: %u", msg_user(hdr)); in tipc_skb_dump()
70 i += scnprintf(buf + i, sz - i, " %u", msg_type(hdr)); in tipc_skb_dump()
71 i += scnprintf(buf + i, sz - i, " %u", msg_hdr_sz(hdr)); in tipc_skb_dump()
72 i += scnprintf(buf + i, sz - i, " %u", msg_data_sz(hdr)); in tipc_skb_dump()
73 i += scnprintf(buf + i, sz - i, " %x", msg_orignode(hdr)); in tipc_skb_dump()
74 i += scnprintf(buf + i, sz - i, " %x", msg_destnode(hdr)); in tipc_skb_dump()
75 i += scnprintf(buf + i, sz - i, " %u", msg_seqno(hdr)); in tipc_skb_dump()
76 i += scnprintf(buf + i, sz - i, " %u", msg_ack(hdr)); in tipc_skb_dump()
[all …]

12345678910>>...67