Searched refs:hdr2 (Results 1 – 6 of 6) sorted by relevance
| /freebsd-11-stable/sys/dev/nand/ |
| HD | nand_bbt.c | 195 struct bbt_header hdr1, hdr2; in nand_bbt_load_table() local 200 bzero(&hdr2, sizeof(hdr2)); in nand_bbt_load_table() 210 nand_bbt_load_hdr(bbt, &hdr2, 0); in nand_bbt_load_table() 211 if ((hdr2.pattern == BBT_SECONDARY_PATTERN) && in nand_bbt_load_table() 212 (hdr2.seq_nr > hdr1.seq_nr)) { in nand_bbt_load_table() 216 bzero(&hdr2, sizeof(hdr2)); in nand_bbt_load_table()
|
| /freebsd-11-stable/contrib/wpa/src/eap_peer/ |
| HD | eap_psk.c | 88 struct eap_psk_hdr_2 *hdr2; in eap_psk_process_1() local 136 sizeof(*hdr2) + data->id_p_len, EAP_CODE_RESPONSE, in eap_psk_process_1() 140 hdr2 = wpabuf_put(resp, sizeof(*hdr2)); in eap_psk_process_1() 141 hdr2->flags = EAP_PSK_FLAGS_SET_T(1); /* T=1 */ in eap_psk_process_1() 142 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 143 os_memcpy(hdr2->rand_p, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_1() 159 if (omac1_aes_128(data->ak, buf, buflen, hdr2->mac_p)) { in eap_psk_process_1() 165 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_P", hdr2->rand_p, in eap_psk_process_1() 167 wpa_hexdump(MSG_DEBUG, "EAP-PSK: MAC_P", hdr2->mac_p, EAP_PSK_MAC_LEN); in eap_psk_process_1()
|
| /freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
| HD | ib_user_mad.c | 409 struct ib_user_mad_hdr *hdr2) in same_destination() argument 411 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination() 412 return (hdr1->lid == hdr2->lid); in same_destination() 414 if (hdr1->grh_present && hdr2->grh_present) in same_destination() 415 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
|
| /freebsd-11-stable/contrib/binutils/bfd/ |
| HD | elf.c | 1941 Elf_Internal_Shdr *hdr2 = elf_elfsections (abfd)[i]; in bfd_section_from_shdr() local 1942 if (hdr2->sh_type == SHT_SYMTAB_SHNDX in bfd_section_from_shdr() 1943 && hdr2->sh_link == shindex) in bfd_section_from_shdr() 1949 Elf_Internal_Shdr *hdr2 = elf_elfsections (abfd)[i]; in bfd_section_from_shdr() local 1950 if (hdr2->sh_type == SHT_SYMTAB_SHNDX in bfd_section_from_shdr() 1951 && hdr2->sh_link == shindex) in bfd_section_from_shdr() 2023 Elf_Internal_Shdr *hdr2 = elf_elfsections (abfd)[i]; in bfd_section_from_shdr() local 2024 if (hdr2->sh_link == shindex) in bfd_section_from_shdr() 2045 Elf_Internal_Shdr *hdr2; in bfd_section_from_shdr() local 2124 hdr2 = &elf_section_data (target_sect)->rel_hdr; in bfd_section_from_shdr() [all …]
|
| HD | ecoff.c | 1904 const asection *hdr2 = *(const asection **) arg2; in ecoff_sort_hdrs() local 1908 if ((hdr2->flags & SEC_ALLOC) == 0) in ecoff_sort_hdrs() 1913 if ((hdr2->flags & SEC_ALLOC) != 0) in ecoff_sort_hdrs() 1916 if (hdr1->vma < hdr2->vma) in ecoff_sort_hdrs() 1918 else if (hdr1->vma > hdr2->vma) in ecoff_sort_hdrs()
|
| /freebsd-11-stable/sys/dev/cxgbe/ |
| HD | t4_main.c | 3401 fw_compatible(const struct fw_h *hdr1, const struct fw_h *hdr2) in fw_compatible() argument 3405 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible() 3412 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible() 3413 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|