Defined in 2 files as a function:
- drivers/dma/qcom/hidma_mgmt_sys.c, line 182 (as a function)
- drivers/infiniband/hw/mlx4/sysfs.c, line 164 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/mlx4/sysfs.c add_port_entries() -> create_sysfs_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | _name | 3907048037855023104 |
| PARAM_VALUE | 3 | _kobj | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | _kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | _kobj->ktype | 1915817945436012544 |
| PARAM_VALUE | 3 | _kobj->name | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 3 | _kobj->state_initialized | 1 |
| PARAM_VALUE | 4 | show | 7842848428337328128 |
| PARAM_VALUE | 5 | store | 5636915543109136384 |
| BUF_SIZE | 2 | _name | 12 |
| BUF_SIZE | 3 | _kobj | 248 |
| DATA_SOURCE | 3 | _kobj | r kobject_create_and_add |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx4/sysfs.c add_port_entries() -> create_sysfs_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | _name | 3907048037855023104 |
| PARAM_VALUE | 3 | _kobj | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | _kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | _kobj->ktype | 1915817945436012544 |
| PARAM_VALUE | 3 | _kobj->name | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 3 | _kobj->state_initialized | 1 |
| PARAM_VALUE | 4 | show | 1319631756761763840 |
| PARAM_VALUE | 5 | store | 0 |
| BUF_SIZE | 2 | _name | 12 |
| BUF_SIZE | 3 | _kobj | 248 |
| DATA_SOURCE | 3 | _kobj | r kobject_create_and_add |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx4/sysfs.c add_port_entries() -> create_sysfs_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | _dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | _name | 3907048037855023104 |
| PARAM_VALUE | 3 | _kobj | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | _kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | _kobj->ktype | 1915817945436012544 |
| PARAM_VALUE | 3 | _kobj->name | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 3 | _kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 3 | _kobj->state_initialized | 1 |
| PARAM_VALUE | 4 | show | 8532900961270861824 |
| PARAM_VALUE | 5 | store | 0 |
| BUF_SIZE | 1 | _dentry | 43120 |
| BUF_SIZE | 2 | _name | 12 |
| BUF_SIZE | 3 | _kobj | 248 |
| DATA_SOURCE | 3 | _kobj | r kobject_create_and_add |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma/qcom/hidma_mgmt_sys.c hidma_mgmt_init_sys() -> create_sysfs_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->chroots | 16 |
| PARAM_VALUE | 0 | _ctx->dma_channels | 0 |
| PARAM_VALUE | 0 | _ctx->hw_version_major | 0-15 |
| PARAM_VALUE | 0 | _ctx->hw_version_minor | 0-15 |
| PARAM_VALUE | 0 | _ctx->max_rd_xactions | 0-31 |
| PARAM_VALUE | 0 | _ctx->max_read_request | 128-1024 |
| PARAM_VALUE | 0 | _ctx->max_wr_xactions | 0-31 |
| PARAM_VALUE | 0 | _ctx->max_write_request | 128-1024 |
| PARAM_VALUE | 0 | _ctx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.autosuspend_delay | 2000 |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.use_autosuspend | 1 |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | _ctx->pdev->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 0 | _ctx->priority | 1-u64max |
| PARAM_VALUE | 0 | _ctx->virtaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | _ctx->weight | 1-u64max |
| PARAM_VALUE | 0 | *_ctx->weight | 1 |
| BUF_SIZE | 0 | _ctx | 80 |
| CAPPED_DATA | 0 | _ctx->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | _ctx | $0 |
| FUZZY_MAX | 0 | _ctx->max_rd_xactions | 0 |
| FUZZY_MAX | 0 | _ctx->max_wr_xactions | 0 |
| MEM_ZERO | 0 | _ctx | |
| MEM_ZERO | 0 | _ctx->priority | |
| MEM_ZERO | 0 | _ctx->weight | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | _ctx->addrsize | 0-u64max |
| HOST_DATA | 0 | _ctx->chreset_timeout_cycles | 0-u32max |
| HOST_DATA | 0 | _ctx->hw_version | 0-u32max |
| HOST_DATA | 0 | _ctx->max_rd_xactions | 0-31 |
| HOST_DATA | 0 | _ctx->max_read_request | 128-1024 |
| HOST_DATA | 0 | _ctx->max_wr_xactions | 0-31 |
| HOST_DATA | 0 | _ctx->max_write_request | 128-1024 |
| NO_OVERFLOW_SIMPLE | 0 | _ctx->dma_channels |