Searched refs:ni (Results 1 - 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_amrr.c41 #define is_min_rate(ni) \
42 ((ni)->in_txrate == 0)
43 #define is_max_rate(ni) \
44 ((ni)->in_txrate == (ni)->in_rates.ir_nrates - 1)
45 #define increase_rate(ni) \
46 ((ni)->in_txrate++)
47 #define decrease_rate(ni) \
48 ((ni)->in_txrate--)
64 * Update ni
67 ieee80211_amrr_choose(struct ieee80211_amrr *amrr, struct ieee80211_node *ni, struct ieee80211_amrr_node *amn) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dniprop.c56 # include <netinfo/ni.h>
73 void *ni = NULL; local
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 !
[all...]
/illumos-gate/usr/src/lib/libmd/amd64/
H A DMakefile37 CAPFILES = pics/sha1-ni.o \
38 pics/sha256-ni.o
52 pics/sha1-ni.o.objcap := CAPFILE = capabilities/sha.cap
53 pics/sha256-ni.o.objcap := CAPFILE = capabilities/sha.cap
/illumos-gate/usr/src/tools/smatch/src/
H A Dtest-dissect.c59 struct ident *ni, *si, *mi; local
63 ni = built_in_ident("?");
64 si = sym->ident ?: ni;
66 mi = mem ? (mem->ident ?: ni) : built_in_ident("*");
/illumos-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c135 ral_rssadapt_input(struct ieee80211com *ic, struct ieee80211_node *ni, argument
150 ral_rssadapt_lower_rate(struct ieee80211com *ic, struct ieee80211_node *ni, argument
153 struct ieee80211_rateset *rs = &ni->in_rates;
182 struct ieee80211_node *ni = id->id_node; local
183 struct ieee80211_rateset *rs = &ni->in_rates;
H A Drt2560.c633 if (data->ni != NULL) {
634 ieee80211_free_node(data->ni);
635 data->ni = NULL;
659 if (data->ni != NULL) {
660 ieee80211_free_node(data->ni);
661 data->ni = NULL;
792 return ((rn != NULL) ? &rn->ni : NULL);
825 rt2560_iter_func(void *arg, struct ieee80211_node *ni) argument
827 struct rt2560_node *rn = (struct rt2560_node *)ni;
871 struct ieee80211_node *ni; local
1179 struct ieee80211_node *ni; local
1444 struct ieee80211_node *ni; local
1571 struct ieee80211_node *ni; local
2190 ieee80211_node_t *ni = ic->ic_bss; local
[all...]
H A Drt2560_var.h86 struct ieee80211_node *ni; member in struct:rt2560_tx_data
133 struct ieee80211_node ni; member in struct:rt2560_node
/illumos-gate/usr/src/uts/common/io/
H A Dufmtest.c330 uint_t ni; local
337 &ni) != 0)
340 *nimgs = ni;
350 uint_t ni, ns; local
355 &images, &ni) != 0)
358 if (imgno >= ni)
389 uint_t ni, ns; local
394 &images, &ni) != 0)
397 if (imgno >= ni)
H A Dneti_impl.c592 net_inject_t *ni; local
594 ni = kmem_zalloc(sizeof (*ni), KM_NOSLEEP);
595 if (ni == NULL)
598 ni->ni_version = version;
599 return (ni);
603 net_inject_free(net_inject_t *ni) argument
605 kmem_free(ni, sizeof (*ni));
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_parse.c146 tf_idata_insert(tf_idata_t **head, tf_idata_t *ni) argument
152 if (ni->ti_i < l->ti_i)
156 ni->ti_next = l;
158 *head = ni;
160 p->ti_next = ni;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c690 ssize_t num_iterations, ni, nh, no, olen; local
704 nh = ni = no = 0;
728 ni = read_n_bytes(ifd, &(ibuf[nh]), (ssize_t)s->n_log_size);
729 if (ni < 0) {
732 } else if (ni < (ssize_t)s->n_log_size) {
736 if (ni == 0)
741 if (b2clf_buf(ibuf, obuf, ni + nh, OUTFILE_BUF_SIZE, &olen)) {
756 bzero(ibuf, nh + ni);
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661.c696 if (data->ni != NULL) {
697 ieee80211_free_node(data->ni);
698 data->ni = NULL;
729 if (data->ni != NULL) {
730 ieee80211_free_node(data->ni);
731 data->ni = NULL;
911 rn = (struct rt2661_node *)data->ni;
948 ieee80211_free_node(data->ni);
949 data->ni = NULL;
973 struct ieee80211_node *ni; local
1415 struct ieee80211_node *ni; local
1541 struct ieee80211_node *ni; local
1665 rt2661_amrr_choose(struct rt2661_amrr *amrr, struct ieee80211_node *ni, struct rt2661_amrr_node *amn) argument
1881 rt2661_newassoc(struct ieee80211com *ic, struct ieee80211_node *ni) argument
1897 rt2661_iter_func(void *arg, struct ieee80211_node *ni) argument
1998 struct ieee80211_node *ni; local
2749 struct ieee80211_node *ni = ic->ic_bss; local
[all...]
H A Drt2661_var.h48 struct ieee80211_node *ni; member in struct:rt2661_tx_data
93 struct ieee80211_node ni; member in struct:rt2661_node
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum.c513 struct ieee80211_node *ni; local
577 ni = ieee80211_find_rxnode(ic, wh);
580 (void) ieee80211_input(ic, m, ni, desc->rssi, 0);
583 ieee80211_free_node(ni);
738 struct ieee80211_node *ni = NULL; local
781 ni = ieee80211_find_txnode(ic, wh->i_addr1);
782 if (ni == NULL) {
791 (void) ieee80211_encap(ic, m, ni);
814 rate = ni->in_rates.ir_rates[ni
1398 struct ieee80211_node *ni; local
1867 rum_ratectl(struct rum_amrr *amrr, struct ieee80211_node *ni) argument
1934 rum_amrr_start(struct rum_softc *sc, struct ieee80211_node *ni) argument
2141 ieee80211_node_t *ni; local
[all...]
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural.c448 struct ieee80211_node *ni; local
515 ni = ieee80211_find_rxnode(ic, wh);
518 (void) ieee80211_input(ic, m, ni, desc->rssi, 0);
521 ieee80211_free_node(ni);
677 struct ieee80211_node *ni = NULL; local
720 ni = ieee80211_find_txnode(ic, wh->i_addr1);
721 if (ni == NULL) {
730 (void) ieee80211_encap(ic, m, ni);
753 rate = ni->in_rates.ir_rates[ni
1386 struct ieee80211_node *ni; local
1846 ural_ratectl(struct ural_amrr *amrr, struct ieee80211_node *ni) argument
1913 ural_amrr_start(struct ural_softc *sc, struct ieee80211_node *ni) argument
2120 ieee80211_node_t *ni = ic->ic_bss; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c209 * SMB_NIC_INVALID_ARG - 'ni' is NULL
212 smb_nic_getfirst(smb_niciter_t *ni) argument
216 if (ni == NULL)
222 ni->ni_nic = smb_niclist.nl_nics[0];
223 ni->ni_cookie = 1;
224 ni->ni_seqnum = smb_niclist.nl_seqnum;
238 * iterator (ni). The iterator must have previously been
251 smb_nic_getnext(smb_niciter_t *ni) argument
255 if ((ni == NULL) || (ni
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c272 /* ni(I) - pointer to structure with misc. information needed */
277 /* ni.nai_ip is passed in uninitialised and must be set, in host byte order,*/
280 static INLINE int nat6_newmap(fin, nat, ni)
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
747 natinfo_t ni; local
[all...]
/illumos-gate/usr/src/cmd/troff/nroff.d/
H A DMakefile36 n7.o n8.o n9.o ni.o nii.o suftab.o
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860.c801 if (data->ni != NULL) {
802 ieee80211_free_node(data->ni);
803 data->ni = NULL; /* node already freed */
1088 struct ieee80211_node *ni; local
1137 ni = ieee80211_find_txnode(ic, wh->i_addr1);
1138 if (ni == NULL) {
1146 (void) ieee80211_encap(ic, m, ni);
1166 rate = ni->in_rates.ir_rates[0];
1171 rate = ni->in_rates.ir_rates[ni
1302 rt2860_iter_func(void *arg, struct ieee80211_node *ni) argument
1396 rt2860_amrr_choose(struct rt2860_amrr *amrr, struct ieee80211_node *ni, struct rt2860_amrr_node *amn) argument
1710 struct ieee80211_node *ni; local
2753 ieee80211_node_t *ni = ic->ic_bss; local
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decp_jac.c340 int i, ni, d; local
376 /* compute window ni */
377 ni = MP_GET_BIT(n, 4 * i + 3);
378 ni <<= 1;
379 ni |= MP_GET_BIT(n, 4 * i + 2);
380 ni <<= 1;
381 ni |= MP_GET_BIT(n, 4 * i + 1);
382 ni <<= 1;
383 ni |= MP_GET_BIT(n, 4 * i);
389 /* R = R + (ni *
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c1316 ndmp_handler_t *ni = &ndmp_msghdl_tab[(message >> 8) % INT_MAXCMD]; local
1318 if ((message & 0xff) >= ni->hd_cnt)
1322 if (ni->hd_msgs[message & 0xff].hm_message != message)
1325 return (ni);
1346 ndmp_handler_t *ni = ndmp_get_interface(message); local
1349 if (ni)
1350 handler = &ni->hd_msgs[message & 0xff].hm_msg_v[ver - 2];
1372 ndmp_handler_t *ni = ndmp_get_interface(message); local
1374 if (ni)
1375 auth_req = ni
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ruleval.c479 int i, n, ni = 0, nv = 0; local
532 item = concatenateMappingItem(item, ni,
534 freeMappingItem(olditem, ni);
536 ni = 0;
539 ni++;
553 item = concatenateMappingItem(item, ni, tmpitem);
554 freeMappingItem(olditem, ni);
556 ni++;
558 ni = 0;
565 *numItems = ni;
[all...]
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c649 int ni, na; local
653 if (ddi_intr_get_nintrs(sc->sc_dip, intr_type, &ni) != DDI_SUCCESS)
2428 iwn_newassoc(struct ieee80211_node *ni, int isnew) argument
2431 struct iwn_softc *sc = (struct iwn_softc *)&ni->in_ic;
2432 struct iwn_node *wn = (void *)ni;
2440 ni->in_txrate = ni->in_rates.ir_nrates / 2;
2442 for (i = 0; i < ni->in_rates.ir_nrates; i++) {
2443 rate = ni->in_rates.ir_rates[i] & IEEE80211_RATE_VAL;
2582 iwn_iter_func(void *arg, struct ieee80211_node *ni) argument
2654 struct ieee80211_node *ni; local
4502 iwn_set_link_quality(struct iwn_softc *sc, struct ieee80211_node *ni) argument
4626 iwn_set_timing(struct iwn_softc *sc, struct ieee80211_node *ni) argument
5651 struct ieee80211_node *ni = ic->ic_bss; local
5891 struct ieee80211_node *ni = ic->ic_bss; local
5994 struct ieee80211_node *ni = ic->ic_bss; local
6090 iwn_set_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument
6120 iwn_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument
6154 iwn_ampdu_rx_start(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument
6178 iwn_ampdu_rx_stop(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument
6200 iwn_ampdu_tx_start(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument
6229 iwn_ampdu_tx_stop(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument
6243 iwn4965_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t tid, uint16_t ssn) argument
6302 iwn5000_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t tid, uint16_t ssn) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_browser.c1121 smb_niciter_t ni; local
1130 if (smb_nic_getfirst(&ni) != SMB_NIC_SUCCESS) {
1140 if ((ni.ni_nic.nic_smbflags & SMB_NICF_NBEXCL) ||
1141 (ni.ni_nic.nic_smbflags & SMB_NICF_ALIAS))
1151 hinfo->hi_nic = ni.ni_nic;
1173 } while (smb_nic_getnext(&ni) == SMB_NIC_SUCCESS);
/illumos-gate/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)

Completed in 281 milliseconds

12