Searched refs:netmap_mem_d (Results 1 – 4 of 4) sorted by relevance
154 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 { struct192 extern struct netmap_mem_d nm_mem; argument194 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 …]
70 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 …]
349 struct netmap_mem_d *nm_mem;907 struct netmap_mem_d *np_mref; /* use with NMG_LOCK held */
522 struct netmap_mem_d *nmd; in netmap_get_memory_locked()1320 struct netmap_mem_d *nmd = &nm_mem; in netmap_ioctl()