Searched refs:lock1 (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evthread-internal.h | 314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ 315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ 348 /** Acquire both lock1 and lock2. Always allocates locks in the same order, 350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ 352 void *lock1_tmplock_ = (lock1); \ 359 /** Release both lock1 and lock2. */ 360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ 362 void *lock1_tmplock_ = (lock1); \
|
/freebsd-current/contrib/libevent/ |
H A D | evthread-internal.h | 314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ 315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ 348 /** Acquire both lock1 and lock2. Always allocates locks in the same order, 350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ 352 void *lock1_tmplock_ = (lock1); \ 359 /** Release both lock1 and lock2. */ 360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ 362 void *lock1_tmplock_ = (lock1); \
|
/freebsd-current/sys/kern/ |
H A D | subr_witness.c | 1081 witness_defineorder(struct lock_object *lock1, struct lock_object *lock2) argument 1088 if (lock1 == NULL || lock1->lo_witness == NULL || lock2 == NULL || 1100 isitmydescendant(lock2->lo_witness, lock1->lo_witness)) { 1107 lock2->lo_witness->w_name, lock1->lo_witness->w_name); 1108 itismychild(lock1->lo_witness, lock2->lo_witness); 1118 struct lock_instance *lock1, *lock2, *plock; local 1174 lock1 = find_instance(lock_list, lock); 1175 if (lock1 != NULL) { 1176 if ((lock1 1804 struct lock_instance *lock1; local [all...] |
H A D | kern_lockf.c | 1788 * Split an the existing 'lock1', based on the extent of the lock 1796 lf_split(struct lockf *state, struct lockf_entry *lock1, argument 1803 lf_print("lf_split", lock1); 1810 if (lock1->lf_start == lock2->lf_start) { 1811 lf_set_start(state, lock1, lock2->lf_end + 1, granted); 1814 if (lock1->lf_end == lock2->lf_end) { 1815 lf_set_end(state, lock1, lock2->lf_start - 1, granted); 1822 splitlock = lf_alloc_lock(lock1->lf_owner); 1823 memcpy(splitlock, lock1, sizeof *splitlock); 1830 * to splitlock already exist in lock1 [all...] |
/freebsd-current/sys/sys/ |
H A D | lock.h | 266 #define WITNESS_DEFINEORDER(lock1, lock2) \ 267 witness_defineorder((struct lock_object *)(lock1), \ 313 #define WITNESS_DEFINEORDER(lock1, lock2) 0
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_thread.cpp | 255 Lock lock1(&trace.mtx);
|
H A D | tsan_rtl.cpp | 137 Lock lock1(&ctx->slot_mtx);
|
Completed in 287 milliseconds