/freebsd-current/sys/dev/virtio/pci/ |
H A D | virtio_pci.h | 83 vtpci_child_device(struct vtpci_common *cn) argument 85 return (cn->vtpci_child_dev); 89 vtpci_is_msix_available(struct vtpci_common *cn) argument 91 return ((cn->vtpci_flags & VTPCI_FLAG_NO_MSIX) == 0); 95 vtpci_is_msix_enabled(struct vtpci_common *cn) argument 97 return ((cn->vtpci_flags & VTPCI_FLAG_MSIX) != 0); 101 vtpci_is_modern(struct vtpci_common *cn) argument 103 return ((cn->vtpci_flags & VTPCI_FLAG_MODERN) != 0); 107 vtpci_virtqueue_count(struct vtpci_common *cn) argument 109 return (cn [all...] |
H A D | virtio_pci.c | 104 vtpci_read_isr(struct vtpci_common *cn) argument 106 return (VIRTIO_PCI_READ_ISR(cn->vtpci_dev)); 110 vtpci_get_vq_size(struct vtpci_common *cn, int idx) argument 112 return (VIRTIO_PCI_GET_VQ_SIZE(cn->vtpci_dev, idx)); 116 vtpci_get_vq_notify_off(struct vtpci_common *cn, int idx) argument 118 return (VIRTIO_PCI_GET_VQ_NOTIFY_OFF(cn->vtpci_dev, idx)); 122 vtpci_set_vq(struct vtpci_common *cn, struct virtqueue *vq) argument 124 VIRTIO_PCI_SET_VQ(cn->vtpci_dev, vq); 128 vtpci_disable_vq(struct vtpci_common *cn, int idx) argument 130 VIRTIO_PCI_DISABLE_VQ(cn 134 vtpci_register_cfg_msix(struct vtpci_common *cn, struct vtpci_interrupt *intr) argument 140 vtpci_register_vq_msix(struct vtpci_common *cn, int idx, struct vtpci_interrupt *intr) argument 147 vtpci_init(struct vtpci_common *cn, device_t dev, bool modern) argument 165 vtpci_add_child(struct vtpci_common *cn) argument 183 vtpci_delete_child(struct vtpci_common *cn) argument 202 vtpci_child_detached(struct vtpci_common *cn) argument 213 vtpci_reinit(struct vtpci_common *cn) argument 233 vtpci_describe_features(struct vtpci_common *cn, const char *msg, uint64_t features) argument 248 vtpci_negotiate_features(struct vtpci_common *cn, uint64_t child_features, uint64_t host_features) argument 270 vtpci_with_feature(struct vtpci_common *cn, uint64_t feature) argument 276 vtpci_read_ivar(struct vtpci_common *cn, int index, uintptr_t *result) argument 308 vtpci_write_ivar(struct vtpci_common *cn, int index, uintptr_t value) argument 326 vtpci_alloc_virtqueues(struct vtpci_common *cn, int nvqs, struct vq_alloc_info *vq_info) argument 387 vtpci_alloc_msix(struct vtpci_common *cn, int nvectors) argument 413 vtpci_alloc_msi(struct vtpci_common *cn) argument 435 vtpci_alloc_intr_msix_pervq(struct vtpci_common *cn) argument 457 vtpci_alloc_intr_msix_shared(struct vtpci_common *cn) argument 474 vtpci_alloc_intr_msi(struct vtpci_common *cn) argument 492 vtpci_alloc_intr_intx(struct vtpci_common *cn) argument 501 vtpci_alloc_interrupt(struct vtpci_common *cn, int rid, int flags, struct vtpci_interrupt *intr) argument 517 vtpci_free_interrupt(struct vtpci_common *cn, struct vtpci_interrupt *intr) argument 537 vtpci_free_interrupts(struct vtpci_common *cn) argument 564 vtpci_free_virtqueues(struct vtpci_common *cn) argument 583 vtpci_release_child_resources(struct vtpci_common *cn) argument 591 vtpci_cleanup_setup_intr_attempt(struct vtpci_common *cn) argument 606 vtpci_alloc_intr_resources(struct vtpci_common *cn) argument 654 vtpci_setup_intx_interrupt(struct vtpci_common *cn, enum intr_type type) argument 668 vtpci_setup_pervq_msix_interrupts(struct vtpci_common *cn, enum intr_type type) argument 695 vtpci_set_host_msix_vectors(struct vtpci_common *cn) argument 729 vtpci_setup_msix_interrupts(struct vtpci_common *cn, enum intr_type type) argument 754 vtpci_setup_intrs(struct vtpci_common *cn, enum intr_type type) argument 777 vtpci_setup_interrupts(struct vtpci_common *cn, enum intr_type type) argument 829 vtpci_reinit_virtqueue(struct vtpci_common *cn, int idx) argument 850 struct vtpci_common *cn; local 873 struct vtpci_common *cn; local 892 struct vtpci_common *cn; local 929 struct vtpci_common *cn; local 940 vtpci_feature_sysctl(struct sysctl_req *req, struct vtpci_common *cn, uint64_t features) argument 959 struct vtpci_common *cn; local 969 struct vtpci_common *cn; local 977 vtpci_setup_sysctl(struct vtpci_common *cn) argument [all...] |
H A D | virtio_pci_legacy.c | 326 struct vtpci_common *cn; local 329 cn = &sc->vtpci_common; 331 if (vtpci_child_device(cn) != child) 339 return (vtpci_read_ivar(cn, index, result)); 349 struct vtpci_common *cn; local 352 cn = &sc->vtpci_common; 354 if (vtpci_child_device(cn) != child) 359 return (vtpci_write_ivar(cn, index, value)); 396 struct vtpci_common *cn; local 399 cn 424 struct vtpci_common *cn; local [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_changelist.c | 98 prop_changenode_t *cn; local 120 while ((cn = uu_avl_walk_next(walk)) != NULL) { 124 cn->cn_needpost = B_FALSE; 132 if (getzoneid() == GLOBAL_ZONEID && cn->cn_zoned) 135 if (!ZFS_IS_VOLUME(cn->cn_handle)) { 141 if (zfs_unmount(cn->cn_handle, NULL, 144 cn->cn_needpost = B_FALSE; 148 (void) zfs_unshare(cn->cn_handle, NULL, 180 prop_changenode_t *cn; local 201 if ((cn 335 prop_changenode_t *cn; local 372 prop_changenode_t *cn; local 412 prop_changenode_t *cn; local 437 prop_changenode_t *cn; local 468 prop_changenode_t *cn; local 503 prop_changenode_t *cn = NULL; local 641 prop_changenode_t *cn; local [all...] |
H A D | libzfs_config.c | 80 config_node_t *cn; local 83 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, 85 nvlist_free(cn->cn_config); 86 free(cn->cn_name); 87 free(cn); 107 config_node_t *cn; local 169 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, &cookie)) != NULL) { 170 nvlist_free(cn->cn_config); 171 free(cn->cn_name); 172 free(cn); 371 config_node_t *cn; local 416 config_node_t *cn; local [all...] |
/freebsd-current/contrib/netbsd-tests/rump/rumpvfs/ |
H A D | t_p2kifs.c | 57 struct componentname *cn; local 74 cn = rump_pub_makecn(RUMP_NAMEI_LOOKUP, 0, pathstr, strlen(pathstr), 76 RZ(RUMP_VOP_LOOKUP(rumpns_rootvnode, &vp, cn)); 77 rump_pub_freecn(cn, RUMPCN_FREECRED); 80 cn = rump_pub_makecn(RUMP_NAMEI_LOOKUP, 0, pathstr, strlen(pathstr), 83 RZ(RUMP_VOP_LOOKUP(rumpns_rootvnode, &vp, cn)); 84 rump_pub_freecn(cn, RUMPCN_FREECRED);
|
/freebsd-current/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; local 150 cn = dep->de_StartCluster; 157 if (cn == MSDOSFSROOT) { 191 fc_lookup(dep, findcn, &i, &cn); 200 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) 202 byteoffset = FATOFS(pmp, cn); 213 prevcn = cn; 220 cn 266 u_long cn; local 386 usemap_alloc(struct msdosfsmount *pmp, u_long cn) argument 406 usemap_free(struct msdosfsmount *pmp, u_long cn) argument 468 fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, u_long newcontents) argument 763 u_long len, newst, foundl, cn, l; local 903 u_long bn, bo, bsize, byteoffset, cn, readcn; local 993 u_long cn, got; local [all...] |
H A D | fat.h | 82 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS) 99 void clusterfree(struct msdosfsmount *pmp, u_long cn);
|
H A D | msdosfsmount.h | 134 /* Byte offset in FAT on filesystem pmp, cluster cn */ 135 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv) 172 #define de_cn2bn(pmp, cn) \ 173 ((cn) << ((pmp)->pm_cnshift - (pmp)->pm_bnshift)) 196 #define de_cn2off(pmp, cn) \ 197 ((cn) << (pmp)->pm_cnshift) 207 #define cntobn(pmp, cn) \ 208 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
|
/freebsd-current/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; local 148 cn = dep->de_StartCluster; 155 if (cn == MSDOSFSROOT) { 189 fc_lookup(dep, findcn, &i, &cn); 198 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) 200 byteoffset = FATOFS(pmp, cn); 213 prevcn = cn; 220 cn 266 u_long cn; local 382 usemap_alloc(struct msdosfsmount *pmp, u_long cn) argument 397 usemap_free(struct msdosfsmount *pmp, u_long cn) argument 447 fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, u_long newcontents) argument 738 u_long len, newst, foundl, cn, l; local 870 u_long bn, bo, bsize, byteoffset, cn, readcn; local 955 u_long cn, got; local [all...] |
H A D | msdosfs_vnops.c | 359 struct componentname cn; local 365 cn.cn_nameptr = node->name; 366 cn.cn_namelen = strlen(node->name); 389 if ((error = uniqdosname(pdep, &cn, ndirent.de_Name)) != 0) 400 if ((error = msdosfs_findslot(pdep, &cn)) != 0) 402 if ((error = createde(&ndirent, pdep, &dep, &cn)) != 0) 441 u_long cn = 0; local 484 if ((error = pcbmap(dep, cn++, &bn, NULL, &blsize)) != 0) { 490 MSDOSFS_DPRINTF(("%s(cn=%lu, bn=%llu, blsize=%d)\n", 491 __func__, cn, (unsigne 541 struct componentname cn; local [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_cons.c | 156 struct consdev *best_cn, *cn, **list; local 183 cn = *list; 184 cnremove(cn); 186 if (cn->cn_ops == NULL) 188 cn->cn_ops->cn_probe(cn); 189 if (cn->cn_pri == CN_DEAD) 191 if (best_cn == NULL || cn->cn_pri > best_cn->cn_pri) 192 best_cn = cn; 197 cn 231 cnadd(struct consdev *cn) argument 262 cnremove(struct consdev *cn) argument 295 cnselect(struct consdev *cn) argument 312 cnavailable(struct consdev *cn, int available) argument 402 struct consdev *cn; local 415 struct consdev *cn; local 428 struct consdev *cn; local 458 struct consdev *cn; local 525 struct consdev *cn; local [all...] |
/freebsd-current/contrib/sendmail/contrib/ |
H A D | smcontrol.pl | 25 my $cn = undef; 28 open(CF, "</etc/mail/sendmail.cf") or return $cn; 34 $cn = $1; 46 if (not defined $cn) 50 if ($cn !~ /^\//o) 54 $cn = $qd . "/" . $cn; 56 return $cn;
|
/freebsd-current/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...] |
/freebsd-current/sys/dev/nvmf/controller/ |
H A D | ctl_frontend_nvmf.c | 879 nvmft_handoff(struct ctl_nvmf *cn) argument 889 handoff = &cn->data.handoff; 892 cn->status = CTL_NVMF_ERROR; 893 snprintf(cn->error_str, sizeof(cn->error_str), 901 cn->status = CTL_NVMF_ERROR; 902 snprintf(cn->error_str, sizeof(cn->error_str), 908 cn->status = CTL_NVMF_ERROR; 909 snprintf(cn 960 nvmft_list(struct ctl_nvmf *cn) argument 1020 nvmft_terminate(struct ctl_nvmf *cn) argument 1067 struct ctl_nvmf *cn; local [all...] |
/freebsd-current/contrib/unbound/iterator/ |
H A D | iter_scrub.c | 257 struct rrset_parse* cn = (struct rrset_parse*)regional_alloc(region, local 259 if(!cn) 261 memset(cn, 0, sizeof(*cn)); 262 cn->rr_first = (struct rr_parse*)regional_alloc(region, 264 if(!cn->rr_first) 266 cn->rr_last = cn->rr_first; 268 cn->dname = (uint8_t*)regional_alloc(region, *snamelen); 269 if(!cn [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 77 ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0 78 || strncmp(ptm.cn, "/dev/null", 9) == 0, 79 "bad master name: %s", ptm.cn); 85 if (strncmp(ptm.cn, "/dev/null", 9) != 0) { 87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1);
|
/freebsd-current/sys/kgssapi/krb5/ |
H A D | kcrypto_aes.c | 181 uint8_t cn_1[16], cn[16]; member in struct:__anon551 214 m_copyback(inout, off, blocklen, last2.cn); 231 * result. The cyphertext for cn_1 is in cn. The 232 * cyphertext for cn is the first plen bytes of what 238 last2.cn[i] = 0; 239 aes_encrypt_1(ks, CRYPTO_BUF_CONTIG, last2.cn, 0, blocklen, 241 m_copyback(inout, off, blocklen, last2.cn); 252 uint8_t cn_1[16], cn[16]; member in struct:__anon552 281 m_copyback(inout, off, blocklen, last2.cn); 303 t = last2.cn[ [all...] |
/freebsd-current/sys/dev/syscons/fonts/ |
H A D | cursor.awk | 10 /^COMMENT cn.*mouse/ {
|
/freebsd-current/contrib/bmake/ |
H A D | make.c | 952 MakeBuildChild(GNode *cn, GNodeListNode *toBeMadeNext) argument 957 cn->name, cn->cohort_num); 958 GNode_FprintDetails(opts.debug_file, "", cn, "\n"); 960 if (GNode_IsReady(cn)) 964 if (IsWaitingForOrder(cn)) { 968 cn->made = DEFERRED; 973 cn->name, cn->cohort_num); 975 cn 1324 GNode *cn; local [all...] |
/freebsd-current/sys/fs/unionfs/ |
H A D | union_subr.c | 663 struct componentname *cnp, struct componentname *cn, struct thread *td, 669 cn->cn_namelen = pathlen; 670 cn->cn_pnbuf = path; 671 cn->cn_nameiop = nameiop; 672 cn->cn_flags = (LOCKPARENT | LOCKLEAF | ISLASTCN); 673 cn->cn_lkflags = LK_EXCLUSIVE; 674 cn->cn_cred = cnp->cn_cred; 675 cn->cn_nameptr = cn->cn_pnbuf; 679 cn 662 unionfs_relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct componentname *cn, struct thread *td, char *path, int pathlen, u_long nameiop) argument 714 struct componentname cn; local 748 struct componentname cn; local 782 struct componentname cn; local 1393 struct componentname cn; local [all...] |
/freebsd-current/lib/libsecureboot/ |
H A D | vets.c | 216 br_name_element cn; local 230 cn.oid = cn_oid; 231 cn.buf = buf; 232 cn.len = len; 233 cn.buf[0] = '\0'; 236 br_x509_minimal_set_name_elements(&mc, &cn, 1); 237 /* the below actually does the work - updates cn.status */ 246 if (cn.status <= 0) 942 br_name_element cn; local 963 cn 1089 br_name_element cn; local [all...] |
/freebsd-current/usr.sbin/makefs/ |
H A D | cd9660.c | 935 cd9660node *cn; local 947 TAILQ_FOREACH(cn, head, cn_next_child) { 952 if (cn_new == cn) 956 cn->isoDirRecord->name); 960 cn->node->name); 965 if (cn == NULL) 968 TAILQ_INSERT_BEFORE(cn, cn_new, cn_next_child); 1137 cd9660node *cn; local 1147 TAILQ_FOREACH(cn, &node->cn_children, cn_next_child) { 1148 cd9660_copy_filenames(diskStructure, cn); 1157 cd9660node *cn; local 1168 cd9660node *cn, *next; local 1285 cd9660node *cn; local 1460 cd9660node *cn; local 1496 cd9660node *cn, *dirNode = diskStructure->rootNode; local [all...] |
/freebsd-current/lib/libutil/ |
H A D | login_times.c | 34 u_char cn; member in struct:__anon164 80 while (dws[i].dw && strncmp(p, dws[i].dw, dws[i].cn) != 0) 85 p += dws[i].cn;
|
/freebsd-current/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_cts.c | 137 aligned_16bytes mid_iv, ct_mid, cn, pt_last; local 158 memcpy(cn.c, in + residue, CTS_BLOCK_SIZE); 192 memcpy(ctx->iv, cn.c, CTS_BLOCK_SIZE); 239 aligned_16bytes mid_iv, ct_mid, cn, pt_last; local 264 memcpy(cn.c, in, CTS_BLOCK_SIZE); 298 memcpy(ctx->iv, cn.c, CTS_BLOCK_SIZE);
|