Searched defs:na (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-head/crypto/heimdal/base/
H A Dnumber.c46 int na, nb; local
49 na = heim_base_tagged_object_value(a);
51 na = *(int *)a;
58 return na - nb;
/freebsd-head/lib/libc/rpc/
H A Dpmap_clnt.c68 struct netbuf *na; local
81 na = uaddr2taddr(nconf, buf);
82 if (na == NULL) {
86 rslt = rpcb_set((rpcprog_t)program, (rpcvers_t)version, nconf, na);
87 free(na);
/freebsd-head/usr.bin/login/
H A Dlogin_audit.c116 au_login_fail(const char *errmsg, int na) argument
137 if (na) {
/freebsd-head/sys/dev/netmap/
H A Dnetmap_null.c85 netmap_null_krings_create(struct netmap_adapter *na) argument
87 return netmap_krings_create(na, 0);
91 netmap_null_reg(struct netmap_adapter *na, int onoff) argument
93 if (na->active_fds == 0) {
95 na->na_flags |= NAF_NETMAP_ON;
97 na->na_flags &= ~NAF_NETMAP_ON;
103 netmap_null_bdg_attach(const char *name, struct netmap_adapter *na, argument
107 (void)na;
113 netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na, argument
157 *na
[all...]
H A Dif_re_netmap.h48 re_netmap_reg(struct netmap_adapter *na, int onoff) argument
50 struct ifnet *ifp = na->ifp;
56 nm_set_native_flags(na);
58 nm_clear_native_flags(na);
72 struct netmap_adapter *na = kring->na; local
73 struct ifnet *ifp = na->ifp;
101 void *addr = PNMB(na, slot, &paddr);
108 NM_CHECK_ADDR_LEN(na, addr, len);
117 netmap_reload_map(na, s
174 struct netmap_adapter *na = kring->na; local
292 struct netmap_adapter *na = NA(sc->rl_ifp); local
320 struct netmap_adapter *na = NA(sc->rl_ifp); local
360 struct netmap_adapter na; local
[all...]
H A Dnetmap_offloadings.c153 bdg_mismatch_datapath(struct netmap_vp_adapter *na, argument
187 if (na->up.virt_hdr_len && !dst_na->up.virt_hdr_len) {
191 if (src_len < na->up.virt_hdr_len) {
224 if (na->up.virt_hdr_len && dst_na->up.virt_hdr_len)
227 src += na->up.virt_hdr_len;
228 src_len -= na->up.virt_hdr_len;
H A Dif_vtnet_netmap.h42 struct netmap_adapter *na = NA(sc->vtnet_ifp); local
44 if (!nm_native_on(na))
48 return !!(idx < na->num_rx_rings &&
49 na->rx_rings[idx]->nr_mode == NKR_NETMAP_ON);
51 return !!(idx < na->num_tx_rings &&
52 na->tx_rings[idx]->nr_mode == NKR_NETMAP_ON);
88 vtnet_netmap_reg(struct netmap_adapter *na, int state) argument
90 struct ifnet *ifp = na->ifp;
104 nm_set_native_flags(na);
119 kring = NMR(na, NR_T
150 struct netmap_adapter *na = kring->na; local
238 struct netmap_adapter *na = kring->na; local
293 struct netmap_adapter *na = NA(rxq->vtnrx_sc->vtnet_ifp); local
318 struct netmap_adapter *na = kring->na; local
400 vtnet_netmap_intr(struct netmap_adapter *na, int state) argument
467 vtnet_netmap_config(struct netmap_adapter *na, struct nm_config_info *info) argument
483 struct netmap_adapter na; local
[all...]
H A Dnetmap_monitor.c131 nm_is_zmon(struct netmap_adapter *na) argument
133 return na->nm_register == netmap_zmon_reg;
156 (struct netmap_monitor_adapter *)kring->na;
170 netmap_monitor_krings_create(struct netmap_adapter *na) argument
172 int error = netmap_krings_create(na, 0);
180 u_int first = nma_get_nrings(na, t);
181 for (i = 0; i < nma_get_host_nrings(na, t); i++) {
182 struct netmap_kring *kring = NMR(na, t)[first + i];
192 netmap_monitor_krings_delete(struct netmap_adapter *na) argument
194 netmap_krings_delete(na);
301 struct netmap_adapter *na = mkring->na; local
447 netmap_monitor_stop(struct netmap_adapter *na) argument
506 netmap_monitor_reg_common(struct netmap_adapter *na, int onoff, int zmon) argument
702 netmap_zmon_reg(struct netmap_adapter *na, int onoff) argument
709 netmap_zmon_dtor(struct netmap_adapter *na) argument
878 netmap_monitor_reg(struct netmap_adapter *na, int onoff) argument
884 netmap_monitor_dtor(struct netmap_adapter *na) argument
897 netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na, struct netmap_mem_d *nmd, int create) argument
[all...]
H A Dnetmap_pipe.c91 nm_pipe_alloc(struct netmap_adapter *na, u_int npipes) argument
96 if (npipes <= na->na_max_pipes)
100 if (npipes < na->na_next_pipe || npipes > NM_MAXPIPES)
103 old_len = sizeof(struct netmap_pipe_adapter *)*na->na_max_pipes;
105 npa = nm_os_realloc(na->na_pipes, len, old_len);
109 na->na_pipes = npa;
110 na->na_max_pipes = npipes;
117 netmap_pipe_dealloc(struct netmap_adapter *na) argument
119 if (na->na_pipes) {
120 if (na
136 struct netmap_pipe_adapter *na; local
154 netmap_pipe_add(struct netmap_adapter *parent, struct netmap_pipe_adapter *na) argument
171 netmap_pipe_remove(struct netmap_adapter *parent, struct netmap_pipe_adapter *na) argument
315 netmap_pipe_krings_create_both(struct netmap_adapter *na, struct netmap_adapter *ona) argument
375 netmap_pipe_krings_create(struct netmap_adapter *na) argument
388 netmap_pipe_reg_both(struct netmap_adapter *na, struct netmap_adapter *ona) argument
493 netmap_pipe_reg(struct netmap_adapter *na, int onoff) argument
536 netmap_pipe_krings_delete_both(struct netmap_adapter *na, struct netmap_adapter *ona) argument
618 netmap_pipe_krings_delete(struct netmap_adapter *na) argument
634 netmap_pipe_dtor(struct netmap_adapter *na) argument
653 netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na, struct netmap_mem_d *nmd, int create) argument
[all...]
/freebsd-head/usr.sbin/rpcbind/
H A Dcheck_bound.c86 struct netbuf *na; local
92 na = uaddr2taddr(fdl->nconf, uaddr);
93 if (!na)
98 free(na->buf);
99 free(na);
103 ans = bind(fd, (struct sockaddr *)na->buf, na->len);
106 free(na->buf);
107 free(na);
/freebsd-head/lib/libnetbsd/
H A Dsockaddr_snprintf.c128 int na = 1; local
134 #define ADDNA() do { if (na) ADDS("N/A"); } \
199 na = 0;
300 if (na == 0)
309 na = 1;
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c53 merge_names(char **dst, char **a, int na, char **b, int nb) argument
56 while (na > 0 && nb > 0) {
60 na--;
67 na--, nb--;
70 while (na-- > 0) {
390 int na = (int) NUM_EXT_NAMES(to); local
398 DEBUG(2, ("align_termtype to(%d:%s), from(%d:%s)", na, to->term_names,
401 if (na != 0 || nb != 0) {
402 if ((na == nb) /* check if the arrays are equivalent */
406 for (n = 0, same = TRUE; n < na;
[all...]
/freebsd-head/contrib/ntp/lib/isc/
H A Dsockaddr.c107 isc_netaddr_t na, nb; local
108 isc_netaddr_fromsockaddr(&na, a);
110 return (isc_netaddr_eqprefix(&na, &nb, prefixlen));
373 isc_sockaddr_fromnetaddr(isc_sockaddr_t *sockaddr, const isc_netaddr_t *na, argument
377 sockaddr->type.sin.sin_family = (short)na->family;
378 switch (na->family) {
384 sockaddr->type.sin.sin_addr = na->type.in;
392 memcpy(&sockaddr->type.sin6.sin6_addr, &na->type.in6, 16);
394 sockaddr->type.sin6.sin6_scope_id = isc_netaddr_getzone(na);
H A Dnetaddr.c183 isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size) { argument
188 result = isc_netaddr_totext(na, &buf);
209 na->family);
216 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen) { argument
221 switch (na->family) {
223 p = (const unsigned char *) &na->type.in;
229 p = (const unsigned char *) &na->type.in6;
377 isc_netaddr_ismulticast(isc_netaddr_t *na) { argument
378 switch (na->family) {
380 return (ISC_TF(ISC_IPADDR_ISMULTICAST(na
389 isc_netaddr_isexperimental(isc_netaddr_t *na) argument
399 isc_netaddr_islinklocal(isc_netaddr_t *na) argument
411 isc_netaddr_issitelocal(isc_netaddr_t *na) argument
[all...]
/freebsd-head/contrib/blacklist/port/
H A Dsockaddr_snprintf.c183 int na = 1; local
189 #define ADDNA() do { if (na) ADDS("N/A"); } \
249 na = 0;
366 if (na == 0)
375 na = 1;
/freebsd-head/sys/geom/raid/
H A Dtr_raid5.c138 int na, ns, nu; local
148 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
152 if (na == vol->v_disks_count)
154 else if (na + ns == vol->v_disks_count ||
155 na + ns + nu == vol->v_disks_count /* XXX: Temporary. */)
157 else if (na == vol->v_disks_count - 1 ||
158 na + ns + nu == vol->v_disks_count)
/freebsd-head/crypto/openssl/crypto/x509v3/
H A Dv3_admis.c281 void ADMISSIONS_set0_namingAuthority(ADMISSIONS *a, NAMING_AUTHORITY *na) argument
284 a->namingAuthority = na;
316 NAMING_AUTHORITY *na)
319 pi->namingAuthority = na;
315 PROFESSION_INFO_set0_namingAuthority(PROFESSION_INFO *pi, NAMING_AUTHORITY *na) argument
/freebsd-head/crypto/openssl/crypto/bn/
H A Dbn_mul.c622 void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb) argument
626 if (na < nb) {
630 itmp = na;
631 na = nb;
638 rr = &(r[na]);
640 (void)bn_mul_words(r, a, na, 0);
643 rr[0] = bn_mul_words(r, a, na, b[0]);
648 rr[1] = bn_mul_add_words(&(r[1]), a, na, b[1]);
651 rr[2] = bn_mul_add_words(&(r[2]), a, na, b[2]);
654 rr[3] = bn_mul_add_words(&(r[3]), a, na,
[all...]
/freebsd-head/crypto/heimdal/lib/gssapi/spnego/
H A Daccept_sec_context.c704 NegTokenResp *na; local
731 na = &nt.u.negTokenResp;
733 if (na->negResult != NULL) {
734 negResult = *(na->negResult);
745 if (na->responseToken != NULL) {
746 ibuf.length = na->responseToken->length;
747 ibuf.value = na->responseToken->data;
794 mic = na->mechListMIC;
805 na->mechListMIC,
/freebsd-head/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_avl.c140 uintptr_t *na = (uintptr_t *)np; local
158 na[0] = POOL_TO_MARKER(pp);
159 na[1] = 0;
165 uintptr_t *na = (uintptr_t *)np; local
168 if (na[0] == DEAD_MARKER && na[1] == DEAD_MARKER) {
173 if (na[0] != POOL_TO_MARKER(pp) || na[1] != 0) {
180 na[0] = DEAD_MARKER;
181 na[
426 uintptr_t *na = NODE_ARRAY(pp, elem); local
464 uintptr_t *na = NODE_ARRAY(pp, elem); local
498 uintptr_t *na = NODE_ARRAY(pp, elem); local
[all...]
/freebsd-head/contrib/tcpdump/
H A Dprint-lwres.c447 uint32_t l, na; local
480 na = EXTRACT_16BITS(&gabn->naliases);
481 for (i = 0; i < na; i++) {
489 na = EXTRACT_16BITS(&gabn->naddrs);
490 for (i = 0; i < na; i++) {
519 na = EXTRACT_16BITS(&gnba->naliases);
520 for (i = 0; i < na; i++) {
558 na = EXTRACT_16BITS(&grbn->nrdatas);
559 for (i = 0; i < na; i++) {
568 na
[all...]
/freebsd-head/sbin/routed/
H A Doutput.c252 struct netauth *na; local
263 na = (struct netauth*)wb->n;
265 na->a_family = RIP_AF_AUTH;
266 na->a_type = RIP_AUTH_PW;
267 memcpy(na->au.au_pw, ap->key, sizeof(na->au.au_pw));
271 na->a_family = RIP_AF_AUTH;
272 na->a_type = RIP_AUTH_MD5;
273 na->au.a_md5.md5_keyid = ap->keyid;
274 na
286 struct netauth *na, *na2; local
[all...]
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dltable.c200 int na = 0; /* number of elements to go to array part */ local
207 na = a; /* all elements smaller than n will go to array part */
213 lua_assert(*narray/2 <= na && na <= *narray);
214 return na;
344 int nasize, na; local
356 na = computesizes(nums, &nasize);
358 luaH_resize(L, t, nasize, totaluse - na);
/freebsd-head/contrib/unbound/iterator/
H A Diter_delegpt.c541 struct delegpt_addr* a, *na; local
553 na = a->next_target;
556 a = na;
/freebsd-head/sys/powerpc/powerpc/
H A Dplatform.c230 int na, np; local
231 mem_regions(&p, &np, &a, &na);

Completed in 534 milliseconds

123