Searched refs:witness (Results 1 - 12 of 12) sorted by relevance

/freebsd-12-stable/share/examples/witness/
H A Dlockgraphs.sh10 sysctl debug.witness.graphs | awk '
/freebsd-12-stable/sys/sys/
H A D_lock.h40 struct witness *lo_witness; /* Data for witness. */
/freebsd-12-stable/contrib/jemalloc/src/
H A Dwitness.c9 witness_init(witness_t *witness, const char *name, witness_rank_t rank, argument
11 witness->name = name;
12 witness->rank = rank;
13 witness->comp = comp;
14 witness->opaque = opaque;
19 const witness_t *witness) {
26 malloc_printf(" %s(%u)\n", witness->name, witness->rank);
32 witness_owner_error_impl(const witness_t *witness) { argument
33 malloc_printf("<jemalloc>: Should own %s(%u)\n", witness
18 witness_lock_error_impl(const witness_list_t *witnesses, const witness_t *witness) argument
41 witness_not_owner_error_impl(const witness_t *witness) argument
[all...]
H A Dmutex.c197 witness_init(&mutex->witness, name, rank,
200 witness_init(&mutex->witness, name, rank, NULL, NULL);
221 if (malloc_mutex_init(mutex, mutex->witness.name,
222 mutex->witness.rank, mutex->lock_order)) {
/freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dwitness.h11 * Witnesses with rank WITNESS_RANK_OMIT are completely ignored by the witness
142 void witness_init(witness_t *witness, const char *name, witness_rank_t rank,
165 witness_owner(witness_tsd_t *witness_tsd, const witness_t *witness) { argument
173 if (w == witness) {
182 witness_assert_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) { argument
193 if (witness->rank == WITNESS_RANK_OMIT) {
197 if (witness_owner(witness_tsd, witness)) {
200 witness_owner_error(witness);
205 const witness_t *witness) {
218 if (witness
204 witness_assert_not_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) argument
274 witness_lock(witness_tsdn_t *witness_tsdn, witness_t *witness) argument
317 witness_unlock(witness_tsdn_t *witness_tsdn, witness_t *witness) argument
[all...]
H A Dmutex.h7 #include "jemalloc/internal/witness.h"
10 /* Can only acquire one mutex of a given witness rank at a time. */
13 * Can acquire multiple mutexes of the same witness rank, but in
50 * We only touch witness when configured w/ debug. However we
56 witness_t witness; member in union:malloc_mutex_s::__anon1981
62 witness_t witness; member in struct:malloc_mutex_s
162 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
169 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
200 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
207 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
[all...]
/freebsd-12-stable/sbin/ddb/
H A Dddb.conf14 # kdb.enter.witness witness(4) detected a locking error.
15 script kdb.enter.witness=run lockinfo
/freebsd-12-stable/sys/kern/
H A Dsubr_witness.c38 * Implementation of the `witness' lock verifier. Originally implemented for
44 * Main Entry: witness
48 * testimony, witness, from 2wit
58 * religious faith or conviction <the heroic witness to divine
160 * These flags go in the witness relationship matrix and describe the
161 * relationship between any two struct witness objects.
191 * it is held by witness. For example, a lock instance will hold the
219 * The main witness structure. One of these per named lock type in the system
222 struct witness { struct
226 STAILQ_ENTRY(witness) w_lis
[all...]
/freebsd-12-stable/tests/sys/net/
H A Dif_lagg_test.sh394 atf_test_case witness
397 atf_set "descr" "Check witness(4) for lock-order reversals in if_lagg"
401 if [ `sysctl -n debug.witness.watch` -ne 1 ]; then
402 atf_skip "witness(4) is not enabled"
404 if `sysctl -n debug.witness.badstacks | grep -q 'at lagg_'`; then
405 sysctl debug.witness.badstacks
419 # For best results, keep the witness test last
420 atf_add_test_case witness
/freebsd-12-stable/lib/libc/stdlib/jemalloc/
H A DMakefile.inc8 prng.c prof.c rtree.c stats.c sz.c tcache.c ticker.c tsd.c witness.c
/freebsd-12-stable/crypto/openssl/crypto/bn/
H A Dbn_prime.c22 static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1,
223 j = witness(check, a, A1, A1_odd, k, ctx, mont);
245 static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, function
/freebsd-12-stable/share/man/man4/
H A DMakefile592 witness.4 \

Completed in 140 milliseconds