/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
D | It_posix_pthread_058.c | 42 int oldstate; in PthreadF01() local 48 ret = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate); in PthreadF01() 50 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_ENABLE, oldstate, EXIT); in PthreadF01() 54 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 56 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01() 59 ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate); in PthreadF01() 61 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DISABLE, oldstate, EXIT); in PthreadF01() 75 int oldstate; in PthreadF02() local 80 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF02() 83 ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate); in PthreadF02()
|
D | It_posix_pthread_056.c | 42 int oldstate; in PthreadF01() local 50 ret = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate); in PthreadF01() 52 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_ENABLE, oldstate, EXIT); in PthreadF01() 57 ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate); in PthreadF01() 59 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DISABLE, oldstate, EXIT); in PthreadF01()
|
D | It_posix_pthread_101.c | 43 int oldstate; in PthreadF01() local 48 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 50 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01()
|
D | It_posix_pthread_092.c | 42 int oldstate; in PthreadF02() local 60 int oldstate; in PthreadF01() local 68 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 70 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01()
|
D | It_posix_pthread_095.c | 44 int oldstate; in PthreadF02() local 64 int oldstate; in PthreadF01() local 71 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 73 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01()
|
D | It_posix_pthread_066.c | 42 int oldstate; in PthreadF02() local 59 int oldstate; in PthreadF01() local 66 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 68 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01()
|
D | It_posix_pthread_057.c | 43 int oldstate; in PthreadF01() local 48 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 50 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01()
|
D | It_posix_pthread_068.c | 58 int oldstate; in PthreadF01() local 64 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01() 66 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in PthreadF01()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/ |
D | It_posix_pthread_021.cpp | 36 int oldstate; in Testcase() local 40 ret = pthread_setcancelstate(0, &oldstate); in Testcase() 43 ret = pthread_setcancelstate(3, &oldstate); in Testcase() 49 ret = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate); in Testcase() 51 ICUNIT_ASSERT_EQUAL(oldstate, PTHREAD_CANCEL_ENABLE, oldstate); in Testcase() 63 ret = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldstate); in Testcase() 65 ICUNIT_ASSERT_EQUAL(oldstate, PTHREAD_CANCEL_ASYNCHRONOUS, oldstate); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/ |
D | It_posix_pthread_021.c | 43 int oldstate; in Testcase() local 46 ret = pthread_setcancelstate(2, &oldstate); // 2, test for invalid param. in Testcase() 49 ret = pthread_setcancelstate(3, &oldstate); // 3, test for invalid param. in Testcase() 55 ret = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate); in Testcase() 57 ICUNIT_ASSERT_EQUAL(oldstate, PTHREAD_CANCEL_ENABLE, oldstate); in Testcase() 68 ret = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldstate); in Testcase() 70 ICUNIT_ASSERT_EQUAL(oldstate, PTHREAD_CANCEL_ASYNCHRONOUS, oldstate); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_057.cpp | 36 int oldstate; in pthread_f01() local 43 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01() 45 ICUNIT_ASSERT_EQUAL_NULL(oldstate, PTHREAD_CANCEL_DEFERRED, (void *)oldstate); in pthread_f01() 56 int oldstate; in pthread_f02() local 60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f02() 62 ICUNIT_ASSERT_EQUAL_NULL(oldstate, PTHREAD_CANCEL_DEFERRED, (void *)oldstate); in pthread_f02() 72 int oldstate; in PthreadF03() local
|
D | It_posix_pthread_091.cpp | 35 int oldstate; in pthread_f01() local 42 ret = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldstate); in pthread_f01() 44 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in pthread_f01() 57 int oldstate; in pthread_f02() local 64 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f02() 66 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in pthread_f02()
|
D | It_posix_pthread_095.cpp | 37 int oldstate; in pthread_f02() local 58 int oldstate; in pthread_f01() local 66 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01() 68 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in pthread_f01()
|
D | It_posix_pthread_066.cpp | 35 int oldstate; in pthread_f02() local 52 int oldstate; in pthread_f01() local 60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01() 62 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in pthread_f01()
|
D | It_posix_pthread_094.cpp | 35 int oldstate; in pthread_f02() local 53 int oldstate; in pthread_f01() local 60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01() 62 ICUNIT_GOTO_EQUAL(oldstate, PTHREAD_CANCEL_DEFERRED, oldstate, EXIT); in pthread_f01()
|
/kernel/linux/linux-5.10/kernel/ |
D | smpboot.c | 421 int oldstate; in cpu_wait_death() local 441 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_wait_death() 442 if (oldstate == CPU_DEAD) { in cpu_wait_death() 449 oldstate, CPU_BROKEN) != oldstate) in cpu_wait_death() 467 int oldstate; in cpu_report_death() local 472 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_report_death() 473 if (oldstate != CPU_BROKEN) in cpu_report_death() 478 oldstate, newstate) != oldstate); in cpu_report_death()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | sock.h | 142 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate), 144 TP_ARGS(sk, oldstate, newstate), 148 __field(int, oldstate) 166 __entry->oldstate = oldstate; 202 show_tcp_state_name(__entry->oldstate),
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | hosts.c | 76 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local 78 if (state == oldstate) in scsi_host_set_state() 89 switch (oldstate) { in scsi_host_set_state() 99 switch (oldstate) { in scsi_host_set_state() 108 switch (oldstate) { in scsi_host_set_state() 119 switch (oldstate) { in scsi_host_set_state() 129 switch (oldstate) { in scsi_host_set_state() 139 switch (oldstate) { in scsi_host_set_state() 155 scsi_host_state_name(oldstate), in scsi_host_set_state()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 698 struct drm_plane_state *oldstate) in sti_gdp_atomic_update() argument 721 if ((oldstate->fb == state->fb) && in sti_gdp_atomic_update() 722 (oldstate->crtc_x == state->crtc_x) && in sti_gdp_atomic_update() 723 (oldstate->crtc_y == state->crtc_y) && in sti_gdp_atomic_update() 724 (oldstate->crtc_w == state->crtc_w) && in sti_gdp_atomic_update() 725 (oldstate->crtc_h == state->crtc_h) && in sti_gdp_atomic_update() 726 (oldstate->src_x == state->src_x) && in sti_gdp_atomic_update() 727 (oldstate->src_y == state->src_y) && in sti_gdp_atomic_update() 728 (oldstate->src_w == state->src_w) && in sti_gdp_atomic_update() 729 (oldstate->src_h == state->src_h)) { in sti_gdp_atomic_update() [all …]
|
D | sti_hqvdp.c | 1110 struct drm_plane_state *oldstate) in sti_hqvdp_atomic_update() argument 1128 if ((oldstate->fb == state->fb) && in sti_hqvdp_atomic_update() 1129 (oldstate->crtc_x == state->crtc_x) && in sti_hqvdp_atomic_update() 1130 (oldstate->crtc_y == state->crtc_y) && in sti_hqvdp_atomic_update() 1131 (oldstate->crtc_w == state->crtc_w) && in sti_hqvdp_atomic_update() 1132 (oldstate->crtc_h == state->crtc_h) && in sti_hqvdp_atomic_update() 1133 (oldstate->src_x == state->src_x) && in sti_hqvdp_atomic_update() 1134 (oldstate->src_y == state->src_y) && in sti_hqvdp_atomic_update() 1135 (oldstate->src_w == state->src_w) && in sti_hqvdp_atomic_update() 1136 (oldstate->src_h == state->src_h)) { in sti_hqvdp_atomic_update() [all …]
|
D | sti_cursor.c | 255 struct drm_plane_state *oldstate) in sti_cursor_atomic_update() argument 309 struct drm_plane_state *oldstate) in sti_cursor_atomic_disable() argument 313 if (!oldstate->crtc) { in sti_cursor_atomic_disable() 320 oldstate->crtc->base.id, in sti_cursor_atomic_disable() 321 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 272 struct drm_plane_state *oldstate) in osd_changed() argument 274 return state->src_x != oldstate->src_x || in osd_changed() 275 state->src_y != oldstate->src_y || in osd_changed() 276 state->src_w != oldstate->src_w || in osd_changed() 277 state->src_h != oldstate->src_h || in osd_changed() 278 state->crtc_x != oldstate->crtc_x || in osd_changed() 279 state->crtc_y != oldstate->crtc_y || in osd_changed() 280 state->crtc_w != oldstate->crtc_w || in osd_changed() 281 state->crtc_h != oldstate->crtc_h; in osd_changed() 285 struct drm_plane_state *oldstate) in ingenic_ipu_plane_atomic_update() argument
|
/kernel/linux/linux-5.10/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 83 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset() 269 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 301 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready() 316 chip->oldstate = FL_ERASING; in chip_ready() 333 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 353 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 385 switch (chip->oldstate) { in put_chip() 391 chip->oldstate = FL_READY; in put_chip() 398 map->name, chip->oldstate); in put_chip()
|
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
D | fwh_lock.h | 68 chip->oldstate = chip->state; in fwh_xxlock_oneblock() 73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
D | hackkit.c | 48 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate); 95 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in hackkit_uart_pm() argument
|