| /linux/net/core/ |
| A D | selftests.c | 62 struct iphdr *ihdr; in net_test_get_skb() local 85 ihdr = skb_put(skb, sizeof(*ihdr)); in net_test_get_skb() 117 ihdr->ihl = 5; in net_test_get_skb() 118 ihdr->ttl = 32; in net_test_get_skb() 119 ihdr->version = 4; in net_test_get_skb() 134 ihdr->frag_off = 0; in net_test_get_skb() 137 ihdr->tos = 0; in net_test_get_skb() 138 ihdr->id = 0; in net_test_get_skb() 160 udp4_hwcsum(skb, ihdr->saddr, ihdr->daddr); in net_test_get_skb() 212 thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in net_test_loopback_validate() [all …]
|
| /linux/fs/ntfs3/ |
| A D | index.c | 969 hdr = &index->ihdr; in indx_new() 1014 offsetof(struct INDEX_ROOT, ihdr) + le32_to_cpu(root->ihdr.used) > in indx_get_root() 1109 if (offsetof(struct INDEX_BUFFER, ihdr) + le32_to_cpu(ib->ihdr.used) > in indx_read() 1605 hdr = &root->ihdr; in indx_insert_into_root() 2009 const struct INDEX_HDR *hdr = n ? &n->index->ihdr : &root->ihdr; in indx_find_buffer() 2309 hdr = &ib->ihdr; in indx_delete_entry() 2311 hdr = &root->ihdr; in indx_delete_entry() 2404 hdr = level ? &fnd->nodes[level - 1]->index->ihdr : &root->ihdr; in indx_delete_entry() 2453 hdr = &ib->ihdr; in indx_delete_entry() 2461 hdr = &root->ihdr; in indx_delete_entry() [all …]
|
| A D | dir.c | 456 err = ntfs_read_hdr(sbi, ni, &root->ihdr, 0, pos, name, ctx); in ntfs_readdir() 494 err = ntfs_read_hdr(sbi, ni, &node->index->ihdr, in ntfs_readdir() 543 hdr = &root->ihdr; in ntfs_dir_count() 598 hdr = &node->index->ihdr; in ntfs_dir_count()
|
| A D | ntfs.h | 758 struct INDEX_HDR ihdr; // 0x18: member 765 const struct NTFS_DE *first = hdr_first_de(&ib->ihdr); in ib_is_empty() 772 return !(ib->ihdr.flags & NTFS_INDEX_HDR_HAS_SUBNODES); in ib_is_leaf() 799 struct INDEX_HDR ihdr; // 0x10: member 803 static_assert(offsetof(struct INDEX_ROOT, ihdr) == 0x10);
|
| A D | fslog.c | 3397 hdr = &root->ihdr; in do_action() 3424 hdr = &root->ihdr; in do_action() 3449 hdr = &root->ihdr; in do_action() 3464 hdr = &root->ihdr; in do_action() 3479 hdr = &root->ihdr; in do_action() 3514 hdr = &ib->ihdr; in do_action() 3546 hdr = &ib->ihdr; in do_action() 3575 hdr = &ib->ihdr; in do_action() 3598 hdr = &ib->ihdr; in do_action() 3619 hdr = &ib->ihdr; in do_action() [all …]
|
| A D | inode.c | 1436 memcpy(root, dir_root, offsetof(struct INDEX_ROOT, ihdr)); in ntfs_create_inode() 1437 root->ihdr.de_off = cpu_to_le32(sizeof(struct INDEX_HDR)); in ntfs_create_inode() 1438 root->ihdr.used = cpu_to_le32(sizeof(struct INDEX_HDR) + in ntfs_create_inode() 1440 root->ihdr.total = root->ihdr.used; in ntfs_create_inode()
|
| A D | fsntfs.c | 1900 offsetof(struct INDEX_ROOT, ihdr) + in ntfs_security_init() 1901 le32_to_cpu(root_sdh->ihdr.used) > in ntfs_security_init() 1920 offsetof(struct INDEX_ROOT, ihdr) + in ntfs_security_init() 1921 le32_to_cpu(root_sii->ihdr.used) > in ntfs_security_init()
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| A 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() 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() 184 ihdr->tos = 0; in stmmac_test_get_udp_skb() 185 ihdr->id = 0; in stmmac_test_get_udp_skb() 206 udp4_hwcsum(skb, ihdr->saddr, ihdr->daddr); in stmmac_test_get_udp_skb() 290 thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in stmmac_test_loopback_validate() 299 uhdr = (struct udphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in stmmac_test_loopback_validate() [all …]
|
| /linux/drivers/net/mctp/ |
| A D | mctp-i3c.c | 104 struct mctp_i3c_internal_hdr *ihdr = NULL; in mctp_i3c_read() local 121 ihdr = skb_put(skb, sizeof(struct mctp_i3c_internal_hdr)); in mctp_i3c_read() 122 put_unaligned_be48(mi->pid, ihdr->source); in mctp_i3c_read() 123 put_unaligned_be48(mi->mbus->pid, ihdr->dest); in mctp_i3c_read() 360 struct mctp_i3c_internal_hdr *ihdr = NULL; in mctp_i3c_xmit() local 371 ihdr = (void *)skb_mac_header(skb); in mctp_i3c_xmit() 373 pid = get_unaligned_be48(ihdr->dest); in mctp_i3c_xmit() 504 struct mctp_i3c_internal_hdr *ihdr; in mctp_i3c_header_create() local 508 ihdr = (void *)skb_mac_header(skb); in mctp_i3c_header_create() 509 memcpy(ihdr->dest, daddr, PID_SIZE); in mctp_i3c_header_create() [all …]
|
| /linux/net/rds/ |
| A D | ib_recv.c | 855 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local 873 ihdr = ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv() 876 sizeof(*ihdr), DMA_FROM_DEVICE); in rds_ib_process_recv() 878 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv() 892 if (ihdr->h_credit) in rds_ib_process_recv() 895 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv() 930 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv() 942 hdr->h_len != ihdr->h_len || in rds_ib_process_recv() 943 hdr->h_sport != ihdr->h_sport || in rds_ib_process_recv() 944 hdr->h_dport != ihdr->h_dport) { in rds_ib_process_recv() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_discovery.c | 464 struct ip_discovery_header *ihdr = in amdgpu_discovery_init() local 608 struct ip_discovery_header *ihdr; in amdgpu_discovery_read_harvest_bit_per_ip() local 617 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_read_harvest_bit_per_ip() 658 if (ihdr->base_addr_64_bit) in amdgpu_discovery_read_harvest_bit_per_ip() 1120 struct ip_discovery_header *ihdr; in amdgpu_discovery_sysfs_recurse() local 1130 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_sysfs_recurse() 1276 struct ip_discovery_header *ihdr; in amdgpu_discovery_reg_base_init() local 1300 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_reg_base_init() 1396 if (ihdr->base_addr_64_bit) in amdgpu_discovery_reg_base_init() 1430 if (ihdr->version < 3) { in amdgpu_discovery_reg_base_init() [all …]
|
| /linux/net/ipv6/ |
| A D | exthdrs.c | 1081 struct rt0_hdr *phdr, *ihdr; in ipv6_push_rthdr0() local 1084 ihdr = (struct rt0_hdr *) opt; in ipv6_push_rthdr0() 1086 phdr = skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr0() 1087 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_push_rthdr0() 1089 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0() 1092 memcpy(phdr->addr, ihdr->addr + 1, in ipv6_push_rthdr0() 1096 *addr_p = ihdr->addr; in ipv6_push_rthdr0()
|
| /linux/net/tipc/ |
| A 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()
|
| A D | link.c | 1922 struct tipc_msg *hdr, *ihdr; in tipc_link_create_dummy_tnl_msg() local 1940 ihdr = (struct tipc_msg *)msg_data(hdr); in tipc_link_create_dummy_tnl_msg() 1941 tipc_msg_init(onode, ihdr, TIPC_LOW_IMPORTANCE, TIPC_DIRECT_MSG, in tipc_link_create_dummy_tnl_msg() 1943 msg_set_errcode(ihdr, TIPC_ERR_NO_PORT); in tipc_link_create_dummy_tnl_msg()
|
| /linux/drivers/usb/gadget/function/ |
| A D | uvc_configfs.c | 3013 struct uvc_input_header_descriptor *ihdr = *dest; in __uvcg_fill_strm() local 3024 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm() 3025 ihdr->bNumFormats = h->num_fmt; in __uvcg_fill_strm()
|
| /linux/net/key/ |
| A D | af_key.c | 1717 static int unicast_flush_resp(struct sock *sk, const struct sadb_msg *ihdr) in unicast_flush_resp() argument 1726 hdr = skb_put_data(skb, ihdr, sizeof(struct sadb_msg)); in unicast_flush_resp()
|