Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/command_submission.c cs_ioctl_default() -> hl_cs_copy_chunk_array()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cs_chunk_array 1933775589138939904
DATA_SOURCE 2 chunks $1
DATA_SOURCE 3 num_chunks $2
USER_DATA 3 num_chunks 0-u32max[u]
HALF_LOCKED2 &hpriv->restore_phase_mutex

drivers/accel/habanalabs/common/command_submission.c cs_ioctl_signal_wait() -> hl_cs_copy_chunk_array()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cs_chunk_array 6746775138488881152
PARAM_VALUE 4 ctx->hw_block_list_lock.magic 0
PARAM_VALUE 4 ctx->mem_hash_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 4 ctx->mem_hash_lock.magic 0
PARAM_VALUE 4 ctx->mem_hash_lock.osq.tail.counter 0-s32max
PARAM_VALUE 4 ctx->outcome_store.free_list.next 4096-ptr_max
PARAM_VALUE 4 ctx->thread_ctx_switch_token.counter 0-s32max
PARAM_VALUE 4 ctx->thread_ctx_switch_wait_token 1
PARAM_VALUE 4 ctx->ts_reg_lock.magic 0
DATA_SOURCE 2 chunks $2
DATA_SOURCE 3 num_chunks $3
USER_DATA 3 num_chunks 0-u32max[u]