/freebsd/tools/test/stress2/misc/ |
H A D | advlock.sh | 118 atomic_add_int(&share[SYNC], 1); 119 while (share[SYNC] != PARALLEL) 138 atomic_add_int(&share[SYNC], 1); 139 while (share[SYNC] != PARALLEL) 161 atomic_add_int(&share[SYNC], 1); 162 while (share[SYNC] != PARALLEL) 182 atomic_add_int(&share[SYNC], 1); 183 while (share[SYNC] != PARALLEL) 214 share[SYNC] = 0; 227 share[SYNC] = 0;
|
H A D | fork2.sh | 116 while ((atomic_load_int(&share[SYNC])) > MX) 123 atomic_add_int(&share[SYNC], 1); 124 while (atomic_load_int(&share[SYNC]) <= MX) 127 atomic_add_int(&share[SYNC], -1); 132 atomic_add_int(&share[SYNC], MX * 2);
|
H A D | nfs15.sh | 109 atomic_add_int(&share[SYNC], 1); 123 atomic_add_int(&share[SYNC], 1); 190 if (share[SYNC] > 0) 191 atomic_add_int(&share[SYNC], -1); 198 if (share[SYNC] == 0) { /* If all procs are done */ 200 if (share[SYNC] == 0)
|
H A D | nfs16.sh | 93 atomic_add_int(&share[SYNC], 1); 107 atomic_add_int(&share[SYNC], 1); 174 if (share[SYNC] > 0) 175 atomic_add_int(&share[SYNC], -1); 182 if (share[SYNC] == 0) { /* If all procs are done */ 184 if (share[SYNC] == 0)
|
H A D | ptrace11.sh | 80 while (share[SYNC] != 2) 93 share[SYNC] = 1; /* A to exit */ 97 share[SYNC] = 2; /* B to exit */ 100 while (share[SYNC] != 1)
|
H A D | nfs15lockd3.sh | 142 atomic_add_int(&share[SYNC], 1); 156 atomic_add_int(&share[SYNC], 1); 226 if (share[SYNC] > 0) 227 atomic_add_int(&share[SYNC], -1); 234 if (share[SYNC] == 0) { /* If all procs are done */ 236 if (share[SYNC] == 0)
|
H A D | nfs15lockd.sh | 136 atomic_add_int(&share[SYNC], 1); 150 atomic_add_int(&share[SYNC], 1); 218 if (share[SYNC] > 0) 219 atomic_add_int(&share[SYNC], -1); 226 if (share[SYNC] == 0) { /* If all procs are done */ 228 if (share[SYNC] == 0)
|
H A D | mmap31.sh | 122 atomic_add_int(&share[SYNC], 1); 123 while (share[SYNC] != PARALLEL) 130 while (share[SYNC] != PARALLEL) 159 share[SYNC] = 0;
|
H A D | pts3.sh | 85 share[SYNC] = 0; 89 while (share[SYNC] == 0) 93 share[SYNC] = 1;
|
H A D | kevent11.sh | 117 atomic_add_int(&share[SYNC], 1); 118 while (share[SYNC] != PARALLEL) 150 share[SYNC] = 0; 158 while (share[SYNC] != PARALLEL)
|
H A D | exlock2.sh | 101 while (share[SYNC] == 1) 123 share[SYNC] = 1; 149 share[SYNC] = 0; 155 share[SYNC] = 0;
|
H A D | fsgs.sh | 84 atomic_add_int(&share[SYNC], 1); 85 while (share[SYNC] != PARALLEL) 120 share[SYNC] = 0;
|
H A D | getrandom.sh | 98 atomic_add_int(&share[SYNC], 1); 99 while (share[SYNC] != PARALLEL) 126 share[SYNC] = 0;
|
H A D | pause.sh | 89 atomic_add_int(&share[SYNC], 1); 90 while (share[SYNC] != PARALLEL) 138 share[SYNC] = 0;
|
H A D | sigstop2.sh | 79 atomic_add_int(&share[SYNC], 1); 80 while (share[SYNC] != PARALLEL) 123 share[SYNC] = 0;
|
H A D | kevent15.sh | 94 (void)atomic_fetch_add(&share[SYNC], 1); 95 while (atomic_load(&share[SYNC]) != PARALLEL) 133 share[ACT] = share[SYNC] = 0;
|
H A D | r335171.sh | 93 atomic_add_int(&share[SYNC], 1); 94 while (share[SYNC] != PARALLEL) 137 share[SYNC] = 0;
|
H A D | mknod.sh | 101 atomic_add_int(&share[SYNC], 1); 102 while (share[SYNC] != PARALLEL) 142 share[SYNC] = 0;
|
H A D | sem_timedwait.sh | 101 atomic_add_int(&share[SYNC], 1); 102 while (share[SYNC] != PARALLEL) 140 share[SYNC] = 0;
|
H A D | minherit.sh | 91 (void)atomic_fetch_add(&share[SYNC], 1); 92 while (atomic_load(&share[SYNC]) != PARALLEL) 154 share[SYNC] = 0;
|
H A D | fstat.sh | 105 (void)atomic_fetch_add(&share[SYNC], 1); 106 while (atomic_load(&share[SYNC]) != PARALLEL) 157 share[SYNC] = 0;
|
/freebsd/tools/test/stress2/tools/ |
H A D | bench.c | 46 #define SYNC 0 macro 67 atomic_add_int(&share[SYNC], 1); in cr1() 68 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr1() 98 atomic_add_int(&share[SYNC], 1); in cr2() 99 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr2() 126 atomic_add_int(&share[SYNC], 1); in cr3() 127 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr3() 159 atomic_add_int(&share[SYNC], 1); in rn1() 160 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in rn1() 192 atomic_add_int(&share[SYNC], 1); in rw1() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create_006_pos.ksh | 120 $SYNC; $SYNC 130 $SYNC; $SYNC
|
/freebsd/tests/sys/cddl/zfs/tests/hotspare/ |
H A D | hotspare_detach_001_pos.ksh | 73 log_must $SYNC 82 log_must $SYNC
|
/freebsd/tests/sys/cddl/zfs/tests/userquota/ |
H A D | userquota_001_pos.ksh | 70 $SYNC 78 $SYNC
|