/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 14 void bch2_thread_with_file_exit(struct thread_with_file *thr) argument 16 if (thr->task) { 17 kthread_stop(thr->task); 18 put_task_struct(thr->task); 22 int bch2_run_thread_with_file(struct thread_with_file *thr, argument 40 thr->ret = 0; 41 thr->task = kthread_create(fn, thr, "%s", name); 42 ret = PTR_ERR_OR_ZERO(thr->task); 51 file = anon_inode_getfile(name, fops, thr, fd_flag 101 thread_with_stdio_done(struct thread_with_stdio *thr) argument 112 struct thread_with_stdio *thr = local 151 struct thread_with_stdio *thr = local 165 struct thread_with_stdio *thr = local 217 struct thread_with_stdio *thr = local 236 struct thread_with_stdio *thr = local 252 struct thread_with_stdio *thr = local 260 struct thread_with_stdio *thr = local 289 struct thread_with_stdio *thr = arg; local 297 bch2_thread_with_stdio_init(struct thread_with_stdio *thr, const struct thread_with_stdio_ops *ops) argument 305 __bch2_run_thread_with_stdio(struct thread_with_stdio *thr) argument 310 bch2_run_thread_with_stdio(struct thread_with_stdio *thr, const struct thread_with_stdio_ops *ops) argument 318 bch2_run_thread_with_stdout(struct thread_with_stdio *thr, const struct thread_with_stdio_ops *ops) argument [all...] |
H A D | chardev.c | 135 struct thread_with_stdio thr; member in struct:fsck_thread 142 struct fsck_thread *thr = container_of(_thr, struct fsck_thread, thr); local 143 kfree(thr); 148 struct fsck_thread *thr = container_of(stdio, struct fsck_thread, thr); local 149 struct bch_fs *c = thr->c; 155 ret = bch2_fs_start(thr->c); 180 struct fsck_thread *thr = NULL; local 211 thr 428 struct thread_with_file thr; member in struct:bch_data_ctx 788 struct fsck_thread *thr = container_of(stdio, struct fsck_thread, thr); local 829 struct fsck_thread *thr = NULL; local [all...] |
H A D | thread_with_file.h | 61 struct thread_with_file thr; member in struct:thread_with_stdio
|
/linux-master/kernel/power/ |
H A D | swap.c | 600 struct task_struct *thr; /* thread */ member in struct:crc_data 623 d->thr = NULL; 642 struct task_struct *thr; /* thread */ member in struct:cmp_data 670 d->thr = NULL; 709 unsigned thr, run_threads, nr_threads; local 749 for (thr = 0; thr < nr_threads; thr++) { 750 init_waitqueue_head(&data[thr].go); 751 init_waitqueue_head(&data[thr] 1149 struct task_struct *thr; /* thread */ member in struct:dec_data 1215 unsigned i, thr, run_threads, nr_threads; local [all...] |
/linux-master/tools/perf/tests/shell/coresight/thread_loop/ |
H A D | thread_loop.c | 59 unsigned int i, len, thr; local 67 thr = atoi(argv[1]); 68 if ((thr < 1) || (thr > 256)) { 78 for (i = 0; i < thr; i++) { 82 for (i = 0; i < thr; i++)
|
/linux-master/tools/perf/tests/shell/coresight/unroll_loop_thread/ |
H A D | unroll_loop_thread.c | 53 unsigned int i, thr; local 61 thr = atoi(argv[1]); 62 if ((thr > 256) || (thr < 1)) { 66 for (i = 0; i < thr; i++) { 70 for (i = 0; i < thr; i++)
|
/linux-master/tools/perf/tests/shell/coresight/memcpy_thread/ |
H A D | memcpy_thread.c | 44 unsigned long i, len, size, thr; local 59 thr = atol(argv[2]); 60 if ((thr < 1) || (thr > 256)) { 70 for (i = 0; i < thr; i++) { 75 for (i = 0; i < thr; i++)
|
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_private_mapped_file.c | 74 pthread_t thr; local 102 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL); 120 pthread_join(thr, NULL);
|
H A D | futex_wait_uninitialized_heap.c | 70 pthread_t thr; local 104 ret = pthread_create(&thr, NULL, wait_thread, NULL);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_heartbeat_inject.c | 24 u32 thr) 30 size_t thr_id = ae * hb_ctrs + thr; 23 adf_set_hb_counters_fail(struct adf_accel_dev *accel_dev, u32 ae, u32 thr) argument
|
H A D | adf_hw_arbiter.c | 107 int adf_disable_arb_thd(struct adf_accel_dev *accel_dev, u32 ae, u32 thr) argument 115 if (ADF_AE_STRAND0_THREAD == thr || ADF_AE_STRAND1_THREAD == thr) 116 thr = ADF_AE_ADMIN_THREAD; 125 ae_thr_map &= ~(GENMASK(3, 0) << (thr * BIT(2)));
|
H A D | adf_heartbeat.c | 138 size_t thr; local 141 for (thr = 0; thr < hb_ctrs; thr++) { 142 u16 req = curr[thr].req_heartbeat_cnt; 143 u16 resp = curr[thr].resp_heartbeat_cnt; 144 u16 last = prev[thr].resp_heartbeat_cnt; 146 if ((thr == ADF_AE_ADMIN_THREAD || req != resp) && resp == last) { 147 u16 retry = ++count[thr]; 153 count[thr] [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 819 int cpu, cpu0, thr; local 826 for (thr = 0; thr < threads_per_core; ++thr) { 827 if (cpu != cpu0 + thr) 828 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); 832 for (thr = 0; thr < threads_per_core; ++thr) { 833 if (!paca_ptrs[cpu0+thr] 865 int cpu, cpu0, thr; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
H A D | ia_css_bnlm_param.h | 23 VMEM_ARRAY(thr, ISP_VEC_NELEMS); /* thresholds */
|
H A D | ia_css_bnlm.host.c | 71 lut->thr[0][i] = 0; 77 lut->thr[0][i] = lut_thr[i]; 80 lut->val[0][i] = lut_val[i]; /* val has one more element than thr */ 87 lut->thr[0][blk_offset + i] = lut->thr[0][i];
|
/linux-master/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 */
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_meta.h | 44 #define META_CR_PERF_COUNT(ctrl, thr) \ 46 ((thr) << META_CR_PERF_COUNT_THR_SHIFT)) 73 #define META_CR_CORE_REG(thr, reg_num, unit) \ 74 (((u32)(thr) << META_CR_TXUXXRXRQ_TX_S) | \
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 140 pthread_t thr; local 186 ret = pthread_create(&thr, NULL, fault_handler_thread, (void *) uffd);
|
/linux-master/arch/powerpc/kernel/ |
H A D | process.c | 933 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) argument 953 giveup_all(container_of(thr, struct task_struct, thread)); 955 tm_reclaim(thr, cause); 969 if ((thr->ckpt_regs.msr & MSR_FP) == 0) 970 memcpy(&thr->ckfp_state, &thr->fp_state, 972 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) 973 memcpy(&thr->ckvr_state, &thr->vr_state, 995 struct thread_struct *thr local [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 879 int thr; local 893 thr = vcpu->vcpu_id - vc->first_vcpuid; 894 return !!(vc->dpdes & (1 << thr)); 1501 int thr, cpu, pcpu, nthreads; local 1508 for (thr = 0; thr < nthreads; ++thr, ++cpu) { 1521 dpdes |= 1 << thr; 1534 u32 inst, rb, thr; local 1546 thr 3395 int thr; local 3787 int pcpu, thr; local [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | smc37c93x.h | 85 #define thr rbr macro
|
/linux-master/tools/perf/util/ |
H A D | svghelper.c | 703 int thr; local 709 for_each_set_bit(thr, cpumask_bits(&t->sib_thr[i]), nr_cpus) 710 if (map[thr] == -1) 711 map[thr] = (*pos)++;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rx.c | 214 u16 thr; local 252 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK_V1]; 253 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK_V1) >> 259 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; 260 thr *= 1 + FIELD_GET(RATE_MCS_NSS_MSK, rate_n_flags); 263 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK_V1) >> 267 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr);
|
/linux-master/net/mac80211/ |
H A D | sta_info.c | 2571 u32 thr = 0; local 2809 thr = sta_get_expected_throughput(sta); 2811 if (thr != 0) { 2813 sinfo->expected_throughput = thr; 2843 u32 thr = 0; local 2850 thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv); 2852 thr = drv_get_expected_throughput(local, sta); 2854 return thr; 2867 static void sta_update_codel_params(struct sta_info *sta, u32 thr) argument 2869 if (thr 2880 ieee80211_sta_set_expected_throughput(struct ieee80211_sta *pubsta, u32 thr) argument [all...] |
/linux-master/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 414 u32 thr = 0; local 418 thr = ffs(min_t(unsigned int, host->data->blksz, 420 thr = min_t(u32, thr, MMCI_STM32_THR_MASK); 423 writel_relaxed(thr, host->base + MMCI_STM32_FIFOTHRR);
|