/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 98 prop_changenode_t *cn; local 105 for (cn = uu_list_first(clp->cl_list); cn != NULL; 106 cn = uu_list_next(clp->cl_list, cn)) { 110 cn->cn_needpost = B_FALSE; 118 if (getzoneid() == GLOBAL_ZONEID && cn->cn_zoned) 121 if (!ZFS_IS_VOLUME(cn->cn_handle)) { 127 if (zfs_unmount(cn->cn_handle, NULL, 130 cn 161 prop_changenode_t *cn; local 292 prop_changenode_t *cn; local 323 prop_changenode_t *cn; local 356 prop_changenode_t *cn; local 376 prop_changenode_t *cn; local 400 prop_changenode_t *cn; local 537 prop_changenode_t *cn; local [all...] |
H A D | libzfs_config.c | 82 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...] |
/illumos-gate/usr/src/stand/lib/sa/sparc/ |
H A D | prom_misc.c | 47 static pnode_t cn = OBP_NONODE; local 49 if (cn == OBP_NONODE) { 50 cn = prom_finddevice("/chosen"); 51 if (cn == OBP_BADNODE) 62 prom_interpret(command, (uint_t)cn, prop_datalen,
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_alloc.c | 44 static pc_cluster32_t pc_getcluster(struct pcfs *fsp, pc_cluster32_t cn); 61 pc_cluster32_t cn, ncn; /* current, next cluster number */ local 112 cn = ncn; 113 if (!pc_validcl(fsp, cn)) { 114 if (IS_FAT32(fsp) && cn >= PCF_LASTCLUSTER32 && 119 cn >= PCF_LASTCLUSTER && 125 "pc_bmap: badfs cn=%d\n", cn); 130 ncn = pc_getcluster(fsp, cn); 139 pcp->pc_lcluster = cn; 169 pc_cluster32_t cn; /* current cluster number */ local 257 pc_cluster32_t cn; local 332 pc_cluster32_t cn; local 365 pc_getcluster(struct pcfs *fsp, pc_cluster32_t cn) argument 406 pc_setcluster(struct pcfs *fsp, pc_cluster32_t cn, pc_cluster32_t ncn) argument 457 pc_cluster32_t cn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 62 di_node_t cn, int instance, di_path_t pi) 94 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_TARGET_PORT, 96 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_ATTACHED_PORT, 98 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_TARGET_PORT_PM, 100 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_ATTACHED_PORT_PM, 102 if (di_prop_lookup_int64(DDI_DEV_T_ANY, cn, 108 pci_di_prop_set(child, cn, DEVID_PROP_NAME, TOPO_STORAGE_DEVID); 109 pci_di_prop_set(child, cn, INQUIRY_VENDOR_ID, 111 pci_di_prop_set(child, cn, INQUIRY_PRODUCT_ID, TOPO_STORAGE_MODEL); 112 pci_di_prop_set(child, cn, INQUIRY_REVISION_I 61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance, di_path_t pi) argument 121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument 155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument 184 di_node_t cn, smp, sd; local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
H A D | hash_crc32.c | 37 unsigned long c, cn; local 45 mit_crc32(input[i].data, input[i].length, &cn); 46 c ^= cn;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_decrypt.c | 49 unsigned char *cn; local 84 cn = MALLOC(blocksize); 85 if (cn == NULL) { 89 (void) memcpy(cn, input->data + input->length - blocksize, blocksize); 91 cn = NULL; 131 if (cn != NULL) 132 (void) memcpy(ivec->data, cn, blocksize); 142 if (cn != NULL) 143 FREE(cn, blocksize);
|
/illumos-gate/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 182 enable_device(sm_mux_state_t *ms, sm_console_t *cn) argument 186 if (!cn->sm_obp_con) 190 getmajor(cn->sm_dev), getminor(cn->sm_dev))); 192 if (cn->sm_i_ihdl != 0) 194 (caddr32_t)cn->sm_i_ihdl, 0, 0, 0); 196 if (cn->sm_o_ihdl != 0 && cn->sm_o_ihdl != cn->sm_i_ihdl) 198 (caddr32_t)cn 205 disable_device(sm_mux_state_t *ms, sm_console_t *cn) argument 224 device_init_impl(sm_mux_state_t *ms, sm_console_t *cn, sm_lqi_t *plqi) argument 268 device_fini_impl(sm_mux_state_t *ms, sm_console_t *cn, sm_lqi_t *plqi) argument 495 sm_console_t *cn; local 610 sm_console_t *cn; local 643 sm_console_t *cn; local 678 sm_console_t *cn; local [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 220 sm_console_t *cn = &sp->sm_cons_links[j]; local 221 if (cn->sm_mode & FORINPUT) 223 if (cn->sm_mode & FOROUTPUT) 225 if (cn->sm_mode == FORIO) 401 sm_console_t *cn; local 404 for (cn = ms->sm_cons_links, j = 0; 405 j < ms->sm_cons_cnt; cn++, j++) { 406 if (cn->sm_path && strcmp(cn->sm_path, path) == 0) 411 cn 428 sm_console_t *cn; local 472 sm_console_t *cn; local 600 link_aconsole(vnode_t *mux_avp, sm_console_t *cn) argument 678 enable_aconsole(sm_mux_state_t *ms, sm_console_t *cn, vnode_t *muxvp) argument 702 sm_console_t *cn; local 898 sm_console_t *cn = &ms->sm_cons_links[i]; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 207 xmlNodePtr cn; local 247 for (cn = xn->xmlChildrenNode; cn != NULL; cn = cn->next) 248 if ((xmlStrcmp(cn->name, (xmlChar *)Propitem) == 0) || 249 (xmlStrcmp(cn->name, (xmlChar *)Argitem) == 0)) 262 for (cn = xn->xmlChildrenNode; cn != NULL; cn 505 xmlNodePtr cn; local 849 xmlNodePtr cn; local 1026 xmlNodePtr cn; local 1119 xmlNodePtr cn; local 1170 xmlNodePtr cn, gcn, psn, ecn, target; local 1363 xmlNodePtr cn; local 1404 xmlNodePtr cn; local 1718 xmlNodePtr cn, enum_node = NULL, pmap_node = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_txc.h | 56 #define NXGE_TXC_FZC_OFFSET(x, cn) (x + TXC_FZC_CHANNEL_OFFSET(cn)) 67 #define TXC_FZC_REG_READ64(handle, reg, cn, val_p) \ 69 (NXGE_TXC_FZC_OFFSET(reg, cn)), val_p) 71 #define TXC_FZC_REG_WRITE64(handle, reg, cn, data) \ 73 (NXGE_TXC_FZC_OFFSET(reg, cn)), data)
|
H A D | npi_txdma.h | 38 #define DMA_LOG_PAGE_FN_VALIDATE(cn, pn, fn, status) \ 42 status = (NPI_FAILURE | NPI_TXDMA_CHANNEL_INVALID(cn)); \ 50 #define DMA_LOG_PAGE_VALIDATE(cn, pn, status) \ 54 status = (NPI_FAILURE | NPI_TXDMA_CHANNEL_INVALID(cn)); \
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 79 char *cn = NULL; /* char spcl pathname */ local 85 if ((cn = (char *)volmgt_getfullrawname(path)) == NULL) { 94 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { 111 if (cn != NULL) { 112 free(cn); 271 char *cn; /* char pathname */ local 294 if ((cn = volmgt_getfullrawname(mp->mnt_special)) == NULL) { 297 if (cn[0] == NULLC) { 298 free(cn); 303 if ((fd = open(cn, O_RDONL 414 char *cn = NULL; /* char spcl pathname */ local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | dk_encrypt.c | 68 unsigned char *plaintext = NULL, *cn; local 126 cn = (unsigned char *) d2.data + d2.length - blocksize; 128 cn = NULL; 151 if (cn != NULL) 152 (void) memcpy(ivec->data, cn, blocksize); 232 unsigned char *plaintext, *cn; local 289 cn = (uchar_t *) d2.data + blocksize * (nblocks - 2); 291 cn = NULL; 308 if (cn != NULL) { 309 (void) memcpy(ivec->data, cn, blocksiz [all...] |
H A D | dk_decrypt.c | 86 unsigned char *plaindata = NULL, *cksum = NULL, *cn; local 140 cn = (unsigned char *) d1.data + d1.length - blocksize; 142 cn = NULL; 187 if (cn != NULL && 190 (void) memcpy(ivec->data, cn, blocksize);
|
/illumos-gate/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/ |
H A D | mapper_cn.c | 93 uchar_t *cn = NULL; local 117 if ((cn = malloc(data->Length + 1)) == NULL) { 121 (void) memcpy(cn, data->Data, data->Length); 123 cn[data->Length] = '\0'; 125 name->Data = cn; 133 if (cn != NULL)
|
/illumos-gate/usr/src/uts/intel/cn/ |
H A D | Makefile | 23 # uts/intel/cn/Makefile 30 # This makefile drives the production of the cn driver 44 MODULE = cn
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_defs.h | 106 #define TXDMA_CHANNEL_VALID(cn) (cn < HXGE_MAX_TDCS)
|
/illumos-gate/usr/src/uts/sparc/cn/ |
H A D | Makefile | 23 # uts/sparc/cn/Makefile 29 # This makefile drives the production of the cn driver 43 MODULE = cn
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | idsconfig.sh | 169 look at cn=mapping tree,cn=config and cn=ldbm database,cn=plugins,cn=config 1035 LDAP_ROOTDN="cn=Directory Manager" # Provide common default. 1261 eval "${LDAPSEARCH} ${SERVER_ARGS} -b cn=monitor -s base \"objectclass=*\" version | ${GREP} \"^version=\" | cut -f2 -d'/' | cut -f1 -d' ' > ${TMPDIR}/checkDSver 2>&1" 1462 _C_DN="cn=GSSAPI,cn=identity mapping,cn [all...] |
H A D | ldapaddent.c | 754 gettext("Adding entry : cn=%s+ipHostNumber=%s\n"), 766 gettext("Entry: cn=%s+ipHostNumber=%s " 772 gettext("Entry: cn=%s+ipHostNumber=%s" 792 *cn = NULL, local 802 if (strcasecmp(attrptr->attrname, "cn") == 0) 803 cn = attrptr; 811 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL || 816 if ((name = __s_api_get_canonical_name(res->entry, cn, 1013 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *rpcnumber = NULL; local 1223 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *protocolnumber = NULL; local 1445 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *networknumber = NULL; local 1681 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *port = NULL; local [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.c | 1386 ns_conn_mt_t *cn; local 1426 for (cn = cmg->cm_head; cn; cn = cn->next) { 1427 (void) mutex_lock(&cn->lock); 1428 rc = match_conn_mt(cu, &cn, st, server, cred); 1429 if (rc == B_FALSE && cn != NULL) /* not found */ 1431 if (cn == NULL) { /* not found and cn free [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcib.c | 4169 rib_add_connlist(CONN *cn, rib_conn_list_t *connlist) argument 4173 cn->c_next = connlist->conn_hd; 4174 connlist->conn_hd->c_prev = cn; 4176 connlist->conn_hd = cn; 4183 rib_rm_conn(CONN *cn, rib_conn_list_t *connlist) argument 4186 if (cn->c_prev) { 4187 cn->c_prev->c_next = cn->c_next; 4189 if (cn->c_next) { 4190 cn 4222 CONN *cn; local 4337 CONN *cn; local [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_door.h | 69 #define NSCD_ALLOC_DOORBUF(cn, dsz, uptr, usz) \ 73 ((nss_pheader_t *)uptr)->nsc_callnumber = (cn); \
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 635 int cn; /* The latest character from node_key[] */ local 638 cn = *node_key++; 640 } while(cn && cn==tolower(cl)); 641 return cn - tolower(cl);
|