Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/btrfs/disk-io.c, line 865
- fs/btrfs/ioctl.c, line 642
- fs/btrfs/root-tree.c, line 48
- fs/btrfs/transaction.c, line 1801
- lib/tests/uuid_kunit.c, line 135
- lib/uuid.c, line 52
Smatch caller information:
lib/tests/uuid_kunit.c uuid_test_generate_random_guid() -> generate_random_guid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | guid | 4096-ptr_max |
| BUF_SIZE | 0 | guid | 16 |
| NOCHECK_CALL |
fs/btrfs/root-tree.c btrfs_read_root_item() -> generate_random_guid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | guid | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/transaction.c create_pending_snapshot() -> generate_random_guid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | guid | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reloc_mutex |
fs/btrfs/disk-io.c btrfs_create_tree() -> generate_random_guid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | guid | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/ioctl.c create_subvol() -> generate_random_guid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | guid | 16 |
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |