| /NextBSD/cddl/contrib/opensolaris/lib/libzfs/common/ |
| HD | libzfs_changelist.c | 99 prop_changenode_t *cn; in changelist_prefix() local 106 for (cn = uu_list_first(clp->cl_list); cn != NULL; in changelist_prefix() 107 cn = uu_list_next(clp->cl_list, cn)) { in changelist_prefix() 111 cn->cn_needpost = B_FALSE; in changelist_prefix() 119 if (getzoneid() == GLOBAL_ZONEID && cn->cn_zoned) in changelist_prefix() 122 if (!ZFS_IS_VOLUME(cn->cn_handle)) { in changelist_prefix() 130 if (zfs_unmount(cn->cn_handle, NULL, in changelist_prefix() 133 cn->cn_needpost = B_FALSE; in changelist_prefix() 137 (void) zfs_unshare_smb(cn->cn_handle, NULL); in changelist_prefix() 161 prop_changenode_t *cn; in changelist_postfix() local [all …]
|
| HD | 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 173 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, &cookie)) != NULL) { in namespace_reload() 174 nvlist_free(cn->cn_config); in namespace_reload() 175 free(cn->cn_name); in namespace_reload() 176 free(cn); in namespace_reload() [all …]
|
| /NextBSD/sys/kern/ |
| HD | kern_cons.c | 111 struct consdev *best_cn, *cn, **list; in cninit() local 129 cn = *list; in cninit() 130 cnremove(cn); in cninit() 132 if (cn->cn_ops == NULL) in cninit() 134 cn->cn_ops->cn_probe(cn); in cninit() 135 if (cn->cn_pri == CN_DEAD) in cninit() 137 if (best_cn == NULL || cn->cn_pri > best_cn->cn_pri) in cninit() 138 best_cn = cn; in cninit() 143 cn->cn_ops->cn_init(cn); in cninit() 144 cnadd(cn); in cninit() [all …]
|
| /NextBSD/sys/fs/msdosfs/ |
| HD | msdosfs_fat.c | 77 usemap_alloc(struct msdosfsmount *pmp, u_long cn); 79 usemap_free(struct msdosfsmount *pmp, u_long cn); 127 u_long cn; in pcbmap() local 141 cn = dep->de_StartCluster; in pcbmap() 148 if (cn == MSDOSFSROOT) { in pcbmap() 182 fc_lookup(dep, findcn, &i, &cn); in pcbmap() 191 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in pcbmap() 193 byteoffset = FATOFS(pmp, cn); in pcbmap() 205 prevcn = cn; in pcbmap() 212 cn = getulong(&bp->b_data[bo]); in pcbmap() [all …]
|
| HD | msdosfsmount.h | 128 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv) argument 166 #define de_cn2bn(pmp, cn) \ argument 167 ((cn) << ((pmp)->pm_cnshift - (pmp)->pm_bnshift)) 190 #define de_cn2off(pmp, cn) \ argument 191 ((cn) << (pmp)->pm_cnshift) 201 #define cntobn(pmp, cn) \ argument 202 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
|
| HD | fat.h | 79 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS) argument 96 int clusterfree(struct msdosfsmount *pmp, u_long cn, u_long *oldcnp);
|
| HD | msdosfs_lookup.c | 729 u_long cn; in dosdirempty() local 740 for (cn = 0;; cn++) { in dosdirempty() 741 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) { in dosdirempty() 1010 u_long cn; in uniqdosname() local 1030 for (cn = error = 0; !error; cn++) { in uniqdosname() 1031 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) { in uniqdosname() 1075 u_long cn; in findwin95() local 1084 for (cn = 0;; cn++) { in findwin95() 1085 if (pcbmap(dep, cn, &bn, 0, &blsize)) in findwin95()
|
| /NextBSD/sys/fs/unionfs/ |
| HD | union_subr.c | 516 struct componentname *cnp, struct componentname *cn, in unionfs_relookup() argument 521 cn->cn_namelen = pathlen; in unionfs_relookup() 522 cn->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in unionfs_relookup() 523 bcopy(path, cn->cn_pnbuf, pathlen); in unionfs_relookup() 524 cn->cn_pnbuf[pathlen] = '\0'; in unionfs_relookup() 526 cn->cn_nameiop = nameiop; in unionfs_relookup() 527 cn->cn_flags = (LOCKPARENT | LOCKLEAF | HASBUF | SAVENAME | ISLASTCN); in unionfs_relookup() 528 cn->cn_lkflags = LK_EXCLUSIVE; in unionfs_relookup() 529 cn->cn_thread = td; in unionfs_relookup() 530 cn->cn_cred = cnp->cn_cred; in unionfs_relookup() [all …]
|
| /NextBSD/contrib/unbound/iterator/ |
| HD | iter_scrub.c | 239 struct rrset_parse* cn = (struct rrset_parse*)regional_alloc(region, in synth_cname_rrset() local 241 if(!cn) in synth_cname_rrset() 243 memset(cn, 0, sizeof(*cn)); in synth_cname_rrset() 244 cn->rr_first = (struct rr_parse*)regional_alloc(region, in synth_cname_rrset() 246 if(!cn->rr_first) in synth_cname_rrset() 248 cn->rr_last = cn->rr_first; in synth_cname_rrset() 250 cn->dname = (uint8_t*)regional_alloc(region, *snamelen); in synth_cname_rrset() 251 if(!cn->dname) in synth_cname_rrset() 253 dname_pkt_copy(pkt, cn->dname, *sname); in synth_cname_rrset() 254 cn->dname_len = *snamelen; in synth_cname_rrset() [all …]
|
| /NextBSD/contrib/netbsd-tests/rump/rumpvfs/ |
| HD | t_p2kifs.c | 56 struct componentname *cn; in ATF_TC_BODY() local 73 cn = rump_pub_makecn(RUMP_NAMEI_LOOKUP, 0, pathstr, strlen(pathstr), in ATF_TC_BODY() 75 RZ(RUMP_VOP_LOOKUP(rumpns_rootvnode, &vp, cn)); in ATF_TC_BODY() 76 rump_pub_freecn(cn, RUMPCN_FREECRED); in ATF_TC_BODY() 79 cn = rump_pub_makecn(RUMP_NAMEI_LOOKUP, 0, pathstr, strlen(pathstr), in ATF_TC_BODY() 82 RZ(RUMP_VOP_LOOKUP(rumpns_rootvnode, &vp, cn)); in ATF_TC_BODY() 83 rump_pub_freecn(cn, RUMPCN_FREECRED); in ATF_TC_BODY()
|
| /NextBSD/crypto/openssl/crypto/evp/ |
| HD | evp_test.c | 135 const unsigned char *ciphertext, int cn, in test1() argument 151 hexdump(stdout, "Ciphertext", ciphertext, cn); in test1() 241 if (outl + outl2 != cn) { in test1() 243 outl + outl2, cn); in test1() 247 if (memcmp(out, ciphertext, cn)) { in test1() 249 hexdump(stderr, "Got", out, cn); in test1() 250 hexdump(stderr, "Expected", ciphertext, cn); in test1() 346 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) { in test1() 380 const unsigned char *ciphertext, int cn, in test_cipher() argument 390 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an, tag, tn, in test_cipher() [all …]
|
| /NextBSD/contrib/bmake/ |
| HD | make.c | 1023 GNode *cn = v_cn; in MakeBuildChild() local 1027 cn->name, cn->cohort_num, cn->made, cn->type); in MakeBuildChild() 1028 if (cn->made > DEFERRED) in MakeBuildChild() 1032 if (cn->order_pred && Lst_ForEach(cn->order_pred, MakeCheckOrder, 0)) { in MakeBuildChild() 1034 cn->made = DEFERRED; in MakeBuildChild() 1040 cn->name, cn->cohort_num); in MakeBuildChild() 1042 cn->made = REQUESTED; in MakeBuildChild() 1044 Lst_AtEnd(toBeMade, cn); in MakeBuildChild() 1046 Lst_InsertBefore(toBeMade, toBeMade_next, cn); in MakeBuildChild() 1048 if (cn->unmade_cohorts != 0) in MakeBuildChild() [all …]
|
| /NextBSD/contrib/binutils/libiberty/ |
| HD | safe-ctype.c | 128 #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 */
|
| /NextBSD/contrib/gcclibs/libiberty/ |
| HD | safe-ctype.c | 128 #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 */
|
| /NextBSD/usr.sbin/makefs/ |
| HD | cd9660.c | 963 cd9660node *cn; in cd9660_sorted_child_insert() local 975 TAILQ_FOREACH(cn, head, cn_next_child) { in cd9660_sorted_child_insert() 980 if (cn_new == cn) in cd9660_sorted_child_insert() 984 cn->isoDirRecord->name); in cd9660_sorted_child_insert() 988 cn->node->name); in cd9660_sorted_child_insert() 993 if (cn == NULL) in cd9660_sorted_child_insert() 996 TAILQ_INSERT_BEFORE(cn, cn_new, cn_next_child); in cd9660_sorted_child_insert() 1162 cd9660node *cn; in cd9660_copy_filenames() local 1172 TAILQ_FOREACH(cn, &node->cn_children, cn_next_child) { in cd9660_copy_filenames() 1173 cd9660_copy_filenames(cn); in cd9660_copy_filenames() [all …]
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | zfs_replay.c | 430 struct componentname cn; in zfs_replay_create() local 480 cn.cn_cred = kcred; in zfs_replay_create() 481 cn.cn_thread = curthread; in zfs_replay_create() 482 cn.cn_flags = SAVENAME; in zfs_replay_create() 501 cn.cn_nameptr = name; in zfs_replay_create() 502 error = VOP_CREATE(ZTOV(dzp), &vp, &cn, &xva.xva_vattr /*,vflg*/); in zfs_replay_create() 519 cn.cn_nameptr = name; in zfs_replay_create() 520 error = VOP_MKDIR(ZTOV(dzp), &vp, &cn, &xva.xva_vattr /*,vflg*/); in zfs_replay_create() 528 cn.cn_nameptr = name; in zfs_replay_create() 529 error = VOP_SYMLINK(ZTOV(dzp), &vp, &cn, &xva.xva_vattr, link /*,vflg*/); in zfs_replay_create() [all …]
|
| /NextBSD/sys/kgssapi/krb5/ |
| HD | kcrypto_aes.c | 178 uint8_t cn_1[16], cn[16]; in aes_encrypt() member 211 m_copyback(inout, off, blocklen, last2.cn); in aes_encrypt() 235 last2.cn[i] = 0; in aes_encrypt() 236 aes_encrypt_1(ks, 0, last2.cn, 0, blocklen, last2.cn_1, in aes_encrypt() 238 m_copyback(inout, off, blocklen, last2.cn); in aes_encrypt() 249 uint8_t cn_1[16], cn[16]; in aes_decrypt() member 277 m_copyback(inout, off, blocklen, last2.cn); in aes_decrypt() 298 t = last2.cn[i]; in aes_decrypt() 299 last2.cn[i] ^= last2.cn_1[i]; in aes_decrypt()
|
| /NextBSD/sys/fs/nandfs/ |
| HD | nandfs_cpfile.c | 62 nandfs_checkpoint_blk_offset(struct nandfs_device *fsdev, uint64_t cn, in nandfs_checkpoint_blk_offset() argument 68 KASSERT((cn), ("checkpoing cannot be zero")); in nandfs_checkpoint_blk_offset() 73 off += (cn - 1); in nandfs_checkpoint_blk_offset() 82 nandfs_checkpoint_blk_remaining(struct nandfs_device *fsdev, uint64_t cn, in nandfs_checkpoint_blk_remaining() argument 95 uint64_t cn) in nandfs_get_checkpoint() argument 101 if (cn != fsdev->nd_last_cno && cn != (fsdev->nd_last_cno + 1)) { in nandfs_get_checkpoint() 116 nandfs_checkpoint_blk_offset(fsdev, cn, &blk, &offset); in nandfs_get_checkpoint() 133 __func__, (uintmax_t)cn, (uintmax_t)blk, (uintmax_t)offset)); in nandfs_get_checkpoint() 140 uint64_t cn, struct nandfs_inode *ifile_inode, uint64_t nblocks) in nandfs_set_checkpoint() argument 148 if (cn != fsdev->nd_last_cno && cn != (fsdev->nd_last_cno + 1)) { in nandfs_set_checkpoint() [all …]
|
| /NextBSD/contrib/netbsd-tests/lib/libc/ttyio/ |
| HD | t_ptm.c | 77 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()
|
| /NextBSD/usr.sbin/makefs/cd9660/ |
| HD | cd9660_archimedes.c | 117 cd9660node *cn; in archimedes_convert_tree() local 124 TAILQ_FOREACH(cn, &node->cn_children, cn_next_child) in archimedes_convert_tree() 125 archimedes_convert_tree(cn); in archimedes_convert_tree()
|
| /NextBSD/sys/dev/ciss/ |
| HD | ciss.c | 193 static void ciss_notify_hotplug(struct ciss_softc *sc, struct ciss_notify *cn); 194 static void ciss_notify_logical(struct ciss_softc *sc, struct ciss_notify *cn); 195 static void ciss_notify_physical(struct ciss_softc *sc, struct ciss_notify *cn); 3687 struct ciss_notify *cn; in ciss_notify_complete() local 3694 cn = (struct ciss_notify *)cr->cr_data; in ciss_notify_complete() 3720 if (cn->message[0] != 0) in ciss_notify_complete() 3721 ciss_printf(sc, "*** %.80s\n", cn->message); in ciss_notify_complete() 3724 cn->class, cn->subclass, cn->detail); in ciss_notify_complete() 3730 if ((cn->class == CISS_NOTIFY_NOTIFIER) && in ciss_notify_complete() 3731 (cn->subclass == CISS_NOTIFY_NOTIFIER_STATUS) && in ciss_notify_complete() [all …]
|
| /NextBSD/contrib/gcc/config/rs6000/ |
| HD | t-ppccomm | 39 ecrtn.S: $(srcdir)/config/rs6000/eabi-cn.asm 40 cat $(srcdir)/config/rs6000/eabi-cn.asm >ecrtn.S 45 ncrtn.S: $(srcdir)/config/rs6000/sol-cn.asm 46 cat $(srcdir)/config/rs6000/sol-cn.asm >ncrtn.S
|
| /NextBSD/lib/libutil/ |
| HD | login_times.c | 37 u_char cn; member 83 while (dws[i].dw && strncmp(p, dws[i].dw, dws[i].cn) != 0) in parse_lt() 88 p += dws[i].cn; in parse_lt()
|
| /NextBSD/contrib/ncurses/progs/ |
| HD | toe.c | 428 char *cn; in typelist() local 451 cn = _nc_first_name(lterm.term_names); in typelist() 452 if (!strcmp(cn, name_2)) { in typelist() 454 hook(i, eargc, cn, <erm); in typelist() 484 char *cn; in typelist() local 489 cn = _nc_first_name(lterm.term_names); in typelist() 491 hook(i, eargc, cn, <erm); in typelist()
|
| /NextBSD/contrib/amd/ |
| HD | ldap.schema | 47 MUST ( cn $ amdmapName $ amdmapTimestamp ) ) 52 MUST ( cn $ amdmapName $ amdmapKey $ amdmapValue ) )
|