Home
last modified time | relevance | path

Searched refs:thdr (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-fadump.c413 struct hdat_fadump_thread_hdr *thdr; in opal_fadump_build_cpu_notes() local
440 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes()
442 be32_to_cpu(thdr->offset)); in opal_fadump_build_cpu_notes()
443 reg_esize = be32_to_cpu(thdr->esize); in opal_fadump_build_cpu_notes()
444 regs_cnt = be32_to_cpu(thdr->ecnt); in opal_fadump_build_cpu_notes()
452 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes()
454 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
456 i, thread_pir, thdr->core_state); in opal_fadump_build_cpu_notes()
480 if (thdr->core_state == HDAT_FADUMP_CORE_INACTIVE) in opal_fadump_build_cpu_notes()
Dopal-core.c223 struct hdat_fadump_thread_hdr *thdr; in opalcore_append_cpu_notes() local
238 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes()
240 be32_to_cpu(thdr->offset)); in opalcore_append_cpu_notes()
241 reg_esize = be32_to_cpu(thdr->esize); in opalcore_append_cpu_notes()
242 regs_cnt = be32_to_cpu(thdr->ecnt); in opalcore_append_cpu_notes()
258 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes()
259 thread_pir = be32_to_cpu(thdr->pir); in opalcore_append_cpu_notes()
262 i, thread_pir, thdr->core_state); in opalcore_append_cpu_notes()
270 if (thdr->core_state == HDAT_FADUMP_CORE_INACTIVE) in opalcore_append_cpu_notes()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_tcpbpf_kern.c57 struct tcphdr *thdr; in bpf_testcb() local
103 thdr = (struct tcphdr *)(header + offset); in bpf_testcb()
104 v = thdr->syn; in bpf_testcb()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c62 struct tcphdr *thdr = NULL; in stmmac_test_get_udp_skb() local
104 thdr = skb_put(skb, sizeof(*thdr)); in stmmac_test_get_udp_skb()
148 thdr->source = htons(attr->sport); in stmmac_test_get_udp_skb()
149 thdr->dest = htons(attr->dport); in stmmac_test_get_udp_skb()
150 thdr->doff = sizeof(struct tcphdr) / 4; in stmmac_test_get_udp_skb()
151 thdr->check = 0; in stmmac_test_get_udp_skb()
171 iplen += sizeof(*thdr); in stmmac_test_get_udp_skb()
200 thdr->check = ~tcp_v4_check(skb->len, ihdr->saddr, ihdr->daddr, 0); in stmmac_test_get_udp_skb()
250 struct tcphdr *thdr; in stmmac_test_loopback_validate() local
283 thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in stmmac_test_loopback_validate()
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_log_cil.c654 struct xfs_trans_header thdr; in xlog_cil_push() local
793 thdr.th_magic = XFS_TRANS_HEADER_MAGIC; in xlog_cil_push()
794 thdr.th_type = XFS_TRANS_CHECKPOINT; in xlog_cil_push()
795 thdr.th_tid = tic->t_tid; in xlog_cil_push()
796 thdr.th_num_items = num_iovecs; in xlog_cil_push()
797 lhdr.i_addr = &thdr; in xlog_cil_push()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_sip.c733 const struct sip_header *hdrs, *hdr, *thdr; in ct_sip_get_sdp_header() local
739 thdr = &hdrs[term]; in ct_sip_get_sdp_header()
753 limit - dptr >= thdr->len && in ct_sip_get_sdp_header()
754 strncasecmp(dptr, thdr->name, thdr->len) == 0) in ct_sip_get_sdp_header()
/Linux-v5.4/fs/cifs/
Dsmb2misc.c146 struct smb2_transform_hdr *thdr = in smb2_check_message() local
155 if (ses->Suid == thdr->SessionId) in smb2_check_message()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_io.c906 static int tls_header_read(struct tls_hdr *thdr, struct iov_iter *from) in tls_header_read() argument
908 if (copy_from_iter(thdr, sizeof(*thdr), from) != sizeof(*thdr)) in tls_header_read()
910 return (__force int)cpu_to_be16(thdr->length); in tls_header_read()
/Linux-v5.4/net/ipv6/
Dicmp.c251 struct icmp6hdr *thdr, int len) in icmpv6_push_pending_frames() argument
261 memcpy(icmp6h, thdr, sizeof(struct icmp6hdr)); in icmpv6_push_pending_frames()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_da_btree.c1220 struct xfs_da3_icnode_hdr thdr; in xfs_da3_node_toosmall() local
1233 dp->d_ops->node_hdr_from_disk(&thdr, node); in xfs_da3_node_toosmall()
1236 if (count - thdr.count >= 0) in xfs_da3_node_toosmall()
/Linux-v5.4/include/net/
Dipv6.h425 struct icmp6hdr *thdr, int len);
/Linux-v5.4/arch/s390/tools/
Dopcodes.txt370 b359 thdr RRE_FF