Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Devthread-internal.h302 #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-13.1/contrib/libevent/
H A Devthread-internal.h302 #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-13.1/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-13.1/sys/kern/
H A Dsubr_witness.c1087 lock2->lo_witness == NULL) in witness_defineorder()
1105 lock2->lo_witness->w_name, lock1->lo_witness->w_name); in witness_defineorder()
1106 itismychild(lock1->lo_witness, lock2->lo_witness); in witness_defineorder()
1116 struct lock_instance *lock1, *lock2, *plock; in witness_checkorder() local
1417 lock2 = &lle->ll_children[i]; in witness_checkorder()
1418 MPASS(lock2->li_lock != NULL); in witness_checkorder()
1419 if (lock2->li_lock->lo_witness == w) in witness_checkorder()
1439 struct witness *w2 = lock2->li_lock->lo_witness; in witness_checkorder()
1442 lock2->li_lock, lock2->li_lock->lo_name, in witness_checkorder()
1444 fixup_filename(lock2->li_file), in witness_checkorder()
[all …]
H A Dkern_lockf.c1810 struct lockf_entry *lock2, struct lockf_entry_list *granted) in lf_split() argument
1817 lf_print("splitting from", lock2); in lf_split()
1823 if (lock1->lf_start == lock2->lf_start) { in lf_split()
1824 lf_set_start(state, lock1, lock2->lf_end + 1, granted); in lf_split()
1827 if (lock1->lf_end == lock2->lf_end) { in lf_split()
1828 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split()
1848 splitlock->lf_start = lock2->lf_end + 1; in lf_split()
1853 lf_set_end(state, lock1, lock2->lf_start - 1, granted); in lf_split()