Home
last modified time | relevance | path

Searched refs:sparam (Results 1 - 8 of 8) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_209.c42 struct sched_param sparam; in PthreadF01() local
54 sparam.sched_priority = priority; in PthreadF01()
56 ret = pthread_setschedparam(pthread_self(), g_pthreadSchedPolicy, &sparam); in PthreadF01()
59 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in PthreadF01()
64 ICUNIT_TRACK_EQUAL(sparam.sched_priority, OS_TASK_PRIORITY_LOWEST - 1, sparam.sched_priority); in PthreadF01()
66 ICUNIT_TRACK_EQUAL(sparam.sched_priority, OS_TASK_PRIORITY_LOWEST, sparam.sched_priority); in PthreadF01()
H A DIt_posix_pthread_204.c42 struct sched_param sparam; in PthreadF01() local
54 sparam.sched_priority = priority; in PthreadF01()
56 ret = pthread_setschedparam(pthread_self(), g_pthreadSchedPolicy, &sparam); in PthreadF01()
59 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in PthreadF01()
62 ICUNIT_TRACK_EQUAL(sparam.sched_priority, priority, sparam.sched_priority); in PthreadF01()
H A DIt_posix_pthread_208.c42 struct sched_param sparam; in PthreadF01() local
46 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in PthreadF01()
49 ICUNIT_TRACK_EQUAL(sparam.sched_priority, TASK_PRIO_TEST, sparam.sched_priority); in PthreadF01()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_209.cpp35 struct sched_param sparam; in pthread_f01() local
47 sparam.sched_priority = priority; in pthread_f01()
49 ret = pthread_setschedparam(pthread_self(), g_pthreadSchedPolicy, &sparam); in pthread_f01()
52 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in pthread_f01()
57 ICUNIT_TRACK_EQUAL(sparam.sched_priority, USER_PROCESS_PRIORITY_LOWEST - 1, sparam.sched_priority); in pthread_f01()
59 ICUNIT_TRACK_EQUAL(sparam.sched_priority, USER_PROCESS_PRIORITY_LOWEST, sparam.sched_priority); in pthread_f01()
H A DIt_posix_pthread_204.cpp35 struct sched_param sparam; in pthread_f01() local
47 sparam.sched_priority = priority; in pthread_f01()
49 ret = pthread_setschedparam(pthread_self(), g_pthreadSchedPolicy, &sparam); in pthread_f01()
52 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in pthread_f01()
55 ICUNIT_TRACK_EQUAL(sparam.sched_priority, priority, sparam.sched_priority); in pthread_f01()
/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_022.c37 struct sched_param sparam; in PthreadF01() local
45 sparam.sched_priority = priority; in PthreadF01()
47 ret = pthread_setschedparam(pthread_self(), g_pthreadSchedPolicy, &sparam); in PthreadF01()
50 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in PthreadF01()
53 ICUNIT_TRACK_EQUAL(sparam.sched_priority, priority, sparam.sched_priority); in PthreadF01()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_mbox.c755 uint8_t *sparam; in lpfc_reg_rpi() local
781 sparam = mp->virt; in lpfc_reg_rpi()
784 memcpy(sparam, param, sizeof (struct serv_parm)); in lpfc_reg_rpi()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_mbox.c817 uint8_t *sparam; in lpfc_reg_rpi() local
844 sparam = mp->virt; in lpfc_reg_rpi()
845 memcpy(sparam, param, sizeof (struct serv_parm)); in lpfc_reg_rpi()

Completed in 8 milliseconds