Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ext2/dir.c ext2_add_link() -> ext2_get_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-4503599627370495 |
| PARAM_VALUE | 2 | quiet | 0 |
| PARAM_VALUE | 3 | foliop | 1206279978805940224 |
| PARAM_VALUE | 3 | *foliop | 0,4096-ptr_max |
| CAPPED_DATA | 1 | n | 1 |
| CAPPED_DATA | 1 | n | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext2/dir.c ext2_dotdot() -> ext2_get_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0 |
| PARAM_VALUE | 2 | quiet | 0 |
| PARAM_VALUE | 3 | foliop | 8868546145394380800 |
| PARAM_VALUE | 3 | *foliop | 0 |
| DATA_SOURCE | 0 | dir | $0 |
| DATA_SOURCE | 3 | foliop | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ext2/dir.c ext2_empty_dir() -> ext2_get_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-4503599627370494 |
| PARAM_VALUE | 2 | quiet | 0 |
| PARAM_VALUE | 3 | foliop | 6810994011992006656 |
| CAPPED_DATA | 1 | n | 1 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
fs/ext2/dir.c ext2_find_entry() -> ext2_get_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rename | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rmdir | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->unlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | n | 0-u32max |
| PARAM_VALUE | 2 | quiet | 0 |
| PARAM_VALUE | 3 | foliop | 35864632452894720,4763782259492212736,7484324454767505408,8182761358542270464 |
| CAPPED_DATA | 1 | n | 1 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| DATA_SOURCE | 3 | foliop | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | 0 | &dir->i_rwsem |
fs/ext2/dir.c ext2_readdir() -> ext2_get_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 0-2251799813685247 |
| PARAM_VALUE | 2 | quiet | 0 |
| PARAM_VALUE | 3 | foliop | 9025713774837596160 |
| CAPPED_DATA | 1 | n | 1 |
| CAPPED_DATA | 1 | n | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | n | unit_page |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |