Searched refs:lock2 (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evthread-internal.h | 314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument 353 void *lock2_tmplock_ = (lock2); \ 360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument 363 void *lock2_tmplock_ = (lock2); \
|
/freebsd/contrib/libevent/ |
H A D | evthread-internal.h | 314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument 353 void *lock2_tmplock_ = (lock2); \ 360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument 363 void *lock2_tmplock_ = (lock2); \
|
/freebsd/sys/sys/ |
H A D | lock.h | 267 #define WITNESS_DEFINEORDER(lock1, lock2) \ argument 269 (struct lock_object *)(lock2)) 314 #define WITNESS_DEFINEORDER(lock1, lock2) 0 argument
|
/freebsd/sys/kern/ |
H A D | subr_witness.c | 1081 witness_defineorder(struct lock_object *lock1, struct lock_object *lock2) in witness_defineorder() argument 1088 if (lock1 == NULL || lock1->lo_witness == NULL || lock2 == NULL || in witness_defineorder() 1089 lock2->lo_witness == NULL) in witness_defineorder() 1100 isitmydescendant(lock2->lo_witness, lock1->lo_witness)) { in witness_defineorder() 1107 lock2->lo_witness->w_name, lock1->lo_witness->w_name); in witness_defineorder() 1108 itismychild(lock1->lo_witness, lock2->lo_witness); in witness_defineorder() 1118 struct lock_instance *lock1, *lock2, *plock; in witness_checkorder() local 1419 lock2 = &lle->ll_children[i]; in witness_checkorder() 1420 MPASS(lock2->li_lock != NULL); in witness_checkorder() 1421 if (lock2->li_lock->lo_witness == w) in witness_checkorder() [all …]
|
H A D | kern_lockf.c | 1797 struct lockf_entry *lock2, struct lockf_entry_list *granted) in lf_split() argument 1804 lf_print("splitting from", lock2); in lf_split() 1810 if (lock1->lf_start == lock2->lf_start) { in lf_split() 1811 lf_set_start(state, lock1, lock2->lf_end + 1, granted); in lf_split() 1814 if (lock1->lf_end == lock2->lf_end) { in lf_split() 1815 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split() 1835 splitlock->lf_start = lock2->lf_end + 1; in lf_split() 1840 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split()
|