Searched refs:threads (Results 1 - 25 of 271) sorted by last modified time

1234567891011

/linux-master/drivers/s390/net/
H A Dqeth_core_main.c160 void qeth_set_allowed_threads(struct qeth_card *card, unsigned long threads, argument
166 card->thread_allowed_mask = threads;
168 card->thread_start_mask &= threads;
174 int qeth_threads_running(struct qeth_card *card, unsigned long threads) argument
180 rc = (card->thread_running_mask & threads);
H A Dlcs.c301 lcs_set_allowed_threads(struct lcs_card *card, unsigned long threads) argument
306 card->thread_allowed_mask = threads;
310 static int lcs_threads_running(struct lcs_card *card, unsigned long threads) argument
316 rc = (card->thread_running_mask & threads);
322 lcs_wait_for_threads(struct lcs_card *card, unsigned long threads) argument
325 lcs_threads_running(card, threads) == 0);
/linux-master/kernel/
H A Dcpu.c631 * If enabled, take the architecture requested number of threads
1025 * The cpu hotplug threads manage the bringup and teardown of the cpus
1291 * Main thread might exit, but other threads may still have
1336 /* Park the smpboot threads */
1885 * reasons. Bring the primary threads up first.
2089 .name = "threads:prepare",
2231 /* Handle smpboot threads park/unpark */
2233 .name = "smpboot/threads:online",
2699 * from a higher to lower number of SMT threads per core.
2917 static bool cpu_smt_num_threads_valid(unsigned int threads) argument
[all...]
H A Dfork.c119 * Minimum number of threads to boot the kernel
124 * Maximum number of threads
132 int nr_threads; /* The idle threads do not count.. */
305 * Allocated stacks are cached and later reused by new threads,
877 * switch kernel threads to init_mm.
884 * one exiting, or kernel threads using the mm when userspace exits.
1001 u64 threads; local
1005 * The number of threads shall be limited such that the thread
1009 threads = MAX_THREADS;
1011 threads
3426 int threads = max_threads; local
[all...]
/linux-master/arch/arc/include/asm/
H A Dsmp.h13 #include <linux/threads.h>
/linux-master/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c94 pthread_t *threads; local
97 threads = malloc(nr_vcpus * sizeof(*threads));
98 TEST_ASSERT(threads, "Failed to allocate vCPU threads");
111 pthread_create(&threads[i], NULL, vcpu_worker, &info[i]);
113 return threads;
171 pthread_t *threads; local
251 threads = spawn_workers(vm, vcpus, start_gpa, gpa);
285 pthread_join(threads[
[all...]
/linux-master/drivers/android/
H A Dbinder.c22 * (proc->threads, proc->waiting_threads, proc->nodes)
482 /* (e)poll-based threads require an explicit wakeup signal when
484 * messages without I/O block. Without it, threads risk waiting
584 for (n = rb_first(&proc->threads); n != NULL; n = rb_next(n)) {
633 * will wake up threads that have called poll().
656 * 1. All threads are busy handling transactions
657 * In that case, one of those threads should call back into
662 * over all threads not handling transaction work, and
1468 * by threads that are being released. When done with the binder_proc,
1470 * proc if appropriate (proc has been released, all threads hav
5833 int threads, nodes, incoming_refs, outgoing_refs, active_transactions; local
[all...]
/linux-master/tools/arch/x86/include/asm/
H A Dirq_vectors.h5 #include <linux/threads.h>
/linux-master/fs/bcachefs/
H A Dsysfs.c549 unsigned threads; local
554 !(ret = kstrtouint(threads_str, 10, &threads)) &&
556 ret = bch2_btree_perf_test(c, test, nr, threads);
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1393 struct thread_data threads; member in struct:system_summary
2073 if ((t != &average.threads) && (cpu_subset && !CPU_ISSET_S(t->cpu_id, cpu_subset_size, cpu_subset)))
2093 if (t == &average.threads) {
2430 format_counters(&average.threads, &average.cores, &average.packages);
2748 average.threads.apic_id = t->apic_id;
2750 average.threads.x2apic_id = t->x2apic_id;
2753 if (average.threads.tv_begin.tv_sec == 0)
2754 average.threads.tv_begin = t->tv_begin;
2757 average.threads.tv_end = t->tv_end;
2759 average.threads
[all...]
/linux-master/drivers/dma-buf/
H A Dst-dma-fence-chain.c446 struct task_struct **threads; local
455 threads = kmalloc_array(ncpus, sizeof(*threads), GFP_KERNEL);
456 if (!threads) {
463 threads[i] = kthread_run(__find_race, &data, "dmabuf/%d", i);
464 if (IS_ERR(threads[i])) {
469 get_task_struct(threads[i]);
479 ret = kthread_stop_put(threads[i]);
483 kfree(threads);
/linux-master/arch/x86/kernel/
H A Dsmpboot.c104 /* CPUs which are the primary SMT threads */
124 /* Maximum number of SMT threads on any online core */
257 * the core code starts the primary threads first and leaves the
258 * secondary threads waiting for SIPI. Loading microcode on
558 int i, threads; local
591 threads = cpumask_weight(topology_sibling_cpumask(cpu));
592 if (threads > __max_smt_threads)
593 __max_smt_threads = threads;
596 cpu_data(i).smt_active = threads > 1;
611 if (threads
1163 int threads = cpumask_weight(topology_sibling_cpumask(cpu)); local
[all...]
/linux-master/sound/core/
H A Dcontrol.c7 #include <linux/threads.h>
/linux-master/arch/powerpc/kexec/
H A Dcore.c12 #include <linux/threads.h>
/linux-master/arch/powerpc/kernel/
H A Dprom.c17 #include <linux/threads.h>
356 * Now see if any of these threads match our boot cpu.
H A Dprom_init.c21 #include <linux/threads.h>
1241 * smt threads, so return after finding the first.
1247 prom_debug("Found %lu smt threads per core\n", (unsigned long)plen);
1257 prom_debug("No threads found, assuming 1 per core\n");
1414 * To do that, we count the number of threads on the first core
H A Dirq.c30 #include <linux/threads.h>
H A Ddt_cpu_ftrs.c17 #include <linux/threads.h>
/linux-master/arch/loongarch/include/asm/
H A Dstackframe.h8 #include <linux/threads.h>
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dprivate_mem_conversions_test.c382 pthread_t threads[KVM_MAX_VCPUS]; local
416 pthread_create(&threads[i], NULL, __test_mem_conversions, vcpus[i]);
422 pthread_join(threads[i], NULL);
/linux-master/arch/x86/include/asm/
H A Dirq_vectors.h5 #include <linux/threads.h>
H A Dhardirq.h5 #include <linux/threads.h>
/linux-master/arch/sparc/kernel/
H A Dleon_smp.c14 #include <linux/threads.h>
/linux-master/arch/powerpc/mm/
H A Dnuma.c9 #include <linux/threads.h>
719 * Since cpu_to_node binding remains the same for all threads in the
751 * Update for the first thread of the core. All threads of a core
754 * where virtual node associativity change causes subsequent threads
772 /* Verify that all the threads in the core belong to the same node */
/linux-master/arch/powerpc/include/asm/
H A Dsmp.h16 #include <linux/threads.h>

Completed in 325 milliseconds

1234567891011