Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/dma/ti/
H A Dk3-psil.c34 struct psil_endpoint_config *psil_get_ep_config(u32 thread_id) in psil_get_ep_config() argument
54 if (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET && soc_ep_map->dst) { in psil_get_ep_config()
57 if (soc_ep_map->dst[i].thread_id == thread_id) in psil_get_ep_config()
62 thread_id &= ~K3_PSIL_DST_THREAD_ID_OFFSET; in psil_get_ep_config()
65 if (soc_ep_map->src[i].thread_id == thread_id) in psil_get_ep_config()
79 u32 thread_id; in psil_set_new_ep_config() local
93 thread_id = dma_spec.args[0]; in psil_set_new_ep_config()
95 dst_ep_config = psil_get_ep_config(thread_id); in psil_set_new_ep_config()
98 thread_id); in psil_set_new_ep_config()
H A Dk3-psil-am62a.c12 .thread_id = x, \
22 .thread_id = x, \
33 .thread_id = x, \
48 .thread_id = x, \
64 .thread_id = x, \
74 .thread_id = x, \
H A Dk3-psil-j721s2.c12 .thread_id = x, \
20 .thread_id = x, \
29 .thread_id = x, \
39 .thread_id = x, \
50 .thread_id = x, \
62 .thread_id = x, \
H A Dk3-psil-am62.c12 .thread_id = x, \
23 .thread_id = x, \
38 .thread_id = x, \
54 .thread_id = x, \
64 .thread_id = x, \
H A Dk3-psil-j7200.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
40 .thread_id = x, \
51 .thread_id = x, \
H A Dk3-psil-am62p.c12 .thread_id = x, \
22 .thread_id = x, \
33 .thread_id = x, \
48 .thread_id = x, \
64 .thread_id = x, \
74 .thread_id = x, \
H A Dk3-psil-j784s4.c12 .thread_id = x, \
20 .thread_id = x, \
29 .thread_id = x, \
39 .thread_id = x, \
50 .thread_id = x, \
62 .thread_id = x, \
H A Dk3-psil-j721e.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
40 .thread_id = x, \
51 .thread_id = x, \
63 .thread_id = x, \
H A Dk3-psil-am64.c13 .thread_id = x, \
23 .thread_id = x, \
34 .thread_id = x, \
49 .thread_id = x, \
H A Dk3-psil-am654.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
41 .thread_id = x, \
/linux/arch/powerpc/platforms/ps3/
H A Dinterrupt.c81 u64 thread_id; member
101 pd->thread_id, d->irq); in ps3_chip_mask()
105 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask()
122 pd->thread_id, d->irq); in ps3_chip_unmask()
126 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_unmask()
144 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, d->irq); in ps3_chip_eoi()
224 __LINE__, pd->ppe_id, pd->thread_id, virq); in ps3_virq_destroy()
260 result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, in ps3_irq_plug_setup()
294 __LINE__, pd->ppe_id, pd->thread_id, virq); in ps3_irq_plug_destroy()
298 result = lv1_disconnect_irq_plug_ext(pd->ppe_id, pd->thread_id, virq); in ps3_irq_plug_destroy()
[all …]
/linux/drivers/md/dm-vdo/
H A Dvdo.c319 thread_id_t thread_id, char *buffer, size_t buffer_length) in get_thread_name() argument
321 if (thread_id == thread_config->journal_thread) { in get_thread_name()
322 if (thread_config->packer_thread == thread_id) { in get_thread_name()
334 } else if (thread_id == thread_config->admin_thread) { in get_thread_name()
338 } else if (thread_id == thread_config->packer_thread) { in get_thread_name()
341 } else if (thread_id == thread_config->dedupe_thread) { in get_thread_name()
344 } else if (thread_id == thread_config->bio_ack_thread) { in get_thread_name()
347 } else if (thread_id == thread_config->cpu_thread) { in get_thread_name()
354 thread_id, "logQ", buffer, buffer_length)) in get_thread_name()
359 thread_id, "physQ", buffer, buffer_length)) in get_thread_name()
[all …]
H A Dcompletion.c115 thread_id_t thread_id = completion->callback_thread_id; in vdo_enqueue_completion() local
117 if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count, in vdo_enqueue_completion()
119 thread_id, completion->type, in vdo_enqueue_completion()
126 vdo_enqueue_work_queue(vdo->threads[thread_id].queue, completion); in vdo_enqueue_completion()
H A Dvio.h70 thread_id_t thread_id = vdo_get_callback_thread_id(); in assert_vio_in_bio_zone() local
72 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_vio_in_bio_zone()
74 (unsigned long long) pbn_from_vio_bio(vio->bio), thread_id, in assert_vio_in_bio_zone()
198 thread_id_t thread_id, enum vio_type vio_type,
/linux/drivers/acpi/acpica/
H A Dutmutex.c142 acpi_gbl_mutex_info[mutex_id].thread_id = in acpi_ut_create_mutex()
170 acpi_gbl_mutex_info[mutex_id].thread_id = ACPI_MUTEX_NOT_ACQUIRED; in acpi_ut_delete_mutex()
212 if (acpi_gbl_mutex_info[i].thread_id == this_thread_id) { in acpi_ut_acquire_mutex()
250 acpi_gbl_mutex_info[mutex_id].thread_id = this_thread_id; in acpi_ut_acquire_mutex()
288 if (acpi_gbl_mutex_info[mutex_id].thread_id == ACPI_MUTEX_NOT_ACQUIRED) { in acpi_ut_release_mutex()
307 if (acpi_gbl_mutex_info[i].thread_id == in acpi_ut_release_mutex()
326 acpi_gbl_mutex_info[mutex_id].thread_id = ACPI_MUTEX_NOT_ACQUIRED; in acpi_ut_release_mutex()
H A Dutstate.c129 state->thread.thread_id = acpi_os_get_thread_id(); in acpi_ut_create_thread_state()
133 if (!state->thread.thread_id) { in acpi_ut_create_thread_state()
135 state->thread.thread_id = (acpi_thread_id) 1; in acpi_ut_create_thread_state()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_lock.c54 pthread_t thread_id[6]; in test_map_lock() local
74 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
78 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
83 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
87 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
H A Darena_spin_lock.c50 pthread_t thread_id[16]; in test_arena_spin_lock_size() local
55 nthreads = MIN(get_nprocs(), ARRAY_SIZE(thread_id)); in test_arena_spin_lock_size()
76 err = pthread_create(&thread_id[i], NULL, &spin_lock_thread, &prog_fd); in test_arena_spin_lock_size()
82 if (!ASSERT_OK(pthread_join(thread_id[i], &ret), "pthread_join")) in test_arena_spin_lock_size()
H A Dspin_lock.c139 pthread_t thread_id[4]; in test_spin_lock_success() local
150 err = pthread_create(&thread_id[i], NULL, &spin_lock_thread, &prog_fd); in test_spin_lock_success()
156 if (!ASSERT_OK(pthread_join(thread_id[i], &ret), "pthread_join")) in test_spin_lock_success()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_ras.c205 int thread_id, subcore_id; in kvmppc_subcore_enter_guest() local
207 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_enter_guest()
208 subcore_id = thread_id / kvmppc_cur_subcore_size(); in kvmppc_subcore_enter_guest()
216 int thread_id, subcore_id; in kvmppc_subcore_exit_guest() local
218 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_exit_guest()
219 subcore_id = thread_id / kvmppc_cur_subcore_size(); in kvmppc_subcore_exit_guest()
/linux/arch/arm/kernel/
H A Dtopology.c204 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
209 cpuid_topo->thread_id = -1; in store_cpu_topology()
219 cpuid_topo->thread_id = -1; in store_cpu_topology()
227 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology()
/linux/rust/syn/
H A Dthread.rs11 thread_id: ThreadId, field
26 thread_id: thread::current().id(), in new()
31 if thread::current().id() == self.thread_id { in get()
/linux/tools/testing/selftests/sync/
H A Dsync_stress_parallelism.c42 int thread_id = (long)d; in test_stress_two_threads_shared_timeline_thread() local
49 i * 2 + thread_id); in test_stress_two_threads_shared_timeline_thread()
61 ASSERT(test_data_two_threads.counter == i * 2 + thread_id, in test_stress_two_threads_shared_timeline_thread()
/linux/tools/perf/scripts/python/
H A Dexport-to-postgresql.py990 def thread_table(thread_id, machine_id, process_id, pid, tid, *x): argument
991 value = struct.pack("!hiqiqiqiiii", 5, 8, thread_id, 8, machine_id, 8, process_id, 4, pid, 4, tid)
994 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x): argument
998 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
1001 def comm_thread_table(comm_thread_id, comm_id, thread_id, *x): argument
1003 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id)
1031 def sample_table(sample_id, evsel_id, machine_id, thread_id, comm_id, dso_id, symbol_id, sym_offset… argument
1033 …iqiqiqiqiiiBiqiqiqii", 21, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, …
1035 …iqiqiqiqiiiBiqiqiqii", 25, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, …
1043 def call_return_table(cr_id, thread_id, comm_id, call_path_id, call_time, return_time, branch_count… argument
[all …]
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c71 pthread_t thread_id[MAX_THREADS]; in execute_test() local
75 pthread_create(&thread_id[i], NULL, in execute_test()
79 pthread_join(thread_id[i], (void *)&thread_data[i]); in execute_test()

123