Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ext2/ialloc.c ext2_new_inode() -> sb_bgl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sbi->s_groups_count | 1-u64max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | block_group | 1 |
| FUZZY_MAX | 0 | sbi->s_groups_count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
fs/ext2/ialloc.c ext2_new_inode() -> sb_bgl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_debts | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->s_freeinodes_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sbi->s_groups_count | 1-u64max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | block_group | 1 |
| FUZZY_MAX | 0 | sbi->s_groups_count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
fs/ext2/ialloc.c ext2_release_inode() -> sb_bgl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | block_group | 1 |
| DATA_SOURCE | 1 | block_group | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext2/ialloc.c ext2_release_inode() -> sb_bgl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | block_group | 1 |
| DATA_SOURCE | 1 | block_group | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext2/balloc.c group_adjust_blocks() -> sb_bgl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | block_group | 1 |
| DATA_SOURCE | 1 | block_group | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | block_group | unit_byte |
| HALF_LOCKED2 | &ei->truncate_mutex |
fs/ext2/balloc.c group_adjust_blocks() -> sb_bgl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | block_group | 1 |
| DATA_SOURCE | 1 | block_group | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | block_group | unit_byte |
| HALF_LOCKED2 | &ei->truncate_mutex |