Searched refs:hdrp (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-current/sys/fs/tarfs/
H A Dtarfs_vfsops.c205 tarfs_checksum(struct ustar_header *hdrp) argument
210 if (tarfs_str2int64(hdrp->checksum, sizeof(hdrp->checksum), &hdrsum) != 0) {
212 __func__, (int)sizeof(hdrp->checksum), hdrp->checksum);
216 (int)sizeof(hdrp->checksum), hdrp->checksum, hdrsum);
219 for (ptr = (const unsigned char *)hdrp;
220 ptr < (const unsigned char *)hdrp->checksum; ptr++)
223 ptr < (const unsigned char *)hdrp
436 struct ustar_header *hdrp = (struct ustar_header *)block; local
[all...]
/freebsd-current/lib/libc/db/hash/
H A Dhash.c936 HASHHDR *hdrp; local
939 hdrp = &hashp->hdr;
941 M_32_SWAP(hdrp->magic);
942 M_32_SWAP(hdrp->version);
943 M_32_SWAP(hdrp->lorder);
944 M_32_SWAP(hdrp->bsize);
945 M_32_SWAP(hdrp->bshift);
946 M_32_SWAP(hdrp->dsize);
947 M_32_SWAP(hdrp->ssize);
948 M_32_SWAP(hdrp
[all...]
/freebsd-current/sys/dev/sfxge/common/
H A Defx_bootcfg.c351 efx_dhcp_tag_hdr_t *hdrp; local
353 hdrp = (efx_dhcp_tag_hdr_t *)tagp;
354 *valuepp = (uint8_t *)(&hdrp[1]);
355 *value_lengthp = hdrp->length;
410 efx_dhcp_tag_hdr_t *hdrp; local
427 hdrp = (efx_dhcp_tag_hdr_t *)startp;
430 uint8_t tag_length = DHCP_FULL_TAG_LENGTH(hdrp);
446 hdrp = encap_hdrp;
450 startp = (uint8_t *)hdrp;
451 endp = (uint8_t *)DHCP_NEXT_TAG(hdrp);
492 efx_dhcp_tag_hdr_t *hdrp = (efx_dhcp_tag_hdr_t *)write_pointp; local
654 efx_dhcp_tag_hdr_t *hdrp = (efx_dhcp_tag_hdr_t *)write_pointp; local
[all...]
H A Dsiena_mcdi.c55 __in_bcount(hdr_len) void *hdrp,
74 dword = *(efx_dword_t *)hdrp;
53 siena_mcdi_send_request( __in efx_nic_t *enp, __in_bcount(hdr_len) void *hdrp, __in size_t hdr_len, __in_bcount(sdu_len) void *sdup, __in size_t sdu_len) argument
H A Def10_mcdi.c151 __in_bcount(hdr_len) void *hdrp,
167 dword = *(efx_dword_t *)((uint8_t *)hdrp + pos);
149 ef10_mcdi_send_request( __in efx_nic_t *enp, __in_bcount(hdr_len) void *hdrp, __in size_t hdr_len, __in_bcount(sdu_len) void *sdup, __in size_t sdu_len) argument
H A Dsiena_impl.h117 __in_bcount(hdr_len) void *hdrp,
H A Defx_mcdi.c199 __in void *hdrp,
206 emcop->emco_send_request(enp, hdrp, hdr_len, sdup, sdu_len);
197 efx_mcdi_send_request( __in efx_nic_t *enp, __in void *hdrp, __in size_t hdr_len, __in void *sdup, __in size_t sdu_len) argument
H A Def10_impl.h323 __in_bcount(hdr_len) void *hdrp,
/freebsd-current/sys/dev/isp/
H A Disp_freebsd.h131 #define ATPD_SET_SEQNO(hdrp, atp) ((isphdr_t *)hdrp)->rqs_seqno &= ~ATPD_SEQ_MASK, ((isphdr_t *)hdrp)->rqs_seqno |= (atp)->seqno
132 #define ATPD_GET_SEQNO(hdrp) (((isphdr_t *)hdrp)->rqs_seqno & ATPD_SEQ_MASK)
133 #define ATPD_GET_NCAM(hdrp) ((((isphdr_t *)hdrp)->rqs_seqno & ATPD_SEQ_NOTIFY_CAM) != 0)
H A Disp_target.c126 #define hdrp unp.hp macro
216 #undef hdrp macro
/freebsd-current/contrib/libpcap/
H A Dpcap-snit.c120 register struct nit_bufhdr *hdrp; local
173 hdrp = (struct nit_bufhdr *)cp;
174 cp += sizeof(*hdrp);
189 bp += hdrp->nhb_totlen;
H A Dpcap-linux.c3847 struct sll2_header *hdrp; local
3876 hdrp = (struct sll2_header *)bp;
3877 hdrp->sll2_protocol = sll->sll_protocol;
3878 hdrp->sll2_reserved_mbz = 0;
3879 hdrp->sll2_if_index = htonl(sll->sll_ifindex);
3880 hdrp->sll2_hatype = htons(sll->sll_hatype);
3881 hdrp->sll2_pkttype = sll->sll_pkttype;
3882 hdrp->sll2_halen = sll->sll_halen;
3883 memcpy(hdrp->sll2_addr, sll->sll_addr, SLL_ADDRLEN);
3887 struct sll_header *hdrp; local
[all...]
/freebsd-current/sys/net/
H A Dslcompress.c447 * in *hdrp and its length in *hlenp.
451 struct slcompress *comp, u_char **hdrp, u_int *hlenp)
482 *hdrp = (u_char *) &cs->cs_ip;
580 *hdrp = (u_char *) &cs->cs_ip;
450 sl_uncompress_tcp_core(u_char *buf, int buflen, int total_len, u_int type, struct slcompress *comp, u_char **hdrp, u_int *hlenp) argument
/freebsd-current/contrib/sendmail/src/
H A Dheaders.c57 ** hdrp -- a pointer to the place to save the header.
72 dochompheader(line, pflag, hdrp, e)
75 HDR **hdrp;
92 headeronly = hdrp != NULL;
94 hdrp = &e->e_header;
419 for (hp = hdrp; (h = *hp) != NULL; hp = &h->h_link)
504 ** hdrp -- a pointer to the place to save the header.
516 chompheader(line, pflag, hdrp, e)
519 HDR **hdrp;
546 rval = dochompheader(xbp, pflag, hdrp,
[all...]
H A Dcollect.c312 ** hdrp -- the location to stash the header.
351 collect(fp, smtpmode, hdrp, e, rsetsize)
354 HDR **hdrp;
404 headeronly = hdrp != NULL;
782 hdrp, e)))
/freebsd-current/sys/dev/mpt/
H A Dmpt_cam.c1279 MSG_REQUEST_HEADER *hdrp; local
1290 hdrp = req->req_vbuf;
1294 switch (hdrp->Function) {
1298 sglp = &((PTR_MSG_SCSI_IO_REQUEST)hdrp)->SGL;
1302 sglp = &((PTR_MSG_TARGET_ASSIST_REQUEST)hdrp)->SGL;
1306 hdrp->Function);
1335 if (hdrp->Function == MPI_FUNCTION_TARGET_ASSIST) {
1450 hdrp->ChainOffset = ((char *)se - (char *)hdrp) >> 2;
1610 if (hdrp
1671 MSG_REQUEST_HEADER *hdrp; local
3989 MSG_REQUEST_HEADER *hdrp = req->req_vbuf; local
[all...]
/freebsd-current/sys/compat/linux/
H A Dlinux_misc.c1596 if (uap->hdrp == NULL)
1599 error = copyin(uap->hdrp, &luch, sizeof(luch));
1613 error = copyout(&luch, uap->hdrp, sizeof(luch));
1643 if (uap->hdrp == NULL || uap->datap == NULL)
1646 error = copyin(uap->hdrp, &luch, sizeof(luch));
1660 error = copyout(&luch, uap->hdrp, sizeof(luch));
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.cpp247 unsigned __user_cap_data_struct_sz(void *hdrp) { argument
249 if (hdrp) {
250 switch (((struct __user_cap_header_struct *)hdrp)->version) {
H A Dsanitizer_platform_limits_posix.h139 extern unsigned __user_cap_data_struct_sz(void *hdrp);
H A Dsanitizer_common_interceptors.inc5704 INTERCEPTOR(int, capget, void *hdrp, void *datap) {
5706 COMMON_INTERCEPTOR_ENTER(ctx, capget, hdrp, datap);
5707 if (hdrp)
5708 COMMON_INTERCEPTOR_READ_RANGE(ctx, hdrp, __user_cap_header_struct_sz);
5712 int res = REAL(capget)(hdrp, datap);
5714 unsigned datasz = __user_cap_data_struct_sz(hdrp);
5717 // We can also return -1 and write to hdrp->version if the version passed in
5718 // hdrp->version is unsupported. But that's not a trivial condition to check,
5722 INTERCEPTOR(int, capset, void *hdrp, const void *datap) {
5724 COMMON_INTERCEPTOR_ENTER(ctx, capset, hdrp, data
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dpci_e82545.c1081 uint8_t *hdr, *hdrp; local
1319 for (left = hdrlen, hdrp = hdr; left > 0;
1320 left -= now, hdrp += now) {
1322 memcpy(hdrp, iov->iov_base, now);
/freebsd-current/sys/arm64/linux/
H A Dlinux_proto.h392 char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PADR_(struct l_user_cap_header *)]; member in struct:linux_capget_args
396 char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PADR_(struct l_user_cap_header *)]; member in struct:linux_capset_args
H A Dlinux_systrace_args.c721 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
729 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
/freebsd-current/sys/i386/linux/
H A Dlinux_systrace_args.c1306 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1314 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
/freebsd-current/sys/amd64/linux/
H A Dlinux_proto.h475 char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PADR_(struct l_user_cap_header *)]; member in struct:linux_capget_args
479 char hdrp_l_[PADL_(struct l_user_cap_header *)]; struct l_user_cap_header * hdrp; char hdrp_r_[PADR_(struct l_user_cap_header *)]; member in struct:linux_capset_args

Completed in 603 milliseconds

12