Home
last modified time | relevance | path

Searched refs:nmd (Results 1 – 4 of 4) sorted by relevance

/freebsd-9-stable/sys/dev/netmap/
Dnetmap_mem2.c106 static int netmap_mem_global_config(struct netmap_mem_d *nmd);
107 static int netmap_mem_global_finalize(struct netmap_mem_d *nmd);
108 static void netmap_mem_global_deref(struct netmap_mem_d *nmd);
150 static int netmap_mem_private_config(struct netmap_mem_d *nmd);
151 static int netmap_mem_private_finalize(struct netmap_mem_d *nmd);
152 static void netmap_mem_private_deref(struct netmap_mem_d *nmd);
211 nm_mem_assign_id(struct netmap_mem_d *nmd) in nm_mem_assign_id() argument
226 nmd->nm_id = id; in nm_mem_assign_id()
227 nmd->prev = scan->prev; in nm_mem_assign_id()
228 nmd->next = scan; in nm_mem_assign_id()
[all …]
Dnetmap.c646 struct netmap_mem_d *nmd; in netmap_get_memory_locked() local
656 nmd = &nm_mem; in netmap_get_memory_locked()
658 nmd = p->np_na->nm_mem; in netmap_get_memory_locked()
661 error = netmap_mem_finalize(nmd); in netmap_get_memory_locked()
663 p->np_mref = nmd; in netmap_get_memory_locked()
664 } else if (p->np_mref != nmd) { in netmap_get_memory_locked()
1667 struct netmap_mem_d *nmd = &nm_mem; in netmap_ioctl() local
1675 nmd = na->nm_mem; /* get memory allocator */ in netmap_ioctl()
1678 error = netmap_mem_get_info(nmd, &nmr->nr_memsize, &memflags, in netmap_ioctl()
/freebsd-9-stable/tools/tools/netmap/
Dpkt-gen.c181 struct nm_desc *nmd; member
205 struct nm_desc *nmd; member
731 struct netmap_if *nifp = targ->nmd->nifp; in pinger_body()
778 for (i = targ->nmd->first_tx_ring; in pinger_body()
779 i <= targ->nmd->last_tx_ring; i++) { in pinger_body()
834 struct netmap_if *nifp = targ->nmd->nifp; in ponger_body()
859 for (i = targ->nmd->first_rx_ring; i <= targ->nmd->last_rx_ring; i++) { in ponger_body()
981 struct netmap_if *nifp = targ->nmd->nifp; in sender_body()
1067 for (i = targ->nmd->first_tx_ring; i <= targ->nmd->last_tx_ring; i++) { in sender_body()
1094 for (i = targ->nmd->first_tx_ring; i <= targ->nmd->last_tx_ring; i++) { in sender_body()
[all …]
/freebsd-9-stable/cddl/contrib/opensolaris/common/ctf/
Dctf_create.c433 ctf_dmdef_t *dmd, *nmd; in ctf_dtd_delete() local
451 dmd != NULL; dmd = nmd) { in ctf_dtd_delete()
457 nmd = ctf_list_next(dmd); in ctf_dtd_delete()