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_get_inode_loc() -> ext4_itable_unused_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | bg | 4096-ptr_max |
| BUF_SIZE | 0 | sb | (-1),80,2752,2816 |
| BUF_SIZE | 0 | sb | (-1),80,2752,2816 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | bg | r ext4_get_group_desc |
| 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_init_inode_table() -> ext4_itable_unused_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | bg | 4096-ptr_max |
| CAPPED_DATA | 0 | sb->s_fs_info->s_group_desc | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | bg | r ext4_get_group_desc |
| BIT_INFO | 1 | bg->bg_flags | 0x0,0xfffa |
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &elr->lr_super->s_umount | ||
| LOCK2 | &grp->alloc_sem | ||
| TYPE_LOCK | (struct ext4_group_info)->alloc_sem | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/ext4/ialloc.c ext4_init_inode_table() -> ext4_itable_unused_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | bg | 4096-ptr_max |
| CAPPED_DATA | 0 | sb->s_fs_info->s_group_desc | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | bg | r ext4_get_group_desc |
| BIT_INFO | 1 | bg->bg_flags | 0x0,0xfffa |
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &elr->lr_super->s_umount | ||
| LOCK2 | &grp->alloc_sem | ||
| TYPE_LOCK | (struct ext4_group_info)->alloc_sem | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/ext4/ialloc.c ext4_init_inode_table() -> ext4_itable_unused_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | bg | 4096-ptr_max |
| CAPPED_DATA | 0 | sb->s_fs_info->s_group_desc | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | bg | r ext4_get_group_desc |
| BIT_INFO | 1 | bg->bg_flags | 0x0,0xfffa |
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &elr->lr_super->s_umount | ||
| LOCK2 | &grp->alloc_sem | ||
| TYPE_LOCK | (struct ext4_group_info)->alloc_sem | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/ext4/ialloc.c ext4_mark_inode_used() -> ext4_itable_unused_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | bg | 4096-ptr_max |
| BUF_SIZE | 0 | sb | 2816 |
| BUF_SIZE | 0 | sb | 2816 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | bg | r ext4_get_group_desc |
| LOCK2 | 0 | sb |
fs/ext4/ialloc.c recently_deleted() -> ext4_itable_unused_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | bg | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | bg | r ext4_get_group_desc |
| BIT_INFO | 1 | bg->bg_flags | 0x0,0xfffe |