Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/btrfs/free-space-cache.c create_free_space_inode() -> btrfs_get_free_objectid()

Type Parameter Key Value
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 objectid 4176776441173917696
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &trans->transaction->cache_write_mutex

fs/btrfs/relocation.c create_reloc_inode() -> btrfs_get_free_objectid()

Type Parameter Key Value
PARAM_VALUE 0 root 0,4096-ptr_max
PARAM_VALUE 0 root->fs_info->qgroup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 objectid 6940736749657559040

fs/btrfs/transaction.c create_pending_snapshot() -> btrfs_get_free_objectid()

Type Parameter Key Value
PARAM_VALUE 1 objectid 4757353705739472896
RX_PATH
TASK_NOT_RUNNING
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/ioctl.c create_subvol() -> btrfs_get_free_objectid()

Type Parameter Key Value
PARAM_VALUE 1 objectid 8142962659647524864
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem