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 | 277 #define WITNESS_DEFINEORDER(lock1, lock2) \ argument 279 (struct lock_object *)(lock2)) 324 #define WITNESS_DEFINEORDER(lock1, lock2) 0 argument
|
| /freebsd/sys/kern/ |
| H A D | subr_witness.c | 1413 witness_defineorder(struct lock_object *lock1, struct lock_object *lock2) in witness_defineorder() argument 1419 if (lock1 == NULL || lock1->lo_witness == NULL || lock2 == NULL || in witness_defineorder() 1420 lock2->lo_witness == NULL) in witness_defineorder() 1431 isitmydescendant(lock2->lo_witness, lock1->lo_witness)) { in witness_defineorder() 1438 lock2->lo_witness->w_name, lock1->lo_witness->w_name); in witness_defineorder() 1439 itismychild(lock1->lo_witness, lock2->lo_witness); in witness_defineorder() 1449 struct lock_instance *lock1, *lock2, *plock; in witness_checkorder() local 1756 lock2 = &lle->ll_children[i]; in witness_checkorder() 1757 MPASS(lock2->li_lock != NULL); in witness_checkorder() 1758 if (lock2->li_lock->lo_witness == w) in witness_checkorder() [all …]
|
| H A D | kern_lockf.c | 1790 * described by 'lock2'. The existing lock should cover 'lock2' 1798 struct lockf_entry *lock2, struct lockf_entry_list *granted) in lf_split() 1805 lf_print("splitting from", lock2); in lf_split() 1811 if (lock1->lf_start == lock2->lf_start) { in lf_split() 1812 lf_set_start(state, lock1, lock2->lf_end + 1, granted); in lf_split() 1815 if (lock1->lf_end == lock2->lf_end) { in lf_split() 1816 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split() 1836 splitlock->lf_start = lock2->lf_end + 1; in lf_split() 1841 lf_set_end(state, lock1, lock2 in lf_split() 1797 lf_split(struct lockf * state,struct lockf_entry * lock1,struct lockf_entry * lock2,struct lockf_entry_list * granted) lf_split() argument [all...] |