Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/transaction.c create_pending_snapshot() -> btrfs_check_and_init_root_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_init_fs_root() -> btrfs_check_and_init_root_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root_item | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->subvol_sem |