Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ext4/inode.c ext4_da_reserve_space() -> ext4_claim_free_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | nclusters | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | nclusters | unit_byte |
| LOCK2 | &ei->i_block_reservation_lock | ||
| TYPE_LOCK | (struct ext4_inode_info)->i_block_reservation_lock |
fs/ext4/mballoc.c ext4_mb_new_blocks() -> ext4_claim_free_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | nclusters | 1-u32max |
| PARAM_VALUE | 2 | flags | 0,32,64-u32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BIT_INFO | 0 | sbi->s_mount_state | 0x0,0xffdf |
| BIT_INFO | 2 | flags | 0x0,0xfffffbff |
| NOSPEC | 1 | nclusters | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nclusters | 1-u32max[c] |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | nclusters | unit_byte |
fs/ext4/mballoc.c ext4_mb_new_blocks() -> ext4_claim_free_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_dirtyclusters_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->s_dirtyclusters_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sbi->s_es | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->s_freeclusters_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->s_freeclusters_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | nclusters | 1-s32max |
| PARAM_VALUE | 2 | flags | 0,32,64-u32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BIT_INFO | 0 | sbi->s_mount_state | 0x0,0xffdf |
| BIT_INFO | 2 | flags | 0x0,0xfffffbff |
| NOSPEC | 1 | nclusters | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nclusters | 1-s32max[c] |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | nclusters | unit_byte |