Defined in 1 files as a function:
Referenced in 6 files:
- drivers/video/fbdev/aty/atyfb_base.c, line 3922
- drivers/video/fbdev/core/fb_chrdev.c
- drivers/video/fbdev/core/fbcmap.c, line 289
- drivers/video/fbdev/core/fbcon.c
- drivers/video/fbdev/core/fbsysfs.c
- drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
Smatch caller information:
drivers/video/fbdev/core/fbcon.c fbcon_open() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->fbops | 4096-ptr_max |
| PARAM_VALUE | 0 | info->fbops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->fbops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | info->fbops->owner->state | 0-1,3-u32max |
| DATA_SOURCE | 0 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_sem |
drivers/video/fbdev/core/fbcon.c fbcon_release() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info->fbcon_par->bitops->bmove | 358624830283558912,720436299731693568,831468009678733312,5647362587788095488,8504779760420265984 |
| PARAM_VALUE | 0 | info->fbcon_par->bitops->clear | 521403232646520832,551109980336709632,2946937881798750208,5928266012869279744,8021089253971767296 |
| PARAM_VALUE | 0 | info->fbcon_par->bitops->clear_margins | 2332376742054326272,3869344602472914944,6310568554524909568,7948939035621462016,8218489519675916288 |
| PARAM_VALUE | 0 | info->fbcon_par->bitops->cursor | 868574231927816192,1057466323525296128,5348809894935224320,6414243839333818368,8306283402744143872 |
| PARAM_VALUE | 0 | info->fbcon_par->bitops->putcs | 2160703045434204160,3282196084730585088,3915716234231488512,5524593610357645312,5974748255006371840 |
| PARAM_VALUE | 0 | info->fbcon_par->bitops->rotate_font | 0,2820989491178905600 |
| PARAM_VALUE | 0 | info->fbcon_par->bitops->update_start | 1284623903226216448,2343379461867827200,5536275800052752384,8034552877633937408,8573967883634688000 |
| DATA_SOURCE | 0 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | info->fbdefio_state->npagerefs | |
| HALF_LOCKED2 | global &console_sem |
drivers/video/fbdev/core/fbsysfs.c activate() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | info | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/core/fbsysfs.c show_mode() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | info | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/core/fbsysfs.c show_modes() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | info | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/core/fbsysfs.c store_fbstate() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | info | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/core/fbsysfs.c store_mode() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | info | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/core/fbsysfs.c store_modes() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | info | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/video/fbdev/core/fbcmap.c fb_set_user_cmap() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $1 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global &console_sem |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global &console_sem |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global &console_sem |
drivers/video/fbdev/core/fb_chrdev.c do_fb_ioctl() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 1-u64max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c fb_get_fscreeninfo() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c fb_getput_cmap() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| CAPPED_DATA | 0 | info | 1 |
| DATA_SOURCE | 0 | info | $0 |
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c fb_open() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| DATA_SOURCE | 0 | info | r get_fb_info |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/video/fbdev/core/fb_chrdev.c fb_release() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | info | (-1),26 |
| BUF_SIZE | 0 | info | (-1),26 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/video/fbdev/aty/atyfb_base.c atyfb_reboot_notify() -> lock_fb_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &reboot_lock |