/kernel/linux/linux-5.10/kernel/power/ |
H A D | swap.c | 586 struct task_struct *thr; /* thread */ member 609 d->thr = NULL; in crc32_threadfn() 628 struct task_struct *thr; /* thread */ member 652 d->thr = NULL; in lzo_compress_threadfn() 687 unsigned thr, run_threads, nr_threads; in save_image_lzo() local 714 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo() 715 memset(&data[thr], 0, offsetof(struct cmp_data, go)); in save_image_lzo() 728 for (thr in save_image_lzo() 1115 struct task_struct *thr; /* thread */ global() member 1177 unsigned i, thr, run_threads, nr_threads; load_image_lzo() local [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | swap.c | 588 struct task_struct *thr; /* thread */ member 611 d->thr = NULL; in crc32_threadfn() 630 struct task_struct *thr; /* thread */ member 654 d->thr = NULL; in lzo_compress_threadfn() 689 unsigned thr, run_threads, nr_threads; in save_image_lzo() local 727 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo() 728 init_waitqueue_head(&data[thr].go); in save_image_lzo() 729 init_waitqueue_head(&data[thr] in save_image_lzo() 1114 struct task_struct *thr; /* thread */ global() member 1176 unsigned i, thr, run_threads, nr_threads; load_image_lzo() local [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/coresight/thread_loop/ |
H A D | thread_loop.c | 59 unsigned int i, len, thr; in main() local 68 thr = atoi(argv[1]); in main() 69 if ((thr < 1) || (thr > 256)) { in main() 79 for (i = 0; i < thr; i++) { in main() 83 for (i = 0; i < thr; i++) in main()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/coresight/memcpy_thread/ |
H A D | memcpy_thread.c | 44 unsigned long i, len, size, thr; in main() local 60 thr = atol(argv[2]); in main() 61 if ((thr < 1) || (thr > 256)) { in main() 71 for (i = 0; i < thr; i++) { in main() 76 for (i = 0; i < thr; i++) in main()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/coresight/unroll_loop_thread/ |
H A D | unroll_loop_thread.c | 53 unsigned int i, thr; in main() local 62 thr = atoi(argv[1]); in main() 63 if ((thr > 256) || (thr < 1)) { in main() 67 for (i = 0; i < thr; i++) { in main() 71 for (i = 0; i < thr; i++) in main()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 820 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local 827 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch() 828 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch() 829 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch() 833 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch() 834 if (!paca_ptrs[cpu0+thr] in pnv_power9_force_smt4_catch() 866 int cpu, cpu0, thr; pnv_power9_force_smt4_release() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 819 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local 826 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch() 827 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch() 828 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch() 832 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch() 833 if (!paca_ptrs[cpu0+thr] in pnv_power9_force_smt4_catch() 865 int cpu, cpu0, thr; pnv_power9_force_smt4_release() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_heartbeat.c | 143 size_t thr; in check_ae() local 146 for (thr = 0; thr < hb_ctrs; thr++) { in check_ae() 147 u16 req = curr[thr].req_heartbeat_cnt; in check_ae() 148 u16 resp = curr[thr].resp_heartbeat_cnt; in check_ae() 149 u16 last = prev[thr].resp_heartbeat_cnt; in check_ae() 151 if ((thr == ADF_AE_ADMIN_THREAD || req != resp) && resp == last) { in check_ae() 152 u16 retry = ++count[thr]; in check_ae() 158 count[thr] in check_ae() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | atmel_serial.h | 140 #define ATMEL_US_TXFTHRES(thr) (((thr) & 0x3f) << 8) /* TX FIFO Threshold */ 141 #define ATMEL_US_RXFTHRES(thr) (((thr) & 0x3f) << 16) /* RX FIFO Threshold */ 142 #define ATMEL_US_RXFTHRES2(thr) (((thr) & 0x3f) << 24) /* RX FIFO Threshold2 */
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | atmel_serial.h | 145 #define ATMEL_US_TXFTHRES(thr) FIELD_PREP(GENMASK(13, 8), (thr)) /* TX FIFO Threshold */ 146 #define ATMEL_US_RXFTHRES(thr) FIELD_PREP(GENMASK(21, 16), (thr)) /* RX FIFO Threshold */ 147 #define ATMEL_US_RXFTHRES2(thr) FIELD_PREP(GENMASK(29, 24), (thr)) /* RX FIFO Threshold2 */
|
/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_private_mapped_file.c | 74 pthread_t thr; in main() local 102 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL); in main() 120 pthread_join(thr, NULL); in main()
|
H A D | futex_wait_uninitialized_heap.c | 70 pthread_t thr; in main() local 104 ret = pthread_create(&thr, NULL, wait_thread, NULL); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_private_mapped_file.c | 74 pthread_t thr; in main() local 102 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL); in main() 120 pthread_join(thr, NULL); in main()
|
H A D | futex_wait_uninitialized_heap.c | 70 pthread_t thr; in main() local 104 ret = pthread_create(&thr, NULL, wait_thread, NULL); in main()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
H A D | ia_css_bnlm.host.c | 71 lut->thr[0][i] = 0; in bnlm_lut_encode() 77 lut->thr[0][i] = lut_thr[i]; in bnlm_lut_encode() 80 lut->val[0][i] = lut_val[i]; /* val has one more element than thr */ in bnlm_lut_encode() 87 lut->thr[0][blk_offset + i] = lut->thr[0][i]; in bnlm_lut_encode()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
H A D | ia_css_bnlm.host.c | 71 lut->thr[0][i] = 0; in bnlm_lut_encode() 77 lut->thr[0][i] = lut_thr[i]; in bnlm_lut_encode() 80 lut->val[0][i] = lut_val[i]; /* val has one more element than thr */ in bnlm_lut_encode() 87 lut->thr[0][blk_offset + i] = lut->thr[0][i]; in bnlm_lut_encode()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/ |
H A D | It_posix_mutex_022.c | 76 pthread_t thr; in Testcase() local 122 if ((ret = pthread_create(&thr, NULL, UnlockIssue022, NULL))) { in Testcase() 143 if (ret = pthread_join(thr, &thRet)) { in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/smoke/ |
H A D | It_posix_mutex_019.c | 79 pthread_t thr; in Testcase() local 137 if ((ret = pthread_create(&thr, NULL, TaskF01, NULL))) { in Testcase() 166 if ((ret = pthread_join(thr, &thRet))) { in Testcase()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | process.c | 915 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument 935 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread() 937 tm_reclaim(thr, cause); in tm_reclaim_thread() 951 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread() 952 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread() 954 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread() 955 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread() 977 struct thread_struct *thr in tm_reclaim_task() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | process.c | 933 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument 953 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread() 955 tm_reclaim(thr, cause); in tm_reclaim_thread() 969 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread() 970 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread() 972 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread() 973 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread() 995 struct thread_struct *thr in tm_reclaim_task() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
H A D | mmio_warning_test.c | 39 void *thr(void *arg) in thr() function 72 pthread_create(&th[i], NULL, thr, (void *)(uintptr_t)&tc); in test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | mmio_warning_test.c | 39 void *thr(void *arg) in thr() function 72 pthread_create(&th[i], NULL, thr, (void *)(uintptr_t)&tc); in test()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 734 int thr; in kvmppc_doorbell_pending() local 746 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending() 747 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending() 1198 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local 1205 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes() 1218 dpdes |= 1 << thr; in kvmppc_read_dpdes() 1231 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local 1241 thr in kvmppc_emulate_doorbell_instr() 2707 int thr; on_primary_thread() local 3100 int pcpu, thr; kvmppc_run_core() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 140 pthread_t thr; in setup_uf_mem() local 186 ret = pthread_create(&thr, NULL, fault_handler_thread, (void *) uffd); in setup_uf_mem()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 140 pthread_t thr; in setup_uf_mem() local 186 ret = pthread_create(&thr, NULL, fault_handler_thread, (void *) uffd); in setup_uf_mem()
|