Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/nvdimm/dax_devs.c nd_dax_probe() -> nd_pfn_validate()

Type Parameter Key Value
PARAM_VALUE 0 nd_pfn 4096-ptr_max
PARAM_VALUE 0 nd_pfn->align 4096,2097152
PARAM_VALUE 0 nd_pfn->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 nd_pfn->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 nd_pfn->dev.kobj.state_add_uevent_sent 0
PARAM_VALUE 0 nd_pfn->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 nd_pfn->dev.kobj.state_initialized 1
PARAM_VALUE 0 nd_pfn->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.status 0
PARAM_VALUE 0 nd_pfn->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.numa_node (-1)
PARAM_VALUE 0 nd_pfn->dev.power.child_count.counter 0
PARAM_VALUE 0 nd_pfn->dev.power.deferred_resume 0
PARAM_VALUE 0 nd_pfn->dev.power.disable_depth 1
PARAM_VALUE 0 nd_pfn->dev.power.early_init 1
PARAM_VALUE 0 nd_pfn->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.idle_notification 0
PARAM_VALUE 0 nd_pfn->dev.power.ignore_children 0
PARAM_VALUE 0 nd_pfn->dev.power.is_late_suspended 0
PARAM_VALUE 0 nd_pfn->dev.power.is_noirq_suspended 0
PARAM_VALUE 0 nd_pfn->dev.power.is_prepared 0
PARAM_VALUE 0 nd_pfn->dev.power.is_suspended 0
PARAM_VALUE 0 nd_pfn->dev.power.last_status (-1)
PARAM_VALUE 0 nd_pfn->dev.power.needs_force_resume 0
PARAM_VALUE 0 nd_pfn->dev.power.qos 0
PARAM_VALUE 0 nd_pfn->dev.power.request 0
PARAM_VALUE 0 nd_pfn->dev.power.request_pending 0
PARAM_VALUE 0 nd_pfn->dev.power.runtime_auto 1
PARAM_VALUE 0 nd_pfn->dev.power.runtime_error 0
PARAM_VALUE 0 nd_pfn->dev.power.runtime_status 2
PARAM_VALUE 0 nd_pfn->dev.power.timer_expires 0
PARAM_VALUE 0 nd_pfn->dev.power.usage_count.counter 0
PARAM_VALUE 0 nd_pfn->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->mode 0
PARAM_VALUE 1 sig 1442158846793728000
BUF_SIZE 0 nd_pfn 1672
BUF_SIZE 0 nd_pfn->pfn_sb 4096
BUF_SIZE 1 sig 17
STR_LEN 0 nd_pfn 16
TERMINATED 1 sig 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/pfn_devs.c nd_pfn_init() -> nd_pfn_validate()

Type Parameter Key Value
PARAM_VALUE 0 nd_pfn 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->ndns 1-u64max
PARAM_VALUE 0 nd_pfn->pfn_sb 1-u64max
PARAM_VALUE 0 nd_pfn->uuid 1-u64max
PARAM_VALUE 1 sig 1442158846793728000,7732719874259431424
BUF_SIZE 0 nd_pfn (-1),1672
BUF_SIZE 0 nd_pfn (-1),1672
BUF_SIZE 0 nd_pfn->pfn_sb 4096
BUF_SIZE 1 sig 17
BUF_SIZE 1 sig 17
DATA_SOURCE 0 nd_pfn $0
STR_LEN 0 nd_pfn 16
STR_LEN 1 sig 16
BIT_INFO 1 sig 0x3c084d20000,0x7f53b3d58cd7f000
BIT_INFO 1 sig 0x3c084d20000,0x7f53b3d58cd7f000
TERMINATED 1 sig 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/nvdimm/pfn_devs.c nd_pfn_probe() -> nd_pfn_validate()

Type Parameter Key Value
PARAM_VALUE 0 nd_pfn 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_mem->defpool.nareas 0-s32max
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_mem->dyn_alloc.data.counter 0,9007199250546704
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_mem->pools.next 0
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_mem->pools.prev 0,1473117533515866408
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nd_pfn->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 nd_pfn->ndns->claim 4096-ptr_max
PARAM_VALUE 0 nd_pfn->ndns->claim_class 0-4
PARAM_VALUE 1 sig 7732719874259431424
BUF_SIZE 0 nd_pfn->pfn_sb 4096
BUF_SIZE 1 sig 17
DATA_SOURCE 0 nd_pfn r to_nd_pfn
STR_LEN 0 nd_pfn 16
TERMINATED 1 sig 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex