Home
last modified time | relevance | path

Searched refs:NM_MTX_INIT (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap_kern.h93 #define NM_MTX_INIT(m) sx_init(&(m), #m) macro
159 #define NM_MTX_INIT(m) mutex_init(&(m)) macro
186 #define NM_MTX_INIT(m) KeInitializeGuardedMutex(&m); macro
229 #define NMG_LOCK_INIT() NM_MTX_INIT(netmap_global_lock)
H A Dnetmap_mem2.c134 #define NMA_LOCK_INIT(n) NM_MTX_INIT((n)->nm_mtx)
1948 NM_MTX_INIT(nm_mem_list_lock); in netmap_mem_init()
1952 NM_MTX_INIT(nm_mem_ext_list_lock); in netmap_mem_init()