/third_party/rust/crates/nix/src/sys/ |
H A D | timerfd.rs | 207 if !std::thread::panicking() { in drop()
|
H A D | signalfd.rs | 4 //! When a signal can't be delivered to a process (or thread), it will become a pending signal. 5 //! Failure to deliver could happen if the signal is blocked by every thread in the process or if 8 //! If a signal is sent to a process (or thread) that already has a pending signal of the same 45 /// A signal must be blocked on every thread in a process, otherwise it won't be visible from 68 /// // Set the thread to block the SIGUSR1 signal, otherwise the default handler will be used 123 if !std::thread::panicking() && e == Err(Errno::EBADF) { in drop()
|
/third_party/selinux/libselinux/include/selinux/ |
H A D | avc.h | 126 * is to print on stderr. If no thread callbacks are passed, a separate 127 * listening thread won't be started for kernel policy change messages. 153 /* create and start a thread, returning an opaque pointer to it; 154 the thread should run the given function. */ 156 /* cancel a given thread and free its resources. */ 157 void (*func_stop_thread) (void *thread);
|
/third_party/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidRenderActivity.hpp | 52 MESSAGE_SYNC, //!< Main thread requests sync. Data argument is de::Semaphore* that needs to be incremented. 152 // Parent thread state. 160 bool m_finish; //!< Has thread received FINISH message? 185 //! Set rendering thread. Must be called at construction time. 186 void setThread (RenderThread* thread);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/ |
H A D | cm_request.cpp | 20 #include <thread>
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_pr.c | 148 current->thread.kvm_shadow_vcpu = vcpu->arch.shadow_vcpu; in kvmppc_core_vcpu_load_pr() 822 struct thread_struct *t = ¤t->thread; in kvmppc_giveup_ext() 843 * registers into thread.fp_state.fpr[]. in kvmppc_giveup_ext() 852 if (current->thread.regs->msr & MSR_VEC) in kvmppc_giveup_ext() 874 mtspr(SPRN_TAR, current->thread.tar); in kvmppc_giveup_fac() 885 struct thread_struct *t = ¤t->thread; in kvmppc_handle_ext() 957 lost_ext = vcpu->arch.guest_owned_ext & ~current->thread.regs->msr; in kvmppc_handle_lost_ext() 977 current->thread.regs->msr |= lost_ext; in kvmppc_handle_lost_ext() 1035 current->thread.tar = mfspr(SPRN_TAR); in kvmppc_handle_fac()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | cpu.c | 49 * @thread: Pointer to the hotplug thread 64 struct task_struct *thread; member 491 /* Regular hotplug invocation of the AP hotplug thread */ 504 wake_up_process(st->thread); in __cpuhp_kick_ap() 532 /* Unpark the hotplug thread of the target cpu */ in bringup_wait_for_ap() 533 kthread_unpark(st->thread); in bringup_wait_for_ap() 658 * Each invocation of this function by the smpboot thread does a single AP 758 * If we are up and running, use the hotplug thread. For early calls in cpuhp_invoke_ap_callback() 759 * we invoke the thread functio in cpuhp_invoke_ap_callback() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
H A D | commsup.c | 1487 * - host is locked, unless called by the aacraid thread. in _aac_reset_adapter() 1496 if (aac->thread && aac->thread->pid != current->pid) { in _aac_reset_adapter() 1498 kthread_stop(aac->thread); in _aac_reset_adapter() 1499 aac->thread = NULL; in _aac_reset_adapter() 1583 aac->thread = kthread_run(aac_command_thread, aac, "%s", in _aac_reset_adapter() 1585 if (IS_ERR(aac->thread)) { in _aac_reset_adapter() 1586 retval = PTR_ERR(aac->thread); in _aac_reset_adapter() 1587 aac->thread = NULL; in _aac_reset_adapter() 1733 * thread tha in aac_check_health() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | cpu.c | 52 * @thread: Pointer to the hotplug thread 72 struct task_struct *thread; member 649 * For Archicture supporting partial SMT states check if the thread is allowed. 750 /* Regular hotplug invocation of the AP hotplug thread */ 763 wake_up_process(st->thread); in __cpuhp_kick_ap() 792 /* Unpark the hotplug thread of the target cpu */ in bringup_wait_for_ap_online() 793 kthread_unpark(st->thread); in bringup_wait_for_ap_online() 1039 * Each invocation of this function by the smpboot thread does a single AP 1132 * If we are up and running, use the hotplug thread in cpuhp_invoke_ap_callback() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aacraid/ |
H A D | commsup.c | 1488 * - host is locked, unless called by the aacraid thread. in _aac_reset_adapter() 1497 if (aac->thread && aac->thread->pid != current->pid) { in _aac_reset_adapter() 1499 kthread_stop(aac->thread); in _aac_reset_adapter() 1500 aac->thread = NULL; in _aac_reset_adapter() 1584 aac->thread = kthread_run(aac_command_thread, aac, "%s", in _aac_reset_adapter() 1586 if (IS_ERR(aac->thread)) { in _aac_reset_adapter() 1587 retval = PTR_ERR(aac->thread); in _aac_reset_adapter() 1588 aac->thread = NULL; in _aac_reset_adapter() 1734 * thread tha in aac_check_health() [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | smp.c | 293 lc->user_timer = tsk->thread.user_timer; in pcpu_attach_task() 294 lc->guest_timer = tsk->thread.guest_timer; in pcpu_attach_task() 295 lc->system_timer = tsk->thread.system_timer; in pcpu_attach_task() 296 lc->hardirq_timer = tsk->thread.hardirq_timer; in pcpu_attach_task() 297 lc->softirq_timer = tsk->thread.softirq_timer; in pcpu_attach_task()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | smp.c | 291 lc->user_timer = tsk->thread.user_timer; in pcpu_attach_task() 292 lc->guest_timer = tsk->thread.guest_timer; in pcpu_attach_task() 293 lc->system_timer = tsk->thread.system_timer; in pcpu_attach_task() 294 lc->hardirq_timer = tsk->thread.hardirq_timer; in pcpu_attach_task() 295 lc->softirq_timer = tsk->thread.softirq_timer; in pcpu_attach_task()
|
/kernel/linux/linux-5.10/drivers/usb/atm/ |
H A D | usbatm.c | 20 * - Replaced the kernel thread with a tasklet 969 instance->thread = NULL; in usbatm_do_heavy_init() 987 instance->thread = t; in usbatm_heavy_init() 1065 instance->thread = NULL; in usbatm_usb_probe() 1220 if (instance->thread != NULL) in usbatm_usb_disconnect() 1221 send_sig(SIGTERM, instance->thread, 1); in usbatm_usb_disconnect()
|
/kernel/linux/linux-6.6/drivers/usb/atm/ |
H A D | usbatm.c | 20 * - Replaced the kernel thread with a tasklet 969 instance->thread = NULL; in usbatm_do_heavy_init() 987 instance->thread = t; in usbatm_heavy_init() 1067 instance->thread = NULL; in usbatm_usb_probe() 1222 if (instance->thread != NULL) in usbatm_usb_disconnect() 1223 send_sig(SIGTERM, instance->thread, 1); in usbatm_usb_disconnect()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
H A D | ModelTest.cpp | 18 #include <thread> 996 std::thread th1(BuildModel, model1, graphArgs); in HWTEST_F() 997 std::thread th2(BuildModel, model2, graphArgs); in HWTEST_F() 1018 std::thread th1(BuildModel, model2, graphArgs); in HWTEST_F() 1019 std::thread th2(OH_NNModel_Destroy, &model1); in HWTEST_F()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
H A D | ModelTest.cpp | 18 #include <thread> 996 std::thread th1(BuildModel, model1, graphArgs); in HWTEST_F() 997 std::thread th2(BuildModel, model2, graphArgs); in HWTEST_F() 1018 std::thread th1(BuildModel, model2, graphArgs); in HWTEST_F() 1019 std::thread th2(OH_NNModel_Destroy, &model1); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | hevc_cabac.c | 463 static void load_states(HEVCContext *s, int thread) in load_states() argument 467 const HEVCContext *prev = s->sList[(thread + s->threads_number - 1) % s->threads_number]; in load_states() 511 int ff_hevc_cabac_init(HEVCContext *s, int ctb_addr_ts, int thread) in ff_hevc_cabac_init() argument 528 load_states(s, thread); in ff_hevc_cabac_init() 559 load_states(s, thread); in ff_hevc_cabac_init()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 1110 Thread thread = new Thread() { in TestTZDBNamesThreading() 1119 thread.start(); in TestTZDBNamesThreading() 1120 threads.add(thread); in TestTZDBNamesThreading() 1123 for(Thread thread: threads) { in TestTZDBNamesThreading() 1124 thread.join(); in TestTZDBNamesThreading()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 1113 Thread thread = new Thread() { in TestTZDBNamesThreading() 1122 thread.start(); in TestTZDBNamesThreading() 1123 threads.add(thread); in TestTZDBNamesThreading() 1126 for(Thread thread: threads) { in TestTZDBNamesThreading() 1127 thread.join(); in TestTZDBNamesThreading()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationBasicSemaphoreTests.cpp | 37 #include <thread> 372 // start thread - semaphore has value 0 in basicThreadTimelineCase() 373 de::MovePtr<std::thread> thread(new std::thread([=, &vk, &threadResult] in basicThreadTimelineCase() 388 // wait some time to give thread chance to start in basicThreadTimelineCase() 400 thread->join(); in basicThreadTimelineCase()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationBasicSemaphoreTests.cpp | 37 #include <thread> 372 // start thread - semaphore has value 0 in basicThreadTimelineCase() 373 de::MovePtr<std::thread> thread(new std::thread([=, &vk, &threadResult] in basicThreadTimelineCase() 388 // wait some time to give thread chance to start in basicThreadTimelineCase() 400 thread->join(); in basicThreadTimelineCase()
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
H A D | sstep.c | 540 current->thread.TS_FPR(rn) = u.l[0]; in do_fp_load() 547 current->thread.TS_FPR(rn) = u.l[1]; in do_fp_load() 576 u.l[0] = current->thread.TS_FPR(rn); in do_fp_store() 588 u.l[1] = current->thread.TS_FPR(rn); in do_fp_store() 629 current->thread.vr_state.vr[rn] = u.v; in do_vec_load() 655 u.v = current->thread.vr_state.vr[rn]; in do_vec_store() 888 current->thread.fp_state.fpr[reg][0] = buf.d[0]; in do_vsx_load() 889 current->thread.fp_state.fpr[reg][1] = buf.d[1]; in do_vsx_load() 895 current->thread.vr_state.vr[reg - 32] = buf.v; in do_vsx_load() 919 buf.d[0] = current->thread in do_vsx_store() [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid10.c | 312 md_wakeup_thread(mddev->thread); in reschedule_retry() 330 * Wake up any possible resync thread that waits for the device in raid_end_bio_io() 906 * thread state in flush_pending_writes() 981 struct md_thread *thread; in stop_waiting_barrier() local 997 /* daemon thread must exist while handling io */ in stop_waiting_barrier() 998 thread = rcu_dereference_protected(conf->mddev->thread, true); in stop_waiting_barrier() 1004 if (thread->tsk == current) { in stop_waiting_barrier() 1120 md_wakeup_thread(mddev->thread); in raid10_unplug() 1141 * 1. Register the new request and wait if the reconstruction thread ha 3103 raid10d(struct md_thread *thread) raid10d() argument [all...] |
/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/ |
H A D | plugin_render.cpp | 151 renderThread_ = std::thread(std::bind(&PluginRender::RenderThread, this)); in OnSurfaceCreated()
|
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
H A D | asm-offsets.c | 26 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main() 30 /* offsets into the thread struct */ in main()
|