Searched defs:tn (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_get.c45 asn1_tagnum tn=0; local
66 tn = (tn<<7) + (asn1_tagnum)(o&0x7F);
68 t->tagnum = tn;
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/
H A Dtopo_port.c58 tnode_t *tn = NULL; local
80 if ((tn = topo_node_bind(mod, pnode, PORT, inst, fmri)) == NULL) {
95 if (topo_node_fru_set(tn, presource, 0, &err) != 0) {
101 if (topo_pgroup_create(tn, &port_pgroup, &err) != 0) {
107 if (topo_prop_set_string(tn, TOPO_PGROUP_PORT, TOPO_PROP_PORT_TYPE,
114 if (topo_method_register(mod, tn, port_methods) != 0) {
124 return (tn);
126 topo_node_unbind(tn);
137 tnode_t *tn; local
139 tn
150 tnode_t *tn; local
163 tnode_t *tn; local
[all...]
H A Dtopo_transceiver.c52 tnode_t *tn = NULL; local
74 if ((tn = topo_node_bind(mod, pnode, TRANSCEIVER, inst, fmri)) ==
84 if (topo_node_fru_set(tn, fmri, 0, &err) != 0) {
90 if (topo_pgroup_create(tn, &transceiver_pgroup, &err) != 0) {
96 if (topo_prop_set_string(tn, TOPO_PGROUP_TRANSCEIVER,
104 if (topo_prop_set_string(tn, TOPO_PGROUP_TRANSCEIVER,
114 return (tn);
117 topo_node_unbind(tn);
129 tnode_t *tn = NULL; local
131 if ((tn
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chipset/
H A Dchipset.c82 tnode_t *tn = NULL; local
115 if ((tn = topo_node_bind(mod, pnode, CHIPSET, inst, fmri)) == NULL) {
129 if (topo_node_fru_set(tn, presource, 0, &ret) != 0) {
139 if ((ret = topo_sensor_create_temp_sensor(mod, tn,
154 topo_node_unbind(tn);
/illumos-gate/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c129 xfp_fru_set(topo_mod_t *mp, tnode_t *tn) argument
134 if (topo_node_resource(tn, &fmri, &err) < 0 ||
140 e = topo_node_fru_set(tn, fmri, 0, &err);
/illumos-gate/usr/src/lib/libast/common/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
80 if (tn)
81 *tn = 0;
97 if (tn)
98 *tn = tp;
126 if (tn)
127 *tn = tp;
149 if (tn)
150 *tn = tp;
162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_parse.c123 tf_idata_new(topo_mod_t *mp, topo_instance_t i, tnode_t *tn) argument
130 r->ti_tn = tn;
H A Dsvc.c173 tnode_t *tn; local
218 if ((tn = topo_node_bind(mod, pnode, fmristr, 0, fmri)) == NULL) {
226 if (topo_node_label_set(tn, fmristr, &err) != 0) {
231 (void) topo_method_register(mod, tn, svc_methods);
233 return (tn);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c36 child_range_add(topo_mod_t *mp, tnode_t *tn, const char *cnm, argument
41 e = topo_node_range_create(mp, tn, cnm, imin, imax);
139 labelmethod_inherit(topo_mod_t *mp, tnode_t *tn, nvlist_t *in, nvlist_t **out) argument
148 if (topo_node_label_set(tn, NULL, &err) < 0) {
H A Dpcibus_hba.c48 pci_di_prop_set(tnode_t *tn, di_node_t din, char *dpnm, char *tpnm) argument
54 (void) topo_prop_set_string(tn, TOPO_PGROUP_STORAGE, tpnm,
59 pci_pi_prop_set(tnode_t *tn, di_path_t din, char *dpnm, char *tpnm) argument
65 (void) topo_prop_set_string(tn, TOPO_PGROUP_STORAGE, tpnm,
H A Ddid.c678 did_settnode(did_t *pd, tnode_t *tn) argument
680 assert(tn != NULL);
681 pd->dp_tnode = tn;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/
H A Dniu.c88 devprop_set(tnode_t *tn, di_node_t dn, argument
98 e = topo_prop_set_string(tn, tpgrp, tpnm, TOPO_PROP_IMMUTABLE,
107 driverprop_set(tnode_t *tn, di_node_t dn, argument
115 if (topo_prop_set_string(tn,
122 moduleprop_set(tnode_t *tn, di_node_t dn, argument
136 if (topo_prop_set_fmri(tn, tpgrp, tpnm, TOPO_PROP_IMMUTABLE, module,
187 niu_asru_set(tnode_t *tn, di_node_t dn, topo_mod_t *mod) argument
204 if (topo_prop_get_fmri(tn, TOPO_PGROUP_PROTOCOL,
208 if (topo_node_asru_set(tn, fmri, 0, &e) < 0) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_fru.c104 libzfs_fru_gather(topo_hdl_t *thp, tnode_t *tn, void *arg) argument
118 strcmp(_topo_node_name(tn), "chassis") == 0) {
119 if (_topo_prop_get_string(tn, FM_FMRI_AUTHORITY,
128 if (strcmp(_topo_node_name(tn), "disk") != 0)
134 if (_topo_prop_get_string(tn, "io", "devfs-path", &devpath, &err) != 0)
142 if (_topo_node_fru(tn, &fru, NULL, &err) != 0) {
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c291 cpuboard_fru_set(topo_mod_t *mp, tnode_t *tn) argument
296 if (topo_node_resource(tn, &fmri, &err) < 0 ||
302 e = topo_node_fru_set(tn, fmri, 0, &err);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c142 xaui_fru_set(topo_mod_t *mp, tnode_t *tn) argument
147 if (topo_node_resource(tn, &fmri, &err) < 0 ||
153 e = topo_node_fru_set(tn, fmri, 0, &err);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c1058 char *tn; local
1059 if ((tn=ttyname(2)) == NULL &&
1060 (tn=ttyname(1)) == NULL &&
1061 (tn=ttyname(0)) == NULL)
1064 strcpy(ttynbuf, tn);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c170 struct tgate_net *tn; local
857 if (tg != NULL && (tn = tg->tgate_nets)->mask != 0) {
858 for (i = 0; i < MAX_TGATE_NETS; i++, tn++) {
859 if (on_net(dst, tn->net, tn->mask) &&
860 tn->mask <= mask)
863 if (i >= MAX_TGATE_NETS || tn->mask == 0) {
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c139 ses_indicator_mode(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, argument
148 ses_enum_target_t *tp = topo_node_getspecific(tn);
164 if ((np = ses_node_lock(mod, tn)) == NULL) {
235 ses_node_unlock(mod, tn);
240 ses_node_unlock(mod, tn);
250 ses_sensor_reading(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, argument
276 if ((np = ses_node_lock(mod, tn)) == NULL) {
290 ses_node_unlock(mod, tn);
294 ses_node_unlock(mod, tn);
320 ses_sensor_state(topo_mod_t *mod, tnode_t *tn, topo_version_ argument
409 ses_psu_state(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
464 tnode_t *tn; local
527 tnode_t *tn; local
590 tnode_t *tn; local
629 tnode_t *tn; local
698 tnode_t *tn; local
734 tnode_t *tn; local
767 ses_node_enum_facility(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
865 ses_add_enclosure_sensors(topo_mod_t *mod, tnode_t *tn, ses_node_t *agg, uint64_t type) argument
953 ses_enc_enum_facility(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_tab.c595 char tn[MDB_SYM_NAMLEN]; local
604 if ((ret = mdb_tab_typename(&argc, &argv, tn, sizeof (tn))) < 0)
608 return (mdb_tab_complete_type(mcp, tn, MDB_TABC_MEMBERS));
611 return (mdb_tab_complete_member(mcp, tn, NULL));
614 return (mdb_tab_complete_member(mcp, tn, argv[1].a_un.a_str));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c831 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local
836 add = (tn->tn_member[t] == 0);
838 tn->tn_member[t] = 1;
839 tn->tn_next[t] = tl->tl_head[t];
840 tl->tl_head[t] = tn;
856 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local
861 add = (tn->tn_member[t] == 0);
868 tn->tn_member[t] = 1;
869 tn->tn_next[t] = NULL;
870 *tp = tn;
884 txg_node_t *tn; local
909 txg_node_t *tn, **tp; local
933 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local
946 txg_node_t *tn = tl->tl_head[t]; local
956 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_enum.c86 ipmi_find_entity(topo_mod_t *mod, tnode_t *tn, ipmi_handle_t **ihpp, argument
104 ep = topo_node_getspecific(tn);
111 if (topo_prop_get_string(tn, TOPO_PGROUP_IPMI,
122 if (topo_prop_get_string_array(tn, TOPO_PGROUP_IPMI,
150 topo_node_name(tn), topo_node_instance(tn));
154 topo_node_setspecific(tn, ep);
168 ipmi_present(topo_mod_t *mod, tnode_t *tn, topo_version_t version, argument
179 err = ipmi_find_entity(mod, tn, &ihp, &ep, &name, &sdrp);
265 ipmi_unusable(topo_mod_t *mod, tnode_t *tn, topo_version_ argument
338 tnode_t *tn; local
667 ipmi_post_process(topo_mod_t *mod, tnode_t *tn) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c260 _win_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
280 fz = tz = (*fn < *tn) ? *fn : *tn;
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn)
315 if (tz == *tn)
323 if (tz > *tn)
351 if (tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, un, *tb, *tn, 0, 0))
370 if (tz == *tn)
378 if (tz > *tn)
531 utf2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
605 bin2utf(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
715 ume2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
791 bin2ume(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
865 ucs2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
910 bin2ucs(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
956 scu2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1001 bin2scu(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1235 _ast_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1344 size_t tn; local
1403 size_t tn; local
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_vir.c761 uint8_t fn, region, id, tn, rn; local
766 tn = dma_bind.tx_channel;
775 DMA_BIND_TX_VALIDATE(tn, status);
791 bind.bits.ldw.tx = tn;
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c251 tnode_t tn; local
260 if (mdb_vread(&tn, sizeof (tn), addr) != sizeof (tn)) {
265 if (mdb_readstr(name, sizeof (name), (uintptr_t)tn.tn_name) < 0) {
266 (void) mdb_snprintf(name, sizeof (name), "<%p>", tn.tn_name);
282 mdb_printf("%-12s %-36d %-30s\n", "tn_instance", tn.tn_instance,
284 mdb_printf("%-12s %-36d %-30s\n", "tn_state", tn.tn_state,
286 if (TOPO_NODE_INIT & tn.tn_state) {
289 if (TOPO_NODE_ROOT & tn
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c1275 uint_t tn = 0; local
1302 &tv, &tn) == 0 && tn == 2 && (sec = (time_t)tv[0]) != (time_t)-1 &&

Completed in 296 milliseconds

12