| /src/sys/arch/usermode/include/ |
| genheaders.sh | 28 for hdr in ${HDRS}; do 29 G="_USERMODE_$(echo ${hdr} | sed 's/\./_/g' | tr [a-z] [A-Z])" 31 cat > ${hdr} << EOF 42 #include "../../i386/include/${hdr}" 44 #include "../../amd64/include/${hdr}" 46 #include "../../arm/include/${hdr}" 53 if [ "$hdr" = "disklabel.h" ]; then 54 echo "#include <machine/types.h>" >> ${hdr} 55 echo "#ifndef __HAVE_OLD_DISKLABEL" >> ${hdr} 56 echo "#undef DISKUNIT" >> ${hdr} [all...] |
| /src/external/mit/expat/dist/conftools/ |
| get-version.sh | 51 hdr="$1" 52 if test ! -r "$hdr"; then 53 echo "ERROR: '$hdr' does not exist, or is not readable." 57 MAJOR_VERSION=$(sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' "$hdr") 58 MINOR_VERSION=$(sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' "$hdr") 59 MICRO_VERSION=$(sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' "$hdr")
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/nvfw/ |
| nouveau_nvkm_nvfw_flcn.c | 31 loader_config_dump(struct nvkm_subdev *subdev, const struct loader_config *hdr) 34 nvkm_debug(subdev, "\tdmaIdx : %d\n", hdr->dma_idx); 35 nvkm_debug(subdev, "\tcodeDmaBase : 0x%xx\n", hdr->code_dma_base); 36 nvkm_debug(subdev, "\tcodeSizeTotal : 0x%x\n", hdr->code_size_total); 37 nvkm_debug(subdev, "\tcodeSizeToLoad: 0x%x\n", hdr->code_size_to_load); 38 nvkm_debug(subdev, "\tcodeEntryPoint: 0x%x\n", hdr->code_entry_point); 39 nvkm_debug(subdev, "\tdataDmaBase : 0x%x\n", hdr->data_dma_base); 40 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); 41 nvkm_debug(subdev, "\toverlayDmaBase: 0x%x\n", hdr->overlay_dma_base); 42 nvkm_debug(subdev, "\targc : 0x%08x\n", hdr->argc) [all...] |
| nouveau_nvkm_nvfw_fw.c | 33 const struct nvfw_bin_hdr *hdr = data; local 35 nvkm_debug(subdev, "\tbinMagic : 0x%08x\n", hdr->bin_magic); 36 nvkm_debug(subdev, "\tbinVer : %d\n", hdr->bin_ver); 37 nvkm_debug(subdev, "\tbinSize : %d\n", hdr->bin_size); 38 nvkm_debug(subdev, "\theaderOffset : 0x%x\n", hdr->header_offset); 39 nvkm_debug(subdev, "\tdataOffset : 0x%x\n", hdr->data_offset); 40 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); 41 return hdr; 47 const struct nvfw_bl_desc *hdr = data; local 49 nvkm_debug(subdev, "\tstartTag : 0x%x\n", hdr->start_tag) [all...] |
| nouveau_nvkm_nvfw_ls.c | 32 const struct nvfw_ls_desc_head *hdr) 38 hdr->descriptor_size); 39 nvkm_debug(subdev, "\timageSize : %d\n", hdr->image_size); 41 hdr->tools_version); 42 nvkm_debug(subdev, "\tappVersion : 0x%x\n", hdr->app_version); 44 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); 49 hdr->bootloader_start_offset); 51 hdr->bootloader_size); 53 hdr->bootloader_imem_offset) 79 const struct nvfw_ls_desc *hdr = data; local 97 const struct nvfw_ls_desc_v1 *hdr = data; local [all...] |
| nouveau_nvkm_nvfw_hs.c | 33 const struct nvfw_hs_header *hdr = data; local 35 nvkm_debug(subdev, "\tsigDbgOffset : 0x%x\n", hdr->sig_dbg_offset); 36 nvkm_debug(subdev, "\tsigDbgSize : 0x%x\n", hdr->sig_dbg_size); 37 nvkm_debug(subdev, "\tsigProdOffset : 0x%x\n", hdr->sig_prod_offset); 38 nvkm_debug(subdev, "\tsigProdSize : 0x%x\n", hdr->sig_prod_size); 39 nvkm_debug(subdev, "\tpatchLoc : 0x%x\n", hdr->patch_loc); 40 nvkm_debug(subdev, "\tpatchSig : 0x%x\n", hdr->patch_sig); 41 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); 42 nvkm_debug(subdev, "\thdrSize : 0x%x\n", hdr->hdr_size); 43 return hdr; 49 const struct nvfw_hs_load_header *hdr = data; local [all...] |
| nouveau_nvkm_nvfw_acr.c | 31 wpr_header_dump(struct nvkm_subdev *subdev, const struct wpr_header *hdr) 34 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); 35 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); 36 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner); 37 nvkm_debug(subdev, "\tlazyBootstrap : %d\n", hdr->lazy_bootstrap); 38 nvkm_debug(subdev, "\tstatus : %d\n", hdr->status); 42 wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr) 45 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); 46 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); 47 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/cmp/ |
| cmp_hdr.c | 23 int ossl_cmp_hdr_set_pvno(OSSL_CMP_PKIHEADER *hdr, int pvno) 25 if (!ossl_assert(hdr != NULL)) 27 return ASN1_INTEGER_set(hdr->pvno, pvno); 30 int ossl_cmp_hdr_get_pvno(const OSSL_CMP_PKIHEADER *hdr) 34 if (!ossl_assert(hdr != NULL)) 36 if (!ASN1_INTEGER_get_int64(&pvno, hdr->pvno) || pvno < 0 || pvno > INT_MAX) 41 int ossl_cmp_hdr_get_protection_nid(const OSSL_CMP_PKIHEADER *hdr) 43 if (!ossl_assert(hdr != NULL) 44 || hdr->protectionAlg == NULL) 46 return OBJ_obj2nid(hdr->protectionAlg->algorithm) [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/cmp/ |
| cmp_hdr.c | 23 int ossl_cmp_hdr_set_pvno(OSSL_CMP_PKIHEADER *hdr, int pvno) 25 if (!ossl_assert(hdr != NULL)) 27 return ASN1_INTEGER_set(hdr->pvno, pvno); 30 int ossl_cmp_hdr_get_pvno(const OSSL_CMP_PKIHEADER *hdr) 34 if (!ossl_assert(hdr != NULL)) 36 if (!ASN1_INTEGER_get_int64(&pvno, hdr->pvno) || pvno < 0 || pvno > INT_MAX) 41 int ossl_cmp_hdr_get_protection_nid(const OSSL_CMP_PKIHEADER *hdr) 43 if (!ossl_assert(hdr != NULL) 44 || hdr->protectionAlg == NULL) 46 return OBJ_obj2nid(hdr->protectionAlg->algorithm) [all...] |
| /src/external/bsd/wpa/dist/src/tls/ |
| tlsv1_client_ocsp.c | 116 struct asn1_hdr hdr; local 141 if (asn1_get_next(resp, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { 142 asn1_unexpected(&hdr, "OCSP: Expected SEQUENCE (CertID)"); 145 pos = hdr.payload; 146 end = hdr.payload + hdr.length; 161 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 162 !asn1_is_octetstring(&hdr)) { 163 asn1_unexpected(&hdr, 316 struct asn1_hdr hdr; local 348 struct asn1_hdr hdr; local 651 struct asn1_hdr hdr; local [all...] |
| pkcs8.c | 21 struct asn1_hdr hdr; local 30 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { 31 asn1_unexpected(&hdr, 35 pos = hdr.payload; 36 end = pos + hdr.length; 39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_integer(&hdr)) { 40 asn1_unexpected(&hdr, "PKCS #8: Expected INTEGER"); 48 if (bignum_set_unsigned_bin(zero, hdr.payload, hdr.length) < 0) 113 struct asn1_hdr hdr; local [all...] |
| asn1.h | 62 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr); 63 void asn1_print_hdr(const struct asn1_hdr *hdr, const char *title); 64 void asn1_unexpected(const struct asn1_hdr *hdr, const char *title); 72 int asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr, 88 static inline bool asn1_is_oid(const struct asn1_hdr *hdr) 90 return hdr->class == ASN1_CLASS_UNIVERSAL && 91 hdr->tag == ASN1_TAG_OID; 94 static inline bool asn1_is_boolean(const struct asn1_hdr *hdr) 96 return hdr->class == ASN1_CLASS_UNIVERSAL && 97 hdr->tag == ASN1_TAG_BOOLEAN [all...] |
| tlsv1_cred.c | 446 struct asn1_hdr hdr; local 458 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { 459 asn1_unexpected(&hdr, "PKCS #12: Expected SEQUENCE (CertBag)"); 463 pos = hdr.payload; 464 end = hdr.payload + hdr.length; 481 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || 482 !asn1_is_cs_tag(&hdr, 0)) 517 struct asn1_hdr hdr; local 542 struct asn1_hdr hdr; local 568 struct asn1_hdr hdr; local 609 struct asn1_hdr hdr; local 682 struct asn1_hdr hdr; local 722 struct asn1_hdr hdr; local 741 struct asn1_hdr hdr; local 851 struct asn1_hdr hdr; local 887 struct asn1_hdr hdr; local 1074 struct asn1_hdr hdr; local [all...] |
| asn1.c | 106 static int asn1_valid_der_boolean(struct asn1_hdr *hdr) 109 if (hdr->length != 1) { 111 hdr->length); 115 if (hdr->payload[0] != 0 && hdr->payload[0] != 0xff) { 118 hdr->payload[0]); 126 static int asn1_valid_der(struct asn1_hdr *hdr) 128 if (hdr->class != ASN1_CLASS_UNIVERSAL) 130 if (hdr->tag == ASN1_TAG_BOOLEAN && !asn1_valid_der_boolean(hdr)) 337 struct asn1_hdr hdr; local 435 struct asn1_hdr hdr; local 484 struct asn1_hdr hdr; local [all...] |
| x509v3.c | 185 struct asn1_hdr hdr; local 195 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { 196 asn1_unexpected(&hdr, 200 if (hdr.length > buf + len - hdr.payload) 202 pos = hdr.payload; 203 end = pos + hdr.length; 220 struct asn1_hdr hdr; local 233 if (asn1_get_next(pos, end - pos, &hdr) < 0 | 288 struct asn1_hdr hdr; local 689 struct asn1_hdr hdr; local 768 struct asn1_hdr hdr; local 801 struct asn1_hdr hdr; local 974 struct asn1_hdr hdr; local 1052 struct asn1_hdr hdr; local 1076 struct asn1_hdr hdr; local 1149 struct asn1_hdr hdr; local 1273 struct asn1_hdr hdr; local 1359 struct asn1_hdr hdr; local 1433 struct asn1_hdr hdr; local 1459 struct asn1_hdr hdr; local 1729 struct asn1_hdr hdr; local 1846 struct asn1_hdr hdr; local [all...] |
| /src/sys/dev/raidframe/ |
| rf_cvscan.c | 54 CheckCvscanState(RF_CvscanHeader_t *hdr) 59 if (hdr->left != NULL) 60 RF_ASSERT(hdr->left->sectorOffset < hdr->cur_block); 61 for (key = hdr->cur_block, i = 0, tmp = hdr->left; 65 && tmp->priority == hdr->nxt_priority && pri_ok(tmp->priority)); 66 RF_ASSERT(i == hdr->left_cnt); 68 for (key = hdr->cur_block, i = 0, tmp = hdr->right 208 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local 217 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local 287 RF_CvscanHeader_t *hdr; local 352 RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in; local [all...] |
| /src/external/gpl2/libmalloc/dist/ |
| mcheck.c | 47 struct hdr struct 69 static enum mcheck_status checkhdr __P ((const struct hdr *)); 71 checkhdr (hdr) 72 const struct hdr *hdr; 75 switch (hdr->magic) 84 if (((char *) &hdr[1])[hdr->size] != MAGICBYTE) 100 struct hdr *hdr = ((struct hdr *) ptr) - 1 local 114 struct hdr *hdr; local 135 struct hdr *hdr = ((struct hdr *) ptr) - 1; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/radeon/ |
| radeon_ucode.c | 36 static void radeon_ucode_print_common_hdr(const struct common_firmware_header *hdr) 38 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); 39 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); 40 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); 41 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); 42 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); 43 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); 44 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); 45 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); 47 le32_to_cpu(hdr->ucode_array_offset_bytes)) 164 const struct common_firmware_header *hdr = local [all...] |
| /src/lib/libedit/ |
| makelist | 56 hdr="_h_`basename $1`" 60 printf("#ifndef %s\n#define %s\n", "'$hdr'", "'$hdr'"); 75 printf("#endif /* %s */\n", "'$hdr'");
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| arc.c | 187 * arc_buf_hdr_t is cached. If the hdr is cached and already has an arc_buf_t, 189 * bcopied from the existing arc_buf_t. If the hdr is cached but does not 195 * required when the hdr is caching uncompressed blocks or the compressed 198 * The diagram below shows an example of an uncompressed ARC hdr that is 1175 #define HDR_IN_HASH_TABLE(hdr) ((hdr)->b_flags & ARC_FLAG_IN_HASH_TABLE) 1176 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) 1177 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_FLAG_IO_ERROR 1462 arc_buf_hdr_t *hdr; local 1583 arc_buf_hdr_t *hdr = vbuf; local 1599 arc_buf_hdr_t *hdr = vbuf; local 1628 arc_buf_hdr_t *hdr = vbuf; local 1642 arc_buf_hdr_t *hdr = vbuf; local 1743 arc_buf_hdr_t *hdr = buf->b_hdr; local 1833 arc_buf_hdr_t *hdr = buf->b_hdr; local 1931 arc_buf_hdr_t *hdr = buf->b_hdr; local 1963 arc_buf_hdr_t *hdr = buf->b_hdr; local 2037 arc_buf_hdr_t *hdr = buf->b_hdr; local 2550 arc_buf_hdr_t *hdr = from->b_hdr; local 2594 arc_buf_hdr_t *hdr = buf->b_hdr; local 2608 arc_buf_hdr_t *hdr = buf->b_hdr; local 2726 arc_buf_hdr_t *hdr = buf->b_hdr; local 2866 arc_buf_hdr_t *hdr; local 3012 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), size, size, local 3112 arc_buf_hdr_t *hdr = buf->b_hdr; local 3271 arc_buf_hdr_t *hdr; local 4674 arc_buf_hdr_t *hdr = zio->io_private; local 4849 arc_buf_hdr_t *hdr = NULL; local 5221 arc_buf_hdr_t *hdr; local 5273 arc_buf_hdr_t *hdr = buf->b_hdr; local 5501 arc_buf_hdr_t *hdr = buf->b_hdr; local 5609 arc_buf_hdr_t *hdr = buf->b_hdr; local 5694 arc_buf_hdr_t *hdr = buf->b_hdr; local 5902 arc_buf_hdr_t *hdr = obj; local 6642 arc_buf_hdr_t *head, *hdr, *hdr_prev; local 6757 arc_buf_hdr_t *hdr; local 6903 arc_buf_hdr_t *hdr, *hdr_prev; local 7020 arc_buf_hdr_t *hdr, *hdr_prev, *head; local [all...] |
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_wire_pkt.c | 189 QUIC_PKT_HDR *hdr, 211 hdr->partial = partial; 212 hdr->unused = 0; 213 hdr->reserved = 0; 224 hdr->type = QUIC_PKT_TYPE_1RTT; 225 hdr->fixed = 1; 226 hdr->spin_bit = (b0 & 0x20) != 0; 228 hdr->key_phase = 0; /* protected, zero for now */ 229 hdr->pn_len = 0; /* protected, zero for now */ 230 hdr->reserved = 0; /* protected, zero for now * [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
| nouveau_nvkm_engine_gr_gp108.c | 36 struct flcn_bl_dmem_desc_v2 hdr; local 37 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); 38 hdr.code_dma_base = hdr.code_dma_base + adjust; 39 hdr.data_dma_base = hdr.data_dma_base + adjust; 40 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); 41 flcn_bl_dmem_desc_v2_dump(&acr->subdev, &hdr); 51 const struct flcn_bl_dmem_desc_v2 hdr = { local [all...] |
| /src/external/bsd/libpcap/dist/ |
| pcap-util.c | 49 swap_pflog_header(const struct pcap_pkthdr *hdr, u_char *buf) 51 u_int caplen = hdr->caplen; 52 u_int length = hdr->len; 188 swap_linux_sll_socketcan_header(const struct pcap_pkthdr *hdr, u_char *buf) 190 u_int caplen = hdr->caplen; 191 u_int length = hdr->len; 213 swap_linux_sll2_socketcan_header(const struct pcap_pkthdr *hdr, u_char *buf) 215 u_int caplen = hdr->caplen; 216 u_int length = hdr->len; 244 swap_linux_usb_header(const struct pcap_pkthdr *hdr, u_char *buf [all...] |
| /src/sys/lib/libsa/ |
| loadfile.c | 136 } hdr; local 143 nr = read(fd, &hdr, sizeof(hdr)); 148 if (nr != sizeof(hdr)) { 155 if (!ECOFF_BADMAG(&hdr.coff)) { 156 rval = loadfile_coff(fd, &hdr.coff, marks, flags); 160 if (memcmp(hdr.elf32.e_ident, ELFMAG, SELFMAG) == 0 && 161 hdr.elf32.e_ident[EI_CLASS] == ELFCLASS32) { 163 netbsd_elf_data = hdr.elf32.e_ident[EI_DATA]; 164 rval = loadfile_elf32(fd, &hdr.elf32, marks, flags) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
| cstep.h | 7 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz); 14 u32 nvbios_cstepEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); 15 u32 nvbios_cstepEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr, 17 u32 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr, 26 u32 nvbios_cstepXe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr); 27 u32 nvbios_cstepXp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
|