/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | witness.h | 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) { 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 …]
|
H A D | mutex.h | 59 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/contrib/jemalloc/src/ |
H A D | witness.c | 9 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 …]
|
H A D | mutex.c | 196 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/sys/kern/ |
H A D | subr_witness.c | 221 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/tests/sys/net/ |
H A D | if_lagg_test.sh | 392 atf_test_case witness 395 atf_set "descr" "Check witness(4) for lock-order reversals in if_lagg" 402 if [ `sysctl -n debug.witness.watch` -ne 1 ]; then 403 atf_skip "witness(4) is not enabled" 405 if `sysctl -n debug.witness.badstacks | grep -q 'at lagg_'`; then 406 sysctl debug.witness.badstacks 420 # For best results, keep the witness test last 421 atf_add_test_case witness
|
/freebsd/share/examples/witness/ |
H A D | lockgraphs.sh | 9 sysctl debug.witness.graphs | awk '
|
/freebsd/sbin/ddb/ |
H A D | ddb.conf | 14 script kdb.enter.witness=run lockinfo
|
/freebsd/sys/sys/ |
H A D | _lock.h | 38 struct witness *lo_witness; /* Data for witness. */
|
/freebsd/sys/conf/ |
H A D | std.debug | 14 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
|
H A D | NOTES | 301 # WITNESS enables the witness code which detects deadlocks and cycles 303 # WITNESS_KDB causes the witness code to drop into the kernel debugger if 306 # WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
|
/freebsd/lib/libc/stdlib/malloc/jemalloc/ |
H A D | Makefile.inc | 5 test_hooks.c ticker.c tsd.c witness.c
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | DSA_generate_parameters.pod | 71 (once for each witness that confirms that the candidate may be prime); 90 (once for each witness that confirms that the candidate may be prime).
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | frame | 7 # copyright, but this file is "published" as witness the following:
|
/freebsd/sys/arm/conf/ |
H A D | std.armv6 |
|
H A D | std.armv7 |
|
/freebsd/crypto/openssl/crypto/cmp/ |
H A D | cmp_asn.c | 34 ASN1_SIMPLE(OSSL_CMP_CHALLENGE, witness, ASN1_OCTET_STRING),
|
H A D | cmp_local.h | 186 ASN1_OCTET_STRING *witness; member
|
/freebsd/usr.bin/compress/doc/ |
H A D | NOTES | 37 the invention would then only apply to the U.S. (witness the
|
/freebsd/share/man/man4/ |
H A D | Makefile | 623 witness.4 \
|
/freebsd/sys/i386/conf/ |
H A D | GENERIC |
|
/freebsd/sys/amd64/conf/ |
H A D | GENERIC |
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | bib | 544 And he said, For these seven ewe lambs shalt thou take of my hand, that they may be a witness unto … 918 Now therefore come thou, let us make a covenant, I and thou; and let it be for a witness between me… 922 And Laban said, This heap is a witness between me and thee this day. Therefore was the name of it c… 924 …alt take other wives beside my daughters, no man is with us; see, God is witness betwixt me and th… 926 This heap be witness, and this pillar be witness, that I will not pass over this heap to thee, and … 2068 Thou shalt not bear false witness against thy neighbour. 2127 If it be torn in pieces, then let him bring it for witness, and he shall not make good that which w… 2146 …ou shalt not raise a false report: put not thine hand with the wicked to be an unrighteous witness. 2832 And if a soul sin, and hear the voice of swearing, and is a witness, whether he hath seen or known … 3806 …s of her husband, and be kept close, and she be defiled, and there be no witness against her, neit… [all …]
|
/freebsd/contrib/tzdata/ |
H A D | australasia | 1750 # intended to boost Fiji's ability to attract tourists to witness the dawning
|
/freebsd/share/examples/ipfilter/ |
H A D | ipf-howto.txt | 1101 Once the 3-way handshake has been witness by the state
|