Home
last modified time | relevance | path

Searched refs:share (Results 26 – 50 of 747) sorted by relevance

12345678910>>...30

/freebsd/tools/test/stress2/misc/
H A Dnfs16.sh88 volatile u_int *share;
93 atomic_add_int(&share[SYNC], 1);
107 atomic_add_int(&share[SYNC], 1);
162 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
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 Dsendfile16.sh97 static volatile u_int *share;
117 atomic_add_int(&share[SYNC], 1);
118 while (share[SYNC] != PARALLEL)
177 atomic_add_int(&share[SYNC2], 1);
179 while (share[SYNC2] != PARALLEL)
195 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
218 share[SYNC] = 0;
219 share[SYNC2] = 0;
H A Dpts3.sh64 static volatile u_int *share;
77 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
85 share[SYNC] = 0;
89 while (share[SYNC] == 0)
93 share[SYNC] = 1;
H A Dnfs15lockd.sh131 volatile u_int *share;
136 atomic_add_int(&share[SYNC], 1);
150 atomic_add_int(&share[SYNC], 1);
206 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
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 Dnfs15lockd3.sh137 volatile u_int *share;
142 atomic_add_int(&share[SYNC], 1);
156 atomic_add_int(&share[SYNC], 1);
212 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
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 Dmmap31.sh76 static volatile u_int *share;
122 atomic_add_int(&share[SYNC], 1);
123 while (share[SYNC] != PARALLEL)
130 while (share[SYNC] != PARALLEL)
153 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
159 share[SYNC] = 0;
H A Dfsgs.sh71 static volatile u_int *share;
84 atomic_add_int(&share[SYNC], 1);
85 while (share[SYNC] != PARALLEL)
114 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
120 share[SYNC] = 0;
H A Dreaper2.sh48 static volatile u_int *share;
77 share[0] = 0;
82 share[0] = 1;
88 while (share[0] == 0)
110 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
H A Dkevent11.sh88 static volatile u_int *share;
117 atomic_add_int(&share[SYNC], 1);
118 while (share[SYNC] != PARALLEL)
140 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
150 share[SYNC] = 0;
158 while (share[SYNC] != PARALLEL)
H A Dsendfile10.sh85 static volatile off_t *share;
107 share[SZ] = length;
166 if (t != share[SZ] && t != share[OSZ]) {
169 (unsigned long)share[SZ],
170 (unsigned long)share[OSZ],
226 share[SZ] = statb.st_size;
273 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
282 share[OSZ] = statin.st_size;
H A Dtvnlru.sh130 static volatile u_int *share;
147 atomic_add_int(&share[SYNC], 1);
148 while (share[SYNC] != (unsigned int)parallel)
191 share[idx] = mx;
226 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
243 // fprintf(stderr, "share[%d] = %u\n", i + 1, share[i + 1]);
244 if (mx < share[i + 1])
245 mx = share[i + 1];
H A Dpipe2.sh69 volatile u_int *share, *share2;
91 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
100 if (share[R2] >= PIPES)
103 atomic_add_int(&share[R2], 1);
119 if (share[R2] == PIPES) {
H A Dsigstop2.sh66 static volatile u_int *share;
79 atomic_add_int(&share[SYNC], 1);
80 while (share[SYNC] != PARALLEL)
117 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
123 share[SYNC] = 0;
H A Dgetrandom.sh87 static volatile u_int *share;
98 atomic_add_int(&share[SYNC], 1);
99 while (share[SYNC] != PARALLEL)
120 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
126 share[SYNC] = 0;
H A Dexlock2.sh70 static _Atomic(int) *share;
101 while (share[SYNC] == 1)
123 share[SYNC] = 1;
149 share[SYNC] = 0;
155 share[SYNC] = 0;
169 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
H A Dmsetdomain.sh100 void *share;
105 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
117 msetdomain(share, len, sizeof(rootmask), &rootmask, policy,
128 msetdomain(share, len, sizeof(rootmask), &rootmask, policy,
139 msetdomain(share, len, sizeof(rootmask), &rootmask, policy,
H A Dr335171.sh79 static volatile u_int *share;
93 atomic_add_int(&share[SYNC], 1);
94 while (share[SYNC] != PARALLEL)
131 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
137 share[SYNC] = 0;
H A Dmidi2.sh66 static volatile u_int share;
78 atomic_add_int(&share, 1);
79 while (share != THREADS)
100 share = 0;
H A Dptrace8.sh68 volatile u_int *share;
81 if ((share = mmap(NULL, len, PROT_READ | PROT_WRITE,
86 while (share[SYNC] == 0)
114 share[SYNC] = 1;
/freebsd/contrib/netbsd-tests/usr.bin/nbperf/
H A Dt_nbperf.sh45 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm cat \
48 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm cat \
69 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm3 cat \
72 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm3 cat \
93 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 bdz "sort -n" \
96 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 bdz cat \
/freebsd/contrib/libucl/tests/basic/
H A D4.in20 …/usr/local/share/aclocal/pkg.m4 : "cffab33d659adfe36497ec57665eec36fa6fb7b007e578e6ac2434cc28be882…
21 …/usr/local/share/licenses/pkgconf-0.9.3/BSD : "85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e…
22 …/usr/local/share/licenses/pkgconf-0.9.3/LICENSE : "d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f73…
23 …/usr/local/share/licenses/pkgconf-0.9.3/catalog.mk : "e7b131acce7c3d3c61f2214607b11b34526e03b05afe…
26 /usr/local/share/licenses/pkgconf-0.9.3/ : false,
27 /usr/local/share/licenses/ : true,
H A D4.res27 …/usr/local/share/aclocal/pkg.m4 = "cffab33d659adfe36497ec57665eec36fa6fb7b007e578e6ac2434cc28be882…
28 …/usr/local/share/licenses/pkgconf-0.9.3/bsd = "85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e…
29 …/usr/local/share/licenses/pkgconf-0.9.3/license = "d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f73…
30 …/usr/local/share/licenses/pkgconf-0.9.3/catalog.mk = "e7b131acce7c3d3c61f2214607b11b34526e03b05afe…
33 /usr/local/share/licenses/pkgconf-0.9.3/ = false;
34 /usr/local/share/licenses/ = true;
/freebsd/share/zoneinfo/
H A DMakefile106 mkdir -p ${DESTDIR}/usr/share/zoneinfo
107 (cd ${DESTDIR}/usr/share/zoneinfo; mkdir -p ${TZBUILDSUBDIRS})
111 ${TZBUILDDIR}/$${f} ${DESTDIR}/usr/share/zoneinfo/$${f}; \
114 ${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
116 ${CONTRIBDIR}/zone1970.tab ${DESTDIR}/usr/share/zoneinfo/
127 if [ -f ${DESTDIR}/usr/share/zoneinfo/$${zf} ]; then \
/freebsd/tests/ci/
H A DMakefile.riscv6412 QEMU_EXTRA_PARAM=-bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf -kernel /usr/loca…
17 .if !exists(/usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf)
20 .if !exists(/usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin)
/freebsd/sys/contrib/openzfs/lib/libshare/
H A Dlibshare_impl.h37 int (*const enable_share)(sa_share_impl_t share);
38 int (*const disable_share)(sa_share_impl_t share);
39 boolean_t (*const is_shared)(sa_share_impl_t share);

12345678910>>...30