Defined in 1 files as a function:
Referenced in 13 files:
- fs/ext4/balloc.c
- fs/ext4/block_validity.c, line 306
- fs/ext4/fsmap.c, line 545
- fs/ext4/ialloc.c, line 139
- fs/ext4/indirect.c, line 161
- fs/ext4/inode.c
- fs/ext4/ioctl.c
- fs/ext4/mballoc.c
- fs/ext4/migrate.c, line 654
- fs/ext4/mmp.c, line 286
- fs/ext4/resize.c
- fs/ext4/super.c
- fs/ext4/sysfs.c, line 106
Smatch caller information:
fs/ext4/block_validity.c ext4_sb_block_valid() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/indirect.c ext4_get_branch() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/sysfs.c reserved_clusters_store() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/ext4/inode.c __ext4_get_inode_loc() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/inode.c ext4_da_get_block_prep() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/inode.c ext4_get_inode_loc_noio() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| LOCK2 | &journal->j_barrier | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct journal_s)->j_barrier |
fs/ext4/ialloc.c ext4_read_inode_bitmap() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/mmp.c ext4_multi_mount_protect() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/mballoc.c ext4_last_grp_cluster() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
| LOCK2 | sb |
fs/ext4/mballoc.c ext4_mb_initialize_context() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/mballoc.c ext4_mb_new_blocks_simple() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/mballoc.c ext4_mb_normalize_request() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/mballoc.c ext4_trim_fs() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_flex_group_add() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_group_add() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_group_add() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_group_extend() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | es | $1 |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_group_extend_no_check() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| PARAM_VALUE | 0 | es->s_blocks_count_hi | 0 |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_resize_fs() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_resize_fs() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_resize_fs() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_setup_next_flex_gd() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_update_super() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c ext4_update_super() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/resize.c verify_group_input() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
fs/ext4/fsmap.c ext4_getfsmap_datadev() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/ioctl.c ext4_ioctl_get_tune_sb() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| UNITS | 0 | es | unit_byte |
fs/ext4/ioctl.c ext4_ioctl_set_tune_sb() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| UNITS | 0 | es | unit_byte |
fs/ext4/migrate.c ext4_ind_migrate() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/balloc.c ext4_inode_to_goal_block() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/balloc.c ext4_read_block_bitmap_nowait() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
fs/ext4/balloc.c num_clusters_in_group() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | sb |
fs/ext4/super.c __ext4_fill_super() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| CAPPED_DATA | 0 | es->s_inodes_count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_descriptors() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_check_geometry() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| CAPPED_DATA | 0 | es->s_first_data_block | 1 |
| DATA_SOURCE | 0 | es | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_get_journal_blkdev() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es | 4096-ptr_max |
| PARAM_VALUE | 0 | es->s_feature_incompat | 8-u32max |
| BIT_INFO | 0 | es->s_feature_incompat | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_set_resv_clusters() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | es | unit_byte |
fs/ext4/super.c ext4_statfs() -> ext4_blocks_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | es | unit_byte |
| HALF_LOCKED2 | &s->s_umount |