Home
last modified time | relevance | path

Searched defs:lk (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/kern/
H A Dkern_lock.c75 #define _lockmgr_assert(lk, what, file, line) argument
82 #define STACK_PRINT(lk) argument
83 #define STACK_SAVE(lk) argument
84 #define STACK_ZERO(lk) argument
86 #define STACK_PRINT(lk) stack_print_ddb(&(lk)->lk_stack) argument
87 #define STACK_SAVE(lk) stack_save(&(lk)->lk_stack) argument
88 #define STACK_ZERO(lk) stack_zero(&(lk) argument
91 LOCK_LOG2(lk,string,arg1,arg2) global() argument
94 LOCK_LOG3(lk,string,arg1,arg2,arg3) global() argument
144 lockmgr_xlocked(lk) global() argument
203 lockmgr_note_shared_acquire(struct lock * lk,int contested,uint64_t waittime,const char * file,int line,int flags) lockmgr_note_shared_acquire() argument
217 lockmgr_note_shared_release(struct lock * lk,const char * file,int line) lockmgr_note_shared_release() argument
227 lockmgr_note_exclusive_acquire(struct lock * lk,int contested,uint64_t waittime,const char * file,int line,int flags) lockmgr_note_exclusive_acquire() argument
241 lockmgr_note_exclusive_release(struct lock * lk,const char * file,int line) lockmgr_note_exclusive_release() argument
253 lockmgr_xholder(const struct lock * lk) lockmgr_xholder() argument
268 sleeplk(struct lock * lk,u_int flags,struct lock_object * ilk,const char * wmesg,int pri,int timo,int queue) sleeplk() argument
314 wakeupshlk(struct lock * lk,const char * file,int line) wakeupshlk() argument
434 lockinit(struct lock * lk,int pri,const char * wmesg,int timo,int flags) lockinit() argument
474 lockallowshare(struct lock * lk) lockallowshare() argument
482 lockdisableshare(struct lock * lk) lockdisableshare() argument
490 lockallowrecurse(struct lock * lk) lockallowrecurse() argument
498 lockdisablerecurse(struct lock * lk) lockdisablerecurse() argument
506 lockdestroy(struct lock * lk) lockdestroy() argument
516 lockmgr_slock_try(struct lock * lk,uintptr_t * xp,int flags,bool fp) lockmgr_slock_try() argument
536 lockmgr_sunlock_try(struct lock * lk,uintptr_t * xp) lockmgr_sunlock_try() argument
552 lockmgr_slock_adaptive(struct lock_delay_arg * lda,struct lock * lk,uintptr_t * xp,int flags) lockmgr_slock_adaptive() argument
584 lockmgr_slock_hard(struct lock * lk,u_int flags,struct lock_object * ilk,const char * file,int line,struct lockmgr_wait * lwa) lockmgr_slock_hard() argument
738 lockmgr_xlock_adaptive(struct lock_delay_arg * lda,struct lock * lk,uintptr_t * xp) lockmgr_xlock_adaptive() argument
769 lockmgr_xlock_hard(struct lock * lk,u_int flags,struct lock_object * ilk,const char * file,int line,struct lockmgr_wait * lwa) lockmgr_xlock_hard() argument
976 lockmgr_upgrade(struct lock * lk,u_int flags,struct lock_object * ilk,const char * file,int line,struct lockmgr_wait * lwa) lockmgr_upgrade() argument
1036 lockmgr_lock_flags(struct lock * lk,u_int flags,struct lock_object * ilk,const char * file,int line) lockmgr_lock_flags() argument
1101 lockmgr_sunlock_hard(struct lock * lk,uintptr_t x,u_int flags,struct lock_object * ilk,const char * file,int line) lockmgr_sunlock_hard() argument
1118 lockmgr_xunlock_hard(struct lock * lk,uintptr_t x,u_int flags,struct lock_object * ilk,const char * file,int line) lockmgr_xunlock_hard() argument
1230 lockmgr_slock(struct lock * lk,u_int flags,const char * file,int line) lockmgr_slock() argument
1251 lockmgr_xlock(struct lock * lk,u_int flags,const char * file,int line) lockmgr_xlock() argument
1272 lockmgr_unlock(struct lock * lk) lockmgr_unlock() argument
1303 __lockmgr_args(struct lock * lk,u_int flags,struct lock_object * ilk,const char * wmesg,int pri,int timo,const char * file,int line) __lockmgr_args() argument
1614 _lockmgr_disown(struct lock * lk,const char * file,int line) _lockmgr_disown() argument
1658 lockmgr_printinfo(const struct lock * lk) lockmgr_printinfo() argument
1693 lockstatus(const struct lock * lk) lockstatus() argument
1723 _lockmgr_assert(const struct lock * lk,int what,const char * file,int line) _lockmgr_assert() argument
1798 const struct lock *lk; lockmgr_chain() local
1819 const struct lock *lk; db_show_lockmgr() local
[all...]
/freebsd/sys/sys/
H A Dlockmgr.h101 _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, in _lockmgr_args()
110 _lockmgr_args_rw(struct lock *lk, u_int flags, struct rwlock *ilk, in _lockmgr_args_rw()
121 #define lockmgr_read_value(lk) ((lk)->lk_lock) argument
122 #define lockmgr(lk, flags, ilk) \ argument
125 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \ argument
128 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \ argument
131 #define lockmgr_disown(lk) \ argument
135 #define lockmgr_disowned(lk) \ argument
139 #define lockmgr_recursed(lk) \ argument
141 #define lockmgr_rw(lk, flags, ilk) \ argument
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dshared_mutex.cpp27 unique_lock<mutex> lk(__mut_); lock() local
36 unique_lock<mutex> lk(__mut_); try_lock() local
53 unique_lock<mutex> lk(__mut_); lock_shared() local
62 unique_lock<mutex> lk(__mut_); try_lock_shared() local
H A Dmutex.cpp106 unique_lock<mutex> lk(__m_); lock() local
115 unique_lock<mutex> lk(__m_, try_to_lock); try_lock() local
149 unique_lock<mutex> lk(__m_); lock() local
167 unique_lock<mutex> lk(__m_, try_to_lock); try_lock() local
182 unique_lock<mutex> lk(__m_); unlock() local
[all...]
H A Dcondition_variable.cpp40 wait(unique_lock<mutex> & lk) wait() argument
51 __do_timed_wait(unique_lock<mutex> & lk,chrono::time_point<chrono::system_clock,chrono::nanoseconds> tp) __do_timed_wait() argument
81 notify_all_at_thread_exit(condition_variable & cond,unique_lock<mutex> lk) notify_all_at_thread_exit() argument
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector1.cpp108 SpinMutexLock lk(&mtx); in MutexBeforeLock() local
163 SpinMutexLock lk(&mtx); in MutexAfterLock() local
180 SpinMutexLock lk(&mtx); in MutexDestroy() local
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_lock.c43 __cpu_simple_lock_t lk; variable
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_rwlock.c69 pthread_rwlock_t lk; variable
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.h130 kmp_base_tas_lock_t lk; global() member
188 kmp_base_futex_lock_t lk; global() member
266 lk; // This field must be first to allow static initializing. global() member
382 lk; // This field must be first to allow static initializing. global() member
419 kmp_base_adaptive_lock_t lk; global() member
479 lk; // This field must be first to allow static initializing. */ global() member
[all...]
H A Dkmp_csupport.cpp1586 kmp_dyna_lock_t *lk = (kmp_dyna_lock_t *)crit; in __kmpc_critical_with_hint() local
1638 KMP_D_LOCK_FUNC(lk, set)(lk, global_tid); in __kmpc_critical_with_hint() local
3485 kmp_dyna_lock_t *lk = (kmp_dyna_lock_t *)crit; in __kmp_enter_critical_section_reduce_block() local
3505 KMP_D_LOCK_FUNC(lk, set)(lk, global_tid); in __kmp_enter_critical_section_reduce_block() local
H A Dkmp_lock.cpp2952 expand1(lk,op) global() argument
2956 expand2(lk,op) global() argument
2961 expand3(lk,op) global() argument
2966 expand4(lk,op) global() argument
[all...]
/freebsd/crypto/openssl/crypto/engine/
H A Dtb_asnmth.c170 ENGINE_FIND_STR *lk = arg; in look_str_cb() local
/freebsd/sys/crypto/ccp/
H A Dccp.c711 #define db_show_lock(lk) _db_show_lock(&(lk)->lock_object) argument
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dwait.h121 #define __init_waitqueue_head(wqh, name, lk) init_waitqueue_head(wqh) argument
/freebsd/crypto/openssh/
H A Dsshkey-xmss.c777 size_t ls, lsl, la, lk, ln, lr; in sshkey_xmss_deserialize_state() local
/freebsd/sys/dev/ioat/
H A Dioat.c2049 #define db_show_lock(lk) _db_show_lock(&(lk)->lock_object) argument
/freebsd/sys/fs/fuse/
H A Dfuse_kernel.h702 struct fuse_file_lock lk; member
708 struct fuse_file_lock lk; member
/freebsd/sys/ufs/ffs/
H A Dffs_softdep.c936 static struct mtx lk; variable
939 #define ACQUIRE_GBLLOCK(lk) mtx_lock(lk) argument
940 #define FREE_GBLLOCK(lk) mtx_unlock(lk) argument
941 #define GBLLOCK_OWNED(lk) mtx_assert((lk), MA_OWNED) argument
[all...]
/freebsd/contrib/sendmail/src/
H A Dconf.c927 struct __nsw_lookup *lk; local