Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/msm/adreno/a6xx_gmu.c, line 1557
- drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c, line 466
- drivers/gpu/drm/msm/msm_fbdev.c
- drivers/gpu/drm/msm/msm_gem.c
Smatch caller information:
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c mdp4_kms_init() -> msm_gem_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->dev_private | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_private->kms->dump_mutex->magic | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->dev_private->kms->dump_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dev_private->kms->dump_worker->lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dev->dev_private->kms->dump_worker->lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->dev_private->kms->dump_worker->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 1 | size | 16384 |
| PARAM_VALUE | 2 | flags | 131073 |
| PARAM_VALUE | 3 | r_obj | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_memory_alloc() -> msm_gem_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4096,16384,28672,245760,16760832 |
| PARAM_VALUE | 2 | flags | 131072,537001984 |
| PARAM_VALUE | 3 | r_obj | 0 |
| FUZZY_MAX | 1 | size | 16760832 |
| FUZZY_MAX | 2 | flags | 131072 |
| BIT_INFO | 1 | size | 0x0,0xfff000 |
| BIT_INFO | 1 | size | 0x0,0xfff000 |
| BIT_INFO | 2 | flags | 0x20000,0x20020000 |
| HARD_MAX | 1 | size | 16760832 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_driver_fbdev_probe() -> msm_gem_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->primary | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 2 | flags | 268566529 |
| PARAM_VALUE | 3 | r_obj | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_driver_fbdev_probe() -> msm_gem_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->primary | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 2 | flags | 131073 |
| PARAM_VALUE | 3 | r_obj | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_kernel_new() -> msm_gem_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | flags | 0,131072-s32max |
| PARAM_VALUE | 3 | r_obj | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | size | $1 |
| DATA_SOURCE | 2 | flags | $2 |
| BIT_INFO | 2 | flags | 0x20000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &init_lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_new_handle() -> msm_gem_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0-1048574 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | size | $2 |
| DATA_SOURCE | 2 | flags | $3 |
| STR_LEN | 0 | dev | (-1),4 |
| STR_LEN | 0 | dev | (-1),4 |
| BIT_INFO | 2 | flags | 0x0,0xf0007 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | size | 0-u64max |
| USER_DATA | 2 | flags | 0-1048574[u] |
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | size | unit_byte |