Searched refs:lock2 (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/contrib/ntp/sntp/libevent/
H A Devthread-internal.h302 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_
303 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_
336 /** Acquire both lock1 and lock2. Always allocates locks in the same order,
338 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \
341 void *lock2_tmplock_ = (lock2); \
347 /** Release both lock1 and lock2. */
348 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \
351 void *lock2_tmplock_ = (lock2); \
/freebsd-11.0-release/sys/sys/
H A Dlock.h272 #define WITNESS_DEFINEORDER(lock1, lock2) \
274 (struct lock_object *)(lock2))
319 #define WITNESS_DEFINEORDER(lock1, lock2) 0
/freebsd-11.0-release/sys/kern/
H A Dsubr_witness.c1031 witness_defineorder(struct lock_object *lock1, struct lock_object *lock2) argument
1038 if (lock1 == NULL || lock1->lo_witness == NULL || lock2 == NULL ||
1039 lock2->lo_witness == NULL)
1050 isitmydescendant(lock2->lo_witness, lock1->lo_witness)) {
1057 lock2->lo_witness->w_name, lock1->lo_witness->w_name);
1058 itismychild(lock1->lo_witness, lock2->lo_witness);
1068 struct lock_instance *lock1, *lock2, *plock; local
1355 lock2 = &lle->ll_children[i];
1356 MPASS(lock2->li_lock != NULL);
1357 if (lock2
[all...]
H A Dkern_lockf.c1803 * described by 'lock2'. The existing lock should cover 'lock2'
1811 struct lockf_entry *lock2, struct lockf_entry_list *granted)
1818 lf_print("splitting from", lock2);
1824 if (lock1->lf_start == lock2->lf_start) {
1825 lf_set_start(state, lock1, lock2->lf_end + 1, granted);
1828 if (lock1->lf_end == lock2->lf_end) {
1829 lf_set_end(state, lock1, lock2->lf_start - 1, granted);
1849 splitlock->lf_start = lock2->lf_end + 1;
1856 lf_set_end(state, lock1, lock2
1810 lf_split(struct lockf *state, struct lockf_entry *lock1, struct lockf_entry *lock2, struct lockf_entry_list *granted) argument
[all...]

Completed in 58 milliseconds