Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/namespace.c do_reconfigure_mnt() -> can_change_locked_flags()

Type Parameter Key Value
PARAM_VALUE 0 mnt 4096-ptr_max
PARAM_VALUE 1 mnt_flags 0-255
CAPPED_DATA 0 mnt->mnt_ns 1
DATA_SOURCE 0 mnt r real_mount
DATA_SOURCE 1 mnt_flags $1

fs/namespace.c do_remount() -> can_change_locked_flags()

Type Parameter Key Value
PARAM_VALUE 0 mnt 4096-ptr_max
PARAM_VALUE 1 mnt_flags 0-255
CAPPED_DATA 0 mnt->mnt_ns 1
DATA_SOURCE 0 mnt r real_mount
DATA_SOURCE 1 mnt_flags $2

fs/namespace.c mount_setattr_prepare() -> can_change_locked_flags()

Type Parameter Key Value
PARAM_VALUE 0 mnt 4096-ptr_max
CAPPED_DATA 0 mnt 1
LOCK2 global &mount_lock.lock
HALF_LOCKED2 global &namespace_sem