/freebsd/sys/dev/virtio/pci/ |
H A D | virtio_pci.c | 104 vtpci_read_isr(struct vtpci_common *cn) in vtpci_read_isr() argument 106 return (VIRTIO_PCI_READ_ISR(cn->vtpci_dev)); in vtpci_read_isr() 110 vtpci_get_vq_size(struct vtpci_common *cn, int idx) in vtpci_get_vq_size() argument 112 return (VIRTIO_PCI_GET_VQ_SIZE(cn->vtpci_dev, idx)); in vtpci_get_vq_size() 116 vtpci_get_vq_notify_off(struct vtpci_common *cn, int idx) in vtpci_get_vq_notify_off() argument 118 return (VIRTIO_PCI_GET_VQ_NOTIFY_OFF(cn->vtpci_dev, idx)); in vtpci_get_vq_notify_off() 122 vtpci_set_vq(struct vtpci_common *cn, struct virtqueue *vq) in vtpci_set_vq() argument 124 VIRTIO_PCI_SET_VQ(cn->vtpci_dev, vq); in vtpci_set_vq() 128 vtpci_disable_vq(struct vtpci_common *cn, int idx) in vtpci_disable_vq() argument 130 VIRTIO_PCI_DISABLE_VQ(cn in vtpci_disable_vq() 134 vtpci_register_cfg_msix(struct vtpci_common * cn,struct vtpci_interrupt * intr) vtpci_register_cfg_msix() argument 140 vtpci_register_vq_msix(struct vtpci_common * cn,int idx,struct vtpci_interrupt * intr) vtpci_register_vq_msix() argument 147 vtpci_init(struct vtpci_common * cn,device_t dev,bool modern) vtpci_init() argument 165 vtpci_add_child(struct vtpci_common * cn) vtpci_add_child() argument 183 vtpci_delete_child(struct vtpci_common * cn) vtpci_delete_child() argument 202 vtpci_child_detached(struct vtpci_common * cn) vtpci_child_detached() argument 213 vtpci_reinit(struct vtpci_common * cn) vtpci_reinit() argument 233 vtpci_describe_features(struct vtpci_common * cn,const char * msg,uint64_t features) vtpci_describe_features() argument 248 vtpci_negotiate_features(struct vtpci_common * cn,uint64_t child_features,uint64_t host_features) vtpci_negotiate_features() argument 270 vtpci_with_feature(struct vtpci_common * cn,uint64_t feature) vtpci_with_feature() argument 276 vtpci_read_ivar(struct vtpci_common * cn,int index,uintptr_t * result) vtpci_read_ivar() argument 308 vtpci_write_ivar(struct vtpci_common * cn,int index,uintptr_t value) vtpci_write_ivar() argument 326 vtpci_alloc_virtqueues(struct vtpci_common * cn,int nvqs,struct vq_alloc_info * vq_info) vtpci_alloc_virtqueues() argument 387 vtpci_alloc_msix(struct vtpci_common * cn,int nvectors) vtpci_alloc_msix() argument 413 vtpci_alloc_msi(struct vtpci_common * cn) vtpci_alloc_msi() argument 435 vtpci_alloc_intr_msix_pervq(struct vtpci_common * cn) vtpci_alloc_intr_msix_pervq() argument 457 vtpci_alloc_intr_msix_shared(struct vtpci_common * cn) vtpci_alloc_intr_msix_shared() argument 474 vtpci_alloc_intr_msi(struct vtpci_common * cn) vtpci_alloc_intr_msi() argument 492 vtpci_alloc_intr_intx(struct vtpci_common * cn) vtpci_alloc_intr_intx() argument 501 vtpci_alloc_interrupt(struct vtpci_common * cn,int rid,int flags,struct vtpci_interrupt * intr) vtpci_alloc_interrupt() argument 517 vtpci_free_interrupt(struct vtpci_common * cn,struct vtpci_interrupt * intr) vtpci_free_interrupt() argument 537 vtpci_free_interrupts(struct vtpci_common * cn) vtpci_free_interrupts() argument 564 vtpci_free_virtqueues(struct vtpci_common * cn) vtpci_free_virtqueues() argument 583 vtpci_release_child_resources(struct vtpci_common * cn) vtpci_release_child_resources() argument 591 vtpci_cleanup_setup_intr_attempt(struct vtpci_common * cn) vtpci_cleanup_setup_intr_attempt() argument 606 vtpci_alloc_intr_resources(struct vtpci_common * cn) vtpci_alloc_intr_resources() argument 654 vtpci_setup_intx_interrupt(struct vtpci_common * cn,enum intr_type type) vtpci_setup_intx_interrupt() argument 668 vtpci_setup_pervq_msix_interrupts(struct vtpci_common * cn,enum intr_type type) vtpci_setup_pervq_msix_interrupts() argument 695 vtpci_set_host_msix_vectors(struct vtpci_common * cn) vtpci_set_host_msix_vectors() argument 729 vtpci_setup_msix_interrupts(struct vtpci_common * cn,enum intr_type type) vtpci_setup_msix_interrupts() argument 754 vtpci_setup_intrs(struct vtpci_common * cn,enum intr_type type) vtpci_setup_intrs() argument 777 vtpci_setup_interrupts(struct vtpci_common * cn,enum intr_type type) vtpci_setup_interrupts() argument 829 vtpci_reinit_virtqueue(struct vtpci_common * cn,int idx) vtpci_reinit_virtqueue() argument 850 struct vtpci_common *cn; vtpci_intx_intr() local 873 struct vtpci_common *cn; vtpci_vq_shared_intr_filter() local 892 struct vtpci_common *cn; vtpci_vq_shared_intr() local 929 struct vtpci_common *cn; vtpci_config_intr() local 940 vtpci_feature_sysctl(struct sysctl_req * req,struct vtpci_common * cn,uint64_t features) vtpci_feature_sysctl() argument 959 struct vtpci_common *cn; vtpci_host_features_sysctl() local 969 struct vtpci_common *cn; vtpci_negotiated_features_sysctl() local 977 vtpci_setup_sysctl(struct vtpci_common * cn) vtpci_setup_sysctl() argument [all...] |
H A D | virtio_pci.h | 83 vtpci_child_device(struct vtpci_common *cn) in vtpci_child_device() argument 85 return (cn->vtpci_child_dev); in vtpci_child_device() 89 vtpci_is_msix_available(struct vtpci_common *cn) in vtpci_is_msix_available() argument 91 return ((cn->vtpci_flags & VTPCI_FLAG_NO_MSIX) == 0); in vtpci_is_msix_available() 95 vtpci_is_msix_enabled(struct vtpci_common *cn) in vtpci_is_msix_enabled() argument 97 return ((cn->vtpci_flags & VTPCI_FLAG_MSIX) != 0); in vtpci_is_msix_enabled() 101 vtpci_is_modern(struct vtpci_common *cn) in vtpci_is_modern() argument 103 return ((cn->vtpci_flags & VTPCI_FLAG_MODERN) != 0); in vtpci_is_modern() 107 vtpci_virtqueue_count(struct vtpci_common *cn) in vtpci_virtqueue_count() argument 109 return (cn->vtpci_nvqs); in vtpci_virtqueue_count() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | danetest.in | 22 # subject= CN = example.com 30 # subject= CN = Issuer CA 38 # subject= CN = Root CA 206 subject= /CN=example.com 207 issuer= /CN=Issuer CA 221 subject= /CN=Issuer CA 222 issuer= /CN=Root CA 235 subject= /CN=Root CA 236 issuer= /CN=Root CA 253 subject= /CN=example.com [all …]
|
H A D | dane-cross.in | 25 subject=CN = server.example 26 issuer=CN = CA 48 subject=CN = CA 49 issuer=CN = Root CA 70 subject=CN = Root CA 71 issuer=CN = Cross Root 92 subject=CN = Cross Root 93 issuer=CN = Cross Root
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_changelist.c | 98 prop_changenode_t *cn; in changelist_prefix() local 120 while ((cn = uu_avl_walk_next(walk)) != NULL) { in changelist_prefix() 124 cn->cn_needpost = B_FALSE; in changelist_prefix() 132 if (getzoneid() == GLOBAL_ZONEID && cn->cn_zoned) in changelist_prefix() 135 if (!ZFS_IS_VOLUME(cn->cn_handle)) { in changelist_prefix() 141 if (zfs_unmount(cn->cn_handle, NULL, in changelist_prefix() 144 cn->cn_needpost = B_FALSE; in changelist_prefix() 148 (void) zfs_unshare(cn->cn_handle, NULL, in changelist_prefix() 180 prop_changenode_t *cn; in changelist_postfix() local 201 if ((cn = uu_avl_last(clp->cl_tree)) == NULL) in changelist_postfix() [all …]
|
H A D | libzfs_config.c | 80 config_node_t *cn; in namespace_clear() local 83 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, in namespace_clear() 85 nvlist_free(cn->cn_config); in namespace_clear() 86 free(cn->cn_name); in namespace_clear() 87 free(cn); in namespace_clear() 107 config_node_t *cn; in namespace_reload() local 169 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, &cookie)) != NULL) { in namespace_reload() 170 nvlist_free(cn->cn_config); in namespace_reload() 171 free(cn->cn_name); in namespace_reload() 172 free(cn); in namespace_reload() [all …]
|
/freebsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_fat.c | 86 usemap_alloc(struct msdosfsmount *pmp, u_long cn); 88 usemap_free(struct msdosfsmount *pmp, u_long cn); 136 u_long cn; in pcbmap() local 148 cn = dep->de_StartCluster; in pcbmap() 155 if (cn == MSDOSFSROOT) { in pcbmap() 189 fc_lookup(dep, findcn, &i, &cn); in pcbmap() 198 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in pcbmap() 200 byteoffset = FATOFS(pmp, cn); in pcbmap() 213 prevcn = cn; in pcbmap() 220 cn = getulong(bp->b_data + bo); in pcbmap() [all …]
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_fat.c | 81 usemap_alloc(struct msdosfsmount *pmp, u_long cn); 82 static int usemap_free(struct msdosfsmount *pmp, u_long cn); 136 u_long cn; in pcbmap() local 150 cn = dep->de_StartCluster; in pcbmap() 157 if (cn == MSDOSFSROOT) { in pcbmap() 191 fc_lookup(dep, findcn, &i, &cn); in pcbmap() 200 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in pcbmap() 202 byteoffset = FATOFS(pmp, cn); in pcbmap() 213 prevcn = cn; in pcbmap() 220 cn = getulong(bp->b_data + bo); in pcbmap() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_cons.c | 156 struct consdev *best_cn, *cn, **list; in cninit() local 183 cn = *list; in cninit() 184 cnremove(cn); in cninit() 186 if (cn->cn_ops == NULL) in cninit() 188 cn->cn_ops->cn_probe(cn); in cninit() 189 if (cn->cn_pri == CN_DEAD) in cninit() 191 if (best_cn == NULL || cn->cn_pri > best_cn->cn_pri) in cninit() 192 best_cn = cn; in cninit() 197 cn->cn_ops->cn_init(cn); in cninit() 198 cnadd(cn); in cninit() [all …]
|
/freebsd/crypto/openssl/test/certs/ |
H A D | mkcert.sh | 100 local cn=$1; shift 113 csr=$(req "$key" "CN = $cn") || return 1 127 … *) echo "Usage: $0 genca [-p EKU][-c policyoid] cn keyname certname cakeyname cacertname" >&2 133 local cn=$1; shift 154 csr=$(req "$key" "CN = $cn") || return 1 161 local cn=$1; shift 175 csr=$(req "$key" "CN = $cn") || return 1 246 *) echo "Usage: $0 genee [-p EKU] cn keyname certname cakeyname cacertname" >&2 252 local cn=$1; shift 263 "subjectAltName = @alts" "DNS=${cn}") [all …]
|
H A D | setup.sh | 208 openssl req -new -x509 -key ee-key.pem -subj /CN=ee-self-signed -out ee-self-signed.pem -addext key… 212 ./mkcert.sh req pc1-key "0.CN = server.example" "1.CN = proxy 1" | \ 215 ./mkcert.sh req pc2-key "0.CN = server.example" "1.CN = proxy 1" "2.CN = proxy 2" | \ 219 # pc3: incorrect CN 220 ./mkcert.sh req bad-pc3-key "0.CN = server.example" "1.CN = proxy 3" | \ 224 ./mkcert.sh req bad-pc4-key "0.CN = server.example" "1.CN = proxy 1" "2.CN = proxy 4" | \ 228 ./mkcert.sh req pc5-key "0.CN = server.example" "1.CN = proxy 1" "2.CN = proxy 5" | \ 231 # pc6: incorrect CN (made into a component of a multivalue RDN) 232 ./mkcert.sh req bad-pc6-key "0.CN = server.example" "1.CN = proxy 1" "2.+CN = proxy 6" | \ 271 "1.CN=www.example.net" "2.CN=Joe Bloggs" | \ [all …]
|
H A D | ec_privkey_with_chain.pem | 1 Private Key for CN=Ca-ENROLLMENT-INTERMEDIATE-3 8 Subject: CN=Ca-ENROLLMENT-INTERMEDIATE-3 9 Issuer: CN=Ca-ENROLLMENT-INTERMEDIATE-2 26 Subject: CN=Ca-ENROLLMENT-INTERMEDIATE-2 27 Issuer: CN=Ca-ENROLLMENT-INTERMEDIATE-1 43 Subject: CN=Ca-ENROLLMENT-INTERMEDIATE-1 44 Issuer: CN=Ca-ENROLLMENT-ROOT 60 Subject: CN=Ca-ENROLLMENT-ROOT 61 Issuer: CN=Ca-ENROLLMENT-ROOT
|
/freebsd/sys/dev/nvmf/controller/ |
H A D | ctl_frontend_nvmf.c | 924 nvmft_handoff(struct ctl_nvmf *cn) in nvmft_handoff() argument 934 handoff = &cn->data.handoff; in nvmft_handoff() 937 cn->status = CTL_NVMF_ERROR; in nvmft_handoff() 938 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff() 946 cn->status = CTL_NVMF_ERROR; in nvmft_handoff() 947 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff() 953 cn->status = CTL_NVMF_ERROR; in nvmft_handoff() 954 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff() 963 cn->status = CTL_NVMF_ERROR; in nvmft_handoff() 964 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 89 bool canBeRepresentedAsSls(const ConstantSDNode &CN) { in canBeRepresentedAsSls() argument 91 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls() 110 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr)) { in INITIALIZE_PASS() local 113 if (canBeRepresentedAsSls(*CN)) { in INITIALIZE_PASS() 114 int32_t Imm = CN->getSExtValue(); in INITIALIZE_PASS() 115 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in INITIALIZE_PASS() 132 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr)) { in selectAddrRiSpls() local 135 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls() 136 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 137 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls() [all …]
|
/freebsd/crypto/openssl/test/smime-certs/ |
H A D | mksmime-certs.sh | 17 CN="Test S/MIME RSA Root" $OPENSSL req -config ca.cnf -x509 -noenc \ 21 CN="Test S/MIME EE RSA #1" $OPENSSL req -config ca.cnf -noenc \ 27 CN="Test S/MIME EE RSA #2" $OPENSSL req -config ca.cnf -noenc \ 32 CN="Test S/MIME EE RSA #3" $OPENSSL req -config ca.cnf -noenc \ 41 CN="Test S/MIME EE DSA #1" $OPENSSL req -config ca.cnf -noenc \ 45 CN="Test S/MIME EE DSA #2" $OPENSSL req -config ca.cnf -noenc \ 49 CN="Test S/MIME EE DSA #3" $OPENSSL req -config ca.cnf -noenc \ 59 CN="Test S/MIME EE EC #1" $OPENSSL req -config ca.cnf -noenc \ 63 CN="Test S/MIME EE EC #2" $OPENSSL req -config ca.cnf -noenc \ 68 #CN="Test S/MIME EE EC #3" $OPENSSL req -config ca.cnf -noenc \ [all …]
|
/freebsd/share/i18n/esdb/EUC/ |
H A D | EUC.alias | 3 CN cn-gb 4 CN csgb3212 5 CN euccn 6 CN gb2312
|
/freebsd/contrib/netbsd-tests/rump/rumpvfs/ |
H A D | t_p2kifs.c | 57 struct componentname *cn; in ATF_TC_BODY() local 74 cn = rump_pub_makecn(RUMP_NAMEI_LOOKUP, 0, pathstr, strlen(pathstr), in ATF_TC_BODY() 76 RZ(RUMP_VOP_LOOKUP(rumpns_rootvnode, &vp, cn)); in ATF_TC_BODY() 77 rump_pub_freecn(cn, RUMPCN_FREECRED); in ATF_TC_BODY() 80 cn = rump_pub_makecn(RUMP_NAMEI_LOOKUP, 0, pathstr, strlen(pathstr), in ATF_TC_BODY() 83 RZ(RUMP_VOP_LOOKUP(rumpns_rootvnode, &vp, cn)); in ATF_TC_BODY() 84 rump_pub_freecn(cn, RUMPCN_FREECRED); in ATF_TC_BODY()
|
/freebsd/crypto/openssl/demos/certs/ |
H A D | mkcerts.sh | 8 CN="Test Root CA" $OPENSSL req -config ca.cnf -x509 -nodes \ 11 CN="Test Intermediate CA" $OPENSSL req -config ca.cnf -nodes \ 18 CN="Test Server Cert" $OPENSSL req -config ca.cnf -nodes \ 25 CN="Test Client Cert" $OPENSSL req -config ca.cnf -nodes \ 32 CN="Test Revoked Cert" $OPENSSL req -config ca.cnf -nodes \ 39 CN="Test OCSP Responder Cert" $OPENSSL req -config ca.cnf -nodes \ 57 CN="Test Server DH Cert" $OPENSSL req -config ca.cnf -new \ 68 CN="Test Client DH Cert" $OPENSSL req -config ca.cnf -new \
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_ca.in | 53 --subject="CN=Love,DC=it,DC=su,DC=se" \ 60 --subject="cn=foo" \ 108 --subject="cn=foo" \ 116 --subject="cn=foo" \ 125 --subject="cn=foo" \ 134 --subject="cn=foo" \ 143 --subject="cn=foo" \ 168 echo "issue certificate (hostname in CN)" 171 --subject="cn=www.test.h5l.se" \ 191 --subject="cn=foo" \ [all …]
|
/freebsd/crypto/openssl/demos/certs/apps/ |
H A D | mkxcerts.sh | 6 CN="OpenSSL Test RSA SHA-1 cert" $OPENSSL req \ 9 CN="OpenSSL Test RSA SHA-256 cert" $OPENSSL req \ 12 CN="OpenSSL Test RSA SHA-512 cert" $OPENSSL req \ 21 CN="OpenSSL Test P-256 SHA-256 cert" $OPENSSL req \ 26 CN="OpenSSL Test P-384 SHA-384 cert" $OPENSSL req \
|
H A D | mkacerts.sh | 8 CN="OpenSSL Test Root CA" $OPENSSL req -config apps.cnf -x509 -nodes \ 11 CN="OpenSSL Test Intermediate CA" $OPENSSL req -config apps.cnf -nodes \ 17 CN="Test Client Cert" $OPENSSL req -config apps.cnf -nodes \ 24 CN="Test Server Cert" $OPENSSL req -config apps.cnf -nodes \ 31 CN="Test Server Cert #2" $OPENSSL req -config apps.cnf -nodes \
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_scrub.c | 257 struct rrset_parse* cn = (struct rrset_parse*)regional_alloc(region, in synth_cname_rrset() local 259 if(!cn) in synth_cname_rrset() 261 memset(cn, 0, sizeof(*cn)); in synth_cname_rrset() 262 cn->rr_first = (struct rr_parse*)regional_alloc(region, in synth_cname_rrset() 264 if(!cn->rr_first) in synth_cname_rrset() 266 cn->rr_last = cn->rr_first; in synth_cname_rrset() 268 cn->dname = (uint8_t*)regional_alloc(region, *snamelen); in synth_cname_rrset() 269 if(!cn->dname) in synth_cname_rrset() 271 dname_pkt_copy(pkt, cn->dname, *sname); in synth_cname_rrset() 272 cn->dname_len = *snamelen; in synth_cname_rrset() [all …]
|
/freebsd/share/i18n/esdb/ISO646/ |
H A D | ISO646.alias | 15 CN cn 16 CN csiso57gb1988 17 CN gb_1988-80 18 CN iso-ir-57
|
/freebsd/share/i18n/esdb/ISO-2022/ |
H A D | ISO-2022.alias | 3 CN csiso2022cn 4 CN iso2022-cn 6 CN-EXT iso2022-cnext
|
/freebsd/crypto/openssl/util/perl/TLSProxy/ |
H A D | Certificate.pm | 49 my ($hicertlistlen, $certlistlen) = unpack('Cn', $remdata); 57 my ($hicertlen, $certlen) = unpack('Cn', $remdata); 101 my ($hicertlistlen, $certlistlen) = unpack('Cn', $self->data); 109 my ($hicertlen, $certlen) = unpack('Cn', $remdata); 149 $data .= pack('Cn', $hi, $certlistlen); 152 $data .= pack('Cn', $hi, $certlen); 162 $data .= pack('Cn', $hi, $certlistlen); 165 $data .= pack('Cn', $hi, $certlen);
|