Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/bufq/src/
H A Dbufq.c72 unsigned int thread_id,
76 unsigned int thread_id,
105 unsigned int thread_id, in ia_css_queue_map() argument
110 assert(thread_id < SH_CSS_MAX_SP_THREADS); in ia_css_queue_map()
113 "ia_css_queue_map() enter: buf_type=%d, thread_id=%d\n", buf_type, thread_id); in ia_css_queue_map()
116 map_buffer_type_to_queue_id(thread_id, buf_type); in ia_css_queue_map()
118 unmap_buffer_type_to_queue_id(thread_id, buf_type); in ia_css_queue_map()
126 unsigned int thread_id, in ia_css_query_internal_queue_id() argument
129 IA_CSS_ENTER("buf_type=%d, thread_id=%d, val = %p", buf_type, thread_id, val); in ia_css_query_internal_queue_id()
131 if ((!val) || (thread_id >= SH_CSS_MAX_SP_THREADS) || in ia_css_query_internal_queue_id()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/spice/spice/
H A D0001-Fix-compile-errors-on-Linux-32bit-system.patch10 |207| red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x",
12 self->priv->thread_id);
16 'self->priv->thread_id' is 'unsigned long int' which should match '%lx'
39 - red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x", (unsigned long)self->priv->threa…
40 + red_channel_debug(self, "thread_id 0x%lx", (unsigned long)self->priv->thread_id);
46 if (!pthread_equal(pthread_self(), channel->priv->thread_id)) {
48 - "channel->thread_id (0x%" G_GSIZE_MODIFIER "x) != "
50 + "channel->thread_id (0x%lx) != "
54 (unsigned long)channel->priv->thread_id,
62 if (!pthread_equal(pthread_self(), client->thread_id)) {
[all …]
H A D0001-Convert-pthread_t-to-be-numeric.patch23 - red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x", self->priv->thread_id);
24 + red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x", (unsigned long)self->priv->threa…
32 - channel->priv->thread_id, pthread_self());
33 + (unsigned long)channel->priv->thread_id,
44 - client->thread_id, pthread_self());
45 + (unsigned long)client->thread_id, (unsigned long)pthread_self());
53 - client->thread_id,
55 + (unsigned long)client->thread_id,
/OK3568_Linux_fs/kernel/drivers/dma/ti/
H A Dk3-psil.c26 struct psil_endpoint_config *psil_get_ep_config(u32 thread_id) in psil_get_ep_config() argument
46 if (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET && soc_ep_map->dst) { in psil_get_ep_config()
49 if (soc_ep_map->dst[i].thread_id == thread_id) in psil_get_ep_config()
54 thread_id &= ~K3_PSIL_DST_THREAD_ID_OFFSET; in psil_get_ep_config()
57 if (soc_ep_map->src[i].thread_id == thread_id) in psil_get_ep_config()
71 u32 thread_id; in psil_set_new_ep_config() local
85 thread_id = dma_spec.args[0]; in psil_set_new_ep_config()
87 dst_ep_config = psil_get_ep_config(thread_id); in psil_set_new_ep_config()
90 thread_id); in psil_set_new_ep_config()
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-j721e.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
40 .thread_id = x, \
51 .thread_id = x, \
H A Dk3-psil-am654.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
41 .thread_id = x, \
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.c125 unsigned int thread_id; in store_sp_stage_data() local
127 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in store_sp_stage_data()
132 sh_css_sp_group.pipe[thread_id].sp_stage_addr[stage] = in store_sp_stage_data()
202 unsigned int thread_id; in sh_css_sp_start_binary_copy() local
208 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_sp_start_binary_copy()
209 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_binary_copy()
215 pipe->thread_id = thread_id; in sh_css_sp_start_binary_copy()
257 unsigned int thread_id; in sh_css_sp_start_raw_copy() local
277 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_sp_start_raw_copy()
278 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_raw_copy()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A 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()
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 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dmap_lock.c51 pthread_t thread_id[6]; in test_map_lock() local
71 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
75 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
80 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
84 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
H A Dspinlock.c21 pthread_t thread_id[4]; in test_spinlock() local
33 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_spinlock()
38 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_spinlock()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
H A Dpipeline.c132 unsigned int thread_id; in ia_css_pipeline_start() local
146 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in ia_css_pipeline_start()
154 (uint8_t)thread_id, in ia_css_pipeline_start()
201 unsigned int thread_id; in ia_css_pipeline_request_stop() local
216 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_request_stop()
224 (uint8_t)thread_id, in ia_css_pipeline_request_stop()
444 unsigned int thread_id; in ia_css_pipeline_has_stopped() local
451 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_has_stopped()
455 return sp_group.pipe[thread_id].num_stages == 0; in ia_css_pipeline_has_stopped()
559 unsigned int thread_id; in pipeline_unmap_num_to_sp_thread() local
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/
H A 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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/aarch64-none-linux-gnu/bits/
H A Dgthr-default.h367 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
375 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
377 thread_id = NULL; in __gthread_objc_thread_detach()
379 return thread_id; in __gthread_objc_thread_detach()
392 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
397 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
416 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-posix.h367 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
375 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
377 thread_id = NULL; in __gthread_objc_thread_detach()
379 return thread_id; in __gthread_objc_thread_detach()
392 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
397 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
416 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/arm-none-linux-gnueabihf/bits/
H A Dgthr-default.h367 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
375 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
377 thread_id = NULL; in __gthread_objc_thread_detach()
379 return thread_id; in __gthread_objc_thread_detach()
392 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
397 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
416 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-posix.h367 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
375 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
377 thread_id = NULL; in __gthread_objc_thread_detach()
379 return thread_id; in __gthread_objc_thread_detach()
392 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
397 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
416 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()

1234