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

/freebsd-13-stable/share/examples/witness/
H A Dlockgraphs.sh10 sysctl debug.witness.graphs | awk '
/freebsd-13-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.c196 witness_init(&mutex->witness, name, rank,
199 witness_init(&mutex->witness, name, rank, NULL, NULL);
220 if (malloc_mutex_init(mutex, mutex->witness.name,
221 mutex->witness.rank, mutex->lock_order)) {
/freebsd-13-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dwitness.h11 * Witnesses with rank WITNESS_RANK_OMIT are completely ignored by the witness
143 void witness_init(witness_t *witness, const char *name, witness_rank_t rank,
166 witness_owner(witness_tsd_t *witness_tsd, const witness_t *witness) { argument
174 if (w == witness) {
183 witness_assert_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) { argument
194 if (witness->rank == WITNESS_RANK_OMIT) {
198 if (witness_owner(witness_tsd, witness)) {
201 witness_owner_error(witness);
206 const witness_t *witness) {
219 if (witness
205 witness_assert_not_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) argument
275 witness_lock(witness_tsdn_t *witness_tsdn, witness_t *witness) argument
318 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
53 * We only touch witness when configured w/ debug. However we
59 witness_t witness; member in union:malloc_mutex_s::__anon903
65 witness_t witness; member in struct:malloc_mutex_s
177 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
185 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
216 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
224 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
[all...]
/freebsd-13-stable/sbin/ddb/
H A Dddb.conf14 # kdb.enter.witness witness(4) detected a locking error.
15 script kdb.enter.witness=run lockinfo
/freebsd-13-stable/sys/sys/
H A D_lock.h40 struct witness *lo_witness; /* Data for witness. */
/freebsd-13-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
161 * These flags go in the witness relationship matrix and describe the
162 * relationship between any two struct witness objects.
192 * it is held by witness. For example, a lock instance will hold the
220 * The main witness structure. One of these per named lock type in the system
223 struct witness { struct
227 STAILQ_ENTRY(witness) w_lis
[all...]
/freebsd-13-stable/tests/sys/net/
H A Dif_lagg_test.sh398 atf_test_case witness
401 atf_set "descr" "Check witness(4) for lock-order reversals in if_lagg"
409 if [ `sysctl -n debug.witness.watch` -ne 1 ]; then
410 atf_skip "witness(4) is not enabled"
412 if `sysctl -n debug.witness.badstacks | grep -q 'at lagg_'`; then
413 sysctl debug.witness.badstacks
427 # For best results, keep the witness test last
428 atf_add_test_case witness
/freebsd-13-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-13-stable/lib/libc/stdlib/jemalloc/
H A DMakefile.inc9 test_hooks.c ticker.c tsd.c witness.c
/freebsd-13-stable/share/man/man4/
H A DMakefile587 witness.4 \

Completed in 138 milliseconds