Home
last modified time | relevance | path

Searched refs:lock2 (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Devthread-internal.h314 #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 Devthread-internal.h314 #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 Dlock.h266 #define WITNESS_DEFINEORDER(lock1, lock2) \ argument
268 (struct lock_object *)(lock2))
313 #define WITNESS_DEFINEORDER(lock1, lock2) 0 argument
/freebsd/sys/kern/
H A Dsubr_witness.c1089 lock2->lo_witness == NULL) 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()
1441 struct witness *w2 = lock2->li_lock->lo_witness; in witness_checkorder()
1444 lock2->li_lock, lock2->li_lock->lo_name, in witness_checkorder()
1446 fixup_filename(lock2->li_file), in witness_checkorder()
[all …]
H A Dkern_lockf.c1797 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()