Home
last modified time | relevance | path

Searched refs:ni (Results 1 – 25 of 50) sorted by relevance

12

/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dniprop.c73 void *ni = NULL; variable
118 nis = ni_open(NULL, LOCAL_NETINFO_DOMAIN, &ni);
128 lastni = ni;
129 nis = ni_open(lastni, PARENT_NETINFO_DOMAIN, &ni);
151 if (ni_pathsearch(ni, &nid, keybuf) != 0)
158 if (ni_lookupprop(ni, &nid, valprop, &ninl) != 0)
204 if (ni != NULL)
205 ni_free(ni);
206 if (lastni != NULL && ni != lastni)
/titanic_41/usr/src/uts/common/io/rwd/
H A Drt2661.c692 if (data->ni != NULL) { in rt2661_reset_tx_ring()
693 ieee80211_free_node(data->ni); in rt2661_reset_tx_ring()
694 data->ni = NULL; in rt2661_reset_tx_ring()
725 if (data->ni != NULL) { in rt2661_free_tx_ring()
726 ieee80211_free_node(data->ni); in rt2661_free_tx_ring()
727 data->ni = NULL; in rt2661_free_tx_ring()
907 rn = (struct rt2661_node *)data->ni; in rt2661_tx_intr()
944 ieee80211_free_node(data->ni); in rt2661_tx_intr()
945 data->ni = NULL; in rt2661_tx_intr()
969 struct ieee80211_node *ni; in rt2661_rx_intr() local
[all …]
H A Drt2661_var.h48 struct ieee80211_node *ni; member
93 struct ieee80211_node ni; member
/titanic_41/usr/src/uts/common/io/ral/
H A Drt2560.c633 if (data->ni != NULL) { in rt2560_reset_tx_ring()
634 ieee80211_free_node(data->ni); in rt2560_reset_tx_ring()
635 data->ni = NULL; in rt2560_reset_tx_ring()
659 if (data->ni != NULL) { in rt2560_free_tx_ring()
660 ieee80211_free_node(data->ni); in rt2560_free_tx_ring()
661 data->ni = NULL; in rt2560_free_tx_ring()
792 return ((rn != NULL) ? &rn->ni : NULL); in rt2560_node_alloc()
825 rt2560_iter_func(void *arg, struct ieee80211_node *ni) in rt2560_iter_func() argument
827 struct rt2560_node *rn = (struct rt2560_node *)ni; in rt2560_iter_func()
871 struct ieee80211_node *ni; in rt2560_newstate() local
[all …]
H A Dral_rate.c135 ral_rssadapt_input(struct ieee80211com *ic, struct ieee80211_node *ni, in ral_rssadapt_input() argument
150 ral_rssadapt_lower_rate(struct ieee80211com *ic, struct ieee80211_node *ni, in ral_rssadapt_lower_rate() argument
153 struct ieee80211_rateset *rs = &ni->in_rates; in ral_rssadapt_lower_rate()
182 struct ieee80211_node *ni = id->id_node; in ral_rssadapt_raise_rate() local
183 struct ieee80211_rateset *rs = &ni->in_rates; in ral_rssadapt_raise_rate()
H A Drt2560_var.h86 struct ieee80211_node *ni; member
133 struct ieee80211_node ni; member
/titanic_41/usr/src/uts/common/io/ural/
H A Dural.c448 struct ieee80211_node *ni; in ural_rxeof() local
515 ni = ieee80211_find_rxnode(ic, wh); in ural_rxeof()
518 (void) ieee80211_input(ic, m, ni, desc->rssi, 0); in ural_rxeof()
521 ieee80211_free_node(ni); in ural_rxeof()
677 struct ieee80211_node *ni = NULL; in ural_send() local
720 ni = ieee80211_find_txnode(ic, wh->i_addr1); in ural_send()
721 if (ni == NULL) { in ural_send()
730 (void) ieee80211_encap(ic, m, ni); in ural_send()
753 rate = ni->in_rates.ir_rates[ni->in_txrate]; in ural_send()
811 if (ni != NULL) in ural_send()
[all …]
/titanic_41/usr/src/uts/common/io/rum/
H A Drum.c513 struct ieee80211_node *ni; in rum_rxeof() local
577 ni = ieee80211_find_rxnode(ic, wh); in rum_rxeof()
580 (void) ieee80211_input(ic, m, ni, desc->rssi, 0); in rum_rxeof()
583 ieee80211_free_node(ni); in rum_rxeof()
738 struct ieee80211_node *ni = NULL; in rum_send() local
781 ni = ieee80211_find_txnode(ic, wh->i_addr1); in rum_send()
782 if (ni == NULL) { in rum_send()
791 (void) ieee80211_encap(ic, m, ni); in rum_send()
814 rate = ni->in_rates.ir_rates[ni->in_txrate]; in rum_send()
876 if (ni != NULL) in rum_send()
[all …]
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c280 static INLINE int nat6_newmap(fin, nat, ni) in nat6_newmap() argument
283 natinfo_t *ni;
300 np = ni->nai_np;
303 flags = ni->nai_flags;
304 sport = ni->nai_sport;
305 dport = ni->nai_dport;
528 ni->nai_port = port;
529 ni->nai_nport = dport;
546 static INLINE int nat6_newrdr(fin, nat, ni) in nat6_newrdr() argument
549 natinfo_t *ni;
[all …]
H A Dip_nat.c2090 static INLINE int nat_newmap(fin, nat, ni) in nat_newmap() argument
2093 natinfo_t *ni;
2111 np = ni->nai_np;
2114 flags = ni->nai_flags;
2115 sport = ni->nai_sport;
2116 dport = ni->nai_dport;
2319 ni->nai_ip.s_addr = in.s_addr;
2320 ni->nai_port = port;
2321 ni->nai_nport = dport;
2338 static INLINE int nat_newrdr(fin, nat, ni) in nat_newrdr() argument
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c212 smb_nic_getfirst(smb_niciter_t *ni) in smb_nic_getfirst() argument
216 if (ni == NULL) in smb_nic_getfirst()
222 ni->ni_nic = smb_niclist.nl_nics[0]; in smb_nic_getfirst()
223 ni->ni_cookie = 1; in smb_nic_getfirst()
224 ni->ni_seqnum = smb_niclist.nl_seqnum; in smb_nic_getfirst()
251 smb_nic_getnext(smb_niciter_t *ni) in smb_nic_getnext() argument
255 if ((ni == NULL) || (ni->ni_cookie < 1)) in smb_nic_getnext()
260 if ((smb_niclist.nl_cnt > ni->ni_cookie) && in smb_nic_getnext()
261 (smb_niclist.nl_seqnum == ni->ni_seqnum)) { in smb_nic_getnext()
262 ni->ni_nic = smb_niclist.nl_nics[ni->ni_cookie]; in smb_nic_getnext()
[all …]
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_parse.c148 tf_idata_insert(tf_idata_t **head, tf_idata_t *ni) in tf_idata_insert() argument
154 if (ni->ti_i < l->ti_i) in tf_idata_insert()
158 ni->ti_next = l; in tf_idata_insert()
160 *head = ni; in tf_idata_insert()
162 p->ti_next = ni; in tf_idata_insert()
/titanic_41/usr/src/uts/common/io/rwn/
H A Drt2860.c799 if (data->ni != NULL) { in rt2860_reset_tx_ring()
800 ieee80211_free_node(data->ni); in rt2860_reset_tx_ring()
801 data->ni = NULL; /* node already freed */ in rt2860_reset_tx_ring()
1087 struct ieee80211_node *ni; in rt2860_send() local
1136 ni = ieee80211_find_txnode(ic, wh->i_addr1); in rt2860_send()
1137 if (ni == NULL) { in rt2860_send()
1145 (void) ieee80211_encap(ic, m, ni); in rt2860_send()
1165 rate = ni->in_rates.ir_rates[0]; in rt2860_send()
1170 rate = ni->in_rates.ir_rates[ni->in_txrate]; in rt2860_send()
1181 RT2860_AID2WCID(ni->in_associd) : 0xff; in rt2860_send()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dneti_impl.c592 net_inject_t *ni; in net_inject_alloc() local
594 ni = kmem_zalloc(sizeof (*ni), KM_NOSLEEP); in net_inject_alloc()
595 if (ni == NULL) in net_inject_alloc()
598 ni->ni_version = version; in net_inject_alloc()
599 return (ni); in net_inject_alloc()
603 net_inject_free(net_inject_t *ni) in net_inject_free() argument
605 kmem_free(ni, sizeof (*ni)); in net_inject_free()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c692 ssize_t num_iterations, ni, nh, no, olen; in b2clf() local
706 nh = ni = no = 0; in b2clf()
730 ni = read_n_bytes(ifd, &(ibuf[nh]), (ssize_t)s->n_log_size); in b2clf()
731 if (ni < 0) { in b2clf()
734 } else if (ni < (ssize_t)s->n_log_size) { in b2clf()
738 if (ni == 0) in b2clf()
743 if (b2clf_buf(ibuf, obuf, ni + nh, OUTFILE_BUF_SIZE, &olen)) { in b2clf()
758 bzero(ibuf, nh + ni); in b2clf()
/titanic_41/usr/src/common/crypto/ecc/
H A Decp_jac.c340 int i, ni, d; in ec_GFp_pt_mul_jac() local
377 ni = MP_GET_BIT(n, 4 * i + 3); in ec_GFp_pt_mul_jac()
378 ni <<= 1; in ec_GFp_pt_mul_jac()
379 ni |= MP_GET_BIT(n, 4 * i + 2); in ec_GFp_pt_mul_jac()
380 ni <<= 1; in ec_GFp_pt_mul_jac()
381 ni |= MP_GET_BIT(n, 4 * i + 1); in ec_GFp_pt_mul_jac()
382 ni <<= 1; in ec_GFp_pt_mul_jac()
383 ni |= MP_GET_BIT(n, 4 * i); in ec_GFp_pt_mul_jac()
391 (rx, ry, &rz, &precomp[ni][0], &precomp[ni][1], rx, ry, in ec_GFp_pt_mul_jac()
/titanic_41/usr/src/uts/common/avs/ns/dsw/
H A Dii_tree.c86 static void free_node(_ii_info_t *ip, NODE *np, nodeid_t ni);
291 release_node(_ii_info_t *ip, NODE *np, nodeid_t ni) in release_node() argument
298 write_node(_ii_info_t *ip, NODE *np, nodeid_t ni) in write_node() argument
300 (void) node_io(ip, np, ni, NSC_WRBUF); in write_node()
301 release_node(ip, np, ni); in write_node()
306 free_node(_ii_info_t *ip, NODE *np, nodeid_t ni) in free_node() argument
335 (void) node_io(ip, np, ni, NSC_WRBUF); in free_node()
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_ruleval.c483 int i, n, ni = 0, nv = 0; in buildLvalue() local
536 item = concatenateMappingItem(item, ni, in buildLvalue()
538 freeMappingItem(olditem, ni); in buildLvalue()
540 ni = 0; in buildLvalue()
543 ni++; in buildLvalue()
557 item = concatenateMappingItem(item, ni, tmpitem); in buildLvalue()
558 freeMappingItem(olditem, ni); in buildLvalue()
560 ni++; in buildLvalue()
562 ni = 0; in buildLvalue()
569 *numItems = ni; in buildLvalue()
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c1316 ndmp_handler_t *ni = &ndmp_msghdl_tab[(message >> 8) % INT_MAXCMD]; in ndmp_get_interface() local
1318 if ((message & 0xff) >= ni->hd_cnt) in ndmp_get_interface()
1322 if (ni->hd_msgs[message & 0xff].hm_message != message) in ndmp_get_interface()
1325 return (ni); in ndmp_get_interface()
1346 ndmp_handler_t *ni = ndmp_get_interface(message); in ndmp_get_handler() local
1349 if (ni) in ndmp_get_handler()
1350 handler = &ni->hd_msgs[message & 0xff].hm_msg_v[ver - 2]; in ndmp_get_handler()
1372 ndmp_handler_t *ni = ndmp_get_interface(message); in ndmp_check_auth_required() local
1374 if (ni) in ndmp_check_auth_required()
1375 auth_req = ni->hd_msgs[message & 0xff].hm_auth_required; in ndmp_check_auth_required()
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_browser.c1121 smb_niciter_t ni; in smb_browser_init() local
1130 if (smb_nic_getfirst(&ni) != SMB_NIC_SUCCESS) { in smb_browser_init()
1140 if ((ni.ni_nic.nic_smbflags & SMB_NICF_NBEXCL) || in smb_browser_init()
1141 (ni.ni_nic.nic_smbflags & SMB_NICF_ALIAS)) in smb_browser_init()
1151 hinfo->hi_nic = ni.ni_nic; in smb_browser_init()
1173 } while (smb_nic_getnext(&ni) == SMB_NIC_SUCCESS); in smb_browser_init()
H A Dsmbns_dyndns.c2020 smb_niciter_t ni; in dyndns_update_core() local
2050 if (smb_nic_getfirst(&ni) != SMB_NIC_SUCCESS) in dyndns_update_core()
2054 if (ni.ni_nic.nic_sysflags & IFF_PRIVATE) in dyndns_update_core()
2057 my_str = smb_inet_ntop(&ni.ni_nic.nic_ip, my_ip, in dyndns_update_core()
2058 SMB_IPSTRLEN(ni.ni_nic.nic_ip.a_family)); in dyndns_update_core()
2081 } while (smb_nic_getnext(&ni) == SMB_NIC_SUCCESS); in dyndns_update_core()
2102 smb_niciter_t ni; in dyndns_clear_rev_zone() local
2121 if (smb_nic_getfirst(&ni) != SMB_NIC_SUCCESS) in dyndns_clear_rev_zone()
2125 if (ni.ni_nic.nic_sysflags & IFF_PRIVATE) in dyndns_clear_rev_zone()
2127 my_str = smb_inet_ntop(&ni.ni_nic.nic_ip, my_ip, in dyndns_clear_rev_zone()
[all …]
/titanic_41/usr/src/uts/common/io/uath/
H A Duath.c1563 struct ieee80211_node *ni; in uath_data_rxeof() local
1672 ni = ieee80211_find_rxnode(ic, wh); in uath_data_rxeof()
1675 (void) ieee80211_input(ic, m, ni, (int)BE_32(desc->rssi), 0); in uath_data_rxeof()
1678 ieee80211_free_node(ni); in uath_data_rxeof()
1778 struct ieee80211_node *ni = ic->ic_bss; in uath_create_connection() local
1788 rs = &ni->in_rates; in uath_create_connection()
1794 if (UATH_IS_CHAN_A(ni->in_chan)) in uath_create_connection()
1796 else if (UATH_IS_CHAN_ANYG(ni->in_chan)) in uath_create_connection()
1830 struct ieee80211_node *ni = ic->ic_bss; in uath_write_associd() local
1836 associd.associd = BE_32(ni->in_associd); in uath_write_associd()
[all …]
/titanic_41/usr/src/common/mpi/
H A Dmpi-priv.h159 void *s_mp_alloc(size_t nb, size_t ni, int flag); /* general allocator */
183 #define s_mp_alloc(nb, ni) calloc(nb, ni) argument
/titanic_41/usr/src/uts/common/io/mwl/
H A Dmwl.c2239 mwl_node_free(struct ieee80211_node *ni) in mwl_node_free() argument
2241 struct ieee80211com *ic = ni->in_ic; in mwl_node_free()
2242 struct mwl_node *mn = MWL_NODE(ni); in mwl_node_free()
2249 ic->ic_node_cleanup(ni); in mwl_node_free()
2250 kmem_free(ni, sizeof (struct mwl_node)); in mwl_node_free()
2744 struct ieee80211_node *ni = NULL; in mwl_send() local
2786 ni = ieee80211_find_txnode(ic, wh->i_addr1); in mwl_send()
2787 if (ni == NULL) { in mwl_send()
2796 (void) ieee80211_encap(ic, m, ni); in mwl_send()
2822 bf->bf_node = ieee80211_ref_node(ni); in mwl_send()
[all …]
/titanic_41/usr/src/uts/common/io/atu/
H A Datu.c601 struct ieee80211_node *ni; in atu_rxeof() local
637 ni = ieee80211_find_rxnode(ic, wh); in atu_rxeof()
638 (void) ieee80211_input(ic, mp, ni, h->rssi, h->rx_time); in atu_rxeof()
639 ieee80211_free_node(ni); in atu_rxeof()
773 struct ieee80211_node *ni = NULL; in atu_send() local
803 ni = ieee80211_find_txnode(ic, wh->i_addr1); in atu_send()
804 if (ni == NULL) { in atu_send()
812 (void) ieee80211_encap(ic, m, ni); in atu_send()
839 if (ni != NULL) in atu_send()
840 ieee80211_free_node(ni); in atu_send()

12