Home
last modified time | relevance | path

Searched refs:witness (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-13-stable/contrib/jemalloc/include/jemalloc/internal/
HDwitness.h143 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) { in witness_owner() argument
174 if (w == witness) { in witness_owner()
183 witness_assert_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) { in witness_assert_owner() argument
194 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_owner()
198 if (witness_owner(witness_tsd, witness)) { in witness_assert_owner()
201 witness_owner_error(witness); in witness_assert_owner()
206 const witness_t *witness) { in witness_assert_not_owner() argument
219 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_not_owner()
225 if (w == witness) { in witness_assert_not_owner()
[all …]
HDmutex.h59 witness_t witness; member
65 witness_t witness; member
177 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_trylock()
185 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_trylock()
216 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_lock()
224 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_lock()
230 witness_unlock(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_unlock()
238 witness_assert_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_assert_owner()
243 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_assert_not_owner()
/freebsd-13-stable/contrib/jemalloc/src/
HDwitness.c9 witness_init(witness_t *witness, const char *name, witness_rank_t rank, in witness_init() argument
11 witness->name = name; in witness_init()
12 witness->rank = rank; in witness_init()
13 witness->comp = comp; in witness_init()
14 witness->opaque = opaque; in witness_init()
19 const witness_t *witness) { in witness_lock_error_impl() argument
26 malloc_printf(" %s(%u)\n", witness->name, witness->rank); in witness_lock_error_impl()
32 witness_owner_error_impl(const witness_t *witness) { in witness_owner_error_impl() argument
33 malloc_printf("<jemalloc>: Should own %s(%u)\n", witness->name, in witness_owner_error_impl()
34 witness->rank); in witness_owner_error_impl()
[all …]
HDmutex.c196 witness_init(&mutex->witness, name, rank, in malloc_mutex_init()
199 witness_init(&mutex->witness, name, rank, NULL, NULL); in malloc_mutex_init()
220 if (malloc_mutex_init(mutex, mutex->witness.name, in malloc_mutex_postfork_child()
221 mutex->witness.rank, mutex->lock_order)) { in malloc_mutex_postfork_child()
/freebsd-13-stable/sys/kern/
HDsubr_witness.c221 struct witness { struct
225 STAILQ_ENTRY(witness) w_list; /* List of all witnesses. */ argument
226 STAILQ_ENTRY(witness) w_typelist; /* Witnesses of a type. */
227 struct witness *w_hash_next; /* Linked list in hash buckets. */ argument
240 STAILQ_HEAD(witness_list, witness); argument
247 struct witness *wh_array[WITNESS_HASH_SIZE];
297 witness_lock_type_equal(struct witness *w1, struct witness *w2) in witness_lock_type_equal()
312 static int _isitmyx(struct witness *w1, struct witness *w2, int rmask,
314 static void adopt(struct witness *parent, struct witness *child);
315 static int blessed(struct witness *, struct witness *);
[all …]
/freebsd-13-stable/tests/sys/net/
HDif_lagg_test.sh397 atf_test_case witness
408 if [ `sysctl -n debug.witness.watch` -ne 1 ]; then
411 if `sysctl -n debug.witness.badstacks | grep -q 'at lagg_'`; then
412 sysctl debug.witness.badstacks
427 atf_add_test_case witness
/freebsd-13-stable/share/examples/witness/
HDlockgraphs.sh9 sysctl debug.witness.graphs | awk '
/freebsd-13-stable/sbin/ddb/
HDddb.conf14 script kdb.enter.witness=run lockinfo
/freebsd-13-stable/sys/sys/
HD_lock.h38 struct witness *lo_witness; /* Data for witness. */
/freebsd-13-stable/crypto/openssl/crypto/bn/
HDbn_prime.c22 static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1,
223 j = witness(check, a, A1, A1_odd, k, ctx, mont); in BN_is_prime_fasttest_ex()
245 static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, in witness() function
/freebsd-13-stable/crypto/openssl/doc/man3/
HDDSA_generate_parameters.pod63 (once for each witness that confirms that the candidate may be prime);
82 (once for each witness that confirms that the candidate may be prime).
/freebsd-13-stable/lib/libc/stdlib/jemalloc/
HDMakefile.inc8 test_hooks.c ticker.c tsd.c witness.c
/freebsd-13-stable/sys/mips/conf/
HDstd.BERI53 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
HDstd.MALTA45 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
HDX100056 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
HDstd.XLP51 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
HDJZ478058 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
HDERL105 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
HDOCTEON199 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
/freebsd-13-stable/contrib/file/magic/Magdir/
HDframe7 # copyright, but this file is "published" as witness the following:
/freebsd-13-stable/usr.bin/compress/doc/
HDNOTES37 the invention would then only apply to the U.S. (witness the
/freebsd-13-stable/share/man/man4/
HDMakefile609 witness.4 \
/freebsd-13-stable/sys/conf/
HDNOTES302 # WITNESS enables the witness code which detects deadlocks and cycles
304 # WITNESS_KDB causes the witness code to drop into the kernel debugger if
307 # WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
/freebsd-13-stable/contrib/tzdata/
HDaustralasia1759 # intended to boost Fiji's ability to attract tourists to witness the dawning
/freebsd-13-stable/share/examples/ipfilter/
HDipf-howto.txt1101 Once the 3-way handshake has been witness by the state

12