Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 116) sorted by relevance

12345

/freebsd/sys/dev/virtio/pci/
H A Dvirtio_pci.c150 cn->vtpci_dev = dev; in vtpci_init()
377 cn->vtpci_nvqs++; in vtpci_alloc_virtqueues()
542 vtpci_free_interrupt(cn, &cn->vtpci_device_interrupt); in vtpci_free_interrupts()
855 cn = xcn; in vtpci_intx_intr()
877 cn = xcn; in vtpci_vq_shared_intr_filter()
896 cn = xcn; in vtpci_vq_shared_intr()
932 cn = xcn; in vtpci_config_intr()
961 cn = arg1; in vtpci_host_features_sysctl()
963 return (vtpci_feature_sysctl(req, cn, cn->vtpci_host_features)); in vtpci_host_features_sysctl()
971 cn = arg1; in vtpci_negotiated_features_sysctl()
[all …]
H A Dvirtio_pci.h83 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
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
107 vtpci_virtqueue_count(struct vtpci_common *cn) in vtpci_virtqueue_count() argument
109 return (cn->vtpci_nvqs); in vtpci_virtqueue_count()
113 int vtpci_add_child(struct vtpci_common *cn);
114 int vtpci_delete_child(struct vtpci_common *cn);
[all …]
H A Dvirtio_pci_legacy.c324 struct vtpci_common *cn; in vtpci_legacy_read_ivar() local
327 cn = &sc->vtpci_common; in vtpci_legacy_read_ivar()
329 if (vtpci_child_device(cn) != child) in vtpci_legacy_read_ivar()
347 struct vtpci_common *cn; in vtpci_legacy_write_ivar() local
350 cn = &sc->vtpci_common; in vtpci_legacy_write_ivar()
352 if (vtpci_child_device(cn) != child) in vtpci_legacy_write_ivar()
394 struct vtpci_common *cn; in vtpci_legacy_alloc_virtqueues() local
397 cn = &sc->vtpci_common; in vtpci_legacy_alloc_virtqueues()
422 struct vtpci_common *cn; in vtpci_legacy_reinit() local
426 cn = &sc->vtpci_common; in vtpci_legacy_reinit()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_changelist.c98 prop_changenode_t *cn; in changelist_prefix() local
422 free(cn); in changelist_remove()
449 free(cn); in changelist_free()
485 uu_avl_node_init(cn, &cn->cn_treenode, clp->cl_pool); in changelist_add_mounted()
490 free(cn); in changelist_add_mounted()
555 uu_avl_node_init(cn, &cn->cn_treenode, clp->cl_pool); in change_one()
562 free(cn); in change_one()
563 cn = NULL; in change_one()
573 if (cn != NULL) in change_one()
768 uu_avl_node_init(cn, &cn->cn_treenode, clp->cl_pool); in changelist_gather()
[all …]
H A Dlibzfs_config.c80 config_node_t *cn; in namespace_clear() local
86 free(cn->cn_name); in namespace_clear()
87 free(cn); in namespace_clear()
107 config_node_t *cn; in namespace_reload() local
171 free(cn->cn_name); in namespace_reload()
172 free(cn); in namespace_reload()
185 free(cn); in namespace_reload()
385 for (cn = uu_avl_first(hdl->libzfs_ns_avl); cn != NULL; in zpool_iter()
386 cn = uu_avl_next(hdl->libzfs_ns_avl, cn)) { in zpool_iter()
423 for (cn = uu_avl_first(hdl->libzfs_ns_avl); cn != NULL; in zfs_iter_root()
[all …]
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_fat.c136 u_long cn; in pcbmap() local
266 u_long cn; in fc_lookup() local
271 if (cn != FCE_EMPTY && cn <= findcn) { in fc_lookup()
486 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()
753 for (cn = newst; cn <= pmp->pm_maxcluster;) { in clusteralloc1()
768 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
770 for (cn = 0; cn < newst;) { in clusteralloc1()
785 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
879 for (cn = 0; cn < (pmp->pm_maxcluster + N_INUSEBITS) / N_INUSEBITS; cn++) in fillinusemap()
888 for (cn = 0; cn <= pmp->pm_maxcluster; cn++) { in fillinusemap()
[all …]
H A Dmsdosfs_vnops.c359 struct componentname cn; in msdosfs_mkfile() local
365 cn.cn_nameptr = node->name; in msdosfs_mkfile()
366 cn.cn_namelen = strlen(node->name); in msdosfs_mkfile()
400 if ((error = msdosfs_findslot(pdep, &cn)) != 0) in msdosfs_mkfile()
402 if ((error = createde(&ndirent, pdep, &dep, &cn)) != 0) in msdosfs_mkfile()
441 u_long cn = 0; in msdosfs_wfile() local
491 __func__, cn, (unsigned long long)bn, blsize)); in msdosfs_wfile()
541 struct componentname cn; in msdosfs_mkdire() local
548 cn.cn_nameptr = node->name; in msdosfs_mkdire()
549 cn.cn_namelen = strlen(node->name); in msdosfs_mkdire()
[all …]
/freebsd/sys/kern/
H A Dkern_cons.c183 cn = *list; in cninit()
188 cn->cn_ops->cn_probe(cn); in cninit()
197 cn->cn_ops->cn_init(cn); in cninit()
198 cnadd(cn); in cninit()
288 cn->cn_ops->cn_term(cn); in cnremove()
407 cn->cn_ops->cn_grab(cn); in cngrab()
420 cn->cn_ops->cn_ungrab(cn); in cnungrab()
433 cn->cn_ops->cn_resume(cn); in cnresume()
466 c = cn->cn_ops->cn_getc(cn); in cncheckc()
543 cn->cn_ops->cn_putc(cn, '\r'); in cnputc()
[all …]
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_fat.c136 u_long cn; in pcbmap() local
266 u_long cn; in fc_lookup() local
273 if (cn != FCE_EMPTY && cn <= findcn) { in fc_lookup()
507 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()
781 for (cn = newst; cn <= pmp->pm_maxcluster;) { in clusteralloc1()
796 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
798 for (cn = 0; cn < newst;) { in clusteralloc1()
813 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
913 for (cn = 0; cn < (pmp->pm_maxcluster + N_INUSEBITS) / N_INUSEBITS; cn++) in fillinusemap()
922 for (cn = 0; cn <= pmp->pm_maxcluster; cn++) { in fillinusemap()
[all …]
H A Dmsdosfsmount.h135 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv) argument
172 #define de_cn2bn(pmp, cn) \ argument
173 ((cn) << ((pmp)->pm_cnshift - (pmp)->pm_bnshift))
196 #define de_cn2off(pmp, cn) \ argument
197 ((cn) << (pmp)->pm_cnshift)
207 #define cntobn(pmp, cn) \ argument
208 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dfat.h82 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS) argument
99 void clusterfree(struct msdosfsmount *pmp, u_long cn);
/freebsd/crypto/openssl/test/certs/
H A Dmkcert.sh100 local cn=$1; shift
113 csr=$(req "$key" "CN = $cn") || return 1
133 local cn=$1; shift
161 local cn=$1; shift
252 local cn=$1; shift
263 "subjectAltName = @alts" "DNS=${cn}")
284 local cn=$1; shift
297 "$extraext" "DNS=${cn}")
318 local cn=$1; shift
334 local cn=$1; shift
[all …]
/freebsd/sys/dev/nvmf/controller/
H A Dctl_frontend_nvmf.c893 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
902 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
909 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
919 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
926 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
938 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
946 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_handoff()
974 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_list()
1001 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_list()
1010 snprintf(cn->error_str, sizeof(cn->error_str), in nvmft_list()
[all …]
/freebsd/contrib/netbsd-tests/rump/rumpvfs/
H A Dt_p2kifs.c57 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/contrib/unbound/iterator/
H A Diter_scrub.c259 if(!cn) in synth_cname_rrset()
261 memset(cn, 0, sizeof(*cn)); in synth_cname_rrset()
264 if(!cn->rr_first) in synth_cname_rrset()
266 cn->rr_last = cn->rr_first; in synth_cname_rrset()
269 if(!cn->dname) in synth_cname_rrset()
272 cn->dname_len = *snamelen; in synth_cname_rrset()
276 cn->rr_count = 1; in synth_cname_rrset()
278 cn->hash=pkt_hash_rrset(pkt, cn->dname, cn->type, cn->rrset_class, 0); in synth_cname_rrset()
293 cn->rrset_all_next = nx; in synth_cname_rrset()
298 msg->rrset_last = cn; in synth_cname_rrset()
[all …]
/freebsd/contrib/sendmail/contrib/
H A Dsmcontrol.pl25 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/sys/fs/unionfs/
H A Dunion_subr.c669 cn->cn_namelen = pathlen; in unionfs_relookup()
670 cn->cn_pnbuf = path; in unionfs_relookup()
671 cn->cn_nameiop = nameiop; in unionfs_relookup()
675 cn->cn_nameptr = cn->cn_pnbuf; in unionfs_relookup()
683 cn->cn_flags |= NOCACHE; in unionfs_relookup()
714 struct componentname cn; in unionfs_relookup_for_create() local
748 struct componentname cn; in unionfs_relookup_for_delete() local
782 struct componentname cn; in unionfs_relookup_for_rename() local
1393 struct componentname cn; in unionfs_check_rmdir() local
1458 cn.cn_pnbuf = NULL; in unionfs_check_rmdir()
[all …]
/freebsd/lib/libsecureboot/
H A Dvets.c216 br_name_element cn; in x509_cn_get() local
230 cn.oid = cn_oid; in x509_cn_get()
231 cn.buf = buf; in x509_cn_get()
232 cn.len = len; in x509_cn_get()
233 cn.buf[0] = '\0'; in x509_cn_get()
246 if (cn.status <= 0) in x509_cn_get()
942 br_name_element cn; in verify_sig() local
963 cn.oid = cn_oid; in verify_sig()
964 cn.buf = cn_buf; in verify_sig()
1127 cn.oid = cn_oid; in ve_self_tests()
[all …]
/freebsd/contrib/bmake/
H A Dmake.c957 cn->name, cn->cohort_num); in MakeBuildChild()
960 if (GNode_IsReady(cn)) in MakeBuildChild()
964 if (IsWaitingForOrder(cn)) { in MakeBuildChild()
968 cn->made = DEFERRED; in MakeBuildChild()
973 cn->name, cn->cohort_num); in MakeBuildChild()
975 cn->made = REQUESTED; in MakeBuildChild()
977 ScheduleRandomly(cn); in MakeBuildChild()
979 Lst_Append(&toBeMade, cn); in MakeBuildChild()
995 return cn->type & OP_WAIT && cn->unmade > 0; in MakeBuildChild()
1324 GNode *cn; in add_wait_dependency() local
[all …]
/freebsd/usr.sbin/makefs/
H A Dcd9660.c935 cd9660node *cn; in cd9660_sorted_child_insert() local
952 if (cn_new == cn) in cd9660_sorted_child_insert()
960 cn->node->name); in cd9660_sorted_child_insert()
965 if (cn == NULL) in cd9660_sorted_child_insert()
1137 cd9660node *cn; in cd9660_copy_filenames() local
1149 memcpy(cn->o_name, cn->isoDirRecord->name, in cd9660_copy_filenames()
1157 cd9660node *cn; in cd9660_sorting_nodes() local
1168 cd9660node *cn, *next; in cd9660_sort_nodes() local
1181 } while (cn != NULL); in cd9660_sort_nodes()
1285 cd9660node *cn; in cd9660_add_dot_records() local
[all …]
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c181 uint8_t cn_1[16], cn[16]; in aes_encrypt() member
214 m_copyback(inout, off, blocklen, last2.cn); in aes_encrypt()
238 last2.cn[i] = 0; in aes_encrypt()
239 aes_encrypt_1(ks, CRYPTO_BUF_CONTIG, last2.cn, 0, blocklen, in aes_encrypt()
241 m_copyback(inout, off, blocklen, last2.cn); in aes_encrypt()
252 uint8_t cn_1[16], cn[16]; in aes_decrypt() member
281 m_copyback(inout, off, blocklen, last2.cn); in aes_decrypt()
303 t = last2.cn[i]; in aes_decrypt()
304 last2.cn[i] ^= last2.cn_1[i]; in aes_decrypt()
/freebsd/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c77 ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0 in ATF_TC_BODY()
78 || strncmp(ptm.cn, "/dev/null", 9) == 0, in ATF_TC_BODY()
79 "bad master name: %s", ptm.cn); in ATF_TC_BODY()
85 if (strncmp(ptm.cn, "/dev/null", 9) != 0) { in ATF_TC_BODY()
87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1); in ATF_TC_BODY()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_cts.c137 aligned_16bytes mid_iv, ct_mid, cn, pt_last; in cts128_cs1_decrypt() local
158 memcpy(cn.c, in + residue, CTS_BLOCK_SIZE); in cts128_cs1_decrypt()
192 memcpy(ctx->iv, cn.c, CTS_BLOCK_SIZE); in cts128_cs1_decrypt()
239 aligned_16bytes mid_iv, ct_mid, cn, pt_last; in cts128_cs3_decrypt() local
264 memcpy(cn.c, in, CTS_BLOCK_SIZE); in cts128_cs3_decrypt()
298 memcpy(ctx->iv, cn.c, CTS_BLOCK_SIZE); in cts128_cs3_decrypt()
/freebsd/sys/dev/ciss/
H A Dciss.c3658 struct ciss_notify *cn; in ciss_notify_complete() local
3690 if (cn->message[0] != 0) in ciss_notify_complete()
3694 cn->class, cn->subclass, cn->detail); in ciss_notify_complete()
3702 (cn->detail == 1)) { in ciss_notify_complete()
3998 switch (cn->subclass) { in ciss_notify_logical()
4000 switch (cn->detail) { in ciss_notify_logical()
4050 if (cn->detail == 0) { in ciss_notify_logical()
4061 if (cn->detail == 0) in ciss_notify_logical()
4086 switch (cn->subclass) { in ciss_notify_hotplug()
4093 if (cn->detail == 0) { in ciss_notify_hotplug()
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-x86.pl74 my ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+1)&3),($ai,$bi,$ci,$di)); # next
93 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+$j++)&3),($an,$bn,$cn,$dn));
99 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_-$j++)&3),($an,$bn,$cn,$dn));
108 &mov ($c_,&DWP(4*$cn,"esp")) if ($ai>0 && $ai<3);
382 my ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+1)&3),($ai,$bi,$ci,$di)); # next
401 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+$j++)&3),($an,$bn,$cn,$dn));
407 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_-$j++)&3),($an,$bn,$cn,$dn));
416 &movdqa($xc_,&QWP(16*$cn-128,"ebx")) if ($ai>0 && $ai<3);
815 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+$j++)&3),($an,$bn,$cn,$dn));
821 ($an,$bn,$cn,$dn)=map(($_&~3)+(($_-$j++)&3),($an,$bn,$cn,$dn));
[all …]

12345