#include <sys/cdefs.h>
#include "opt_ddb.h"
#include "opt_mprof.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/ktr.h>
#include <sys/lock.h>
#include <sys/lock_profile.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/pcpu.h>
#include <sys/proc.h>
#include <sys/sbuf.h>
#include <sys/sched.h>
#include <sys/smp.h>
#include <sys/sysctl.h>
#include <machine/cpufunc.h>
Go to the source code of this file.
__FBSDID |
( |
"$BSDSUniX$" |
| ) |
|
CTASSERT |
( |
LOCK_CLASS_MAX |
= =15 | ) |
|
void lock_destroy |
( |
struct lock_object * |
lock | ) |
|
void lock_init |
( |
struct lock_object * |
lock, |
|
|
struct lock_class * |
class, |
|
|
const char * |
name, |
|
|
const char * |
type, |
|
|
int |
flags |
|
) |
| |
struct lock_class* lock_classes[LOCK_CLASS_MAX+1] |
Initial value:= {
}
struct lock_class lock_class_rm_sleepable
struct lock_class lock_class_mtx_spin
struct lock_class lock_class_rm
struct lock_class lock_class_rw
struct lock_class lock_class_sx
struct lock_class lock_class_mtx_sleep
struct lock_class lock_class_lockmgr
Definition at line 61 of file subr_lock.c.
Referenced by lock_init().