Home
last modified time | relevance | path

Searched refs:spin (Results 1 – 25 of 61) sorted by relevance

123

/freebsd-13.1/sys/sys/
H A Dlock_profile.h49 void lock_profile_obtain_lock_success(struct lock_object *lo, bool spin,
51 void lock_profile_release_lock(struct lock_object *lo, bool spin);
55 lock_profile_obtain_lock_failed(struct lock_object *lo, bool spin, in lock_profile_obtain_lock_failed() argument
66 #define lock_profile_release_lock(lo, spin) (void)0 argument
67 #define lock_profile_obtain_lock_failed(lo, spin, contested, waittime) (void)0 argument
68 #define lock_profile_obtain_lock_success(lo, spin, contested, waittime, file, line) (void)0 argument
/freebsd-13.1/sys/contrib/device-tree/src/arm64/arm/
H A Dfoundation-v8-spin-table.dtsi4 * ARMv8 Foundation model DTS (spin table configuration)
8 enable-method = "spin-table";
13 enable-method = "spin-table";
18 enable-method = "spin-table";
23 enable-method = "spin-table";
H A Drtsm_ve-aemv8a.dts43 enable-method = "spin-table";
51 enable-method = "spin-table";
59 enable-method = "spin-table";
67 enable-method = "spin-table";
H A Dfoundation-v8-gicv3.dts10 #include "foundation-v8-spin-table.dtsi"
H A Dfoundation-v8.dts10 #include "foundation-v8-spin-table.dtsi"
/freebsd-13.1/sys/kern/
H A Dsubr_lock.c410 int spin, int t) in lock_prof_sum() argument
455 lock_prof_sum(l, &lp, i, spin, t); in lock_prof_type_stats()
551 type = &LP_CPU_SELF->lpc_types[spin]; in lock_profile_lookup()
580 head = &curthread->td_lprof[spin]; in lock_profile_object_lookup()
585 type = &LP_CPU_SELF->lpc_types[spin]; in lock_profile_object_lookup()
609 if ((spin && !is_spin) || (!spin && is_spin)) in lock_profile_obtain_lock_success()
611 lo->lo_name, spin, is_spin); in lock_profile_obtain_lock_success()
619 if (spin && lock_prof_skipspin == 1) in lock_profile_obtain_lock_success()
685 if ((spin && !is_spin) || (!spin && is_spin)) in lock_profile_release_lock()
687 lo->lo_name, spin, is_spin); in lock_profile_release_lock()
[all …]
/freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/
H A Dspin.h21 spin_adaptive(spin_t *spin) { in spin_adaptive() argument
24 if (spin->iteration < 5) { in spin_adaptive()
25 for (i = 0; i < (1U << spin->iteration); i++) { in spin_adaptive()
28 spin->iteration++; in spin_adaptive()
/freebsd-13.1/sys/contrib/device-tree/Bindings/arm/
H A Dcpus.yaml180 - spin-table
411 enable-method = "spin-table";
419 enable-method = "spin-table";
427 enable-method = "spin-table";
435 enable-method = "spin-table";
443 enable-method = "spin-table";
451 enable-method = "spin-table";
459 enable-method = "spin-table";
467 enable-method = "spin-table";
475 enable-method = "spin-table";
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/cpu/
H A Dcpu-topology.txt280 enable-method = "spin-table";
288 enable-method = "spin-table";
296 enable-method = "spin-table";
304 enable-method = "spin-table";
312 enable-method = "spin-table";
320 enable-method = "spin-table";
328 enable-method = "spin-table";
336 enable-method = "spin-table";
344 enable-method = "spin-table";
352 enable-method = "spin-table";
[all …]
/freebsd-13.1/sys/dev/ppbus/
H A Dif_plip.c489 if (--spin == 0) { in clpoutbyte()
494 if (--spin == 0) { in clpoutbyte()
501 clpinbyte(int spin, device_t ppbus) in clpinbyte() argument
506 if (!--spin) { in clpinbyte()
513 if (!--spin) { in clpinbyte()
670 lpoutbyte(u_char byte, int spin, device_t ppbus) in lpoutbyte() argument
675 if (--spin == 0) in lpoutbyte()
679 if (--spin == 0) in lpoutbyte()
696 int i, len, spin; in lpoutput() local
715 spin = LPMAXSPIN1; in lpoutput()
[all …]
H A Dlpt.c664 int spin, err, tic; in lpt_pushbytes() local
681 for (spin = 0; NOT_READY(ppbus) && spin < MAX_SPIN; ++spin) in lpt_pushbytes()
683 if (spin >= MAX_SPIN) { in lpt_pushbytes()
H A Dppb_1284.c200 int spin, request_mode, error = 0; in ppb_peripheral_negociate() local
210 spin = 10; in ppb_peripheral_negociate()
211 while (spin-- && (ppb_rstr(bus) & nBUSY)) in ppb_peripheral_negociate()
215 if (!(ppb_rstr(bus) & SELECT) || !spin) { in ppb_peripheral_negociate()
/freebsd-13.1/sys/contrib/device-tree/src/arm/
H A Dbcm2837.dtsi47 enable-method = "spin-table";
55 enable-method = "spin-table";
63 enable-method = "spin-table";
71 enable-method = "spin-table";
/freebsd-13.1/sys/contrib/device-tree/src/arm64/freescale/
H A Ds32v234.dtsi30 enable-method = "spin-table";
39 enable-method = "spin-table";
48 enable-method = "spin-table";
57 enable-method = "spin-table";
/freebsd-13.1/sys/dev/ppc/
H A Dppc_isa.c146 int spin; in ppc_isa_write() local
236 for (spin=100; spin; spin--) in ppc_isa_write()
/freebsd-13.1/cddl/usr.sbin/dtrace/tests/common/ustack/
H A DMakefile12 tst.spin.ksh \
19 tst.spin.c \
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_itt.h235 #define KMP_FSYNC_SPIN_INIT(obj, spin) \ argument
239 obj = spin; \
303 #define KMP_FSYNC_SPIN_INIT(obj, spin) ((void)0) argument
331 #define KMP_FSYNC_SPIN_INIT(obj, spin) ((void)0) argument
H A Dkmp_wait_release.h177 volatile void *spin = flag->get(); in __kmp_wait_template() local
189 KMP_FSYNC_SPIN_INIT(spin, NULL); in __kmp_wait_template()
191 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template()
364 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin)); in __kmp_wait_template()
495 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template()
530 volatile void *spin = flag->get(); in __kmp_mwait_template() local
531 void *cacheline = (void *)(kmp_uintptr_t(spin) & ~(CACHE_LINE - 1)); in __kmp_mwait_template()
H A Dkmp_dispatch.h291 volatile UT *spin = spinner; in __kmp_wait() local
297 KMP_FSYNC_SPIN_INIT(obj, CCAST(UT *, spin)); in __kmp_wait()
300 while (!f(r = *spin, check)) { in __kmp_wait()
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
H A Dtst.allcpus.ksh47 spin() function
81 spin &
/freebsd-13.1/sys/contrib/device-tree/src/powerpc/
H A Diss4xx-mpic.dts61 enable-method = "spin-table";
77 enable-method = "spin-table";
93 enable-method = "spin-table";
/freebsd-13.1/lib/libdpv/
H A Ddprompt.c74 static char spin[SPIN_SIZE + 1] = "/-\\|"; variable
76 static char *spin_cp = spin;
93 spin_cp = spin; in spin_char()
97 if (++spin_cp >= (spin + SPIN_SIZE)) in spin_char()
98 spin_cp = spin; in spin_char()
/freebsd-13.1/sys/contrib/device-tree/src/arm64/apm/
H A Dapm-shadowcat.dtsi22 enable-method = "spin-table";
32 enable-method = "spin-table";
42 enable-method = "spin-table";
52 enable-method = "spin-table";
62 enable-method = "spin-table";
72 enable-method = "spin-table";
82 enable-method = "spin-table";
92 enable-method = "spin-table";
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh40 $dtrace -o $file -c $dir/tst.spin.exe -s /dev/stdin <<EOF
/freebsd-13.1/sys/dts/mips/
H A Dberi-netfpga.dts58 * spin-table enable method. cpu-release-addr must be
63 enable-method = "spin-table";

123