Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/f2fs/segment.c build_sit_info() -> __bitmap_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections |
fs/f2fs/debug.c update_mem_info() -> __bitmap_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cprc_info.stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->gc_reclaimed_segs | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->stat_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->stat_info->alloc_nids | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->dirty_count | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->flush_list_empty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_info->free_nids | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->prefree_count | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->total_count | 0-s32max |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *sbi->stat_info->blkoff | 0-u16max |
| PARAM_VALUE | 0 | *sbi->stat_info->block_count | 0-4294967295 |
| PARAM_VALUE | 0 | *sbi->stat_info->cp_call_count | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->cursec | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->curseg | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->curzone | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->dirty_seg | 0 |
| PARAM_VALUE | 0 | *sbi->stat_info->ext_node | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->ext_tree | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->full_seg | 0 |
| PARAM_VALUE | 0 | *sbi->stat_info->meta_count | 0-4294967295 |
| PARAM_VALUE | 0 | *sbi->stat_info->segment_count | 0-4294967295 |
| PARAM_VALUE | 0 | *sbi->stat_info->valid_blks | 0-1023 |
| PARAM_VALUE | 0 | *sbi->stat_info->zombie_tree | s32min-s32max |
| PARAM_VALUE | 1 | flag | 1 |
| CAPPED_DATA | 0 | sbi->s_ndevs | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | global &f2fs_stat_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/f2fs/debug.c update_mem_info() -> __bitmap_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cprc_info.stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->gc_reclaimed_segs | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->stat_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->stat_info->alloc_nids | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->dirty_count | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->flush_list_empty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_info->free_nids | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->prefree_count | 0 |
| PARAM_VALUE | 0 | sbi->stat_info->total_count | 0-s32max |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *sbi->stat_info->blkoff | 0-u16max |
| PARAM_VALUE | 0 | *sbi->stat_info->block_count | 0-4294967295 |
| PARAM_VALUE | 0 | *sbi->stat_info->cp_call_count | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->cursec | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->curseg | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->curzone | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->dirty_seg | 0 |
| PARAM_VALUE | 0 | *sbi->stat_info->ext_node | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->ext_tree | s32min-s32max |
| PARAM_VALUE | 0 | *sbi->stat_info->full_seg | 0 |
| PARAM_VALUE | 0 | *sbi->stat_info->meta_count | 0-4294967295 |
| PARAM_VALUE | 0 | *sbi->stat_info->segment_count | 0-4294967295 |
| PARAM_VALUE | 0 | *sbi->stat_info->valid_blks | 0-1023 |
| PARAM_VALUE | 0 | *sbi->stat_info->zombie_tree | s32min-s32max |
| PARAM_VALUE | 1 | flag | 0 |
| CAPPED_DATA | 0 | sbi->s_ndevs | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | global &f2fs_stat_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/f2fs/node.c init_node_manager() -> __bitmap_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 0 |
| BUF_SIZE | 0 | sbi->nm_info | 992 |
| DATA_SOURCE | 0 | sbi | $0 |