Home
last modified time | relevance | path

Searched refs:nid (Results 1 – 25 of 29) sorted by relevance

12

/titanic_44/usr/src/uts/common/os/
H A Dautoconf.c248 register int nid, snid, cnid; in get_neighbors() local
255 nid = ddi_get_nodeid(di); in get_neighbors()
260 cnid = (int)prom_childnode((pnode_t)nid); in get_neighbors()
263 snid = (int)prom_nextnode((pnode_t)nid); in get_neighbors()
266 snid = (int)prom_nextnode((pnode_t)nid); in get_neighbors()
267 cnid = (int)prom_childnode((pnode_t)nid); in get_neighbors()
331 i_ddi_create_branch(dev_info_t *pdip, int nid) in i_ddi_create_branch() argument
336 if (pdip == NULL || nid == OBP_NONODE || nid == OBP_BADNODE) in i_ddi_create_branch()
341 if (getlongprop_buf(nid, OBP_NAME, buf, OBP_MAXPROPNAME) > 0) { in i_ddi_create_branch()
342 if (check_status(nid, buf, pdip) == DDI_SUCCESS) in i_ddi_create_branch()
[all …]
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dssh-rsa.c53 int ok, nid; in ssh_rsa_sign() local
60 nid = (datafellows & SSH_BUG_RSASIGMD5) ? NID_md5 : NID_sha1; in ssh_rsa_sign()
61 if ((evp_md = EVP_get_digestbynid(nid)) == NULL) { in ssh_rsa_sign()
62 error("ssh_rsa_sign: EVP_get_digestbynid %d failed", nid); in ssh_rsa_sign()
72 ok = RSA_sign(nid, digest, dlen, sig, &len, key->rsa); in ssh_rsa_sign()
120 int rlen, ret, nid; in ssh_rsa_verify() local
164 nid = (datafellows & SSH_BUG_RSASIGMD5) ? NID_md5 : NID_sha1; in ssh_rsa_verify()
165 if ((evp_md = EVP_get_digestbynid(nid)) == NULL) { in ssh_rsa_verify()
166 error("ssh_rsa_verify: EVP_get_digestbynid %d failed", nid); in ssh_rsa_verify()
174 ret = openssh_RSA_verify(nid, digest, dlen, sigblob, len, key->rsa); in ssh_rsa_verify()
H A Dcipher-ctr.c127 evp_aes_ctr(const char *nid, int key_len, EVP_CIPHER *aes_ctr) in evp_aes_ctr() argument
136 if ((aes_ctr->nid = OBJ_ln2nid(nid)) != NID_undef) in evp_aes_ctr()
137 debug3("%s NID found", nid); in evp_aes_ctr()
H A Dcipher.c390 ssh1_3des.nid = NID_undef; in evp_ssh1_3des()
444 ssh1_bf.nid = NID_undef; in evp_ssh1_bf()
/titanic_44/usr/src/uts/common/syscall/
H A Dcladm.c68 nodeid_t nid; in cladm() local
76 nid = clconf_get_nodeid(); in cladm()
77 error = copyout(&nid, arg, sizeof (nid)); in cladm()
/titanic_44/usr/src/cmd/clinfo/
H A Dclinfo.c50 nodeid_t nid, hid; in main() local
70 if (_cladm(CL_CONFIG, CL_NODEID, &nid) != 0) { in main()
75 (void) printf("%s%u\n", cp, nid); in main()
/titanic_44/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c102 unsigned long nid; in prom_findnode_byname() local
110 if (nid = prom_findnode_byname(child(id), name)) in prom_findnode_byname()
111 return (nid); in prom_findnode_byname()
112 if (nid = prom_findnode_byname(next(id), name)) in prom_findnode_byname()
113 return (nid); in prom_findnode_byname()
/titanic_44/usr/src/uts/sun4u/os/
H A Dmach_ddi_impl.c74 static int get_boardnum(int nid, dev_info_t *par);
139 get_boardnum(int nid, dev_info_t *par) in get_boardnum() argument
143 if (prom_getprop((pnode_t)nid, OBP_BOARDNUM, in get_boardnum()
152 nid = ddi_get_nodeid(par); in get_boardnum()
154 if (prom_getprop((pnode_t)nid, OBP_BOARDNUM, in get_boardnum()
/titanic_44/usr/src/common/net/wanboot/
H A Dauxutil.c328 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, argument
345 if (chkcerts && nid == NID_friendlyName &&
371 if (nid == NID_friendlyName && ustr != NULL) {
422 t = PKCS12_get_attr_gen(p->attributes, nid);
451 find_attr_by_nid(STACK_OF(X509_ATTRIBUTE) *attrs, int nid) argument
461 if (OBJ_obj2nid(a->object) == nid)
537 type2attrib(ASN1_TYPE *ty, int nid) argument
550 a->object = OBJ_nid2obj(nid);
/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dniprop.c76 ni_id nid; variable
151 if (ni_pathsearch(ni, &nid, keybuf) != 0)
158 if (ni_lookupprop(ni, &nid, valprop, &ninl) != 0)
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dnetstack.c127 netstackid_t nid = *(uintptr_t *)arg; in netstackid_lookup_cb() local
128 if (ns->netstack_stackid == nid) in netstackid_lookup_cb()
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Dcap.c187 Dbg_cap_id(Lm_list *lml, Lineno lineno, const char *oid, const char *nid) in Dbg_cap_id() argument
191 Dbg_cap_ptr_entry(lml, DBG_STATE_NEW, CA_SUNW_ID, nid); in Dbg_cap_id()
192 Dbg_cap_ptr_entry(lml, DBG_STATE_RESOLVED, CA_SUNW_ID, nid); in Dbg_cap_id()
/titanic_44/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributeDescriptor.java207 void setId(String nid) { in setId() argument
208 id = nid; in setId()
/titanic_44/usr/src/uts/common/pcmcia/cis/
H A Dcis_handlers.c1288 int nid; local
1293 for (nid = 0; GET_LEN(tp) > 0 &&
1294 nid < CISTPL_JEDEC_MAX_IDENTIFIERS &&
1295 LOOK_BYTE(tp) != 0xFF; nid++) {
1296 cs->jid[nid].id = GET_BYTE(tp);
1297 cs->jid[nid].info = GET_BYTE(tp);
1299 cs->nid = nid;
/titanic_44/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c1411 pnode_t nid = prom_childnode(prom_rootnode()); in sysc_make_list() local
1416 for (; nid != OBP_NONODE && nid != OBP_BADNODE; in sysc_make_list()
1417 nid = prom_nextnode(nid)) { in sysc_make_list()
1418 if (sysc_prom_select(nid, arg, 0) != DDI_SUCCESS) in sysc_make_list()
1422 e_ddi_nodeid_to_dip(nid); in sysc_make_list()
1435 " nodeid: %d\n", nid)); in sysc_make_list()
/titanic_44/usr/src/lib/libpkg/common/
H A Dp12lib.c2402 type2attrib(ASN1_TYPE *ty, int nid) argument
2415 a->object = OBJ_nid2obj(nid);
2458 find_attr_by_nid(STACK_OF(X509_ATTRIBUTE) *attrs, int nid) argument
2468 if (OBJ_obj2nid(a->object) == nid)
2594 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, argument
2611 if (chkcerts && nid == NID_friendlyName &&
2637 if (nid == NID_friendlyName && ustr != NULL) {
2688 t = PKCS12_get_attr_gen(p->attributes, nid);
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dmain.c114 char* nid; in sh_source() local
123 nid = error_info.id = strdup(file); in sh_source()
128 free(nid); in sh_source()
/titanic_44/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c2031 int ext_index, nid, len; in OpenSSL_CertGetPrintable() local
2177 nid = ext2NID(flag); in OpenSSL_CertGetPrintable()
2178 if (nid == NID_undef) { in OpenSSL_CertGetPrintable()
2184 ext_index = X509v3_get_ext_by_NID(ci->extensions, nid, -1); in OpenSSL_CertGetPrintable()
3758 set_pkey_attrib(EVP_PKEY *pkey, ASN1_TYPE *attrib, int nid) in set_pkey_attrib() argument
3770 attr = X509_ATTRIBUTE_create(nid, attrib->type, attrib->value.ptr); in set_pkey_attrib()
3778 if (OBJ_obj2nid(a->object) == nid) { in set_pkey_attrib()
4227 find_attr(STACK_OF(X509_ATTRIBUTE) *attrs, int nid) in find_attr() argument
4238 if (OBJ_obj2nid(a->object) == nid) in find_attr()
/titanic_44/usr/src/lib/libpool/common/
H A Dpool_xml.c288 uint64_t nid = 0; in get_unique_id() local
293 (void) pool_value_get_uint64(&val, &nid); in get_unique_id()
295 if (snprintf(id, KEY_BUFFER_SIZE, "id_%llx", nid) > KEY_BUFFER_SIZE) { in get_unique_id()
299 pool_value_set_uint64(&val, ++nid); in get_unique_id()
/titanic_44/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c511 int nid = 0; in pkinit_init_pkinit_oids() local
518 nid = OBJ_txt2nid(oid); \ in pkinit_init_pkinit_oids()
519 if (nid == NID_undef) { \ in pkinit_init_pkinit_oids()
520 nid = OBJ_create(oid, sn, ln); \ in pkinit_init_pkinit_oids()
521 if (nid == NID_undef) { \ in pkinit_init_pkinit_oids()
526 ctx->vn = OBJ_nid2obj(nid); in pkinit_init_pkinit_oids()
3130 int nid; in pkinit_pkcs7type2oid() local
3148 nid = OBJ_create("1.2.840.113549.1.7.1", "id-pkcs7-data", in pkinit_pkcs7type2oid()
3150 if (nid == NID_undef) in pkinit_pkcs7type2oid()
3152 cryptoctx->id_pkinit_authData9 = OBJ_nid2obj(nid); in pkinit_pkcs7type2oid()
/titanic_44/usr/src/uts/common/pcmcia/sys/
H A Dcis_handlers.h217 uint32_t nid; /* # of JEDEC identifiers present */ member
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c1037 struct node *nid; in serd_eval() local
1094 if ((nid = in serd_eval()
1103 ptree_name_iter(O_ALTFP|O_NONL, nid); in serd_eval()
1105 ASSERTinfo(nid->t == T_GLOBID, ptree_nodetype2str(nid->t)); in serd_eval()
1108 (void *)nid->u.globid.s, NULL)) == NULL) { in serd_eval()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_mbox.h2429 uint32_t nid:5; member
2440 uint32_t nid:5; member
2458 uint32_t nid:5; member
2469 uint32_t nid:5; member
/titanic_44/usr/src/uts/common/inet/ip/
H A Dspd.c4614 ipsid_t *id, *nid; in ipsid_gc() local
4621 for (id = bucket->ipsif_head; id != NULL; id = nid) { in ipsid_gc()
4622 nid = id->ipsid_next; in ipsid_gc()
4624 *id->ipsid_ptpn = nid; in ipsid_gc()
4625 if (nid != NULL) in ipsid_gc()
4626 nid->ipsid_ptpn = id->ipsid_ptpn; in ipsid_gc()
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c149 static Board_node *serengeti_insert_board(Sys_tree *root, int board, int nid);

12