Searched refs:hdrp (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.cc | 87 int sys_capget(cap_hdr* hdrp, cap_data* datap) { in sys_capget() argument 88 int res = syscall(__NR_capget, hdrp, datap); in sys_capget() 90 if (hdrp) MSAN_UNPOISON(hdrp, sizeof(*hdrp)); in sys_capget() 96 int sys_capset(cap_hdr* hdrp, const cap_data* datap) { in sys_capset() argument 97 return syscall(__NR_capset, hdrp, datap); in sys_capset()
|
D | syscall_wrappers.h | 58 SANDBOX_EXPORT int sys_capget(struct cap_hdr* hdrp, struct cap_data* datap); 59 SANDBOX_EXPORT int sys_capset(struct cap_hdr* hdrp,
|
/external/blktrace/btreplay/ |
D | btrecord.c | 573 struct io_bunch_hdr *hdrp = &stream->cur->hdr; in bunch_output_hdr() local 575 assert(0 < hdrp->npkts && hdrp->npkts <= BT_MAX_PKTS); in bunch_output_hdr() 576 if (fwrite(hdrp, sizeof(struct io_bunch_hdr), 1, stream->ofp) != 1) { in bunch_output_hdr() 582 __u64 off = hdrp->time_stamp - stream->iip->genesis; in bunch_output_hdr() 589 (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 | 1551 struct sll_header *hdrp; local 1709 hdrp = (struct sll_header *)bp; 1710 hdrp->sll_pkttype = map_packet_type_to_sll_type(from.sll_pkttype); 1711 hdrp->sll_hatype = htons(from.sll_hatype); 1712 hdrp->sll_halen = htons(from.sll_halen); 1713 memcpy(hdrp->sll_addr, from.sll_addr, 1717 hdrp->sll_protocol = from.sll_protocol; 4498 struct sll_header *hdrp; local 4527 hdrp = (struct sll_header *)bp; 4528 hdrp->sll_pkttype = map_packet_type_to_sll_type( [all …]
|
/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 | 4416 INTERCEPTOR(int, capget, void *hdrp, void *datap) { 4418 COMMON_INTERCEPTOR_ENTER(ctx, capget, hdrp, datap); 4419 if (hdrp) 4420 COMMON_INTERCEPTOR_READ_RANGE(ctx, hdrp, __user_cap_header_struct_sz); 4424 int res = REAL(capget)(hdrp, datap); 4427 // We can also return -1 and write to hdrp->version if the version passed in 4428 // hdrp->version is unsupported. But that's not a trivial condition to check, 4432 INTERCEPTOR(int, capset, void *hdrp, const void *datap) { 4434 COMMON_INTERCEPTOR_ENTER(ctx, capset, hdrp, datap); 4435 if (hdrp) [all …]
|