Defined in 1 files as a function:
Referenced in 9 files:
- fs/f2fs/compress.c, line 34
- fs/f2fs/data.c, line 3272
- fs/f2fs/debug.c
- fs/f2fs/file.c, line 3750
- fs/f2fs/iostat.c, line 346
- fs/f2fs/node.c, line 3447
- fs/f2fs/segment.c
- fs/f2fs/super.c, line 4857
- fs/f2fs/xattr.c
Smatch caller information:
fs/f2fs/segment.c build_curseg() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 2880 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections |
fs/f2fs/segment.c build_curseg() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections |
fs/f2fs/segment.c build_curseg() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 1 | size | unit_byte |
fs/f2fs/segment.c build_dirty_segmap() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->node_inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->raw_super->feature | 0,2-u32max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->total_valid_node_count | 0 |
| PARAM_VALUE | 0 | *sbi->page_eio_cnt | s32min-s32max |
| PARAM_VALUE | 1 | size | 280 |
| PARAM_VALUE | 2 | flags | 3264 |
| CAPPED_DATA | 0 | sbi->segs_per_sec | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 1 | size | unit_byte |
fs/f2fs/segment.c build_free_segmap() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 104 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 1 | size | unit_byte |
fs/f2fs/segment.c build_sit_info() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 320 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | size | unit_byte |
fs/f2fs/segment.c build_sit_info() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 64 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
fs/f2fs/segment.c create_discard_cmd_control() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 8576 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | size | unit_byte |
fs/f2fs/segment.c f2fs_build_segment_manager() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 384 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | size | unit_byte |
fs/f2fs/segment.c f2fs_create_flush_cmd_control() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 120 |
| PARAM_VALUE | 2 | flags | 3264 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | size | unit_byte |
fs/f2fs/debug.c f2fs_build_stats() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 840 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | size | unit_byte |
fs/f2fs/debug.c f2fs_build_stats() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
fs/f2fs/data.c f2fs_write_cache_pages() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 35904 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &sbi->writepages |
fs/f2fs/xattr.c read_all_xattrs() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 3136 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
fs/f2fs/xattr.c xattr_alloc() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-203,205-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | flags | 3136 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/f2fs/file.c f2fs_ioc_getfslabel() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 512 |
| PARAM_VALUE | 2 | flags | 3264 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| UNITS | 0 | sbi | unit_byte |
fs/f2fs/super.c f2fs_scan_devices() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super->devs | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 112,896 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
fs/f2fs/iostat.c f2fs_init_iostat() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->iostat_enable | 0 |
| PARAM_VALUE | 0 | sbi->iostat_period_ms | 3000 |
| PARAM_VALUE | 1 | size | 184 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | size | unit_byte |
fs/f2fs/node.c f2fs_build_node_manager() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 992 |
| PARAM_VALUE | 2 | flags | 3264 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | size | unit_byte |
fs/f2fs/compress.c page_array_alloc() -> f2fs_kzalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->page_array_slab_size | 0-4294967294 |
| PARAM_VALUE | 1 | size | 1-u32max |
| PARAM_VALUE | 2 | flags | 3136 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| CAPPED_DATA | 0 | sbi->page_array_slab_size | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| PARAM_COMPARE | 0 | sbi->page_array_slab_size | < $1 |
| PARAM_COMPARE | 1 | size | > $0->page_array_slab_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | 0 | &sbi->cp_rwsem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->node_write.internal_rwsem |