Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/overlayfs/export.c ovl_check_fh_len() -> ovl_check_fb_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fb->flags | 0-255 |
| USER_DATA | 0 | fb->len | 0-255 |
| USER_DATA | 0 | fb->magic | 0-255 |
| USER_DATA | 0 | fb->type | 0-255 |
| USER_DATA | 0 | fb->version | 0-255 |
| USER_DATA | 1 | fb_len | 21-125 |
| UNITS | 1 | fb_len | unit_byte |
fs/overlayfs/namei.c ovl_get_fh() -> ovl_check_fb_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 1 | fb_len | 0-s32max |
| DATA_SOURCE | 1 | fb_len | r ovl_getxattr_upper |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/namei.c ovl_verify_index() -> ovl_check_fb_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 1 | fb_len | 21-3999997 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &index->d_lockref.lock | ||
| HALF_LOCKED2 | &indexdir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &ofs->workdir->d_lockref.lock | ||
| HALF_LOCKED2 | &sb->s_umount |