Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/platforms/ps3/
Dinterrupt.c80 u64 thread_id; member
100 pd->thread_id, d->irq); in ps3_chip_mask()
104 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask()
121 pd->thread_id, d->irq); in ps3_chip_unmask()
125 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_unmask()
143 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, d->irq); in ps3_chip_eoi()
223 __LINE__, pd->ppe_id, pd->thread_id, virq); in ps3_virq_destroy()
259 result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, in ps3_irq_plug_setup()
293 __LINE__, pd->ppe_id, pd->thread_id, virq); in ps3_irq_plug_destroy()
297 result = lv1_disconnect_irq_plug_ext(pd->ppe_id, pd->thread_id, virq); in ps3_irq_plug_destroy()
[all …]
/Linux-v5.4/drivers/acpi/acpica/
Dexmutex.c128 acpi_thread_id thread_id) in acpi_ex_acquire_mutex_object() argument
140 if (obj_desc->mutex.thread_id == thread_id) { in acpi_ex_acquire_mutex_object()
168 obj_desc->mutex.thread_id = thread_id; in acpi_ex_acquire_mutex_object()
235 walk_state->thread->thread_id); in acpi_ex_acquire_mutex()
321 obj_desc->mutex.thread_id = 0; in acpi_ex_release_mutex_object()
376 if ((owner_thread->thread_id != walk_state->thread->thread_id) && in acpi_ex_release_mutex()
380 (u32)walk_state->thread->thread_id, in acpi_ex_release_mutex()
382 (u32)owner_thread->thread_id)); in acpi_ex_release_mutex()
502 obj_desc->mutex.thread_id = 0; in acpi_ex_release_all_mutexes()
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()
Dutdebug.c130 acpi_thread_id thread_id; in acpi_debug_print() local
145 thread_id = acpi_os_get_thread_id(); in acpi_debug_print()
146 if (thread_id != acpi_gbl_previous_thread_id) { in acpi_debug_print()
150 (u32)acpi_gbl_previous_thread_id, (u32)thread_id); in acpi_debug_print()
153 acpi_gbl_previous_thread_id = thread_id; in acpi_debug_print()
171 acpi_os_printf("[%u] ", (u32)thread_id); in acpi_debug_print()
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()
Ddsmethod.c360 !obj_desc->method.mutex->mutex.thread_id || in acpi_ds_begin_method_execution()
361 (walk_state->thread->thread_id != in acpi_ds_begin_method_execution()
362 obj_desc->method.mutex->mutex.thread_id)) { in acpi_ds_begin_method_execution()
382 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
383 walk_state->thread->thread_id; in acpi_ds_begin_method_execution()
402 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
764 method_desc->method.mutex->mutex.thread_id = 0; in acpi_ds_terminate_control_method()
Ddbxface.c516 void acpi_set_debugger_thread_id(acpi_thread_id thread_id) in ACPI_EXPORT_SYMBOL()
518 acpi_gbl_db_thread_id = thread_id; in ACPI_EXPORT_SYMBOL()
Dutinit.c109 acpi_gbl_mutex_info[i].thread_id = ACPI_MUTEX_NOT_ACQUIRED; in acpi_ut_init_globals()
/Linux-v5.4/arch/arm64/kernel/
Dtopology.c41 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
47 cpuid_topo->thread_id = -1; in store_cpu_topology()
56 cpuid_topo->thread_id, mpidr); in store_cpu_topology()
96 cpu_topology[cpu].thread_id = topology_id; in parse_acpi_topology()
100 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dmap_lock.c37 pthread_t thread_id[6]; in test_map_lock() local
57 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
61 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
66 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
70 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
Dspinlock.c7 pthread_t thread_id[4]; in test_spinlock() local
19 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_spinlock()
24 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_spinlock()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_ras.c141 int thread_id, subcore_id; in kvmppc_subcore_enter_guest() local
143 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_enter_guest()
144 subcore_id = thread_id / kvmppc_cur_subcore_size(); in kvmppc_subcore_enter_guest()
152 int thread_id, subcore_id; in kvmppc_subcore_exit_guest() local
154 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_exit_guest()
155 subcore_id = thread_id / kvmppc_cur_subcore_size(); in kvmppc_subcore_exit_guest()
/Linux-v5.4/arch/powerpc/platforms/cell/
Dcbe_regs.c45 unsigned int thread_id; member
151 return cbe_thread_map[cpu].thread_id; in cbe_get_hw_thread_id()
239 unsigned int thread_id; in cbe_regs_init() local
244 cbe_thread_map[i].cpu_node = of_get_cpu_node(i, &thread_id); in cbe_regs_init()
246 cbe_thread_map[i].thread_id = thread_id; in cbe_regs_init()
274 if(thread->thread_id == 0) in cbe_regs_init()
/Linux-v5.4/tools/testing/selftests/sync/
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-v5.4/arch/arm/kernel/
Dtopology.c214 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
219 cpuid_topo->thread_id = -1; in store_cpu_topology()
229 cpuid_topo->thread_id = -1; in store_cpu_topology()
239 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology()
/Linux-v5.4/arch/parisc/kernel/
Dtopology.c75 cpuid_topo->thread_id = -1; in store_cpu_topology()
105 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology()
131 cpu_topo->thread_id = -1; in init_cpu_topology()
/Linux-v5.4/tools/perf/scripts/python/
Dexport-to-postgresql.py987 def thread_table(thread_id, machine_id, process_id, pid, tid, *x): argument
988 value = struct.pack("!hiqiqiqiiii", 5, 8, thread_id, 8, machine_id, 8, process_id, 4, pid, 4, tid)
991 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x): argument
995 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
998 def comm_thread_table(comm_thread_id, comm_id, thread_id, *x): argument
1000 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id)
1028 def sample_table(sample_id, evsel_id, machine_id, thread_id, comm_id, dso_id, symbol_id, sym_offset… argument
1030 …iiiqiqiqiqiiiBiqiqiq", 20, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, …
1032 …iqiqiqiqiqiiiBiqiqiq", 24, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, …
1040 def call_return_table(cr_id, thread_id, comm_id, call_path_id, call_time, return_time, branch_count… argument
[all …]
Dexported-sql-viewer.py509 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, br… argument
512 self.thread_id = thread_id
533 " AND thread_id = " + str(self.thread_id) +
545 …elThreeItem(self.glb, self.params, self.child_count, self.comm_id, self.thread_id, query.value(0),…
553 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, name, dso, count, time, ins… argument
554 …super(CallGraphLevelThreeItem, self).__init__(glb, params, row, comm_id, thread_id, call_path_id, …
570 def __init__(self, glb, params, row, comm_id, thread_id, pid, tid, parent_item): argument
571 …super(CallGraphLevelTwoItem, self).__init__(glb, params, row, comm_id, thread_id, 1, 0, 0, 0, 0, p…
576 self.dbid = thread_id
788 …def __init__(self, glb, params, row, comm_id, thread_id, calls_id, time, insn_cnt, cyc_cnt, branch… argument
[all …]
/Linux-v5.4/arch/s390/include/asm/
Dtopology.h14 unsigned short thread_id; member
31 #define topology_thread_id(cpu) (cpu_topology[cpu].thread_id)
/Linux-v5.4/arch/parisc/include/asm/
Dtopology.h9 int thread_id; member
/Linux-v5.4/include/linux/
Darch_topology.h37 int thread_id; member
/Linux-v5.4/include/uapi/misc/
Docxl.h52 __u16 thread_id; /* The thread ID required to wake this thread */ member
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_dbgdev.h87 uint32_t thread_id:6; member
/Linux-v5.4/drivers/base/
Darch_topology.c288 cpu_topology[cpu].thread_id = i; in parse_core()
499 cpu_topo->thread_id = -1; in reset_cpu_topology()
/Linux-v5.4/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c115 static inline char *compute_chunk_start_addr(unsigned int thread_id) in compute_chunk_start_addr() argument
120 (thread_id * RIM_CHUNK_SIZE)); in compute_chunk_start_addr()

12