Home
last modified time | relevance | path

Searched refs:pshared (Results 1 – 15 of 15) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_108.c45 int pshared; in Testcase() local
48 rc = pthread_condattr_getpshared(NULL, &pshared); in Testcase()
57 rc = pthread_condattr_getpshared(&condattr, &pshared); in Testcase()
59 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
DIt_posix_pthread_073.c46 int pshared; in Testcase() local
56 rc = pthread_condattr_getpshared(&condattr, &pshared); in Testcase()
59 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
DIt_posix_pthread_079.c44 int pshared; in Testcase() local
51 ret = pthread_condattr_getpshared(&attr, &pshared); in Testcase()
53 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/pthread/
DIt_posix_pthread_014.c36 int pshared; in Testcase() local
42 rc = pthread_condattr_getpshared(NULL, &pshared); in Testcase()
51 rc = pthread_condattr_getpshared(&condattr, &pshared); in Testcase()
53 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_073.cpp41 int pshared; in Testcase() local
51 rc = pthread_condattr_getpshared(&condattr, &pshared); in Testcase()
54 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
DIt_posix_pthread_079.cpp37 int pshared; in Testcase() local
44 ret = pthread_condattr_getpshared(&attr, &pshared); in Testcase()
46 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
/kernel/liteos_m/testsuites/unittest/fuzz/src/semaphore/
Dsem_timedwait_fuzz.c55 int pshared, value; in SemTimedWaitFuzzTest() local
69 pshared = (*(int *)DT_SetGetS32(&g_element[1], DEFAULT_SHARED_VALUE)); in SemTimedWaitFuzzTest()
71 sem_init(&sem, pshared, value); in SemTimedWaitFuzzTest()
/kernel/liteos_m/testsuites/sample/posix/mutex/
DIt_posix_mutex_017.c40 int pshared = 0; in Testcase() local
48 ret = sem_init(&sem, pshared, 2); // 2, The initial number of available semaphores. in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_059.c47 int pshared; in Testcase() local
55 ret = sem_init(&sem, pshared, 2); // 2, The initial number of available semaphores. in Testcase()
DIt_posix_mutex_026.c64 long pshared; in Testcase() local
66 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in Testcase()
/kernel/linux/linux-5.10/include/linux/
Ddma-resv.h284 struct dma_fence ***pshared);
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
Dpthread_cond_func_test.c934 INT32 pshared; variable
942 ret = pthread_condattr_getpshared(&attr, &pshared);
944 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared);
/kernel/liteos_m/testsuites/sample/posix/
Dpthread_func_test.c917 INT32 pshared; variable
925 ret = pthread_condattr_getpshared(&attr, &pshared);
927 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared);
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-resv.c435 struct dma_fence ***pshared) in dma_resv_get_fences_rcu() argument
515 *pshared = shared; in dma_resv_get_fences_rcu()
/kernel/linux/linux-5.10/Documentation/locking/
Drobust-futexes.rst158 [which it currently does for !pshared robust mutexes], and that took 256