Home
last modified time | relevance | path

Searched refs:lock_type (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/sys/sys/
H A Drwlock.h86 { .lo_type = &(const struct lock_type){ .lt_name = name }, \
137 const struct lock_type *);
141 static const struct lock_type __lock_type = { .lt_name = #rwl };\
196 const struct lock_type *);
203 static const struct lock_type __lock_type = { .lt_name = #rrwl };\
220 static struct lock_type __lock_type = { .lt_name = #rwl }; \
231 struct lock_type *);
H A D_lock.h59 const struct lock_type *lo_type;
65 struct lock_type { struct
H A Dmutex.h107 { .lo_type = &(const struct lock_type){ .lt_name = __MTX_NAME }, \
136 const struct lock_type *);
139 static const struct lock_type __lock_type = { .lt_name = #m }; \
H A Dmplock.h50 void ___mp_lock_init(struct __mp_lock *, const struct lock_type *);
60 static const struct lock_type __lock_type = { .lt_name = #mpl };\
H A Dwitness.h73 void witness_init(struct lock_object *, const struct lock_type *);
/openbsd-src/sys/arch/hppa/include/
H A Dmplock.h58 void _mp_lock_init(struct __mp_lock *, const struct lock_type *);
61 static const struct lock_type __lock_type = { .lt_name = #mpl };\
/openbsd-src/gnu/llvm/lldb/source/Host/posix/
H A DLockFilePosix.cpp19 static Status fileLock(int fd, int cmd, int lock_type, const uint64_t start, in fileLock() argument
23 fl.l_type = lock_type; in fileLock()
/openbsd-src/sys/kern/
H A Dkern_rwlock.c166 const struct lock_type *type)
186 const struct lock_type *type) in rw_enter_diag()
593 const struct lock_type *type) in rw_obj_free()
704 struct lock_type *type)
H A Dkern_lock.c88 ___mp_lock_init(struct __mp_lock *mpl, const struct lock_type *type) in ___mp_lock_init()
407 const struct lock_type *type) in _mtx_init_flags()
H A Dsubr_witness.c233 const struct lock_type *w_type;
289 const struct lock_type *wh_type;
329 static struct witness *enroll(const struct lock_type *, const char *,
352 static struct witness *witness_hash_get(const struct lock_type *,
556 witness_init(struct lock_object *lock, const struct lock_type *type) in witness_init()
1455 enroll(const struct lock_type *type, const char *subtype, in enroll()
2375 witness_hash_get(const struct lock_type *type, const char *subtype) in witness_hash_get()
H A Dkern_smr.c53 struct lock_type smr_lock_type = {
H A Dkern_timeout.c162 struct lock_type timeout_sleeplock_type = {
165 struct lock_type timeout_spinlock_type = {
H A Dkern_task.c35 static struct lock_type taskq_lock_type = {
H A Dsubr_pool.c80 const struct lock_type *);
94 static const struct lock_type __lock_type = { .lt_name = #pl }; \
2195 const struct lock_type *type)
2249 const struct lock_type *type)