Home
last modified time | relevance | path

Searched refs:SYNC (Results 1 – 25 of 108) sorted by relevance

12345

/freebsd/tools/test/stress2/misc/
H A Dadvlock.sh118 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 Dfork2.sh116 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 Dnfs15.sh109 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 Dnfs16.sh93 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 Dptrace11.sh80 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 Dnfs15lockd3.sh142 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 Dnfs15lockd.sh136 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 Dmmap31.sh122 atomic_add_int(&share[SYNC], 1);
123 while (share[SYNC] != PARALLEL)
130 while (share[SYNC] != PARALLEL)
159 share[SYNC] = 0;
H A Dpts3.sh85 share[SYNC] = 0;
89 while (share[SYNC] == 0)
93 share[SYNC] = 1;
H A Dkevent11.sh117 atomic_add_int(&share[SYNC], 1);
118 while (share[SYNC] != PARALLEL)
150 share[SYNC] = 0;
158 while (share[SYNC] != PARALLEL)
H A Dexlock2.sh101 while (share[SYNC] == 1)
123 share[SYNC] = 1;
149 share[SYNC] = 0;
155 share[SYNC] = 0;
H A Dfsgs.sh84 atomic_add_int(&share[SYNC], 1);
85 while (share[SYNC] != PARALLEL)
120 share[SYNC] = 0;
H A Dgetrandom.sh98 atomic_add_int(&share[SYNC], 1);
99 while (share[SYNC] != PARALLEL)
126 share[SYNC] = 0;
H A Dpause.sh89 atomic_add_int(&share[SYNC], 1);
90 while (share[SYNC] != PARALLEL)
138 share[SYNC] = 0;
H A Dsigstop2.sh79 atomic_add_int(&share[SYNC], 1);
80 while (share[SYNC] != PARALLEL)
123 share[SYNC] = 0;
H A Dkevent15.sh94 (void)atomic_fetch_add(&share[SYNC], 1);
95 while (atomic_load(&share[SYNC]) != PARALLEL)
133 share[ACT] = share[SYNC] = 0;
H A Dr335171.sh93 atomic_add_int(&share[SYNC], 1);
94 while (share[SYNC] != PARALLEL)
137 share[SYNC] = 0;
H A Dmknod.sh101 atomic_add_int(&share[SYNC], 1);
102 while (share[SYNC] != PARALLEL)
142 share[SYNC] = 0;
H A Dsem_timedwait.sh101 atomic_add_int(&share[SYNC], 1);
102 while (share[SYNC] != PARALLEL)
140 share[SYNC] = 0;
H A Dminherit.sh91 (void)atomic_fetch_add(&share[SYNC], 1);
92 while (atomic_load(&share[SYNC]) != PARALLEL)
154 share[SYNC] = 0;
H A Dfstat.sh105 (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 Dbench.c46 #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 Dzpool_create_006_pos.ksh120 $SYNC; $SYNC
130 $SYNC; $SYNC
/freebsd/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_detach_001_pos.ksh73 log_must $SYNC
82 log_must $SYNC
/freebsd/tests/sys/cddl/zfs/tests/userquota/
H A Duserquota_001_pos.ksh70 $SYNC
78 $SYNC

12345