Home
last modified time | relevance | path

Searched refs:mmaped (Results 1 - 17 of 17) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/
H A D1-1.c113 /* We will place the child pid in a mmaped file */ in main()
115 void *mmaped; in main() local
139 mmaped = in main()
142 if (mmaped == MAP_FAILED) { in main()
146 /* Set the sharedpid pointer to this mmaped area */ in main()
147 sharedpid = (pid_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
H A D6-1.c199 /* We will place the test data in a mmaped file */ in main()
202 void *mmaped; in main() local
235 mmaped = in main()
237 if (mmaped == MAP_FAILED) { in main()
241 ctl = (int *)mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
H A D4-2.c204 /* We will place the test data in a mmaped file */ in main()
207 void *mmaped; in main() local
240 mmaped = in main()
242 if (mmaped == MAP_FAILED) { in main()
246 td = (testdata_t *) mmaped; in main()
H A D2-1.c170 /* We will place the test data in a mmaped file */ in main()
173 void *mmaped; in main() local
206 mmaped = in main()
208 if (mmaped == MAP_FAILED) { in main()
212 td = (testdata_t *) mmaped; in main()
H A D1-2.c203 /* We will place the test data in a mmaped file */ in main()
206 void *mmaped; in main() local
239 mmaped = in main()
241 if (mmaped == MAP_FAILED) { in main()
245 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D2-4.c297 /* We will place the test data in a mmaped file */ in main()
300 void *mmaped; in main() local
333 mmaped = in main()
335 if (mmaped == MAP_FAILED) { in main()
339 td = (testdata_t *) mmaped; in main()
H A D4-2.c252 /* We will place the test data in a mmaped file */ in main()
255 void *mmaped; in main() local
288 mmaped = in main()
290 if (mmaped == MAP_FAILED) { in main()
294 td = (testdata_t *) mmaped; in main()
H A D2-7.c305 /* We will place the test data in a mmaped file */ in main()
308 void *mmaped; in main() local
341 mmaped = in main()
343 if (mmaped == MAP_FAILED) { in main()
347 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
H A D2-2.c313 /* We will place the test data in a mmaped file */ in main()
316 void *mmaped; in main() local
349 mmaped = in main()
351 if (mmaped == MAP_FAILED) { in main()
355 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D1-2.c345 /* We will place the test data in a mmaped file */ in main()
348 void *mmaped; in main() local
382 mmaped = in main()
384 if (mmaped == MAP_FAILED) { in main()
388 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress1.c428 /* We will place the test data in a mmaped file */ in main()
431 void *mmaped; in main() local
465 mmaped = in main()
467 if (mmaped == MAP_FAILED) { in main()
471 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress1.c434 /* We will place the test data in a mmaped file */ in main()
437 void *mmaped; in main() local
471 mmaped = in main()
473 if (mmaped == MAP_FAILED) { in main()
477 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
H A D2-1.c387 /* We will place the test data in a mmaped file */ in main()
390 void *mmaped; in main() local
424 mmaped = in main()
426 if (mmaped == MAP_FAILED) { in main()
430 td = (testdata_t *) mmaped; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D1-2.c362 /* We will place the test data in a mmaped file */ in main()
365 void *mmaped; in main() local
396 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
398 if (mmaped == MAP_FAILED) in main()
401 td = (struct testdata *)mmaped; in main()
H A D2-3.c302 void *mmaped; in main() local
329 mmaped = in main()
331 if (mmaped == MAP_FAILED) in main()
334 td = (struct testdata *)mmaped; in main()
/third_party/libbpf/src/
H A Dlibbpf.c538 void *mmaped; member
1610 void *mmaped; local
1612 if (!map->mmaped)
1618 mmaped = mmap(NULL, new_sz, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
1619 if (mmaped == MAP_FAILED)
1622 memcpy(mmaped, map->mmaped, min(old_sz, new_sz));
1623 munmap(map->mmaped, old_sz);
1624 map->mmaped = mmaped;
13475 void **mmaped = maps[i].mmaped; global() local
13638 void **mmaped = s->maps[i].mmaped; global() local
[all...]
H A Dlibbpf.h1625 void **mmaped; member

Completed in 22 milliseconds