Searched refs:hdr1 (Results 1 – 6 of 6) sorted by relevance
| /trueos/sys/dev/nand/ |
| HD | nand_bbt.c | 195 struct bbt_header hdr1, hdr2; in nand_bbt_load_table() local 199 bzero(&hdr1, sizeof(hdr1)); in nand_bbt_load_table() 202 nand_bbt_load_hdr(bbt, &hdr1, 1); in nand_bbt_load_table() 203 if (hdr1.pattern == BBT_PRIMARY_PATTERN) { in nand_bbt_load_table() 207 bzero(&hdr1, sizeof(hdr1)); in nand_bbt_load_table() 212 (hdr2.seq_nr > hdr1.seq_nr)) { in nand_bbt_load_table()
|
| /trueos/contrib/wpa/src/eap_peer/ |
| HD | eap_psk.c | 86 const struct eap_psk_hdr_1 *hdr1; in eap_psk_process_1() local 96 hdr1 = (const struct eap_psk_hdr_1 *) cpos; in eap_psk_process_1() 97 if (cpos == NULL || len < sizeof(*hdr1)) { in eap_psk_process_1() 101 (unsigned long) sizeof(*hdr1)); in eap_psk_process_1() 105 wpa_printf(MSG_DEBUG, "EAP-PSK: Flags=0x%x", hdr1->flags); in eap_psk_process_1() 106 if (EAP_PSK_FLAGS_GET_T(hdr1->flags) != 0) { in eap_psk_process_1() 108 EAP_PSK_FLAGS_GET_T(hdr1->flags)); in eap_psk_process_1() 113 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr1->rand_s, in eap_psk_process_1() 116 data->id_s_len = len - sizeof(*hdr1); in eap_psk_process_1() 124 os_memcpy(data->id_s, (u8 *) (hdr1 + 1), data->id_s_len); in eap_psk_process_1() [all …]
|
| /trueos/sys/ofed/drivers/infiniband/core/ |
| HD | user_mad.c | 400 static int same_destination(struct ib_user_mad_hdr *hdr1, in same_destination() argument 403 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination() 404 return (hdr1->lid == hdr2->lid); in same_destination() 406 if (hdr1->grh_present && hdr2->grh_present) in same_destination() 407 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
|
| /trueos/contrib/binutils/bfd/ |
| HD | ecoff.c | 1903 const asection *hdr1 = *(const asection **) arg1; in ecoff_sort_hdrs() local 1906 if ((hdr1->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()
|
| HD | elf.c | 8977 Elf_Internal_Shdr *hdr1, *hdr2; in bfd_elf_match_symbols_in_sections() local 9021 hdr1 = &elf_tdata (bfd1)->symtab_hdr; in bfd_elf_match_symbols_in_sections() 9022 symcount1 = hdr1->sh_size / bed1->s->sizeof_sym; in bfd_elf_match_symbols_in_sections() 9037 isymbuf1 = bfd_elf_get_elf_syms (bfd1, hdr1, symcount1, 0, in bfd_elf_match_symbols_in_sections() 9118 hdr1->sh_link, in bfd_elf_match_symbols_in_sections() 9170 = bfd_elf_string_from_elf_section (bfd1, hdr1->sh_link, in bfd_elf_match_symbols_in_sections()
|
| /trueos/sys/dev/cxgbe/ |
| HD | t4_main.c | 2106 fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument 2110 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible() 2117 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible() 2118 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|