Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/nvdimm/btt_devs.c, line 204
- drivers/nvdimm/claim.c, line 197
- drivers/nvdimm/pfn_devs.c, line 300
Smatch caller information:
drivers/nvdimm/btt_devs.c __nd_btt_create() -> __nd_attach_ndns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | dev->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | dev->links.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.consumers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->numa_node | (-1) |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.disable_depth | 1 |
| PARAM_VALUE | 0 | dev->power.early_init | 1 |
| PARAM_VALUE | 0 | dev->power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.runtime_auto | 1 |
| PARAM_VALUE | 0 | dev->power.runtime_status | 2 |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->type | 2603152832429473792 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->claim | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->claim_class | 0-2 |
| PARAM_VALUE | 1 | attach->dev.parent->type | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->force_raw | 0 |
| PARAM_VALUE | 2 | _ndns | 4096-ptr_max |
| BUF_SIZE | 1 | attach->claim | (-1)-0,4,16,24-s32max |
| CAPPED_DATA | 1 | attach->claim | 1 |
| DATA_SOURCE | 1 | attach | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/nvdimm/claim.c nd_namespace_store() -> __nd_attach_ndns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->p | 1-u64max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->claim_class | 0-4 |
| PARAM_VALUE | 1 | attach->dev.type | 4096-ptr_max |
| PARAM_VALUE | 2 | _ndns | 4096-ptr_max |
| PARAM_VALUE | 2 | *_ndns | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attach | r to_ndns |
| DATA_SOURCE | 2 | _ndns | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &dev->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvdimm/pfn_devs.c nd_pfn_devinit() -> __nd_attach_ndns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | dev->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | dev->links.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.consumers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->numa_node | (-1) |
| PARAM_VALUE | 0 | dev->power.disable_depth | 1 |
| PARAM_VALUE | 0 | dev->power.early_init | 1 |
| PARAM_VALUE | 0 | dev->power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.runtime_auto | 1 |
| PARAM_VALUE | 0 | dev->power.runtime_status | 2 |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->claim | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->claim_class | 0,3-4 |
| PARAM_VALUE | 1 | attach->dev.parent->type | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->force_raw | 0 |
| PARAM_VALUE | 2 | _ndns | 4096-ptr_max |
| BUF_SIZE | 1 | attach->claim | (-1)-0,4,16,24-s32max |
| CAPPED_DATA | 1 | attach->claim | 1 |
| DATA_SOURCE | 1 | attach | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |