/src/sys/arch/arm/acpi/ |
gtmr_acpi.c | 62 ACPI_TABLE_HEADER *hdrp = aux; local in function:gtmr_acpi_match 64 return memcmp(hdrp->Signature, ACPI_SIG_GTDT, ACPI_NAMESEG_SIZE) == 0;
|
gic_acpi.c | 71 ACPI_SUBTABLE_HEADER *hdrp = aux; local in function:gic_acpi_match 74 if (hdrp->Type != ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR) 77 gicd = (ACPI_MADT_GENERIC_DISTRIBUTOR *)hdrp; 137 gic_acpi_find_gicc(ACPI_SUBTABLE_HEADER *hdrp, void *aux) 141 if (hdrp->Type != ACPI_MADT_TYPE_GENERIC_INTERRUPT) 144 *giccp = (ACPI_MADT_GENERIC_INTERRUPT *)hdrp;
|
gicv3_acpi.c | 84 ACPI_SUBTABLE_HEADER *hdrp = aux; local in function:gicv3_acpi_match 87 if (hdrp->Type != ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR) 90 gicd = (ACPI_MADT_GENERIC_DISTRIBUTOR *)hdrp; 158 gicv3_acpi_count_gicr(ACPI_SUBTABLE_HEADER *hdrp, void *aux) 163 if (hdrp->Type == ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR) { 164 gicr = (ACPI_MADT_GENERIC_REDISTRIBUTOR *)hdrp; 172 gicv3_acpi_map_gicr(ACPI_SUBTABLE_HEADER *hdrp, void *aux) 179 if (hdrp->Type != ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR) 182 gicr = (ACPI_MADT_GENERIC_REDISTRIBUTOR *)hdrp; 215 gicv3_acpi_count_gicc(ACPI_SUBTABLE_HEADER *hdrp, void *aux [all...] |
sbsawdt_acpi.c | 104 ACPI_GTDT_HEADER * const hdrp = aux; local in function:sbsawdt_acpi_match 106 if (hdrp->Type != ACPI_GTDT_TYPE_WATCHDOG)
|
cpu_acpi.c | 92 ACPI_SUBTABLE_HEADER *hdrp = aux; local in function:cpu_acpi_match 95 if (hdrp->Type != ACPI_MADT_TYPE_GENERIC_INTERRUPT) 98 gicc = (ACPI_MADT_GENERIC_INTERRUPT *)hdrp; 355 cpu_acpi_tprof_intr_establish(ACPI_SUBTABLE_HEADER *hdrp, void *aux) 365 if (hdrp->Type != ACPI_MADT_TYPE_GENERIC_INTERRUPT) 368 gicc = (ACPI_MADT_GENERIC_INTERRUPT *)hdrp;
|
/src/usr.bin/crunch/crunchide/ |
exec_aout.c | 51 struct exec *hdrp; variable in typeref:struct:exec * 135 hdrp = (struct exec *) aoutdata; 138 textrel = (struct relocation_info *) (aoutdata + N_RELOFF(*hdrp)); 139 datarel = (struct relocation_info *) (aoutdata + N_RELOFF(*hdrp) + 140 hdrp->a_trsize); 142 textrel = (struct relocation_info *) (aoutdata + N_TRELOFF(*hdrp)); 143 datarel = (struct relocation_info *) (aoutdata + N_DRELOFF(*hdrp)); 145 symbase = (struct nlist *) (aoutdata + N_SYMOFF(*hdrp)); 146 strbase = (char *) (aoutdata + N_STROFF(*hdrp)); 148 ntextrel = hdrp->a_trsize / sizeof(struct relocation_info) [all...] |
/src/sys/dev/acpi/ |
acpi_pcc.c | 97 ACPI_TABLE_HEADER *hdrp = aux; local in function:pcc_match 99 return memcmp(hdrp->Signature, ACPI_SIG_PCCT, ACPI_NAMESEG_SIZE) == 0;
|
acpi.c | 1973 ACPI_SUBTABLE_HEADER *hdrp; local in function:acpi_madt_walk 1981 hdrp = (ACPI_SUBTABLE_HEADER *)where; 1983 if (hdrp->Length == 0 || ACPI_FAILURE(func(hdrp, aux))) 1986 where += hdrp->Length; 1993 ACPI_GTDT_HEADER *hdrp; local in function:acpi_gtdt_walk 2001 hdrp = (ACPI_GTDT_HEADER *)where; 2003 if (hdrp->Length == 0 || ACPI_FAILURE(func(hdrp, aux))) 2006 where += hdrp->Length [all...] |
/src/lib/libc/db/hash/ |
hash.c | 979 HASHHDR *hdrp; local in function:swap_header 982 hdrp = &hashp->hdr; 984 M_32_SWAP(hdrp->magic); 985 M_32_SWAP(hdrp->version); 986 M_32_SWAP(hdrp->lorder); 987 M_32_SWAP(hdrp->bsize); 988 M_32_SWAP(hdrp->bshift); 989 M_32_SWAP(hdrp->dsize); 990 M_32_SWAP(hdrp->ssize); 991 M_32_SWAP(hdrp->sshift) [all...] |
/src/sys/dev/usb/ |
if_mue.c | 1147 struct mue_rxbuf_hdr *hdrp; local in function:mue_uno_rx_loop 1158 if (__predict_false(total_len < sizeof(*hdrp))) { 1164 hdrp = (struct mue_rxbuf_hdr *)buf; 1165 rx_cmd_a = le32toh(hdrp->rx_cmd_a); 1184 pktlen + sizeof(*hdrp) > total_len)) { 1219 usbnet_enqueue(un, buf + sizeof(*hdrp), pktlen, csum, 1223 pktlen = roundup(pktlen + sizeof(*hdrp), 4);
|
/src/sys/dev/ic/ |
isp_target.c | 192 #define hdrp unp.hp macro 474 #undef hdrp
|
/src/sys/dev/bluetooth/ |
bcsp.c | 744 bcsp_hdr_t *hdrp = mtod(m, bcsp_hdr_t *); local in function:bcsp_pktintegrity_transmit 752 hdrp->flags |= BCSP_FLAGS_CRC_PRESENT; 754 BCSP_SET_PLEN(hdrp, pldlen); 755 BCSP_SET_CSUM(hdrp); 783 bcsp_hdr_t *hdrp = mtod(m, bcsp_hdr_t *); local in function:bcsp_pktintegrity_receive 798 ((hdrp->flags & BCSP_FLAGS_CRC_PRESENT) ? sizeof(crc) : 0); 804 if (hdrp->csum != BCSP_GET_CSUM(hdrp)) { 809 if (BCSP_GET_PLEN(hdrp) != pldlen) { 814 if (hdrp->flags & BCSP_FLAGS_CRC_PRESENT) 892 bcsp_hdr_t *hdrp; local in function:bcsp_mux_transmit 970 bcsp_hdr_t *hdrp = mtod(m, bcsp_hdr_t *); local in function:bcsp_mux_receive 1011 bcsp_hdr_t *hdrp; local in function:bcsp_create_ackpkt 1123 bcsp_hdr_t *hdrp; local in function:bcsp_tx_reliable_pkt 1212 bcsp_hdr_t *hdrp; local in function:bcsp_signal_rxack 1363 bcsp_hdr_t *hdrp; local in function:bcsp_tx_unreliable_pkt [all...] |
bth5.c | 788 bth5_hdr_t *hdrp = mtod(m, bth5_hdr_t *); local in function:bth5_pktintegrity_transmit 796 hdrp->flags |= BTH5_FLAGS_CRC_PRESENT; 798 BTH5_SET_PLEN(hdrp, pldlen); 799 BTH5_SET_CSUM(hdrp); 827 bth5_hdr_t *hdrp = mtod(m, bth5_hdr_t *); local in function:bth5_pktintegrity_receive 842 ((hdrp->flags & BTH5_FLAGS_CRC_PRESENT) ? sizeof(crc) : 0); 848 if (hdrp->csum != BTH5_GET_CSUM(hdrp)) { 853 if (BTH5_GET_PLEN(hdrp) != pldlen) { 858 if (hdrp->flags & BTH5_FLAGS_CRC_PRESENT) 936 bth5_hdr_t *hdrp; local in function:bth5_mux_transmit 1021 bth5_hdr_t *hdrp = mtod(m, bth5_hdr_t *); local in function:bth5_mux_receive 1065 bth5_hdr_t *hdrp; local in function:bth5_create_ackpkt 1183 bth5_hdr_t *hdrp; local in function:bth5_tx_reliable_pkt 1256 bth5_hdr_t *hdrp; local in function:bth5_signal_rxack 1411 bth5_hdr_t *hdrp; local in function:bth5_tx_unreliable_pkt [all...] |