Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/ext4/inode.c __ext4_get_inode_loc() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 5 |
| BUF_SIZE | 0 | sb | (-1),80,2752,2816 |
| BUF_SIZE | 0 | sb | (-1),80,2752,2816 |
| DATA_SOURCE | 0 | sb | $0 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
fs/ext4/ialloc.c ext4_read_inode_bitmap() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 3 |
| BUF_SIZE | 0 | sb | (-1),2816 |
| BUF_SIZE | 0 | sb | (-1),2816 |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
fs/ext4/ialloc.c ext4_validate_inode_bitmap() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 4 |
| BUF_SIZE | 0 | sb | (-1),80,2816 |
| BUF_SIZE | 0 | sb | (-1),80,2816 |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| LOCK2 | 0 | sb |
fs/ext4/balloc.c ext4_read_block_bitmap_nowait() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 1 |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
fs/ext4/balloc.c ext4_validate_block_bitmap() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 2 |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
| LOCK2 | 0 | sb |
fs/ext4/namei.c __ext4_read_dirblock() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | code | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/namei.c __ext4_read_dirblock() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/namei.c __ext4_read_dirblock() -> ext4_simulate_fail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | code | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |