/freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | spin.h | 21 spin_adaptive(spin_t *spin) { argument 24 if (spin->iteration < 5) { 25 for (i = 0; i < (1U << spin->iteration); i++) { 28 spin->iteration++;
|
/freebsd-12-stable/cddl/usr.sbin/dtrace/tests/common/ustack/ |
H A D | Makefile | 12 tst.spin.ksh \ 19 tst.spin.c \
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/ |
H A D | tst.allcpus.ksh | 47 spin() function 81 spin &
|
/freebsd-12-stable/sys/kern/ |
H A D | subr_lock.c | 241 struct lock_prof_type lpc_types[2]; /* One for spin one for other. */ 370 int spin, int t) 384 type = &lp_cpu[cpu]->lpc_types[spin]; 406 lock_prof_type_stats(struct lock_prof_type *type, struct sbuf *sb, int spin, argument 418 lock_prof_sum(l, &lp, i, spin, t); 496 lock_profile_lookup(struct lock_object *lo, int spin, const char *file, argument 511 type = &lp_cpu[PCPU_GET(cpuid)]->lpc_types[spin]; 534 lock_profile_object_lookup(struct lock_object *lo, int spin, const char *file, argument 541 head = &curthread->td_lprof[spin]; 546 type = &lp_cpu[PCPU_GET(cpuid)]->lpc_types[spin]; 369 lock_prof_sum(struct lock_prof *match, struct lock_prof *dst, int hash, int spin, int t) argument 568 int spin; local 635 int spin; local [all...] |
/freebsd-12-stable/sys/dev/ppbus/ |
H A D | if_plip.c | 484 clpoutbyte(u_char byte, int spin, device_t ppbus) argument 489 if (--spin == 0) { 494 if (--spin == 0) { 501 clpinbyte(int spin, device_t ppbus) argument 506 if (!--spin) { 513 if (!--spin) { 672 lpoutbyte(u_char byte, int spin, device_t ppbus) argument 677 if (--spin == 0) 681 if (--spin == 0) 698 int i, len, spin; local [all...] |
H A D | ppb_1284.c | 201 int spin, request_mode, error = 0; local 211 spin = 10; 212 while (spin-- && (ppb_rstr(bus) & nBUSY)) 216 if (!(ppb_rstr(bus) & SELECT) || !spin) {
|
H A D | lpt.c | 666 int spin, err, tic; local 683 for (spin = 0; NOT_READY(ppbus) && spin < MAX_SPIN; ++spin) 685 if (spin >= MAX_SPIN) { 882 * Avoid falling back to lptout() too quickly. First spin-loop
|
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_itt.h | 154 to mark points in instruction traces that represent spin-loops and are 218 /* In case of waiting in a spin loop, ITT wants KMP_FSYNC_PREPARE() to be called 219 with a delay (and not called at all if waiting time is small). So, in spin 221 spin loop), KMP_FSYNC_SPIN_PREPARE() (whithin the spin loop), and 225 #define KMP_FSYNC_SPIN_INIT(obj, spin) \ 229 obj = spin; \ 293 #define KMP_FSYNC_SPIN_INIT(obj, spin) ((void)0) 321 #define KMP_FSYNC_SPIN_INIT(obj, spin) ((void)0)
|
H A D | kmp_dispatch.h | 292 volatile UT *spin = spinner; local 298 KMP_FSYNC_SPIN_INIT(obj, CCAST(UT *, spin)); 300 // main wait spin loop 301 while (!f(r = *spin, check)) {
|
H A D | kmp_wait_release.h | 169 volatile void *spin = flag->get(); local 182 KMP_FSYNC_SPIN_INIT(spin, NULL); 184 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); 297 /* If the blocktime is nonzero, we want to make sure that we spin wait for 322 // Main wait spin loop 357 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin)); 460 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); 492 KF_TRACE(100, ("__kmp_release: T#%d set new spin=%d\n", gtid, flag->get(),
|
H A D | kmp_dispatch.cpp | 2523 volatile kmp_uint32 *spin = spinner; 2529 KMP_FSYNC_SPIN_INIT(obj, CCAST(kmp_uint32 *, spin)); 2531 // main wait spin loop 2532 while (!f(r = TCR_4(*spin), check)) { 2549 void *spin = spinner; 2554 KMP_FSYNC_SPIN_INIT(obj, spin); 2556 // main wait spin loop 2557 while (!f(spin, check)) {
|
H A D | kmp_tasking.cpp | 2776 // final_spin is TRUE if this is the spin at the release barrier. 2779 // spinner is the location on which to spin. 2781 // checker is the value to check to terminate the spin. 2912 // proceed. If this thread is in the last spin loop in the barrier, 2918 ("__kmp_execute_tasks_template: T#%d spin condition satisfied\n", 2937 // The task source has been exhausted. If in final spin loop of barrier, 2943 // done. This decrement might be to the spin location, and result in the 2963 ("__kmp_execute_tasks_template: T#%d spin condition satisfied\n", 3474 // threads spin in the barrier release phase, they will continue to use the 3584 std::atomic<kmp_uint32> *spin local [all...] |
/freebsd-12-stable/sys/dev/ppc/ |
H A D | ppc_isa.c | 147 int spin; local 238 for (spin=100; spin; spin--)
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ustack/ |
H A D | tst.spin.ksh | 40 $dtrace -o $file -c $dir/tst.spin.exe -s /dev/stdin <<EOF
|
/freebsd-12-stable/lib/libdpv/ |
H A D | dprompt.c | 74 static char spin[SPIN_SIZE + 1] = "/-\\|"; variable 76 static char *spin_cp = spin; 84 * Returns a pointer to the current spin character in the spin string and 93 spin_cp = spin; 97 if (++spin_cp >= (spin + SPIN_SIZE)) 98 spin_cp = spin;
|
/freebsd-12-stable/tools/KSE/ksetest/ |
H A D | kse_threads_test.c | 136 spin(int arg)
|
/freebsd-12-stable/crypto/openssl/crypto/ |
H A D | sparccpuid.S | 197 .spin: call YIELD_CPU 201 be .spin 205 be .spin
|
/freebsd-12-stable/crypto/openssl/crypto/modes/asm/ |
H A D | ghash-c64xplus.pl | 77 || MVK 1,B0 ; take a single spin
|
/freebsd-12-stable/crypto/openssl/crypto/bn/asm/ |
H A D | bn-c64xplus.asm | 19 ;; SPLOOPs spin at ... 2*n cycles [plus epilogue].
|
H A D | ia64-mont.pl | 244 // This loop spins in 4*(n+7) ticks on Itanium 2 and should spin in
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 5874 static char *spin[] = { "-", "\\", "|", "/" }; local 5885 update_progress(spin[spinval++ % 4]);
|