Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/f2fs/segment.c build_free_segmap() -> f2fs_kvmalloc()
| 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_free_segmap() -> f2fs_kvmalloc()
| 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,1720,2632,2648 |
| PARAM_VALUE | 0 | sbi->node_inode->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| 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 f2fs_kvzalloc() -> f2fs_kvmalloc()
| 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 | 3520 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | size | $1 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections |
fs/f2fs/checkpoint.c f2fs_kvzalloc() -> f2fs_kvmalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-18446744065119617025 |
| PARAM_VALUE | 2 | flags | 3520 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | size | $1 |
fs/f2fs/file.c f2fs_kvzalloc() -> f2fs_kvmalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-68719476720 |
| PARAM_VALUE | 2 | flags | 3392 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | size | 4-8589934588[c] |
| LOCK2 | &dst_inode->i_rwsem | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| LOCK2 | &src_inode->i_rwsem | ||
| HALF_LOCKED2 | &dst_inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &src_inode->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/super.c f2fs_kvzalloc() -> f2fs_kvmalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->bggc_io_aware | 1 |
| PARAM_VALUE | 0 | sbi->blkzone_alloc_policy | 0 |
| PARAM_VALUE | 0 | sbi->blocks_per_blkz | 0-536870911 |
| PARAM_VALUE | 0 | sbi->devs | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->max_open_zones | 1-u32max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super->devs | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super->feature | 2-u32max |
| PARAM_VALUE | 0 | sbi->s_ndevs | 1-8 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-536870912 |
| PARAM_VALUE | 2 | flags | 3520 |
| BUF_SIZE | 0 | sbi->devs | 112,896 |
| CAPPED_DATA | 0 | sbi->blocks_per_blkz | 1 |
| CAPPED_DATA | 0 | sbi->s_ndevs | 1 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | size | $1 |
fs/f2fs/node.c f2fs_kvzalloc() -> f2fs_kvmalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->dirty_nats_ratio | 10 |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_root.xa_flags | 2080 |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_root.xa_head | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->max_rf_node_blocks | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_bitmap | 1-u64max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_bits_blocks | 1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_root.xa_flags | 3072 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_root.xa_head | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 3072 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_head | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.name | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.sbi | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->ra_nid_pages | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->ram_thresh | 1 |
| PARAM_VALUE | 1 | size | 0-34359738360 |
| PARAM_VALUE | 2 | flags | 3520 |
| BUF_SIZE | 0 | sbi->nm_info | 992 |
| CAPPED_DATA | 1 | size | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | size | $1 |