| /kernel/liteos_m/testsuites/unittest/xts/net/ |
| D | acts_net_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 53 ICUNIT_ASSERT_NOT_EQUAL(udpFd, -1, udpFd); /* -1, common data for test, no special meaning */ 55 struct ifreq ifre[5]; /* 5, common data for test, no special meaning */ 58 ifcf.ifc_len = 5 * sizeof(struct ifreq); /* 5, common data for test, no special meaning */ 63 char rst1[18]; /* 18, common data for test, no special meaning */ 68 … ICUNIT_GOTO_EQUAL(ifrCount, 2, ifrCount, EXIT); /* 2, common data for test, no special meaning */ 69 …ERT_WITHIN_EQUAL(ifrCount, 2, INT_MAX, ifrCount); /* 2, common data for test, no special meaning */ 81 … + 3), *(macPtr + 4), *(macPtr + 5)); /* 1, 2, 3, 4, 5, common data for test, no special meaning */ 100 ICUNIT_ASSERT_NOT_EQUAL(fd, -1, fd); /* -1, common data for test, no special meaning */ 102 int error = -1; /* -1, common data for test, no special meaning */ [all …]
|
| /kernel/liteos_m/testsuites/unittest/xts/ipc/msg_queue/ |
| D | mq_exp_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 59 … "testMqReceiveEAGAIN_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */ 64 …ICUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning … 70 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 74 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 79 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 102 … "testMqReceiveEAGAIN_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */ 107 …ICUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning … 110 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 116 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ [all …]
|
| D | mq_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 60 …), "testMqOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */ 65 …ICUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning … 75 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 104 …estMqTimedOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */ 109 …ICUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning … 111 tts.tv_sec = time(NULL) + 1; /* 1, common data for test, no special meaning */ 121 rts.tv_sec = time(NULL) + 1; /* 1, common data for test, no special meaning */ 124 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 150 …"testMqAllOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */ [all …]
|
| /kernel/liteos_m/testsuites/unittest/xts/mem/ |
| D | mem_api_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 54 len = GetRandom(1024); /* 1024, common data for test, no special meaning */ 57 char buf[1024]; /* 1024, common data for test, no special meaning */ 63 failure = 1; /* 1, common data for test, no special meaning */ 80 char src[1024]; /* 1024, common data for test, no special meaning */ 81 char dst[1024]; /* 1024, common data for test, no special meaning */ 83 len = GetRandom(1024); /* 1024, common data for test, no special meaning */ 86 src[i] = chr + i % 26; /* 26, common data for test, no special meaning */ 94 failure = 1; /* 1, common data for test, no special meaning */ 110 char buf[1024]; /* 1024, common data for test, no special meaning */ [all …]
|
| /kernel/liteos_m/testsuites/unittest/xts/io/ |
| D | xts_io_stdlib_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 130 long ret = strtol(nPtr, &endPtr, 10); /* 10 common data for test, no special meaning */ 131 ICUNIT_ASSERT_EQUAL(ret, 12, ret); /* 12 common data for test, no special meaning */ 134 ret = strtol(endPtr, &endPtr, 2); /* 2 common data for test, no special meaning */ 135 ICUNIT_ASSERT_EQUAL(ret, 6, ret); /* 6 common data for test, no special meaning */ 138 ret = strtol(endPtr, &endPtr, 16); /* 16 common data for test, no special meaning */ 142 ret = strtol(endPtr, &endPtr, 8); /* 8 common data for test, no special meaning */ 146 ret = strtol(endPtr, &endPtr, 65); /* 65 common data for test, no special meaning */ 151 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1 common data for test, no special meaning */ 154 ret = strtol(endPtr, &endPtr, 10); /* 10 common data for test, no special meaning */ [all …]
|
| D | xts_io_other_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 56 …ICUNIT_ASSERT_EQUAL(tm.tm_year, 120, tm.tm_year); /* 120 common data for test, no special meaning … 57 ICUNIT_ASSERT_EQUAL(tm.tm_mon, 9, tm.tm_mon); /* 9 common data for test, no special meaning */ 58 … ICUNIT_ASSERT_EQUAL(tm.tm_mday, 29, tm.tm_mday); /* 29 common data for test, no special meaning */ 59 … ICUNIT_ASSERT_EQUAL(tm.tm_hour, 21, tm.tm_hour); /* 21 common data for test, no special meaning */ 60 ICUNIT_ASSERT_EQUAL(tm.tm_min, 24, tm.tm_min); /* 24 common data for test, no special meaning */ 64 …ICUNIT_ASSERT_EQUAL(tm.tm_year, 120, tm.tm_year); /* 120 common data for test, no special meaning … 65 ICUNIT_ASSERT_EQUAL(tm.tm_mon, 9, tm.tm_mon); /* 9 common data for test, no special meaning */ 66 … ICUNIT_ASSERT_EQUAL(tm.tm_mday, 14, tm.tm_mday); /* 14 common data for test, no special meaning */ 67 ICUNIT_ASSERT_EQUAL(tm.tm_hour, 9, tm.tm_hour); /* 9 common data for test, no special meaning */ [all …]
|
| D | xts_io_string_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 72 int ret = strncmp(dest, src, 1); /* 1 common data for test, no special meaning */ 75 ret = strncmp("123456", "654321", 6); /* 6 common data for test, no special meaning */ 78 …ret = strncmp("~!@#$%^&*()_+", "~!@#$%^&*()_+", 8); /* 8 common data for test, no special meaning … 91 char dest[50] = {0}; /* 50 common data for test, no special meaning */ 97 char destT[50] = {0}; /* 50 common data for test, no special meaning */ 112 char dest[50] = {0}; /* 50 common data for test, no special meaning */ 113 char *ret = stpncpy(dest, src, 5); /* 5 common data for test, no special meaning */ 118 char destT[50] = {0}; /* 50 common data for test, no special meaning */ 119 ret = stpncpy(destT, srcT, 15); /* 15 common data for test, no special meaning */ [all …]
|
| D | xts_io_stdio_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 49 char str[50] = {0}; /* 50 common data for test, no special meaning */ in FormatVsnptf() 62 …tf((char *)"%s has %d words", "hello world", 11); /* 11 common data for test, no special meaning */ 63 ICUNIT_ASSERT_EQUAL(ret, 24, ret); /* 24 common data for test, no special meaning */ 65 …*)"%f and %c as well as %ld\n", 2.2, 'c', 6); /* 2.2, 6 common data for test, no special meaning */ 66 ICUNIT_ASSERT_EQUAL(ret, 28, ret); /* 28 common data for test, no special meaning */
|
| /kernel/liteos_m/testsuites/unittest/xts/ipc/semaphone/ |
| D | sem_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 51 int testValue[3] = {0, 1, 10}; /* 3, 1, 10 common data for test, no special meaning */ 92 ret = sem_init((sem_t *)&sem, 0, 3); /* 3, common data for test, no special meaning */ 116 g_semTestStep = 1; /* 1, common data for test, no special meaning */ in ThreadChat() 120 g_semTestStep = 2; /* 2, common data for test, no special meaning */ in ThreadChat() 142 …ICUNIT_ASSERT_EQUAL(g_semTestStep, 1, g_semTestStep); /* 1, common data for test, no special meani… 149 …ICUNIT_ASSERT_EQUAL(g_semTestStep, 2, g_semTestStep); /* 2, common data for test, no special meani… 152 …ICUNIT_ASSERT_EQUAL(g_semTestStep, 2, g_semTestStep); /* 2, common data for test, no special meani… 173 g_semTestStep = 1; /* 1, common data for test, no special meaning */ in ThreadNThreadWait1() 177 g_semTestStep = 2; /* 2, common data for test, no special meaning */ in ThreadNThreadWait1() [all …]
|
| D | sem_xts_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 58 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 80 int testValue = 1; /* 1, common data for test, no special meaning */ 83 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 105 int testValue = 10; /* 10, common data for test, no special meaning */ 108 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 132 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 143 ICUNIT_ASSERT_EQUAL(semValue, 1, semValue); /* 1, common data for test, no special meaning */ 151 ICUNIT_ASSERT_EQUAL(semValue, 3, semValue); /* 3, common data for test, no special meaning */ 169 ret = sem_init(&sem, 0, 3); /* 3, common data for test, no special meaning */ [all …]
|
| D | sem_abn_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 57 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 78 …unsigned int gtSemMax = (unsigned int)SEM_VALUE_MAX + 1; /* 1, common data for test, no special me… 81 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); /* -1, common data for test, no special meaning */ 97 ret = sem_init(&sem, 0, 1); /* 1, common data for test, no special meaning */ 98 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 116 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */ 120 …ICUNIT_GOTO_EQUAL(errno, EOVERFLOW, errno, EXIT); /* -1, common data for test, no special meaning … 144 ts.tv_nsec = -2; /* -2, common data for test, no special meaning */ 146 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); /* -1, common data for test, no special meaning */ [all …]
|
| /kernel/liteos_m/testsuites/unittest/xts/time/ |
| D | sleep_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 67 clockid_t cid = 1; /* 1, common data for test, no special meaning */ 69 struct timespec req = {0, 100}; /* 100, common data for test, no special meaning */ 85 struct timespec req = {0, 100}; /* 100, common data for test, no special meaning */ 89 int id = GetRandom(1000) + 12; /* 1000, 12, common data for test, no special meaning */ 93 id = -GetRandom(1000) - 12; /* 1000, 12, common data for test, no special meaning */ 100 flag = GetRandom(100) + 1; /* 100, 1, common data for test, no special meaning */ 103 flag = -GetRandom(100) - 1; /* 100, 1, common data for test, no special meaning */ 107 req.tv_sec = -1; /* -1, common data for test, no special meaning */ 108 req.tv_nsec = 1; /* 1, common data for test, no special meaning */ [all …]
|
| D | clock_time_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 67 sleep(1); /* 1, common data for test, no special meaning */ 71 time1.tv_sec -= 1; /* 1, common data for test, no special meaning */ 72 time1.tv_nsec = 1; /* 1, common data for test, no special meaning */ 75 sleep(1); /* 1, common data for test, no special meaning */ 90 int sleepSec = 1; /* 1, common data for test, no special meaning */ 105 …RT_WITHIN_EQUAL(ret, INT_MIN, sleepSec + 1, ret); /* 1, common data for test, no special meaning */ 117 int setSec = 100; /* 100, common data for test, no special meaning */ 118 int sleepSec = 2; /* 2, common data for test, no special meaning */ 136 …RT_WITHIN_EQUAL(ret, INT_MIN, sleepSec + 1, ret); /* 1, common data for test, no special meaning */
|
| /kernel/liteos_m/testsuites/unittest/xts/sched/ |
| D | pthread_sched_api_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 60 int inheritsched = -1; /* -1, common data for test, no special meaning */ 81 int inheritsched = -1; /* -1, common data for test, no special meaning */ 88 inheritsched = -1; /* -1, common data for test, no special meaning */ 107 int n = -GetRandom(100); /* 100, common data for test, no special meaning */ 110 n = 2 + GetRandom(100); /* 2, 100, common data for test, no special meaning */ 132 param.sched_priority = 22; /* 22, common data for test, no special meaning */ 138 …param.sched_priority, 22, param.sched_priority); /* 22, common data for test, no special meaning */ 154 int policy = -1; /* -1, common data for test, no special meaning */ 174 …SCHED_IDLE, SCHED_DEADLINE, SCHED_RESET_ON_FORK}; /* 7, common data for test, no special meaning */ [all …]
|
| D | process_sched_api_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 57 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */ 73 invalidPolicyVal = -GetRandom(10000); /* 10000, common data for test, no special meaning */ 76 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */ 79 …olicyVal = GetRandom(10000) + SCHED_DEADLINE; /* 10000, common data for test, no special meaning */ 82 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */ 99 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */ 114 invalidPolicyVal = -GetRandom(10000); /* 10000, common data for test, no special meaning */ 117 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */ 120 …olicyVal = GetRandom(10000) + SCHED_DEADLINE; /* 10000, common data for test, no special meaning */ [all …]
|
| /kernel/liteos_m/testsuites/unittest/posix/src/fs/ |
| D | posix_fs_test.h | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 76 #define TEST_BUF_SIZE 40 /* 40, common data for test, no special meaning… 77 #define TEST_SEEK_SIZE 10 /* 10, common data for test, no special meaning… 78 #define TEST_RW_SIZE 20 /* 20, common data for test, no special meaning… 79 #define TEST_LOOPUP_TIME 20 /* 100, common data for test, no special meanin… 81 #define ERROR_CONFIG_NFILE_DESCRIPTORS 88888 /* 88888, common data for test, no special mean… 82 #define MODIFIED_FILE_SIZE 1024 /* 1024, common data for test, no special meani… 84 #define TEST_MODE_NORMAL 0666 /* 0666, common data for test, no special meani… 85 #define TEST_MODE_HIGH 0777 /* 0777, common data for test, no special meani… 87 #define POSIX_FS_IS_ERROR (-1) /* -1, common data for test, no special meani… [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/mediatek/ |
| D | pinctrl-mtk-common.h | 119 * - For special pins' pull up/down setting which resides in same register 121 * @offset: The offset of special pull up/down setting register. 144 * struct mtk_pin_ies_set - For special pins' ies and smt setting. 145 * @start: The start pin number of those special pins. 146 * @end: The end pin number of those special pins. 147 * @offset: The offset of special setting register. 148 * @bit: The bit of special setting register. 196 * @spec_ies: Special pin setting for input enable 198 * @spec_pupd: Special pull up/down setting 200 * @spec_smt: Special pin setting for schmitt [all …]
|
| /kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/float/ |
| D | It_smp_los_float_switch_002.c | 23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 61 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF01() 66 … // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF01() 71 … // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF01() 77 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF01() 79 … // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF01() 81 … // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF01() 110 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF02() 115 …emp2) { // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF02() 119 …p2)) { // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF02() [all …]
|
| D | It_smp_los_float_switch_004.c | 23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 60 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF01() 65 … // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF01() 70 … // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF01() 76 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF01() 78 … // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF01() 80 … // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF01() 97 // 2.34, 5.67, 1.25, numbers involved in floating-point operations, without special functions. in HwiF01() 99 // 4.321, numbers involved in floating-point operations, without special functions. in HwiF01()
|
| D | It_smp_los_float_switch_005.c | 23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 60 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF01() 65 … // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF01() 70 … // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF01() 76 … // 153230.406250, numbers involved in floating-point operations, without special functions. in TaskF01() 78 … // 124432.390625, numbers involved in floating-point operations, without special functions. in TaskF01() 80 … // 1233323.875000, numbers involved in floating-point operations, without special functions. in TaskF01() 97 // 2.34, 5.67, 1.25, numbers involved in floating-point operations, without special functions. in HwiF01() 99 // 4.321, numbers involved in floating-point operations, without special functions. in HwiF01()
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
| D | pinctrl-mtk-common.h | 119 * - For special pins' pull up/down setting which resides in same register 121 * @offset: The offset of special pull up/down setting register. 144 * struct mtk_pin_ies_set - For special pins' ies and smt setting. 145 * @start: The start pin number of those special pins. 146 * @end: The end pin number of those special pins. 147 * @offset: The offset of special setting register. 148 * @bit: The bit of special setting register. 196 * @spec_pull_set: Each SoC may have special pins for pull up/down setting, 198 * up/down bit, R0 and R1 resistor bit, so they need special pull setting. 199 * If special setting is success, this should return 0, otherwise it should [all …]
|
| /kernel/liteos_m/testsuites/unittest/xts/math/ |
| D | math_std_api_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 52 const int testCount = 3; /* 3 common data for test, no special meaning */ 53 int testValues[] = {-3, 0, 3}; /* -3, 3 common data for test, no special meaning */ 54 int expected[] = {3, 0, 3}; /* 3 common data for test, no special meaning */ 70 const int testCount = 3; /* 3 common data for test, no special meaning */ 71 …2147483649, -2147483649, 0}; /* 2147483649, -2147483649 common data for test, no special meaning */ 72 …xpected[] = {2147483649, 2147483649, 0}; /* 2147483649, common data for test, no special meaning */
|
| /kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
| D | pthread_test_021.cpp | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 49 for (volatile int i = 0; i < 100000; i++) { /* 100000, no special meaning */ in ThreadFuncTest() 50 for (volatile int j = 0; j < 5; j++) { /* 5, no special meaning */ in ThreadFuncTest() 54 if (count % 3 == 0) { /* 3, no special meaning */ in ThreadFuncTest() 58 } while (count <= 6); /* 6, no special meaning */ in ThreadFuncTest() 97 for (volatile int i = 0; i < 10000; i++) { /* 10000, no special meaning */ in ChildProcess() 98 for (volatile int j = 0; j < 5; j++) { /* 5, no special meaning */ in ChildProcess() 102 if (count % 3 == 0) { /* 3, no special meaning */ in ChildProcess() 106 } while (count <= 6); /* 6, no special meaning */ in ChildProcess()
|
| /kernel/liteos_m/testsuites/unittest/xts/ipc/mutex/ |
| D | pthread_mutex_test.c | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 67 …_st1.top + 1) % g_st1.countMax == g_st1.bottom) { /* 1, common data for test, no special meaning */ in PthreadProduce() 72 … g_st1.top = (g_st1.top + 1) % g_st1.countMax; /* 1, common data for test, no special meaning */ in PthreadProduce() 79 usleep(10); /* 10, common data for test, no special meaning */ in PthreadProduce() 104 usleep(10); /* 10, common data for test, no special meaning */ in PthreadConsume() 117 pthread_t tid[2]; /* 2, common data for test, no special meaning */ 124 …read_create(&tid[1], NULL, PthreadConsume, NULL); /* 1, common data for test, no special meaning */ 128 ret = pthread_join(tid[1], NULL); /* 1, common data for test, no special meaning */
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
| D | security.h | 15 /* special blocks */ 25 * IP block which has a SPECIAL part. 79 * protection configuration registers e.g., SPECIAL GLBL PRIV regs (starting at 101 /* struct hl_special_blocks_cfg - holds special blocks cfg data. 122 * excluded from special blocks configurations. 128 * @skip_block_hook: hook that will be called before initializing special blocks. 141 * struct iterate_special_ctx - HW module special block iterator 142 * @fn: function to apply to each HW module special block instance 147 * callback for the HW module special block iterator
|