| /linux/kernel/power/ |
| H A D | swap.c | 565 struct task_struct *thr; /* thread */ member 606 if (crc->thr) in free_crc_data() 607 kthread_stop(crc->thr); in free_crc_data() 623 d->thr = NULL; in crc32_threadfn() 643 struct task_struct *thr; /* thread */ member 668 d->thr = NULL; in compress_threadfn() 703 unsigned int thr, run_threads, nr_threads; in save_compressed_image() local 743 for (thr = 0; thr < nr_threads; thr++) { in save_compressed_image() 744 init_waitqueue_head(&data[thr].go); in save_compressed_image() 745 init_waitqueue_head(&data[thr].done); in save_compressed_image() [all …]
|
| /linux/tools/perf/tests/shell/coresight/thread_loop/ |
| H A D | thread_loop.c | 59 unsigned int i, len, thr; in main() local 67 thr = atoi(argv[1]); in main() 68 if ((thr < 1) || (thr > 256)) { in main() 78 for (i = 0; i < thr; i++) { in main() 82 for (i = 0; i < thr; i++) in main()
|
| /linux/tools/perf/tests/shell/coresight/memcpy_thread/ |
| H A D | memcpy_thread.c | 46 unsigned long i, len, size, thr; in main() local 61 thr = atol(argv[2]); in main() 62 if ((thr < 1) || (thr > 256)) { in main() 72 for (i = 0; i < thr; i++) { in main() 77 for (i = 0; i < thr; i++) in main()
|
| /linux/tools/perf/tests/shell/coresight/unroll_loop_thread/ |
| H A D | unroll_loop_thread.c | 55 unsigned int i, thr; in main() local 63 thr = atoi(argv[1]); in main() 64 if ((thr > 256) || (thr < 1)) { in main() 68 for (i = 0; i < thr; i++) { in main() 72 for (i = 0; i < thr; i++) in main()
|
| /linux/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]->requested_psscr) in pnv_power9_force_smt4_catch() 836 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch() 842 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch() 843 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch() 846 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat.c | 138 size_t thr; in check_ae() local 141 for (thr = 0; thr < hb_ctrs; thr++) { in check_ae() 142 u16 req = curr[thr].req_heartbeat_cnt; in check_ae() 143 u16 resp = curr[thr].resp_heartbeat_cnt; in check_ae() 144 u16 last = prev[thr].resp_heartbeat_cnt; in check_ae() 146 if ((thr == ADF_AE_ADMIN_THREAD || req != resp) && resp == last) { in check_ae() 147 u16 retry = ++count[thr]; in check_ae() 153 count[thr] = 0; in check_ae()
|
| H A D | adf_heartbeat_inject.c | 24 u32 thr) in adf_set_hb_counters_fail() argument 30 size_t thr_id = ae * hb_ctrs + thr; in adf_set_hb_counters_fail()
|
| /linux/drivers/tty/serial/ |
| H A D | atmel_serial.h | 145 #define ATMEL_US_TXFTHRES(thr) FIELD_PREP(GENMASK(13, 8), (thr)) /* TX FIFO Threshold */ argument 146 #define ATMEL_US_RXFTHRES(thr) FIELD_PREP(GENMASK(21, 16), (thr)) /* RX FIFO Threshold */ argument 147 #define ATMEL_US_RXFTHRES2(thr) FIELD_PREP(GENMASK(29, 24), (thr)) /* RX FIFO Threshold2 */ argument
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_wait_private_mapped_file.c | 61 pthread_t thr; in TEST() local 64 res = pthread_create(&thr, NULL, thr_futex_wait, NULL); in TEST() 77 pthread_join(thr, NULL); in TEST()
|
| H A D | futex_wait_uninitialized_heap.c | 59 pthread_t thr; in TEST() local 69 ret = pthread_create(&thr, NULL, wait_thread, NULL); in TEST()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_meta.h | 44 #define META_CR_PERF_COUNT(ctrl, thr) \ argument 46 ((thr) << META_CR_PERF_COUNT_THR_SHIFT)) 73 #define META_CR_CORE_REG(thr, reg_num, unit) \ argument 74 (((u32)(thr) << META_CR_TXUXXRXRQ_TX_S) | \
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pkey_sighandler_tests.c | 209 pthread_t thr; in test_sigsegv_handler_with_pkey0_disabled() local 225 pthread_create(&thr, &attr, thread_segv_with_pkey0_disabled, NULL); in test_sigsegv_handler_with_pkey0_disabled() 249 pthread_t thr; in test_sigsegv_handler_cannot_access_stack() local 265 pthread_create(&thr, &attr, thread_segv_pkuerr_stack, NULL); in test_sigsegv_handler_cannot_access_stack()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_hv.c | 882 int thr; in kvmppc_doorbell_pending() local 896 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending() 897 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending() 1504 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local 1511 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes() 1524 dpdes |= 1 << thr; in kvmppc_read_dpdes() 1537 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local 1549 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr() 1558 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr() 1576 arg = thr; in kvmppc_emulate_doorbell_instr() [all …]
|
| /linux/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()
|
| /linux/drivers/mmc/host/ |
| H A D | mmci_stm32_sdmmc.c | 415 u32 thr = 0; in sdmmc_get_dctrl_cfg() local 419 thr = ffs(min_t(unsigned int, host->data->blksz, in sdmmc_get_dctrl_cfg() 421 thr = min_t(u32, thr, MMCI_STM32_THR_MASK); in sdmmc_get_dctrl_cfg() 424 writel_relaxed(thr, host->base + MMCI_STM32_FIFOTHRR); in sdmmc_get_dctrl_cfg()
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | vgic_irq.c | 985 pthread_t thr[2]; in test_vgic_two_cpus() local 1006 ret = pthread_create(&thr[0], NULL, test_vcpu_run, vcpus[0]); in test_vgic_two_cpus() 1009 ret = pthread_create(&thr[1], NULL, test_vcpu_run, vcpus[1]); in test_vgic_two_cpus() 1013 pthread_join(thr[0], NULL); in test_vgic_two_cpus() 1014 pthread_join(thr[1], NULL); in test_vgic_two_cpus()
|
| /linux/net/mac80211/ |
| H A D | sta_info.c | 366 u32 thr; in sta_accumulate_removed_link_stats() local 385 thr = sta_get_expected_throughput(sta); in sta_accumulate_removed_link_stats() 386 if (thr != 0) in sta_accumulate_removed_link_stats() 387 sta->rem_link_stats.expected_throughput += thr; in sta_accumulate_removed_link_stats() 2754 u32 thr = 0; in sta_set_link_sinfo() local 2956 thr = sta_get_expected_throughput(sta); in sta_set_link_sinfo() 2958 if (thr != 0) { in sta_set_link_sinfo() 2961 link_sinfo->expected_throughput = thr; in sta_set_link_sinfo() 2986 u32 thr = 0; in sta_set_sinfo() local 3204 thr = sta_get_expected_throughput(sta); in sta_set_sinfo() [all …]
|
| /linux/drivers/staging/media/meson/vdec/ |
| H A D | codec_vp9.c | 550 unsigned int thr; in vp9_loop_filter_init() local 552 thr = ((lfi->lfthr[i * 2 + 1].lim & 0x3f) << 8) | in vp9_loop_filter_init() 554 thr = (thr << 16) | ((lfi->lfthr[i * 2].lim & 0x3f) << 8) | in vp9_loop_filter_init() 557 amvdec_write_dos(core, HEVC_DBLK_CFG9, thr); in vp9_loop_filter_init() 596 unsigned int thr; in vp9_loop_filter_frame_init() local 598 thr = ((lfi->lfthr[i * 2 + 1].lim & 0x3f) << 8) | in vp9_loop_filter_frame_init() 600 thr = (thr << 16) | in vp9_loop_filter_frame_init() 604 amvdec_write_dos(core, HEVC_DBLK_CFG9, thr); in vp9_loop_filter_frame_init()
|
| /linux/arch/sh/include/asm/ |
| H A D | smc37c93x.h | 85 #define thr rbr macro
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_core.c | 653 pthread_t thr; in test_cgcore_thread_migration() local 679 if (pthread_create(&thr, NULL, migrating_thread_fn, grps)) in test_cgcore_thread_migration() 682 if (pthread_join(thr, &retval)) in test_cgcore_thread_migration()
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru.dtsi | 450 dlg,mic-det-thr = <500>; 455 dlg,a-d-btn-thr = <0xa>; 456 dlg,d-b-btn-thr = <0x16>; 457 dlg,b-c-btn-thr = <0x21>; 458 dlg,c-mic-btn-thr = <0x3E>;
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | common.bpf.h | 682 typeof(decay) thr = 1 << (decay); \ 684 if (((old) < thr) || ((new) < thr)) { \
|
| /linux/drivers/ipack/devices/ |
| H A D | scc2698.h | 33 u8 d3, thr; /* Transmit holding register */ member
|
| /linux/mm/ |
| H A D | zswap.c | 1316 unsigned long thr; in shrink_worker() local 1319 thr = zswap_accept_thr_pages(); in shrink_worker() 1395 } while (zswap_total_pages() > thr); in shrink_worker()
|
| /linux/sound/soc/codecs/ |
| H A D | tas2781-i2c.c | 1301 reg = TASDEVICE_REG(t->thr[0], t->thr[1], t->thr[2]); in cali_reg_update()
|