Home
last modified time | relevance | path

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

/dflybsd-src/sys/net/netmap/
H A Dnetmap_mem2.h154 typedef int (*netmap_mem_config_t)(struct netmap_mem_d*);
155 typedef int (*netmap_mem_finalize_t)(struct netmap_mem_d*);
156 typedef void (*netmap_mem_deref_t)(struct netmap_mem_d*);
175 struct netmap_mem_d { struct
192 extern struct netmap_mem_d nm_mem; argument
194 vm_paddr_t netmap_mem_ofstophys(struct netmap_mem_d *, vm_ooffset_t);
195 int netmap_mem_finalize(struct netmap_mem_d *);
203 void netmap_mem_deref(struct netmap_mem_d *);
204 int netmap_mem_get_info(struct netmap_mem_d *, u_int *size, u_int *memflags);
205 ssize_t netmap_mem_if_offset(struct netmap_mem_d *, const void *vaddr);
[all …]
H A Dnetmap_mem2.c70 static int netmap_mem_global_config(struct netmap_mem_d *nmd);
71 static int netmap_mem_global_finalize(struct netmap_mem_d *nmd);
72 static void netmap_mem_global_deref(struct netmap_mem_d *nmd);
73 struct netmap_mem_d nm_mem = { /* Our memory allocator. */
107 static int netmap_mem_private_config(struct netmap_mem_d *nmd);
108 static int netmap_mem_private_finalize(struct netmap_mem_d *nmd);
109 static void netmap_mem_private_deref(struct netmap_mem_d *nmd);
110 const struct netmap_mem_d nm_blueprint = {
166 netmap_mem_ofstophys(struct netmap_mem_d* nmd, vm_ooffset_t offset) in netmap_mem_ofstophys()
198 netmap_mem_get_info(struct netmap_mem_d* nmd, u_int* size, u_int *memflags) in netmap_mem_get_info()
[all …]
H A Dnetmap_kern.h349 struct netmap_mem_d *nm_mem;
907 struct netmap_mem_d *np_mref; /* use with NMG_LOCK held */
H A Dnetmap.c522 struct netmap_mem_d *nmd; in netmap_get_memory_locked()
1320 struct netmap_mem_d *nmd = &nm_mem; in netmap_ioctl()