| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| inf-thr-count.c | 22 /* Set to 0 by GDB to cause the inferior to drop out of a spin loop. */ 23 volatile int spin = 1; variable 38 while (spin) 70 spin = 1; 73 while (spin)
|
| thread-bp-deleted.c | 37 /* GDB can set this to 0 to force the 'spin' function to return. */ 46 /* Spin for a reasonably long while (this lets GDB run some commands in 51 spin () function 85 spin ();
|
| tls.c | 73 void *spin( void *vp ) function 164 err = pthread_create( &t[i], NULL, spin, (void *) (long) i );
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| inf-thr-count.c | 22 /* Set to 0 by GDB to cause the inferior to drop out of a spin loop. */ 23 volatile int spin = 1; variable 38 while (spin) 70 spin = 1; 73 while (spin)
|
| thread-bp-deleted.c | 37 /* GDB can set this to 0 to force the 'spin' function to return. */ 46 /* Spin for a reasonably long while (this lets GDB run some commands in 51 spin () function 85 spin ();
|
| tls.c | 73 void *spin( void *vp ) function 164 err = pthread_create( &t[i], NULL, spin, (void *) (long) i );
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/ |
| mi-thread-bp-deleted.c | 37 /* GDB can set this to 0 to force the 'spin' function to return. */ 46 /* Spin for a reasonably long while (this lets GDB run some commands in 51 spin () function 85 spin ();
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.mi/ |
| mi-thread-bp-deleted.c | 37 /* GDB can set this to 0 to force the 'spin' function to return. */ 46 /* Spin for a reasonably long while (this lets GDB run some commands in 51 spin () function 85 spin ();
|
| /src/sys/dev/mvme/ |
| lpt_mvme.c | 164 int spin; local 197 for (spin = 0; (sc->sc_funcs->lf_notrdy) (sc, 1); spin += STEP) { 198 if (spin >= TIMEOUT) { 266 int s, error, spin, tic; local 270 spin = 0; 272 if (++spin < sc->sc_spinmax) 294 if (spin * 2 + 16 < sc->sc_spinmax)
|
| /src/sys/dev/ppbus/ |
| ppbus_1284.c | 176 int spin, request_mode, error = 0; local 186 spin = 10; 187 while (spin-- && (ppbus_rstr(dev) & nBUSY)) 191 if (!(ppbus_rstr(dev) & SELECT) || !spin) {
|
| if_plip.c | 462 clpoutbyte(u_char byte, int spin, device_t ppbus) 464 int s = spin; 471 s = spin; 482 clpinbyte(int spin, device_t ppbus) 485 int s = spin; 495 s = spin; 682 lpoutbyte(u_char byte, int spin, device_t ppbus) 684 int s = spin; 690 s = spin; 769 int err, i, len, spin, count local [all...] |
| /src/external/mpl/bind/dist/tests/isc/ |
| spinlock_test.c | 91 static pthread_spinlock_t spin; variable 98 pthread_spin_lock(&spin); 102 pthread_spin_unlock(&spin); 143 int r = pthread_spin_init(&spin, PTHREAD_PROCESS_PRIVATE); 176 r = pthread_spin_destroy(&spin);
|
| /src/sys/arch/macppc/dev/ |
| obiofan.c | 167 int spin, spins, i; local 171 spin = obio_read_4(sc->sc_reg[i]) >> sc->sc_shift[i]; 172 spins = (spin - sc->sc_count[i]) & 0xffff; 174 sc->sc_count[i] = spin;
|
| /src/sys/dev/ic/ |
| lpt.c | 160 int spin; local 197 for (spin = 0; NOT_READY_ERR(); spin += STEP) { 198 if (spin >= TIMEOUT) { 301 int spin, tic; local 305 spin = 0; 307 if (++spin < sc->sc_spinmax) 335 if (spin*2 + 16 < sc->sc_spinmax)
|
| /src/sys/arch/atari/dev/ |
| lpt.c | 194 int spin; local 215 for (spin = 0; NOT_READY(); spin += STEP) { 216 if (spin >= TIMEOUT) { 290 int spin, tic; local 293 spin = 0; 295 if (++spin < sc->sc_spinmax) 319 if (spin*2 + 16 < sc->sc_spinmax)
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| selftest_mocs.c | 36 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) 42 if (spin && !igt_wait_for_spinner(spin, rq)) 316 struct igt_spinner spin; local 320 err = igt_spinner_init(&spin, ce->engine->gt); 324 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); 326 igt_spinner_fini(&spin); 330 err = request_add_spin(rq, &spin); 334 igt_spinner_end(&spin); 335 igt_spinner_fini(&spin); [all...] |
| selftest_workarounds.c | 52 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) 58 if (spin && !igt_wait_for_spinner(spin, rq)) 270 struct igt_spinner *spin) 280 rq = igt_spinner_create_request(spin, ce, MI_NOOP); 284 spin = NULL; 289 err = request_add_spin(rq, spin); 291 if (err && spin) 292 igt_spinner_end(spin); 303 struct igt_spinner spin; local 1183 struct igt_spinner spin; local [all...] |
| selftest_lrc.c | 81 struct igt_spinner spin; local 87 if (igt_spinner_init(&spin, gt)) 100 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); 107 if (!igt_wait_for_spinner(&spin, rq)) { 115 igt_spinner_end(&spin); 127 igt_spinner_fini(&spin); 135 struct igt_spinner spin; local 143 if (igt_spinner_init(&spin, gt)) 196 rq[0] = igt_spinner_create_request(&spin, ce[0], MI_ARB_CHECK); 206 if (!igt_wait_for_spinner(&spin, rq[0])) 298 struct igt_spinner spin; local 1197 struct igt_spinner spin; member in struct:preempt_client 3199 struct igt_spinner spin; local 3425 struct igt_spinner spin; local [all...] |
| /src/lib/librumpuser/ |
| rumpuser_pth.c | 269 pthread_spinlock_t spin; member in struct:rumpuser_rw 333 pthread_spin_lock(&rw->spin); 335 pthread_spin_unlock(&rw->spin); 346 pthread_spin_lock(&rw->spin); 349 pthread_spin_unlock(&rw->spin); 364 NOFAIL_ERRNO(pthread_spin_init(&rw->spin, PTHREAD_PROCESS_PRIVATE)); 472 NOFAIL_ERRNO(pthread_spin_destroy(&rw->spin)); 531 * If the cv interlock is a spin mutex, we must first release 543 * path is taken for spin mutexes.
|
| /src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| i915_request.c | 1164 struct igt_spinner spin; local 1174 if (igt_spinner_init(&spin, engine->gt)) { 1180 rq = igt_spinner_create_request(&spin, 1194 if (igt_wait_for_spinner(&spin, rq)) { 1201 igt_spinner_end(&spin); 1208 igt_spinner_fini(&spin);
|
| /src/sys/dev/usb/ |
| ulpt.c | 439 int spin, error; local 461 for (spin = 0; (ulpt_status(sc) & LPS_SELECT) == 0; spin += STEP) { 463 if (spin >= TIMEOUT) {
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
| i915_gem_context.c | 1031 struct igt_spinner **spin) 1036 *spin = NULL; 1040 *spin = kzalloc(sizeof(**spin), GFP_KERNEL); 1041 if (!*spin) 1044 ret = igt_spinner_init(*spin, ce->engine->gt); 1048 rq = igt_spinner_create_request(*spin, ce, MI_NOOP); 1056 if (!igt_wait_for_spinner(*spin, rq)) { 1065 igt_spinner_end(*spin); 1067 igt_spinner_fini(*spin); 1196 struct igt_spinner *spin = NULL; local [all...] |
| /src/external/cddl/osnet/dist/cmd/zfs/ |
| zfs_main.c | 5775 static char *spin[] = { "-", "\\", "|", "/" }; local 5786 update_progress(spin[spinval++ % 4]);
|