Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/video/fbdev/sm501fb.c sm501_init_cursor() -> sm501_alloc_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inf | 4096-ptr_max |
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | why | 1 |
| PARAM_VALUE | 3 | size | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | smem_len | unit_byte |
drivers/video/fbdev/sm501fb.c sm501fb_set_par_common() -> sm501_alloc_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | why | 0,2,4 |
| FUZZY_MAX | 2 | why | 4 |
| BIT_INFO | 2 | why | 0x0,0x6 |
| HARD_MAX | 2 | why | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &minfo->crtc2.lock |
drivers/video/fbdev/sm501fb.c sm501fb_set_par_crt() -> sm501_alloc_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inf | 4096-ptr_max |
| PARAM_VALUE | 0 | inf->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inf->dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | inf->dev->parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | inf->dev->parent->driver_data->reg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | why | 4 |
| PARAM_VALUE | 3 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | smem_len | unit_byte |
| HALF_LOCKED2 | &minfo->crtc2.lock |