Home
last modified time | relevance | path

Searched refs:na (Results 1 – 25 of 175) sorted by relevance

1234567

/freebsd/sys/dev/netmap/
H A Dnetmap.c602 netmap_set_ring(struct netmap_adapter *na, u_int ring_id, enum txrx t, int stopped) in netmap_set_ring() argument
605 netmap_disable_ring(NMR(na, t)[ring_id], stopped); in netmap_set_ring()
607 NMR(na, t)[ring_id]->nkr_stopped = 0; in netmap_set_ring() local
613 netmap_set_all_rings(struct netmap_adapter *na, int stopped) in netmap_set_all_rings() argument
618 if (!nm_netmap_on(na)) in netmap_set_all_rings()
622 nm_prinf("%s: %sable all rings", na->name, in netmap_set_all_rings()
626 for (i = 0; i < netmap_real_rings(na, t); i++) { in netmap_set_all_rings()
627 netmap_set_ring(na, i, t, stopped); in netmap_set_all_rings()
663 struct netmap_adapter *na = NA(ifp); in netmap_make_zombie() local
664 netmap_set_all_rings(na, NM_KR_LOCKED); in netmap_make_zombie()
[all …]
H A Dnetmap_generic.c207 netmap_generic_irq(struct netmap_adapter *na, u_int q, u_int *work_done) in netmap_generic_irq() argument
209 if (unlikely(!nm_netmap_on(na))) in netmap_generic_irq()
212 netmap_common_irq(na, q, work_done); in netmap_generic_irq()
222 generic_netmap_unregister(struct netmap_adapter *na) in generic_netmap_unregister() argument
224 struct netmap_generic_adapter *gna = (struct netmap_generic_adapter *)na; in generic_netmap_unregister()
228 if (na->active_fds == 0) { in generic_netmap_unregister()
229 na->na_flags &= ~NAF_NETMAP_ON; in generic_netmap_unregister()
238 netmap_krings_mode_commit(na, /*onoff=*/0); in generic_netmap_unregister()
240 for_each_rx_kring(r, kring, na) { in generic_netmap_unregister()
252 for_each_tx_kring(r, kring, na) { in generic_netmap_unregister()
[all …]
H A Dnetmap_bdg.c350 netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na) in netmap_vp_bdg_ctl() argument
352 struct netmap_vp_adapter *vpna = (struct netmap_vp_adapter *)na; in netmap_vp_bdg_ctl()
359 netmap_set_all_rings(na, 0 /* disable */); in netmap_vp_bdg_ctl()
362 netmap_set_all_rings(na, 1 /* enable */); in netmap_vp_bdg_ctl()
365 netmap_adapter_put(na); in netmap_vp_bdg_ctl()
370 netmap_default_bdg_attach(const char *name, struct netmap_adapter *na, in netmap_default_bdg_attach() argument
386 netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_bdg_na() argument
399 *na = NULL; /* default return value */ in netmap_get_bdg_na()
430 *na = &vpna->up; in netmap_get_bdg_na()
531 *na = &vpna->up; in netmap_get_bdg_na()
[all …]
H A Dif_vtnet_netmap.h37 vtnet_netmap_reg(struct netmap_adapter *na, int state) in vtnet_netmap_reg() argument
39 if_t ifp = na->ifp; in vtnet_netmap_reg()
60 struct netmap_adapter *na = kring->na; in vtnet_netmap_txsync() local
61 if_t ifp = na->ifp; in vtnet_netmap_txsync()
91 (void)PNMB(na, slot, &paddr); in vtnet_netmap_txsync()
92 NM_CHECK_ADDR_LEN_OFF(na, len, offset); in vtnet_netmap_txsync()
155 struct netmap_adapter *na = kring->na; in vtnet_netmap_kring_refill() local
156 if_t ifp = na->ifp; in vtnet_netmap_kring_refill()
176 void *addr = PNMB(na, slot, &paddr); in vtnet_netmap_kring_refill()
179 if (addr == NETMAP_BUF_BASE(na)) { /* bad buf */ in vtnet_netmap_kring_refill()
[all …]
H A Dnetmap_pipe.c90 nm_pipe_alloc(struct netmap_adapter *na, u_int npipes) in nm_pipe_alloc() argument
95 if (npipes <= na->na_max_pipes) in nm_pipe_alloc()
99 if (npipes < na->na_next_pipe || npipes > NM_MAXPIPES) in nm_pipe_alloc()
102 old_len = sizeof(struct netmap_pipe_adapter *)*na->na_max_pipes; in nm_pipe_alloc()
104 npa = nm_os_realloc(na->na_pipes, len, old_len); in nm_pipe_alloc()
108 na->na_pipes = npa; in nm_pipe_alloc()
109 na->na_max_pipes = npipes; in nm_pipe_alloc()
116 netmap_pipe_dealloc(struct netmap_adapter *na) in netmap_pipe_dealloc() argument
118 if (na->na_pipes) { in netmap_pipe_dealloc()
119 if (na->na_next_pipe > 0) { in netmap_pipe_dealloc()
[all …]
H A Dnetmap_vale.c190 nm_free_bdgfwd(struct netmap_adapter *na) in nm_free_bdgfwd() argument
196 nrings = na->num_tx_rings; in nm_free_bdgfwd()
197 kring = na->tx_rings; in nm_free_bdgfwd()
211 nm_alloc_bdgfwd(struct netmap_adapter *na) in nm_alloc_bdgfwd() argument
223 nrings = netmap_real_rings(na, NR_TX); in nm_alloc_bdgfwd()
224 kring = na->tx_rings; in nm_alloc_bdgfwd()
232 nm_free_bdgfwd(na); in nm_alloc_bdgfwd()
398 netmap_vale_vp_dtor(struct netmap_adapter *na) in netmap_vale_vp_dtor() argument
400 struct netmap_vp_adapter *vpna = (struct netmap_vp_adapter*)na; in netmap_vale_vp_dtor()
403 nm_prdis("%s has %d references", na->name, na->na_refcount); in netmap_vale_vp_dtor()
[all …]
H A Dif_re_netmap.h47 re_netmap_reg(struct netmap_adapter *na, int onoff) in re_netmap_reg() argument
49 if_t ifp = na->ifp; in re_netmap_reg()
55 nm_set_native_flags(na); in re_netmap_reg()
57 nm_clear_native_flags(na); in re_netmap_reg()
71 struct netmap_adapter *na = kring->na; in re_netmap_txsync() local
72 if_t ifp = na->ifp; in re_netmap_txsync()
100 void *addr = PNMB(na, slot, &paddr); in re_netmap_txsync()
107 NM_CHECK_ADDR_LEN(na, addr, len); in re_netmap_txsync()
116 netmap_reload_map(na, sc->rl_ldata.rl_tx_mtag, in re_netmap_txsync()
173 struct netmap_adapter *na = kring->na; in re_netmap_rxsync() local
[all …]
H A Dnetmap_kern.h104 #define MBUF_TRANSMIT(na, ifp, m) ((na)->if_transmit(ifp, m)) argument
145 #define MBUF_TRANSMIT(na, ifp, m) \ argument
149 (((struct net_device_ops *)(na)->if_transmit)->ndo_start_xmit(m, ifp)); \
473 struct netmap_adapter *na; member
935 nma_get_ndesc(struct netmap_adapter *na, enum txrx t) in nma_get_ndesc() argument
937 return (t == NR_TX ? na->num_tx_desc : na->num_rx_desc); in nma_get_ndesc()
941 nma_set_ndesc(struct netmap_adapter *na, enum txrx t, u_int v) in nma_set_ndesc() argument
944 na->num_tx_desc = v; in nma_set_ndesc()
946 na->num_rx_desc = v; in nma_set_ndesc()
950 nma_get_nrings(struct netmap_adapter *na, enum txrx t) in nma_get_nrings() argument
[all …]
H A Dnetmap_monitor.c132 nm_is_zmon(struct netmap_adapter *na) in nm_is_zmon() argument
134 return na->nm_register == netmap_zmon_reg; in nm_is_zmon()
157 (struct netmap_monitor_adapter *)kring->na; in netmap_monitor_rxsync()
171 netmap_monitor_krings_create(struct netmap_adapter *na) in netmap_monitor_krings_create() argument
173 int error = netmap_krings_create(na, 0); in netmap_monitor_krings_create()
181 u_int first = nma_get_nrings(na, t); in netmap_monitor_krings_create()
182 for (i = 0; i < nma_get_host_nrings(na, t); i++) { in netmap_monitor_krings_create()
183 struct netmap_kring *kring = NMR(na, t)[first + i]; in netmap_monitor_krings_create()
193 netmap_monitor_krings_delete(struct netmap_adapter *na) in netmap_monitor_krings_delete() argument
195 netmap_krings_delete(na); in netmap_monitor_krings_delete()
[all …]
H A Dnetmap_null.c84 netmap_null_krings_create(struct netmap_adapter *na) in netmap_null_krings_create() argument
86 return netmap_krings_create(na, 0); in netmap_null_krings_create()
90 netmap_null_reg(struct netmap_adapter *na, int onoff) in netmap_null_reg() argument
92 if (na->active_fds == 0) { in netmap_null_reg()
94 na->na_flags |= NAF_NETMAP_ON; in netmap_null_reg()
96 na->na_flags &= ~NAF_NETMAP_ON; in netmap_null_reg()
102 netmap_null_bdg_attach(const char *name, struct netmap_adapter *na, in netmap_null_bdg_attach() argument
106 (void)na; in netmap_null_bdg_attach()
112 netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_null_na() argument
157 *na = &nna->up; in netmap_get_null_na()
[all …]
H A Dnetmap_mem2.c267 netmap_mem_if_new(struct netmap_adapter *na, struct netmap_priv_d *priv) in netmap_mem_if_new() argument
270 struct netmap_mem_d *nmd = na->nm_mem; in netmap_mem_if_new()
273 nifp = nmd->ops->nmd_if_new(nmd, na, priv); in netmap_mem_if_new()
280 netmap_mem_if_delete(struct netmap_adapter *na, struct netmap_if *nif) in netmap_mem_if_delete() argument
282 struct netmap_mem_d *nmd = na->nm_mem; in netmap_mem_if_delete()
285 nmd->ops->nmd_if_delete(nmd, na, nif); in netmap_mem_if_delete()
290 netmap_mem_rings_create(struct netmap_adapter *na) in netmap_mem_rings_create() argument
293 struct netmap_mem_d *nmd = na->nm_mem; in netmap_mem_rings_create()
296 rv = nmd->ops->nmd_rings_create(nmd, na); in netmap_mem_rings_create()
303 netmap_mem_rings_delete(struct netmap_adapter *na) in netmap_mem_rings_delete() argument
[all …]
/freebsd/lib/libc/rpc/
H A Drpc44 event 100101 na.event # SunNet Manager
45 logger 100102 na.logger # SunNet Manager
46 sync 100104 na.sync
47 hostperf 100107 na.hostperf
48 activity 100109 na.activity # SunNet Manager
49 hostmem 100112 na.hostmem
50 sample 100113 na.sample
51 x25 100114 na.x25
52 ping 100115 na.ping
53 rpcnfs 100116 na.rpcnfs
[all …]
/freebsd/lib/libnvmf/
H A Dnvmf_controller.c138 nvmf_accept(struct nvmf_association *na, const struct nvmf_qpair_params *params, in nvmf_accept() argument
154 na_clear_error(na); in nvmf_accept()
155 if (!na->na_controller) { in nvmf_accept()
156 na_error(na, "Cannot accept on a host"); in nvmf_accept()
160 qp = nvmf_allocate_qpair(na, params); in nvmf_accept()
167 na_error(na, "Failed to receive CONNECT: %s", strerror(error)); in nvmf_accept()
173 na_error(na, "CONNECT command failed to validate: %u", in nvmf_accept()
182 na_error(na, "Invalid opcode in CONNECT (%u,%u)", cmd->opcode, in nvmf_accept()
190 na_error(na, "Unsupported CONNECT record format %u", in nvmf_accept()
202 qsize > na->na_params.max_admin_qsize) { in nvmf_accept()
[all …]
H A Dnvmf_tcp.c42 struct nvmf_association na; member
79 #define TASSOC(nc) ((struct nvmf_tcp_association *)(na))
192 nvmf_tcp_report_error(struct nvmf_association *na, struct nvmf_tcp_qpair *qp, in nvmf_tcp_report_error() argument
206 hdr.common.pdu_type = na->na_controller ? in nvmf_tcp_report_error()
785 nvmf_tcp_validate_ic_pdu(struct nvmf_association *na, struct nvmf_tcp_qpair *qp, in nvmf_tcp_validate_ic_pdu() argument
806 if (na->na_controller != ((ch->pdu_type & 0x01) == 0)) { in nvmf_tcp_validate_ic_pdu()
807 na_error(na, "NVMe/TCP: Invalid PDU type %u", ch->pdu_type); in nvmf_tcp_validate_ic_pdu()
808 nvmf_tcp_report_error(na, qp, in nvmf_tcp_validate_ic_pdu()
819 na_error(na, "NVMe/TCP: Invalid PDU type %u", ch->pdu_type); in nvmf_tcp_validate_ic_pdu()
820 nvmf_tcp_report_error(na, qp, in nvmf_tcp_validate_ic_pdu()
[all …]
/freebsd/sys/dev/ena/
H A Dena_netmap.c43 struct netmap_adapter *na; member
84 struct netmap_adapter na; in ena_netmap_attach() local
88 bzero(&na, sizeof(na)); in ena_netmap_attach()
89 na.na_flags = NAF_MOREFRAG; in ena_netmap_attach()
90 na.ifp = adapter->ifp; in ena_netmap_attach()
91 na.num_tx_desc = adapter->requested_tx_ring_size; in ena_netmap_attach()
92 na.num_rx_desc = adapter->requested_rx_ring_size; in ena_netmap_attach()
93 na.num_tx_rings = adapter->num_io_queues; in ena_netmap_attach()
94 na.num_rx_rings = adapter->num_io_queues; in ena_netmap_attach()
95 na.rx_buf_maxsize = adapter->buf_ring_size; in ena_netmap_attach()
[all …]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dco-586.pl28 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
41 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next a
51 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # load next a
56 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
72 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next a
75 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
80 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # load next b
85 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
107 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next a
108 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # load next b
[all …]
/freebsd/sbin/nvmecontrol/
H A Dfabrics.c190 struct nvmf_association *na; in connect_discovery_adminq() local
217 na = nvmf_allocate_association(trtype, false, &aparams); in connect_discovery_adminq()
218 if (na == NULL) in connect_discovery_adminq()
224 qp = nvmf_connect(na, &qparams, 0, NVME_MIN_ADMIN_ENTRIES, hostid, in connect_discovery_adminq()
228 nvmf_association_error(na)); in connect_discovery_adminq()
229 nvmf_free_association(na); in connect_discovery_adminq()
277 connect_nvm_adminq(struct nvmf_association *na, in connect_nvm_adminq() argument
287 qp = nvmf_connect(na, params, 0, NVMF_MIN_ADMIN_MAX_SQ_SIZE, hostid, in connect_nvm_adminq()
291 nvmf_association_error(na)); in connect_nvm_adminq()
410 struct nvmf_association *na; in connect_nvm_queues() local
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_netmap.c135 struct netmap_adapter *na = NA(vi->ifp); in alloc_nm_rxq() local
137 MPASS(na != NULL); in alloc_nm_rxq()
145 len = na->num_rx_desc * EQ_ESIZE + sc->params.sge.spg_len; in alloc_nm_rxq()
157 nm_rxq->fl_sidx = na->num_rx_desc; in alloc_nm_rxq()
219 struct netmap_adapter *na = NA(vi->ifp); in alloc_nm_txq() local
224 len = na->num_tx_desc * EQ_ESIZE + sc->params.sge.spg_len; in alloc_nm_txq()
231 nm_txq->sidx = na->num_tx_desc; in alloc_nm_txq()
284 struct netmap_adapter *na = NA(vi->ifp); in alloc_nm_rxq_hwq() local
289 MPASS(na != NULL); in alloc_nm_rxq_hwq()
294 bzero(nm_rxq->fl_desc, na->num_rx_desc * EQ_ESIZE + sp->spg_len); in alloc_nm_rxq_hwq()
[all …]
/freebsd/share/timedef/
H A Dga_IE.UTF-8.src18na Feabhra
21na Bealtaine
24na Lúnasa
27na Samhna
28na Nollag
66na Feabhra
69na Bealtaine
72na Lúnasa
75na Samhna
76na Nollag
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dnetaddr.c183 isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size) { in isc_netaddr_format() argument
188 result = isc_netaddr_totext(na, &buf); in isc_netaddr_format()
209 na->family); in isc_netaddr_format()
216 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen) { in isc_netaddr_prefixok() argument
221 switch (na->family) { in isc_netaddr_prefixok()
223 p = (const unsigned char *) &na->type.in; in isc_netaddr_prefixok()
229 p = (const unsigned char *) &na->type.in6; in isc_netaddr_prefixok()
377 isc_netaddr_ismulticast(isc_netaddr_t *na) { in isc_netaddr_ismulticast() argument
378 switch (na->family) { in isc_netaddr_ismulticast()
380 return (ISC_TF(ISC_IPADDR_ISMULTICAST(na->type.in.s_addr))); in isc_netaddr_ismulticast()
[all …]
/freebsd/usr.sbin/rpcbind/
H A Dcheck_bound.c77 struct netbuf *na; in check_bound() local
83 na = uaddr2taddr(fdl->nconf, uaddr); in check_bound()
84 if (!na) in check_bound()
89 free(na->buf); in check_bound()
90 free(na); in check_bound()
94 ans = bind(fd, (struct sockaddr *)na->buf, na->len); in check_bound()
97 free(na->buf); in check_bound()
98 free(na); in check_bound()
/freebsd/sys/contrib/openzfs/lib/libuutil/
H A Duu_avl.c138 uintptr_t *na = (uintptr_t *)np; in uu_avl_node_init() local
156 na[0] = POOL_TO_MARKER(pp); in uu_avl_node_init()
157 na[1] = 0; in uu_avl_node_init()
163 uintptr_t *na = (uintptr_t *)np; in uu_avl_node_fini() local
166 if (na[0] == DEAD_MARKER && na[1] == DEAD_MARKER) { in uu_avl_node_fini()
171 if (na[0] != POOL_TO_MARKER(pp) || na[1] != 0) { in uu_avl_node_fini()
178 na[0] = DEAD_MARKER; in uu_avl_node_fini()
179 na[1] = DEAD_MARKER; in uu_avl_node_fini()
180 na[2] = DEAD_MARKER; in uu_avl_node_fini()
424 uintptr_t *na = NODE_ARRAY(pp, elem); in uu_avl_remove() local
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dnetaddr.h91 isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size);
135 isc_netaddr_ismulticast(isc_netaddr_t *na);
141 isc_netaddr_isexperimental(isc_netaddr_t *na);
147 isc_netaddr_islinklocal(isc_netaddr_t *na);
153 isc_netaddr_issitelocal(isc_netaddr_t *na);
165 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen);
/freebsd/usr.bin/ee/nls/pl_PL.ISO8859-2/
H A Dee.msg11 2 "tabulacje na spacje "
39 30 "operacje na plikach"
46 37 "^b na d� tekstu ^j nowy wiersz ^t do g�ry tekstu "
51 42 "^g na pocz�tek wiersza ^o na koniec wiersza ^y usu� wiersz "
62 53 "expand : rozwi� tabulacje na spacje noexpand: nie rozwijaj tabulacji "
68 59 "^b na d� tekstu ^g na pocz. wiersza ^w usu� s�owo ^l w lewo "
69 60 "^t do g�ry tekstu ^o na koniec wiersza ^v przywr�� s�owo ^r w prawo "
75 66 "expand: rozwi� tabulacje na spacje |noexpand: nie rozwijaj tabulacji "
91 82 " -e nie rozwijaj tabulacji na spacje\n"
106 97 "nie mo�na utworzy� pliku \"%s\""
[all …]
/freebsd/usr.bin/vi/catalog/
H A Dpolish.UTF-8.base2 003 "nie można usunąć linii %lu"
3 004 "nie można dodać do linii %lu"
4 005 "nie można wstawić w linii %lu"
5 006 "nie można zachować linii %lu"
6 007 "nie można pobrać ostatniej linii"
7 008 "Błąd: nie można pobrać linii %lu"
12 013 "Brak logowania, nie można przeglądać do przodu"
30 031 "Nie można ustawić domyślnej opcji %s"
57 063 "Nie można zablokować kopii zapasowej"
63 069 "Istnieją starsze wersje tego pliku, które można odzyskać"
[all …]

1234567