Searched refs:cn (Results 1 - 25 of 60) sorted by relevance

123

/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_changelist.c100 prop_changenode_t *cn; local
107 for (cn = uu_list_first(clp->cl_list); cn != NULL;
108 cn = uu_list_next(clp->cl_list, cn)) {
112 cn->cn_needpost = B_FALSE;
120 if (getzoneid() == GLOBAL_ZONEID && cn->cn_zoned)
123 if (!ZFS_IS_VOLUME(cn->cn_handle)) {
131 if (zfs_unmount(cn->cn_handle, NULL,
134 cn
165 prop_changenode_t *cn; local
331 prop_changenode_t *cn; local
362 prop_changenode_t *cn; local
395 prop_changenode_t *cn; local
415 prop_changenode_t *cn; local
439 prop_changenode_t *cn; local
575 prop_changenode_t *cn; local
[all...]
H A Dlibzfs_config.c82 config_node_t *cn; local
85 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl,
87 nvlist_free(cn->cn_config);
88 free(cn->cn_name);
89 free(cn);
109 config_node_t *cn; local
175 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, &cookie)) != NULL) {
176 nvlist_free(cn->cn_config);
177 free(cn->cn_name);
178 free(cn);
403 config_node_t *cn; local
448 config_node_t *cn; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_cons.c111 struct consdev *best_cn, *cn, **list; local
129 cn = *list;
130 cnremove(cn);
132 if (cn->cn_ops == NULL)
134 cn->cn_ops->cn_probe(cn);
135 if (cn->cn_pri == CN_DEAD)
137 if (best_cn == NULL || cn->cn_pri > best_cn->cn_pri)
138 best_cn = cn;
143 cn
176 cnadd(struct consdev *cn) argument
207 cnremove(struct consdev *cn) argument
240 cnselect(struct consdev *cn) argument
257 cnavailable(struct consdev *cn, int available) argument
363 struct consdev *cn; local
376 struct consdev *cn; local
389 struct consdev *cn; local
419 struct consdev *cn; local
486 struct consdev *cn; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpvfs/
H A Dt_p2kifs.c57 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-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_fat.c80 usemap_alloc(struct msdosfsmount *pmp, u_long cn);
82 usemap_free(struct msdosfsmount *pmp, u_long cn);
130 u_long cn; local
144 cn = dep->de_StartCluster;
151 if (cn == MSDOSFSROOT) {
185 fc_lookup(dep, findcn, &i, &cn);
194 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD)
196 byteoffset = FATOFS(pmp, cn);
208 prevcn = cn;
215 cn
261 u_long cn; local
381 usemap_alloc(struct msdosfsmount *pmp, u_long cn) argument
401 usemap_free(struct msdosfsmount *pmp, u_long cn) argument
461 fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, u_long newcontents) argument
758 u_long len, newst, foundl, cn, l; local
895 u_long bn, bo, bsize, byteoffset, cn, readcn; local
980 u_long cn, got; local
[all...]
H A Dmsdosfsmount.h127 /* Byte offset in FAT on filesystem pmp, cluster cn */
128 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv)
166 #define de_cn2bn(pmp, cn) \
167 ((cn) << ((pmp)->pm_cnshift - (pmp)->pm_bnshift))
190 #define de_cn2off(pmp, cn) \
191 ((cn) << (pmp)->pm_cnshift)
201 #define cntobn(pmp, cn) \
202 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dfat.h79 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS)
96 int clusterfree(struct msdosfsmount *pmp, u_long cn, u_long *oldcnp);
H A Dmsdosfs_lookup.c729 u_long cn; local
740 for (cn = 0;; cn++) {
741 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) {
1010 u_long cn; local
1030 for (cn = error = 0; !error; cn++) {
1031 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) {
1075 u_long cn; local
1084 for (cn
[all...]
/freebsd-11-stable/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-11-stable/sys/fs/unionfs/
H A Dunion_subr.c516 struct componentname *cnp, struct componentname *cn,
521 cn->cn_namelen = pathlen;
522 cn->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK);
523 bcopy(path, cn->cn_pnbuf, pathlen);
524 cn->cn_pnbuf[pathlen] = '\0';
526 cn->cn_nameiop = nameiop;
527 cn->cn_flags = (LOCKPARENT | LOCKLEAF | HASBUF | SAVENAME | ISLASTCN);
528 cn->cn_lkflags = LK_EXCLUSIVE;
529 cn->cn_thread = td;
530 cn
515 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
570 struct componentname cn; local
614 struct componentname cn; local
658 struct componentname cn; local
751 struct componentname cn; local
838 struct componentname cn; local
895 struct componentname cn; local
1112 struct componentname cn; local
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dsafe-ctype.c128 #define cn _sch_iscntrl macro
149 #define C (const unsigned short) ( cn) /* control character */
150 #define Z (const unsigned short) (nv |cn) /* NUL */
151 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
153 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dsafe-ctype.c128 #define cn _sch_iscntrl macro
149 #define C (const unsigned short) ( cn) /* control character */
150 #define Z (const unsigned short) (nv |cn) /* NUL */
151 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
153 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/freebsd-11-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_archimedes.c117 cd9660node *cn; local
124 TAILQ_FOREACH(cn, &node->cn_children, cn_next_child)
125 archimedes_convert_tree(cn);
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Devp_test.c137 const unsigned char *ciphertext, int cn,
153 hexdump(stdout, "Ciphertext", ciphertext, cn);
243 if (outl + outl2 != cn) {
245 outl + outl2, cn);
249 if (memcmp(out, ciphertext, cn)) {
251 hexdump(stderr, "Got", out, cn);
252 hexdump(stderr, "Expected", ciphertext, cn);
348 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) {
382 const unsigned char *ciphertext, int cn,
392 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aa
134 test1(const EVP_CIPHER *c, const unsigned char *key, int kn, const unsigned char *iv, int in, const unsigned char *plaintext, int pn, const unsigned char *ciphertext, int cn, const unsigned char *aad, int an, const unsigned char *tag, int tn, int encdec) argument
379 test_cipher(const char *cipher, const unsigned char *key, int kn, const unsigned char *iv, int in, const unsigned char *plaintext, int pn, const unsigned char *ciphertext, int cn, const unsigned char *aad, int an, const unsigned char *tag, int tn, int encdec) argument
398 test_digest(const char *digest, const unsigned char *plaintext, int pn, const unsigned char *ciphertext, unsigned int cn) argument
505 int kn, in, pn, cn; local
[all...]
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_scrub.c257 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-11-stable/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c77 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-11-stable/contrib/bmake/
H A Dmake.c1024 GNode *cn = v_cn;
1028 cn->name, cn->cohort_num, cn->made, cn->type);
1029 if (cn->made > DEFERRED)
1033 if (cn->order_pred && Lst_ForEach(cn->order_pred, MakeCheckOrder, 0)) {
1035 cn->made = DEFERRED;
1041 cn
1017 GNode *cn = v_cn; local
1369 GNode *cn = cnp; local
1381 GNode *cn = v_cn; local
[all...]
/freebsd-11-stable/sys/kgssapi/krb5/
H A Dkcrypto_aes.c184 uint8_t cn_1[16], cn[16]; member in struct:__anon12134
217 m_copyback(inout, off, blocklen, last2.cn);
234 * result. The cyphertext for cn_1 is in cn. The
235 * cyphertext for cn is the first plen bytes of what
241 last2.cn[i] = 0;
242 aes_encrypt_1(ks, 0, last2.cn, 0, blocklen, last2.cn_1,
244 m_copyback(inout, off, blocklen, last2.cn);
255 uint8_t cn_1[16], cn[16]; member in struct:__anon12135
283 m_copyback(inout, off, blocklen, last2.cn);
304 t = last2.cn[
[all...]
/freebsd-11-stable/sys/dev/syscons/fonts/
H A Dcursor.awk11 /^COMMENT cn.*mouse/ {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_replay.c433 struct componentname cn; local
483 cn.cn_cred = kcred;
484 cn.cn_thread = curthread;
485 cn.cn_flags = SAVENAME;
504 cn.cn_nameptr = name;
505 error = VOP_CREATE(ZTOV(dzp), &vp, &cn, &xva.xva_vattr /*,vflg*/);
522 cn.cn_nameptr = name;
523 error = VOP_MKDIR(ZTOV(dzp), &vp, &cn, &xva.xva_vattr /*,vflg*/);
531 cn.cn_nameptr = name;
532 error = VOP_SYMLINK(ZTOV(dzp), &vp, &cn,
558 struct componentname cn; local
611 struct componentname cn; local
[all...]
/freebsd-11-stable/usr.sbin/makefs/
H A Dcd9660.c969 cd9660node *cn; local
981 TAILQ_FOREACH(cn, head, cn_next_child) {
986 if (cn_new == cn)
990 cn->isoDirRecord->name);
994 cn->node->name);
999 if (cn == NULL)
1002 TAILQ_INSERT_BEFORE(cn, cn_new, cn_next_child);
1171 cd9660node *cn; local
1181 TAILQ_FOREACH(cn, &node->cn_children, cn_next_child) {
1182 cd9660_copy_filenames(diskStructure, cn);
1191 cd9660node *cn; local
1202 cd9660node *cn, *next; local
1319 cd9660node *cn; local
1494 cd9660node *cn; local
1530 cd9660node *cn, *dirNode = diskStructure->rootNode; local
[all...]
/freebsd-11-stable/lib/libutil/
H A Dlogin_times.c37 u_char cn; member in struct:__anon6942
83 while (dws[i].dw && strncmp(p, dws[i].dw, dws[i].cn) != 0)
88 p += dws[i].cn;
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_cpfile.c62 nandfs_checkpoint_blk_offset(struct nandfs_device *fsdev, uint64_t cn, argument
68 KASSERT((cn), ("checkpoing cannot be zero"));
73 off += (cn - 1);
82 nandfs_checkpoint_blk_remaining(struct nandfs_device *fsdev, uint64_t cn, argument
95 uint64_t cn)
101 if (cn != fsdev->nd_last_cno && cn != (fsdev->nd_last_cno + 1)) {
116 nandfs_checkpoint_blk_offset(fsdev, cn, &blk, &offset);
132 DPRINTF(CPFILE, ("%s: cn:%#jx entry block:%#jx offset:%#jx\n",
133 __func__, (uintmax_t)cn, (uintmax_
94 nandfs_get_checkpoint(struct nandfs_device *fsdev, struct nandfs_node *cp_node, uint64_t cn) argument
139 nandfs_set_checkpoint(struct nandfs_device *fsdev, struct nandfs_node *cp_node, uint64_t cn, struct nandfs_inode *ifile_inode, uint64_t nblocks) argument
[all...]
/freebsd-11-stable/sys/dev/ciss/
H A Dciss.c197 static void ciss_notify_hotplug(struct ciss_softc *sc, struct ciss_notify *cn);
198 static void ciss_notify_logical(struct ciss_softc *sc, struct ciss_notify *cn);
199 static void ciss_notify_physical(struct ciss_softc *sc, struct ciss_notify *cn);
3695 struct ciss_notify *cn; local
3702 cn = (struct ciss_notify *)cr->cr_data;
3728 if (cn->message[0] != 0)
3729 ciss_printf(sc, "*** %.80s\n", cn->message);
3732 cn->class, cn->subclass, cn
4025 ciss_notify_logical(struct ciss_softc *sc, struct ciss_notify *cn) argument
4111 ciss_notify_physical(struct ciss_softc *sc, struct ciss_notify *cn) argument
4119 ciss_notify_hotplug(struct ciss_softc *sc, struct ciss_notify *cn) argument
4170 struct ciss_notify *cn; local
[all...]
/freebsd-11-stable/contrib/ncurses/progs/
H A Dtoe.c428 char *cn; local
451 cn = _nc_first_name(lterm.term_names);
452 if (!strcmp(cn, name_2)) {
454 hook(i, eargc, cn, &lterm);
484 char *cn; local
489 cn = _nc_first_name(lterm.term_names);
491 hook(i, eargc, cn, &lterm);

Completed in 150 milliseconds

123