Home
last modified time | relevance | path

Searched refs:hdrp (Results 1 – 18 of 18) sorted by relevance

/NextBSD/lib/libc/db/hash/
HDhash.c936 HASHHDR *hdrp; in swap_header() local
939 hdrp = &hashp->hdr; in swap_header()
941 M_32_SWAP(hdrp->magic); in swap_header()
942 M_32_SWAP(hdrp->version); in swap_header()
943 M_32_SWAP(hdrp->lorder); in swap_header()
944 M_32_SWAP(hdrp->bsize); in swap_header()
945 M_32_SWAP(hdrp->bshift); in swap_header()
946 M_32_SWAP(hdrp->dsize); in swap_header()
947 M_32_SWAP(hdrp->ssize); in swap_header()
948 M_32_SWAP(hdrp->sshift); in swap_header()
[all …]
/NextBSD/contrib/libpcap/
HDpcap-snit.c121 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()
HDpcap-linux.c1479 struct sll_header *hdrp; local
1636 hdrp = (struct sll_header *)bp;
1637 hdrp->sll_pkttype = map_packet_type_to_sll_type(from.sll_pkttype);
1638 hdrp->sll_hatype = htons(from.sll_hatype);
1639 hdrp->sll_halen = htons(from.sll_halen);
1640 memcpy(hdrp->sll_addr, from.sll_addr,
1644 hdrp->sll_protocol = from.sll_protocol;
4248 struct sll_header *hdrp; local
4277 hdrp = (struct sll_header *)bp;
4278 hdrp->sll_pkttype = map_packet_type_to_sll_type(
[all …]
/NextBSD/sys/dev/isp/
HDisp_freebsd.h145 #define ATPD_SET_SEQNO(hdrp, atp) ((isphdr_t *)hdrp)->rqs_seqno &= ~ATPD_SEQ_MASK, ((isphdr_t *)hdr… argument
146 #define ATPD_GET_SEQNO(hdrp) (((isphdr_t *)hdrp)->rqs_seqno & ATPD_SEQ_MASK) argument
147 #define ATPD_GET_NCAM(hdrp) ((((isphdr_t *)hdrp)->rqs_seqno & ATPD_SEQ_NOTIFY_CAM) != 0) argument
HDisp_target.c152 #define hdrp unp.hp in isp_target_notify() macro
408 #undef hdrp in isp_target_notify()
/NextBSD/contrib/binutils/bfd/
HDcoff-rs6000.c1401 struct xcoff_ar_hdr *hdrp; local
1412 hdrp = (struct xcoff_ar_hdr *) bfd_alloc (abfd, amt);
1413 if (hdrp == NULL)
1418 memcpy (hdrp, &hdr, SIZEOF_AR_HDR);
1419 if (bfd_bread ((char *) hdrp + SIZEOF_AR_HDR, namlen, abfd) != namlen)
1424 ((char *) hdrp)[SIZEOF_AR_HDR + namlen] = '\0';
1426 ret->arch_header = (char *) hdrp;
1428 ret->filename = (char *) hdrp + SIZEOF_AR_HDR;
1433 struct xcoff_ar_hdr_big *hdrp; local
1444 hdrp = (struct xcoff_ar_hdr_big *) bfd_alloc (abfd, amt);
[all …]
HDarchive.c372 char *hdrp = (char *) &hdr; in _bfd_generic_read_ar_hdr_mag() local
380 if (bfd_bread (hdrp, sizeof (struct ar_hdr), abfd) != sizeof (struct ar_hdr)) in _bfd_generic_read_ar_hdr_mag()
/NextBSD/sys/net/
HDslcompress.c463 sl_uncompress_tcp_core(buf, buflen, total_len, type, comp, hdrp, hlenp) in sl_uncompress_tcp_core() argument
468 u_char **hdrp;
501 *hdrp = (u_char *) &cs->cs_ip;
599 *hdrp = (u_char *) &cs->cs_ip;
/NextBSD/sys/dev/mpt/
HDmpt_cam.c1269 MSG_REQUEST_HEADER *hdrp; in mpt_execute_req_a64() local
1280 hdrp = req->req_vbuf; in mpt_execute_req_a64()
1288 switch (hdrp->Function) { in mpt_execute_req_a64()
1292 sglp = &((PTR_MSG_SCSI_IO_REQUEST)hdrp)->SGL; in mpt_execute_req_a64()
1296 sglp = &((PTR_MSG_TARGET_ASSIST_REQUEST)hdrp)->SGL; in mpt_execute_req_a64()
1300 hdrp->Function); in mpt_execute_req_a64()
1335 if (hdrp->Function == MPI_FUNCTION_TARGET_ASSIST) { in mpt_execute_req_a64()
1451 hdrp->ChainOffset = ((char *)se - (char *)hdrp) >> 2; in mpt_execute_req_a64()
1611 if (hdrp->Function == MPI_FUNCTION_TARGET_ASSIST) { in mpt_execute_req_a64()
1645 if (hdrp->Function == MPI_FUNCTION_TARGET_ASSIST) { in mpt_execute_req_a64()
[all …]
/NextBSD/sys/compat/linux/
HDlinux_misc.c1866 if (args->hdrp == NULL) in linux_capget()
1869 error = copyin(args->hdrp, &luch, sizeof(luch)); in linux_capget()
1875 error = copyout(&luch, args->hdrp, sizeof(luch)); in linux_capget()
1905 if (args->hdrp == NULL || args->datap == NULL) in linux_capset()
1908 error = copyin(args->hdrp, &luch, sizeof(luch)); in linux_capset()
1914 error = copyout(&luch, args->hdrp, sizeof(luch)); in linux_capset()
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_common_interceptors.inc4299 INTERCEPTOR(int, capget, void *hdrp, void *datap) {
4301 COMMON_INTERCEPTOR_ENTER(ctx, capget, hdrp, datap);
4302 if (hdrp)
4303 COMMON_INTERCEPTOR_READ_RANGE(ctx, hdrp, __user_cap_header_struct_sz);
4307 int res = REAL(capget)(hdrp, datap);
4310 // We can also return -1 and write to hdrp->version if the version passed in
4311 // hdrp->version is unsupported. But that's not a trivial condition to check,
4315 INTERCEPTOR(int, capset, void *hdrp, const void *datap) {
4317 COMMON_INTERCEPTOR_ENTER(ctx, capset, hdrp, datap);
4318 if (hdrp)
[all …]
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDarc.c1262 arc_buf_hdr_t *fhdr, **hdrp; in buf_hash_remove() local
1268 hdrp = &buf_hash_table.ht_table[idx]; in buf_hash_remove()
1269 while ((fhdr = *hdrp) != hdr) { in buf_hash_remove()
1271 hdrp = &fhdr->b_hash_next; in buf_hash_remove()
1273 *hdrp = hdr->b_hash_next; in buf_hash_remove()
/NextBSD/sys/amd64/linux32/
HDlinux32_systrace_args.c1292 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ in systrace_args()
1300 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ in systrace_args()
HDlinux32_proto.h607 …char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PAD… member
611 …char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PAD… member
/NextBSD/sys/i386/linux/
HDlinux_systrace_args.c1335 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ in systrace_args()
1343 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ in systrace_args()
HDlinux_proto.h608 …char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PAD… member
612 …char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PAD… member
/NextBSD/sys/amd64/linux/
HDlinux_systrace_args.c1047 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ in systrace_args()
1055 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ in systrace_args()
HDlinux_proto.h462 …char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PAD… member
466 …char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PAD… member