HomeSort by relevance Sort by last modified time
    Searched full:prioceiling (Results 1 - 21 of 21) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
3-2.c 12 * [EINVAL] - 'attr' or 'prioceiling' is invalid.
17 * 2. Call pthread_mutexattr_setprioceiling() with an invalid prioceiling value.
30 /* Make sure there is prioceiling capability. */
32 fprintf(stderr,"prioceiling attribute is not available for testing\n");
37 int prioceiling, ret; local
39 /* Set 'prioceiling' out of SCHED_FIFO boundry. */
40 prioceiling = sched_get_priority_max(SCHED_FIFO);
41 prioceiling++;
43 /* Set the prioceiling to an invalid prioceiling. *
    [all...]
3-1.c 12 * [EINVAL] - 'attr' or 'prioceiling' is invalid.
17 * 2. Call pthread_mutexattr_setprioceiling() to set the prioceiling.
30 /* Make sure there is prioceiling capability. */
32 fprintf(stderr,"prioceiling attribute is not available for testing\n");
37 int prioceiling, ret; local
39 prioceiling = sched_get_priority_min(SCHED_FIFO);
41 /* Set the prioceiling of an unintialized mutex attr. */
42 if ((ret = pthread_mutexattr_setprioceiling(&mta, prioceiling)) == 0) {
assertions.xml 6 int prioceiling);
11 'Prioceiling' contains the priority ceiling of initialized mutexes. The values of
12 'prioceiling' are within the maximum range of priorites defined by SCHED_FIFO.
20 [EINVAL] - 'attr' or 'prioceiling' is invalid.
1-1.c 15 * 2. Get the min and max boundries for SCHED_FIFO of what prioceiling can be.
16 * 3. In a for loop, go through each valid SCHED_FIFO value, set the prioceiling.
28 /* Make sure there is prioceiling capability. */
30 fprintf(stderr,"prioceiling attribute is not available for testing\n");
48 /* Set the prioceiling to a priority number in the boundries
51 printf("Test FAILED: Error setting prioceiling to %d\n",
2-1.sh 8 # Upon success, it returns 0, and stores the value of the prioceiling in 'prioceiling'.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/
1-1.c 15 * 2. Call pthread_mutexattr_getprioceiling() to obtain the prioceiling.
33 /* Make sure there is prioceiling capability. */
35 fprintf(stderr,"prioceiling attribute is not available for testing\n");
40 int prioceiling, max_prio, min_prio, ret; local
55 /* Get the prioceiling mutex attr. */
56 ret = pthread_mutexattr_getprioceiling(&ma, &prioceiling);
66 /* Ensure that prioceiling is within legal limits. */
67 if ((prioceiling < min_prio) || (prioceiling > max_prio)) {
69 ("Test FAILED: Default prioceiling %d is not compliant with SCHED_FIFO boundary.\n"
    [all...]
1-2.c 15 * 2. Get the min and max boundries for SCHED_FIFO of what prioceiling can be.
16 * 3. In a for loop, go through each valid SCHED_FIFO value, set the prioceiling, then
29 /* Make sure there is prioceiling capability. */
31 fprintf(stderr,"prioceiling attribute is not available for testing\n");
36 int prioceiling, max_prio, min_prio, i; local
49 /* Set the prioceiling to a priority number in the boundries
52 printf("Error setting prioceiling to %d\n", i);
56 /* Get the prioceiling mutex attr. */
57 if (pthread_mutexattr_getprioceiling(&mta, &prioceiling) != 0) {
63 /* Make sure that prioceiling is withing the legal SCHED_FIFO boundries. *
    [all...]
assertions.xml 6 int *restrict prioceiling);
12 Upon success, it returns 0, and stores the value of the prioceiling in 'prioceiling'.
17 [EINVAL] - 'attr' or 'prioceiling' is invalid.
3-1.c 12 * [EINVAL] - 'attr' or 'prioceiling' is invalid.
18 * 1. Call pthread_mutexattr_getprioceiling() to obtain the prioceiling for an
32 int prioceiling, ret; local
35 /* Get the prioceiling of an unintialized mutex attr. */
36 if ((ret = pthread_mutexattr_getprioceiling(&mta, &prioceiling)) == 0) {
2-1.sh 8 # Upon success, it returns 0, and stores the value of the prioceiling in 'prioceiling'.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_getprioceiling/
1-1.c 4 * Test that pthread_mutex_getprioceiling() returns the current prioceiling of
10 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
33 int error, prioceiling; local
60 /* Get the prioceiling of the mutex. */
61 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
71 printf("Prioceiling returned: %d\n", prioceiling);
3-1.c 15 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
37 int error, prioceiling; local
51 /* Get the prioceiling of the mutex. */
52 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
3-2.c 14 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
37 int error, prioceiling; local
63 /* Get the prioceiling of the mutex. */
64 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
3-3.c 14 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
38 int error, prioceiling; local
65 /* Get the prioceiling of the mutex. */
66 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
assertions.xml 3 The pthread_mutexattr_getprioceiling() function returns the current prioceiling of the mutex.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_setprioceiling/
1-1.c 6 * returns the current prioceiling of the mutex.
10 * 2. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
33 int error, prioceiling; local
60 /* Get the prioceiling of the mutex. */
61 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
71 printf("Prioceiling returned: %d\n", prioceiling);
assertions.xml 9 Upon success, it returns 0, and stores the value of the prioceiling in 'prioceiling'.
33 The priority requested by prioceiling is out of range.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprotocol/
2-2.sh 8 # Upon success, it returns 0, and stores the value of the prioceiling in 'prioceiling'.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_init/
coverage.txt 6 are affected. The prioceiling or protocol attributes may
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
pthread.h 767 /* Set the priority ceiling of MUTEX to PRIOCEILING, return old
833 /* Return in *PRIOCEILING the mutex prioceiling attribute in *ATTR. */
839 /* Set the mutex prioceiling attribute in *ATTR to PRIOCEILING. */
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_common_interceptors.inc     [all...]

Completed in 134 milliseconds