| /drivers/md/dm-vdo/ |
| D | data-vio.h | 371 thread_id_t expected = data_vio->hash_zone->thread_id; in assert_data_vio_in_hash_zone() 372 thread_id_t thread_id = vdo_get_callback_thread_id(); in assert_data_vio_in_hash_zone() local 377 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_hash_zone() 379 (unsigned long long) data_vio->logical.lbn, thread_id, expected); in assert_data_vio_in_hash_zone() 386 data_vio->hash_zone->thread_id); in set_data_vio_hash_zone_callback() 402 thread_id_t expected = data_vio->logical.zone->thread_id; in assert_data_vio_in_logical_zone() 403 thread_id_t thread_id = vdo_get_callback_thread_id(); in assert_data_vio_in_logical_zone() local 405 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_logical_zone() 407 (unsigned long long) data_vio->logical.lbn, thread_id, expected); in assert_data_vio_in_logical_zone() 414 data_vio->logical.zone->thread_id); in set_data_vio_logical_callback() [all …]
|
| D | vdo.c | 336 thread_id_t thread_id, char *buffer, size_t buffer_length) in get_thread_name() argument 338 if (thread_id == thread_config->journal_thread) { in get_thread_name() 339 if (thread_config->packer_thread == thread_id) { in get_thread_name() 351 } else if (thread_id == thread_config->admin_thread) { in get_thread_name() 355 } else if (thread_id == thread_config->packer_thread) { in get_thread_name() 358 } else if (thread_id == thread_config->dedupe_thread) { in get_thread_name() 361 } else if (thread_id == thread_config->bio_ack_thread) { in get_thread_name() 364 } else if (thread_id == thread_config->cpu_thread) { in get_thread_name() 371 thread_id, "logQ", buffer, buffer_length)) in get_thread_name() 376 thread_id, "physQ", buffer, buffer_length)) in get_thread_name() [all …]
|
| D | completion.c | 112 thread_id_t thread_id = completion->callback_thread_id; in vdo_enqueue_completion() local 114 if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count, in vdo_enqueue_completion() 116 thread_id, completion->type, in vdo_enqueue_completion() 123 vdo_enqueue_work_queue(vdo->threads[thread_id].queue, completion); in vdo_enqueue_completion()
|
| D | flush.c | 42 thread_id_t thread_id; member 62 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == flusher->thread_id), in assert_on_flusher_thread() 143 vdo->flusher->thread_id = vdo->thread_config.packer_thread; in vdo_make_flusher() 178 return flusher->thread_id; in vdo_get_flusher_thread_id() 218 flusher->thread_id); in flush_packer_callback() 236 flusher->thread_id); in increment_generation() 242 flusher->logical_zone_to_notify->thread_id); in increment_generation() 258 flusher->logical_zone_to_notify->thread_id); in notify_flush()
|
| D | logical-zone.c | 43 return zones->zones[zone_number].thread_id; in get_thread_id_for_zone() 69 zone->thread_id = vdo->thread_config.logical_threads[zone_number]; in initialize_zone() 74 allocation_zone_number = zone->thread_id % vdo->thread_config.physical_zone_count; in initialize_zone() 77 return vdo_make_default_thread(vdo, zone->thread_id); in initialize_zone() 145 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == zone->thread_id), in assert_on_zone_thread() 292 zone->thread_id); in notify_flusher()
|
| D | vdo.h | 58 thread_id_t thread_id; member 290 int __must_check vdo_make_thread(struct vdo *vdo, thread_id_t thread_id, 295 thread_id_t thread_id) in vdo_make_default_thread() argument 297 return vdo_make_thread(vdo, thread_id, NULL, 1, NULL); in vdo_make_default_thread() 331 thread_id_t thread_id);
|
| D | vio.h | 68 thread_id_t thread_id = vdo_get_callback_thread_id(); in assert_vio_in_bio_zone() local 70 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_vio_in_bio_zone() 72 (unsigned long long) pbn_from_vio_bio(vio->bio), thread_id, in assert_vio_in_bio_zone() 191 int __must_check make_vio_pool(struct vdo *vdo, size_t pool_size, thread_id_t thread_id,
|
| /drivers/staging/media/atomisp/pci/runtime/bufq/src/ |
| D | bufq.c | 72 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 …]
|
| /drivers/dma/ti/ |
| D | k3-psil.c | 34 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()
|
| D | k3-psil-am62a.c | 12 .thread_id = x, \ 22 .thread_id = x, \ 33 .thread_id = x, \ 48 .thread_id = x, \ 64 .thread_id = x, \ 74 .thread_id = x, \
|
| D | k3-psil-j721s2.c | 12 .thread_id = x, \ 20 .thread_id = x, \ 29 .thread_id = x, \ 39 .thread_id = x, \ 50 .thread_id = x, \ 62 .thread_id = x, \
|
| D | k3-psil-am62.c | 12 .thread_id = x, \ 23 .thread_id = x, \ 38 .thread_id = x, \ 54 .thread_id = x, \ 64 .thread_id = x, \
|
| D | k3-psil-j7200.c | 13 .thread_id = x, \ 21 .thread_id = x, \ 30 .thread_id = x, \ 40 .thread_id = x, \ 51 .thread_id = x, \
|
| D | k3-psil-j721e.c | 13 .thread_id = x, \ 21 .thread_id = x, \ 30 .thread_id = x, \ 40 .thread_id = x, \ 51 .thread_id = x, \ 63 .thread_id = x, \
|
| D | k3-psil-am62p.c | 12 .thread_id = x, \ 22 .thread_id = x, \ 33 .thread_id = x, \ 48 .thread_id = x, \ 64 .thread_id = x, \ 74 .thread_id = x, \
|
| D | k3-psil-j784s4.c | 12 .thread_id = x, \ 20 .thread_id = x, \ 29 .thread_id = x, \ 39 .thread_id = x, \ 50 .thread_id = x, \ 62 .thread_id = x, \
|
| D | k3-psil-am64.c | 13 .thread_id = x, \ 23 .thread_id = x, \ 34 .thread_id = x, \ 49 .thread_id = x, \
|
| D | k3-psil-am654.c | 13 .thread_id = x, \ 21 .thread_id = x, \ 30 .thread_id = x, \ 41 .thread_id = x, \
|
| /drivers/staging/media/atomisp/pci/ |
| D | sh_css_sp.c | 119 unsigned int thread_id; in store_sp_stage_data() local 121 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in store_sp_stage_data() 126 sh_css_sp_group.pipe[thread_id].sp_stage_addr[stage] = in store_sp_stage_data() 196 unsigned int thread_id; in sh_css_sp_start_binary_copy() local 202 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_sp_start_binary_copy() 203 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_binary_copy() 209 pipe->thread_id = thread_id; in sh_css_sp_start_binary_copy() 248 unsigned int thread_id; in sh_css_sp_start_raw_copy() local 268 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_sp_start_raw_copy() 269 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_raw_copy() [all …]
|
| /drivers/acpi/acpica/ |
| D | exmutex.c | 128 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()
|
| D | utmutex.c | 142 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()
|
| D | utdebug.c | 140 acpi_thread_id thread_id; in acpi_debug_print() local 155 thread_id = acpi_os_get_thread_id(); in acpi_debug_print() 156 if (thread_id != acpi_gbl_previous_thread_id) { in acpi_debug_print() 160 (u32)acpi_gbl_previous_thread_id, (u32)thread_id); in acpi_debug_print() 163 acpi_gbl_previous_thread_id = thread_id; in acpi_debug_print() 181 acpi_os_printf("[%u] ", (u32)thread_id); in acpi_debug_print()
|
| D | dsmethod.c | 360 !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() 777 method_desc->method.mutex->mutex.thread_id = 0; in acpi_ds_terminate_control_method()
|
| D | utstate.c | 129 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()
|
| /drivers/staging/media/atomisp/pci/runtime/pipeline/src/ |
| D | pipeline.c | 132 unsigned int thread_id; in ia_css_pipeline_start() local 145 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in ia_css_pipeline_start() 153 (uint8_t)thread_id, in ia_css_pipeline_start() 200 unsigned int thread_id; in ia_css_pipeline_request_stop() local 215 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_request_stop() 223 (uint8_t)thread_id, in ia_css_pipeline_request_stop() 443 unsigned int thread_id; in ia_css_pipeline_has_stopped() local 450 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_has_stopped() 454 return sp_group.pipe[thread_id].num_stages == 0; in ia_css_pipeline_has_stopped() 556 unsigned int thread_id; in pipeline_unmap_num_to_sp_thread() local [all …]
|