Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/base/transport_class.c transport_setup_classdev() -> (struct transport_class)->setup()

Type Parameter Key Value
PARAM_VALUE 0 phy 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 2 cdev 4096-ptr_max
PARAM_VALUE 2 cdev->class 4096-ptr_max
PARAM_VALUE 2 cdev->devres_head.next 4096-ptr_max
PARAM_VALUE 2 cdev->devres_head.prev 4096-ptr_max
PARAM_VALUE 2 cdev->dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 2 cdev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 2 cdev->dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 2 cdev->dma_pools.next 4096-ptr_max
PARAM_VALUE 2 cdev->dma_pools.prev 4096-ptr_max
PARAM_VALUE 2 cdev->dma_uses_io_tlb 0
PARAM_VALUE 2 cdev->kobj.kref.refcount.refs.counter 1
PARAM_VALUE 2 cdev->kobj.ktype 5399513539053756416
PARAM_VALUE 2 cdev->kobj.state_add_uevent_sent 0
PARAM_VALUE 2 cdev->kobj.state_in_sysfs 0
PARAM_VALUE 2 cdev->kobj.state_initialized 1
PARAM_VALUE 2 cdev->kobj.state_remove_uevent_sent 0
PARAM_VALUE 2 cdev->links.consumers.next 4096-ptr_max
PARAM_VALUE 2 cdev->links.consumers.prev 4096-ptr_max
PARAM_VALUE 2 cdev->links.defer_sync.next 4096-ptr_max
PARAM_VALUE 2 cdev->links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 2 cdev->links.status 0
PARAM_VALUE 2 cdev->links.suppliers.next 4096-ptr_max
PARAM_VALUE 2 cdev->links.suppliers.prev 4096-ptr_max
PARAM_VALUE 2 cdev->numa_node (-1)
PARAM_VALUE 2 cdev->parent 4096-ptr_max
PARAM_VALUE 2 cdev->power.child_count.counter 0
PARAM_VALUE 2 cdev->power.deferred_resume 0
PARAM_VALUE 2 cdev->power.disable_depth 1
PARAM_VALUE 2 cdev->power.early_init 1
PARAM_VALUE 2 cdev->power.entry.next 4096-ptr_max
PARAM_VALUE 2 cdev->power.entry.prev 4096-ptr_max
PARAM_VALUE 2 cdev->power.idle_notification 0
PARAM_VALUE 2 cdev->power.ignore_children 0
PARAM_VALUE 2 cdev->power.is_late_suspended 0
PARAM_VALUE 2 cdev->power.is_noirq_suspended 0
PARAM_VALUE 2 cdev->power.is_prepared 0
PARAM_VALUE 2 cdev->power.is_suspended 0
PARAM_VALUE 2 cdev->power.last_status (-1)
PARAM_VALUE 2 cdev->power.needs_force_resume 0
PARAM_VALUE 2 cdev->power.qos 0
PARAM_VALUE 2 cdev->power.request 0
PARAM_VALUE 2 cdev->power.request_pending 0
PARAM_VALUE 2 cdev->power.runtime_auto 1
PARAM_VALUE 2 cdev->power.runtime_error 0
PARAM_VALUE 2 cdev->power.runtime_status 2
PARAM_VALUE 2 cdev->power.timer_expires 0
PARAM_VALUE 2 cdev->power.usage_count.counter 0
PARAM_VALUE 2 cdev->power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 2 cdev->power.wait_queue.head.prev 4096-ptr_max
BUF_SIZE 1 dev (-1),2464,2472,3064
BUF_SIZE 1 dev (-1),2464,2472,3064
BUF_SIZE 1 dev->bus (-1),168
BUF_SIZE 1 dev->parent (-1)-0,1616
BUF_SIZE 1 dev->type (-1),48
DATA_SOURCE 1 dev $1
DATA_SOURCE 2 cdev $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex

drivers/scsi/scsi_transport_sas.c sas_phy_setup() -> (struct sas_function_template)->phy_setup()

Type Parameter Key Value
PARAM_VALUE 0 phy 4096-ptr_max
PARAM_VALUE 0 phy->dev.parent 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex