Home
last modified time | relevance | path

Searched defs:nthreads (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/perf/util/
H A Dcounts.c10 struct perf_counts *perf_counts__new(int ncpus, int nthreads) in perf_counts__new()
61 int nthreads = perf_thread_map__nr(evsel->core.threads); in evsel__alloc_counts() local
H A Dtool_pmu.c203 int nthreads) in evsel__tool_pmu_prepare_open()
224 int pid = -1, idx = 0, thread = 0, nthreads, err = 0, old_errno; in evsel__tool_pmu_open() local
H A Dstat.c157 int nthreads = perf_thread_map__nr(evsel->core.threads); in evsel__alloc_prev_raw_counts() local
249 int idx, nthreads = perf_thread_map__nr(evsel->core.threads); in evsel__copy_prev_raw_counts() local
464 int nthreads = perf_thread_map__nr(counter->core.threads); in process_counter_maps() local
H A Dhwmon_pmu.c767 int idx = 0, thread = 0, nthreads, err = 0; in evsel__hwmon_pmu_open() local
/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-cpu.c156 static int find_cpu_id_range(unsigned int nthreads, int assigned_node, in find_cpu_id_range()
216 int len, nthreads, node, cpu, assigned_node; in pseries_add_processor() local
299 int len, nthreads, i; in pseries_remove_processor() local
332 int len, nthreads, i; in dlpar_offline_cpu() local
388 int len, nthreads, i; in dlpar_online_cpu() local
/linux/tools/perf/bench/
H A Dbreakpoint.c22 unsigned int nthreads; member
200 unsigned int i, nthreads, result_usec, done = 0; in bench_breakpoint_enable() local
H A Dfutex.h25 unsigned int nthreads; member
H A Depoll-ctl.c36 static unsigned int nthreads = 0; variable
H A Depoll-wait.c91 static unsigned int nthreads = 0; variable
/linux/tools/lib/perf/
H A Devsel.c65 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd()
85 static int perf_evsel__alloc_mmap(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_mmap()
526 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id()
/linux/fs/nfsd/
H A Dnfssvc.c669 int nfsd_get_nrthreads(int n, int *nthreads, struct net *net) in nfsd_get_nrthreads()
694 int nfsd_set_nrthreads(int n, int *nthreads, struct net *net) in nfsd_set_nrthreads()
768 nfsd_svc(int n, int *nthreads, struct net *net, const struct cred *cred, const char *scope) in nfsd_svc()
H A Dnfsctl.c456 int *nthreads; in write_pool_threads() local
1576 int *nthreads, nrpools = 0, i, ret = -EOPNOTSUPP, rem; in nfsd_nl_threads_set_doit() local
/linux/arch/x86/kernel/cpu/
H A Ddebugfs.c63 unsigned int dom, nthreads = 1; in dom_debug_show() local
H A Dtopology_amd.c98 unsigned int nthreads = leaf.core_nthreads + 1; in parse_8000_001e() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Darena_spin_lock.c59 int nthreads; in test_arena_spin_lock_size() local
H A Dtask_work_stress.c50 int nthreads = 16; in task_work_run() local
/linux/tools/testing/selftests/mm/page_frag/
H A Dpage_frag_test.c20 static atomic_t nthreads; variable
/linux/arch/powerpc/kernel/
H A Dsetup-common.c416 static int assign_threads(unsigned int cpu, unsigned int nthreads, bool present, in assign_threads()
457 int nthreads = 1; in smp_setup_cpu_maps() local
H A Dprom.c337 int i, nthreads; in early_init_dt_scan_cpus() local
/linux/tools/testing/selftests/mm/
H A Dgup_test.c95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local
H A Dmigration.c30 int nthreads; in FIXTURE() local
/linux/kernel/locking/
H A Dtest-ww_mutex.c317 static int __test_cycle(unsigned int nthreads) in __test_cycle()
573 static int stress(int nlocks, int nthreads, unsigned int flags) in stress()
/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c404 int i, j, k, nthreads; in TEST() local
/linux/tools/testing/selftests/ublk/
H A Dkublk.h69 unsigned short nthreads; member
195 unsigned nthreads; member
/linux/kernel/kcsan/
H A Dkcsan_test.c1388 long nthreads = (long)prev; in nthreads_gen_params() local
1514 int nthreads; in test_init() local

12