Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/ioctl.c create_snapshot() -> create_subvol_num_items()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inherit | 0,4096-ptr_max |
| BUF_SIZE | 0 | inherit | (-1)-0,72-4096 |
| BUF_SIZE | 0 | inherit | (-1)-0,72-4096 |
| BUF_SIZE | 0 | inherit->qgroups | (-1)-4024 |
| DATA_SOURCE | 0 | inherit | $4 |
| USER_DATA | 0 | inherit->flags | 0 |
| USER_DATA | 0 | inherit->lim.flags | 0-u64max |
| USER_DATA | 0 | inherit->lim.max_excl | 0-u64max |
| USER_DATA | 0 | inherit->lim.max_rfer | 0-u64max |
| USER_DATA | 0 | inherit->lim.rsv_excl | 0-u64max |
| USER_DATA | 0 | inherit->lim.rsv_rfer | 0-u64max |
| USER_DATA | 0 | inherit->num_excl_copies | 0 |
| USER_DATA | 0 | inherit->num_qgroups | 0-u64max |
| USER_DATA | 0 | inherit->num_ref_copies | 0 |
| USER_PTR | 0 | inherit | |
| USER_PTR | 0 | inherit->qgroups | |
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/ioctl.c create_subvol() -> create_subvol_num_items()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | inherit | $3 |
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |