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_upper_fh_to_d() -> ovl_decode_real_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 1 | fh | 4096-ptr_max |
| PARAM_VALUE | 1 | fh->fb.flags | 0-6 |
| PARAM_VALUE | 1 | fh->fb.magic | 251 |
| PARAM_VALUE | 1 | fh->fb.version | 0 |
| PARAM_VALUE | 3 | connected | 1 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| CAPPED_DATA | 1 | fh->fb.len | 1 |
| DATA_SOURCE | 1 | fh | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | fh->fb.flags | 0-6 |
| USER_DATA | 1 | fh->fb.len | 0-255[c] |
| USER_DATA | 1 | fh->fb.magic | 251 |
| USER_DATA | 1 | fh->fb.type | 0-255 |
| USER_DATA | 1 | fh->fb.version | 0 |
| UNITS | 0 | ofs | unit_byte |
| USER_PTR | 1 | fh | |
| USER_PTR | 1 | fh->buf | |
| USER_PTR | 1 | fh->padding |
fs/overlayfs/namei.c ovl_check_origin_fh() -> ovl_decode_real_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->whiteout->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->whiteout->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | fh | 4096-ptr_max |
| PARAM_VALUE | 1 | fh->fb.flags | 0-6 |
| PARAM_VALUE | 1 | fh->fb.magic | 251 |
| PARAM_VALUE | 1 | fh->fb.version | 0 |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | (-1),8 |
| BUF_SIZE | 0 | ofs->workdir | (-1),1-s32max |
| BUF_SIZE | 1 | fh | (-1),4-s32max |
| BUF_SIZE | 1 | fh | (-1),4-s32max |
| CAPPED_DATA | 1 | fh->fb.len | 1 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | fh | $1 |
| DATA_SOURCE | 3 | connected | $2 |
| NOSPEC | 1 | fh->fb.len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ofs->workbasedir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workbasedir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | ofs->workdir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workdir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workdir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 1 | fh->fb.flags | 0-6 |
| USER_DATA | 1 | fh->fb.len | 0-255[c] |
| USER_DATA | 1 | fh->fb.magic | 251 |
| USER_DATA | 1 | fh->fb.type | 0-255 |
| USER_DATA | 1 | fh->fb.version | 0 |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workbasedir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | fh->fb.len | |
| UNITS | 0 | ofs | unit_byte |
| USER_PTR | 1 | fh | |
| USER_PTR | 1 | fh->buf | |
| USER_PTR | 1 | fh->padding | |
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |
fs/overlayfs/namei.c ovl_index_upper() -> ovl_decode_real_fh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->config.index | 1 |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->whiteout->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->whiteout->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | fh | 4096-ptr_max |
| PARAM_VALUE | 1 | fh->fb.flags | 0-6 |
| PARAM_VALUE | 1 | fh->fb.magic | 251 |
| PARAM_VALUE | 1 | fh->fb.version | 0 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | (-1),8 |
| BUF_SIZE | 0 | ofs->workdir | (-1),1-s32max |
| BUF_SIZE | 1 | fh | 4-s32max |
| BUF_SIZE | 1 | fh | 4-s32max |
| CAPPED_DATA | 1 | fh->fb.len | 1 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | fh | r ovl_get_fh |
| DATA_SOURCE | 3 | connected | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ofs->workbasedir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workbasedir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | ofs->workdir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workdir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workdir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_rdev | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workbasedir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |