Searched refs:hdrp (Results 1 – 7 of 7) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | elf.c | 17 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get() argument 84 test_read(fd, hdrp, sizeof(*hdrp)); in elfhdr_get() 85 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr), in elfhdr_get() 89 hdrp->e_phentsize, sizeof(Elf64_Phdr)); in elfhdr_get() 90 TEST_ASSERT(hdrp->e_shentsize == sizeof(Elf64_Shdr), in elfhdr_get() 94 hdrp->e_shentsize, sizeof(Elf64_Shdr)); in elfhdr_get()
|
/external/blktrace/btreplay/ |
D | btrecord.c | 570 struct io_bunch_hdr *hdrp = &stream->cur->hdr; in bunch_output_hdr() local 572 assert(0 < hdrp->npkts && hdrp->npkts <= BT_MAX_PKTS); in bunch_output_hdr() 573 if (fwrite(hdrp, sizeof(struct io_bunch_hdr), 1, stream->ofp) != 1) { in bunch_output_hdr() 579 __u64 off = hdrp->time_stamp - stream->iip->genesis; in bunch_output_hdr() 586 (unsigned long long)hdrp->npkts); in bunch_output_hdr()
|
/external/libpcap/ |
D | pcap-snit.c | 121 register struct nit_bufhdr *hdrp; in pcap_read_snit() local 171 hdrp = (struct nit_bufhdr *)cp; in pcap_read_snit() 172 cp += sizeof(*hdrp); in pcap_read_snit() 187 bp += hdrp->nhb_totlen; in pcap_read_snit()
|
D | pcap-linux.c | 1753 struct sll_header *hdrp; local 1911 hdrp = (struct sll_header *)bp; 1912 hdrp->sll_pkttype = map_packet_type_to_sll_type(from.sll_pkttype); 1913 hdrp->sll_hatype = htons(from.sll_hatype); 1914 hdrp->sll_halen = htons(from.sll_halen); 1915 memcpy(hdrp->sll_addr, from.sll_addr, 1919 hdrp->sll_protocol = from.sll_protocol; 4935 struct sll_header *hdrp; local 4964 hdrp = (struct sll_header *)bp; 4965 hdrp->sll_pkttype = map_packet_type_to_sll_type( [all …]
|
/external/u-boot/drivers/pci/ |
D | pci_rom.c | 66 static int pci_rom_probe(struct udevice *dev, struct pci_rom_header **hdrp) in pci_rom_probe() argument 136 *hdrp = rom_header; in pci_rom_probe()
|
/external/ppp/pppd/include/net/ |
D | vjcompress.h | 141 struct vjcompress *comp, u_char **hdrp,
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 4723 INTERCEPTOR(int, capget, void *hdrp, void *datap) { 4725 COMMON_INTERCEPTOR_ENTER(ctx, capget, hdrp, datap); 4726 if (hdrp) 4727 COMMON_INTERCEPTOR_READ_RANGE(ctx, hdrp, __user_cap_header_struct_sz); 4731 int res = REAL(capget)(hdrp, datap); 4734 // We can also return -1 and write to hdrp->version if the version passed in 4735 // hdrp->version is unsupported. But that's not a trivial condition to check, 4739 INTERCEPTOR(int, capset, void *hdrp, const void *datap) { 4741 COMMON_INTERCEPTOR_ENTER(ctx, capset, hdrp, datap); 4742 if (hdrp) [all …]
|