Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/soc/apple/rtkit.c apple_rtkit_common_rx_get_buffer() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 0 rtk 4096-ptr_max
PARAM_VALUE 0 rtk->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtk->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rtk->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtk->dev->cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtk->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 rtk->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtk->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 rtk->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 rtk->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 rtk->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtk->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 rtk->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 rtk->ops 4096-ptr_max
PARAM_VALUE 0 rtk->ops->shmem_setup 7324391785493659648,8127463069688037376
PARAM_VALUE 1 ep 1-2,4,8
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 0
DATA_SOURCE 0 rtk $0
DATA_SOURCE 1 ep $2
HARD_MAX 1 ep 8
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/soc/apple/rtkit.c apple_rtkit_ioreport_rx() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 1 ep 4
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 0
DATA_SOURCE 0 rtk $0
DATA_SOURCE 2 message $1
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/soc/apple/rtkit.c apple_rtkit_management_send() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 0 rtk->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 rtk->mbox->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ep 0
PARAM_VALUE 2 message 0-1152921504606846975
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 0
BUF_SIZE 0 rtk (-1),600
BUF_SIZE 0 rtk (-1),600
DATA_SOURCE 0 rtk $0
DATA_SOURCE 2 message $2 [m]
BIT_INFO 2 message 0x0,0xff800ffffffffff
BIT_INFO 2 message 0x0,0xff800ffffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/soc/apple/rtkit.c apple_rtkit_syslog_rx_log() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 0 rtk 4096-ptr_max
PARAM_VALUE 0 rtk->dev 0,4096-ptr_max
PARAM_VALUE 0 rtk->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 rtk->dev->class 0,4096-ptr_max
PARAM_VALUE 0 rtk->dev->driver 0,4096-ptr_max
PARAM_VALUE 1 ep 2
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 0
DATA_SOURCE 0 rtk $0
DATA_SOURCE 2 message $1
RX_PATH
NOCHECK_CALL
HOST_DATA 0 *rtk->syslog_msg_buffer 0-255
HALF_LOCKED2 &pool->lock

drivers/mfd/macsmc.c apple_smc_cmd_locked() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 1 ep 32
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 0
BUF_SIZE 0 rtk (-1),600
BUF_SIZE 0 rtk (-1),600
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/mfd/macsmc.c apple_smc_probe() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 0 rtk 4096-ptr_max
PARAM_VALUE 0 rtk->ap_pwr_ack_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 rtk->ap_pwr_ack_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 rtk->ap_pwr_ack_completion.wait.lock.magic 3735899821
PARAM_VALUE 0 rtk->ap_pwr_ack_completion.wait.lock.owner (-1)
PARAM_VALUE 0 rtk->ap_pwr_ack_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 rtk->ap_pwr_ack_completion.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 rtk->cookie 4096-ptr_max
PARAM_VALUE 0 rtk->crashed 0
PARAM_VALUE 0 rtk->dev 4096-ptr_max
PARAM_VALUE 0 rtk->endpoints s64min-(-4096),4096-s64max
PARAM_VALUE 0 rtk->epmap_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 rtk->epmap_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 rtk->epmap_completion.wait.lock.magic 3735899821
PARAM_VALUE 0 rtk->epmap_completion.wait.lock.owner (-1)
PARAM_VALUE 0 rtk->epmap_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 rtk->iop_pwr_ack_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 rtk->iop_pwr_ack_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 rtk->iop_pwr_ack_completion.wait.lock.magic 3735899821
PARAM_VALUE 0 rtk->iop_pwr_ack_completion.wait.lock.owner (-1)
PARAM_VALUE 0 rtk->iop_pwr_ack_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 rtk->mbox->active 1
PARAM_VALUE 0 rtk->mbox->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rtk->mbox->rx 2551656683565207552
PARAM_VALUE 0 rtk->mbox->tx_empty.done 0-4294967295
PARAM_VALUE 0 rtk->mbox->tx_empty.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 rtk->mbox->tx_empty.wait.lock.owner (-1)
PARAM_VALUE 0 rtk->mbox->tx_empty.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 rtk->mbox->tx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rtk->ops 4671932894024896512
PARAM_VALUE 1 ep 32
PARAM_VALUE 2 message 0-255
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 0
BUF_SIZE 0 rtk 600
BUF_SIZE 0 rtk 600
DATA_SOURCE 0 rtk r devm_apple_rtkit_init
RX_PATH
TASK_NOT_RUNNING

drivers/mfd/macsmc.c apple_smc_write_atomic() -> apple_rtkit_send_message()

Type Parameter Key Value
PARAM_VALUE 1 ep 32
PARAM_VALUE 3 completion 0
PARAM_VALUE 4 atomic 1
LOCK2 &smc->lock
LOCK2 irq
TYPE_LOCK (struct apple_smc)->lock