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/
H A 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()
H A 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()
H A DIt_posix_pthread_079.c44 int pshared; in Testcase() local
50 /* Set 'pshared' to INVALID_PSHARED_VALUE. */ in Testcase()
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/
H A 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/
H A 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()
H A DIt_posix_pthread_079.cpp37 int pshared; in Testcase() local
43 /* Set 'pshared' to INVALID_PSHARED_VALUE. */ in Testcase()
44 ret = pthread_condattr_getpshared(&attr, &pshared); in Testcase()
46 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared); in Testcase()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmutex.c20 static void __mutex_init(struct mutex *mtx, bool pshared) in __mutex_init() argument
30 if (pshared) in __mutex_init()
39 __mutex_init(mtx, /*pshared=*/false); in mutex_init()
44 __mutex_init(mtx, /*pshared=*/true); in mutex_init_pshared()
79 static void __cond_init(struct cond *cnd, bool pshared) in __cond_init() argument
84 if (pshared) in __cond_init()
93 __cond_init(cnd, /*pshared=*/false); in cond_init()
98 __cond_init(cnd, /*pshared=*/true); in cond_init_pshared()
/kernel/liteos_m/testsuites/unittest/fuzz/src/semaphore/
H A 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/
H A 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/
H A DIt_posix_mutex_026.c64 long pshared; in Testcase() local
66 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in Testcase()
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Ddma-resv.h284 struct dma_fence ***pshared);
/kernel/liteos_m/testsuites/sample/posix/
H A Dpthread_func_test.c899 ret = pthread_condattr_setpshared(&attr, (-100)); /* -100: Set 'pshared' to INVALID_PSHARED_VALUE. */
917 INT32 pshared; variable
924 /* Set 'pshared' to INVALID_PSHARED_VALUE. */
925 ret = pthread_condattr_getpshared(&attr, &pshared);
927 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared);
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
H A Dpthread_cond_func_test.c915 /* Set 'pshared' to INVALID_PSHARED_VALUE. */
934 INT32 pshared; variable
941 /* Set 'pshared' to INVALID_PSHARED_VALUE. */
942 ret = pthread_condattr_getpshared(&attr, &pshared);
944 ICUNIT_ASSERT_EQUAL(pshared, PTHREAD_PROCESS_PRIVATE, pshared);
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-resv.c425 * @pshared: the array of shared fence ptrs returned (array is krealloc'd to
435 struct dma_fence ***pshared) in dma_resv_get_fences_rcu()
515 *pshared = shared; in dma_resv_get_fences_rcu()
432 dma_resv_get_fences_rcu(struct dma_resv *obj, struct dma_fence **pfence_excl, unsigned *pshared_count, struct dma_fence ***pshared) dma_resv_get_fences_rcu() argument

Completed in 7 milliseconds