Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/dax/bus.c, line 691
- drivers/dax/cxl.c, line 20
- drivers/dax/hmem/hmem.c, line 30
- drivers/dax/pmem.c, line 54
Smatch caller information:
drivers/dax/cxl.c cxl_dax_region_probe() -> alloc_dax_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | parent->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | parent->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 0 | parent->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | parent->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | parent->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | parent->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 0 | parent->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | parent->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | parent->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | parent->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | parent->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | parent->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | parent->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | parent->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | parent->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | parent->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | parent->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 2 | range | 4096-ptr_max |
| PARAM_VALUE | 4 | align | 2097152 |
| PARAM_VALUE | 5 | flags | 2 |
| BUF_SIZE | 0 | parent | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | parent | (-1)-0,4,16,24-s32max |
| DATA_SOURCE | 0 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | parent->flags | 4096-u32max |
| HALF_LOCKED2 | 0 | &parent->mutex |
drivers/dax/hmem/hmem.c dax_hmem_probe() -> alloc_dax_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->platform_data | 4096-ptr_max |
| PARAM_VALUE | 2 | range | 4096-ptr_max |
| PARAM_VALUE | 4 | align | 2097152 |
| PARAM_VALUE | 5 | flags | 0,2 |
| BUF_SIZE | 0 | parent | 1616 |
| FUZZY_MAX | 5 | flags | 2 |
| BIT_INFO | 5 | flags | 0x0,0x2 |
| BIT_INFO | 5 | flags | 0x0,0x2 |
| HARD_MAX | 5 | flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | region_id | unit_array_size |
drivers/dax/pmem.c __dax_pmem_probe() -> alloc_dax_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | parent->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | parent->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 0 | parent->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | parent->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | parent->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | parent->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 0 | parent->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | parent->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | parent->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | parent->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | parent->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | parent->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | parent->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | parent->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | parent->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | parent->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | parent->iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | parent->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | parent->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->parent->type | 4096-ptr_max |
| PARAM_VALUE | 2 | range | 3485673764756475904 |
| PARAM_VALUE | 2 | range->end | 0 |
| PARAM_VALUE | 4 | align | 0 |
| PARAM_VALUE | 5 | flags | 1 |
| BUF_SIZE | 0 | parent | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | parent | (-1)-0,4,16,24-s32max |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | parent->flags | 4096-u32max |
| HALF_LOCKED2 | 0 | &parent->mutex |