Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 tc 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/base/transport_class.c transport_add_class_device() -> (struct transport_class)->remove()

Type Parameter Key Value
PARAM_VALUE 0 tc 4096-ptr_max
PARAM_VALUE 0 tc->encryption 1-u64max
PARAM_VALUE 0 tc->statistics->attrs 0,4096-ptr_max
PARAM_VALUE 0 tc->statistics->bin_attrs 0,4096-ptr_max
PARAM_VALUE 0 *tc->encryption->attrs 0,4096-ptr_max
PARAM_VALUE 0 *tc->encryption->bin_attrs 0
PARAM_VALUE 0 **tc->encryption->attrs->name 0-255
PARAM_VALUE 0 **tc->encryption->bin_attrs->attr->name 0-255
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 1 dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 dev->parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 dev->parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 dev->parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 cdev 0,4096-ptr_max
PARAM_VALUE 2 cdev->fwnode->dev->init_name 0
PARAM_VALUE 2 cdev->fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 2 cdev->groups 0,4096-ptr_max
PARAM_VALUE 2 cdev->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 2 cdev->kobj.parent->entry.next->next 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->entry.next->prev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->entry.prev->next 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->entry.prev->prev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.timer.is_hard 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.timer.is_queued 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.timer.is_soft 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.timer.node.node.next 0
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.timer.node.node.prev 0
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.work.flags 0-4294967295
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.work.is_hard 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.work.is_lazy 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.work.is_queued 0-1
PARAM_VALUE 2 cdev->kobj.parent->kset->kobj.release.work.is_soft 0-1
PARAM_VALUE 2 cdev->kobj.parent->release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->release.timer.is_hard 0-1
PARAM_VALUE 2 cdev->kobj.parent->release.timer.is_lazy 0-1
PARAM_VALUE 2 cdev->kobj.parent->release.timer.is_queued 0-1
PARAM_VALUE 2 cdev->kobj.parent->release.timer.is_soft 0-1
PARAM_VALUE 2 cdev->kobj.parent->release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.parent->sd 0
PARAM_VALUE 2 cdev->kobj.parent->sd->__parent 0
PARAM_VALUE 2 cdev->kobj.parent->sd->dir.children.rb_node 0
PARAM_VALUE 2 cdev->kobj.parent->state_in_sysfs 0
PARAM_VALUE 2 cdev->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 cdev->kobj.sd 0
PARAM_VALUE 2 cdev->kobj.sd->__parent 0
PARAM_VALUE 2 cdev->kobj.sd->active.counter (-2147483647)
PARAM_VALUE 2 cdev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 2 cdev->kobj.sd->dir.children.rb_node 0
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->p->dead 0-1
PARAM_VALUE 2 cdev->p->deferred_probe_reason 0
PARAM_VALUE 2 cdev->p->klist_children.get 2213798222526185472
PARAM_VALUE 2 cdev->p->klist_children.put 3126867300421632000
PARAM_VALUE 2 cdev->p->knode_bus.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 2 cdev->p->knode_class.n_klist 0
PARAM_VALUE 2 cdev->p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 2 cdev->p->knode_driver.n_klist 0
PARAM_VALUE 2 cdev->p->knode_driver.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 2 cdev->p->knode_parent.n_klist 0
PARAM_VALUE 2 cdev->p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 2 cdev->parent->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 2 cdev->parent->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 cdev->parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 2 cdev->parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 2 cdev->parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 2 cdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 cdev->type 0,4096-ptr_max
PARAM_VALUE 2 cdev->type->groups 0,4096-ptr_max
PARAM_VALUE 2 *cdev->p->knode_bus.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *cdev->p->knode_class.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *cdev->p->knode_driver.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *cdev->p->knode_parent.n_klist (-4611686018427387904)-4611686018427387903
BUF_SIZE 1 dev (-1),2464,2472,3064
BUF_SIZE 1 dev (-1),2464,2472,3064
CAPPED_DATA 1 dev 1
CAPPED_DATA 2 cdev 1
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
HALF_LOCKED2 &shost->scan_mutex

drivers/base/transport_class.c transport_remove_classdev() -> (struct transport_class)->remove()

Type Parameter Key Value
PARAM_VALUE 0 tc 4096-ptr_max
PARAM_VALUE 1 dev->dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 1 dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 cdev 0,4096-ptr_max
BUF_SIZE 1 dev (-1),2464,2472,3064
BUF_SIZE 1 dev (-1),2464,2472,3064
DATA_SOURCE 1 dev $1
DATA_SOURCE 2 cdev $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &shost->scan_mutex