Searched refs:lock2 (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/contrib/libevent/ |
| H A D | evthread-internal.h | 302 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 303 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 338 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument 341 void *lock2_tmplock_ = (lock2); \ 348 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument 351 void *lock2_tmplock_ = (lock2); \
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/ |
| H A D | evthread-internal.h | 302 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 303 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 338 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument 341 void *lock2_tmplock_ = (lock2); \ 348 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument 351 void *lock2_tmplock_ = (lock2); \
|
| /freebsd-12.1/sys/sys/ |
| H A D | lock.h | 297 #define WITNESS_DEFINEORDER(lock1, lock2) \ argument 299 (struct lock_object *)(lock2)) 344 #define WITNESS_DEFINEORDER(lock1, lock2) 0 argument
|
| /freebsd-12.1/sys/kern/ |
| H A D | subr_witness.c | 1084 lock2->lo_witness == NULL) in witness_defineorder() 1102 lock2->lo_witness->w_name, lock1->lo_witness->w_name); in witness_defineorder() 1103 itismychild(lock1->lo_witness, lock2->lo_witness); in witness_defineorder() 1113 struct lock_instance *lock1, *lock2, *plock; in witness_checkorder() local 1398 lock2 = &lle->ll_children[i]; in witness_checkorder() 1399 MPASS(lock2->li_lock != NULL); in witness_checkorder() 1400 if (lock2->li_lock->lo_witness == w) in witness_checkorder() 1419 lock2->li_lock, lock2->li_lock->lo_name, in witness_checkorder() 1420 lock2->li_lock->lo_witness->w_name, in witness_checkorder() 1421 fixup_filename(lock2->li_file), in witness_checkorder() [all …]
|
| H A D | kern_lockf.c | 1813 struct lockf_entry *lock2, struct lockf_entry_list *granted) in lf_split() argument 1820 lf_print("splitting from", lock2); in lf_split() 1826 if (lock1->lf_start == lock2->lf_start) { in lf_split() 1827 lf_set_start(state, lock1, lock2->lf_end + 1, granted); in lf_split() 1830 if (lock1->lf_end == lock2->lf_end) { in lf_split() 1831 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split() 1851 splitlock->lf_start = lock2->lf_end + 1; in lf_split() 1856 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split()
|