Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/volumes.c create_chunk() -> set_real_chunk_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->on_disk_type | 1-u64max |
| PARAM_VALUE | 0 | map->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | map->sub_stripes | 0-255 |
| BUF_SIZE | 0 | map | s32min-s32max |
| DATA_SOURCE | 0 | map | r btrfs_alloc_chunk_map |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->chunk_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/volumes.c read_one_chunk() -> set_real_chunk_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->num_stripes | 0-u16max |
| PARAM_VALUE | 0 | map->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | map->sub_stripes | 1-2 |
| PARAM_VALUE | 0 | map->verified_stripes | 0 |
| BUF_SIZE | 0 | map | 80-2097200 |
| BUF_SIZE | 0 | map | 80-2097200 |
| DATA_SOURCE | 0 | map | r btrfs_alloc_chunk_map |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | map->start | |
| HALF_LOCKED2 | global &uuid_mutex |