Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ext4/namei.c __ext4_add_entry() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | func | 3193538019624349696 |
| PARAM_VALUE | 4 | line | 2414 |
| BUF_SIZE | 3 | func | 17 |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | inode->i_sb | 1 |
| CAPPED_DATA | 1 | block | 1 |
| DATA_SOURCE | 0 | inode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ext4/namei.c dx_probe() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block | 0 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | func | 2186853578179526656 |
| PARAM_VALUE | 4 | line | 791 |
| BUF_SIZE | 3 | func | 9 |
| DATA_SOURCE | 0 | inode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/namei.c dx_probe() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0-268435455 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | func | 2186853578179526656 |
| PARAM_VALUE | 4 | line | 910 |
| BUF_SIZE | 3 | func | 9 |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 1 | block | 1 |
| DATA_SOURCE | 0 | inode | $1 |
| DATA_SOURCE | 1 | block | r dx_get_block |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/namei.c ext4_dx_add_entry() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0-268435455 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | func | 5610956464827133952 |
| PARAM_VALUE | 4 | line | 2493 |
| BUF_SIZE | 3 | func | 18 |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | inode->i_sb | 1 |
| DATA_SOURCE | 0 | inode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size |
fs/ext4/namei.c ext4_dx_find_entry() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0-268435455 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | func | 7482277526577090560 |
| PARAM_VALUE | 4 | line | 1728 |
| BUF_SIZE | 3 | func | 19 |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 1 | block | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | block | r dx_get_block |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | &dir->i_rwsem |
fs/ext4/namei.c ext4_empty_dir() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | 24-s64max |
| PARAM_VALUE | 1 | block | 0 |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | func | 2231634412213198848 |
| PARAM_VALUE | 4 | line | 3087 |
| BUF_SIZE | 3 | func | 15 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | 24-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c ext4_empty_dir() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_ino | 0-u32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | 24-s64max |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | func | 2231634412213198848 |
| PARAM_VALUE | 4 | line | 3116 |
| BUF_SIZE | 3 | func | 15 |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | inode->i_ino | 1 |
| CAPPED_DATA | 0 | inode->i_sb | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_size | 24-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c ext4_get_first_dir_block() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | block | 0 |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | func | 5613667629840297984 |
| PARAM_VALUE | 4 | line | 3539 |
| BUF_SIZE | 3 | func | 25 |
| DATA_SOURCE | 0 | inode | $1 |
fs/ext4/namei.c ext4_htree_next_block() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0-268435455 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | func | 8331784348803710976 |
| PARAM_VALUE | 4 | line | 1021 |
| BUF_SIZE | 3 | func | 22 |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/namei.c htree_dirblock_to_tree() -> __ext4_read_dirblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0-268435455 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | func | 6092966813524754432 |
| PARAM_VALUE | 4 | line | 1051 |
| BUF_SIZE | 3 | func | 23 |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 0 | inode | $1 |
| DATA_SOURCE | 1 | block | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |