Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/dev/netmap/
Dnetmap_mem2.h118 extern struct netmap_mem_d nm_mem;
120 struct lut_entry* netmap_mem_get_lut(struct netmap_mem_d *);
121 u_int netmap_mem_get_buftotal(struct netmap_mem_d *);
122 size_t netmap_mem_get_bufsize(struct netmap_mem_d *);
123 vm_paddr_t netmap_mem_ofstophys(struct netmap_mem_d *, vm_ooffset_t);
124 int netmap_mem_finalize(struct netmap_mem_d *, struct netmap_adapter *);
131 void netmap_mem_deref(struct netmap_mem_d *, struct netmap_adapter *);
132 int netmap_mem_get_info(struct netmap_mem_d *, u_int *size, u_int *memflags, uint16_t *id);
133 ssize_t netmap_mem_if_offset(struct netmap_mem_d *, const void *vaddr);
134 struct netmap_mem_d* netmap_mem_private_new(const char *name,
[all …]
Dnetmap_mem2.c116 typedef int (*netmap_mem_config_t)(struct netmap_mem_d*);
117 typedef int (*netmap_mem_finalize_t)(struct netmap_mem_d*);
118 typedef void (*netmap_mem_deref_t)(struct netmap_mem_d*);
122 struct netmap_mem_d { struct
141 struct netmap_mem_d *prev, *next; argument
146 netmap_mem_get_lut(struct netmap_mem_d *nmd) in netmap_mem_get_lut()
152 netmap_mem_get_buftotal(struct netmap_mem_d *nmd) in netmap_mem_get_buftotal()
158 netmap_mem_get_bufsize(struct netmap_mem_d *nmd) in netmap_mem_get_bufsize()
212 static int netmap_mem_global_config(struct netmap_mem_d *nmd);
213 static int netmap_mem_global_finalize(struct netmap_mem_d *nmd);
[all …]
Dnetmap_kern.h595 struct netmap_mem_d *nm_mem;
758 struct netmap_mem_d *save_nmd;
1294 extern size_t netmap_mem_get_bufsize(struct netmap_mem_d *);
1479 struct netmap_mem_d *np_mref; /* use with NMG_LOCK held */
Dnetmap.c918 struct netmap_mem_d *nmd; in netmap_get_memory_locked()
2062 struct netmap_mem_d *nmd = &nm_mem; in netmap_ioctl()