Searched refs:ihdr (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_discovery.c | 164 struct ip_discovery_header *ihdr; in amdgpu_discovery_init() local 205 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_init() 207 if (le32_to_cpu(ihdr->signature) != DISCOVERY_TABLE_SIGNATURE) { in amdgpu_discovery_init() 214 ihdr->size, checksum)) { in amdgpu_discovery_init() 250 struct ip_discovery_header *ihdr; in amdgpu_discovery_reg_base_init() local 269 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_reg_base_init() 271 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_reg_base_init() 276 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init() 331 struct ip_discovery_header *ihdr; in amdgpu_discovery_get_ip_version() local 346 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_get_ip_version() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 67 struct iphdr *ihdr; in stmmac_test_get_udp_skb() local 102 ihdr = skb_put(skb, sizeof(*ihdr)); in stmmac_test_get_udp_skb() 160 (sizeof(*ihdr) + sizeof(*ehdr))); in stmmac_test_get_udp_skb() 164 ihdr->ihl = 5; in stmmac_test_get_udp_skb() 165 ihdr->ttl = 32; in stmmac_test_get_udp_skb() 166 ihdr->version = 4; in stmmac_test_get_udp_skb() 168 ihdr->protocol = IPPROTO_TCP; in stmmac_test_get_udp_skb() 170 ihdr->protocol = IPPROTO_UDP; in stmmac_test_get_udp_skb() 171 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in stmmac_test_get_udp_skb() 180 ihdr->tot_len = htons(iplen); in stmmac_test_get_udp_skb() [all …]
|
/kernel/linux/linux-5.10/net/rds/ |
D | ib_recv.c | 854 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local 872 ihdr = ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv() 875 sizeof(*ihdr), DMA_FROM_DEVICE); in rds_ib_process_recv() 877 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv() 887 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_ib_process_recv() 891 if (ihdr->h_credit) in rds_ib_process_recv() 892 rds_ib_send_add_credits(conn, ihdr->h_credit); in rds_ib_process_recv() 894 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv() 929 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv() 940 if (hdr->h_sequence != ihdr->h_sequence || in rds_ib_process_recv() [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | exthdrs.c | 1066 struct rt0_hdr *phdr, *ihdr; in ipv6_push_rthdr0() local 1069 ihdr = (struct rt0_hdr *) opt; in ipv6_push_rthdr0() 1071 phdr = skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr0() 1072 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_push_rthdr0() 1074 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0() 1077 memcpy(phdr->addr, ihdr->addr + 1, in ipv6_push_rthdr0() 1081 *addr_p = ihdr->addr; in ipv6_push_rthdr0()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | msg.c | 583 struct tipc_msg *hdr, *ihdr; in tipc_msg_extract() local 594 ihdr = (struct tipc_msg *)(msg_data(hdr) + *pos); in tipc_msg_extract() 595 imsz = msg_size(ihdr); in tipc_msg_extract() 604 skb_copy_to_linear_data(*iskb, ihdr, imsz); in tipc_msg_extract()
|
D | link.c | 1908 struct tipc_msg *hdr, *ihdr; in tipc_link_create_dummy_tnl_msg() local 1926 ihdr = (struct tipc_msg *)msg_data(hdr); in tipc_link_create_dummy_tnl_msg() 1927 tipc_msg_init(onode, ihdr, TIPC_LOW_IMPORTANCE, TIPC_DIRECT_MSG, in tipc_link_create_dummy_tnl_msg() 1929 msg_set_errcode(ihdr, TIPC_ERR_NO_PORT); in tipc_link_create_dummy_tnl_msg()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 2091 struct uvc_input_header_descriptor *ihdr = *dest; in __uvcg_fill_strm() local 2102 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm() 2103 ihdr->bNumFormats = h->num_fmt; in __uvcg_fill_strm()
|
/kernel/linux/linux-5.10/net/key/ |
D | af_key.c | 1722 static int unicast_flush_resp(struct sock *sk, const struct sadb_msg *ihdr) in unicast_flush_resp() argument 1731 hdr = skb_put_data(skb, ihdr, sizeof(struct sadb_msg)); in unicast_flush_resp()
|