Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/d_path.c __prepend_path() -> is_anon_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 1-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

fs/namespace.c anon_ns_root() -> is_anon_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 1-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &mount_lock.lock
HALF_LOCKED2 global &namespace_sem
HALF_LOCKED2 rcu_read

fs/namespace.c can_idmap_mount() -> is_anon_ns()

Type Parameter Key Value
NS_CAPABLE 0 21
LOCK2 global &mount_lock.lock
HALF_LOCKED2 global &namespace_sem

fs/namespace.c check_anonymous_mnt() -> is_anon_ns()

Type Parameter Key Value

fs/namespace.c free_mnt_ns() -> is_anon_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
BUF_SIZE 0 ns (-1),448
BUF_SIZE 0 ns (-1),448
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING

fs/namespace.c get_detached_copy() -> is_anon_ns()

Type Parameter Key Value
LOCK2 global &namespace_sem

fs/namespace.c mntns_install() -> is_anon_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
DATA_SOURCE 0 ns r to_mnt_ns
NS_CAPABLE 0 18
NS_CAPABLE 0 21

fs/pnode.c need_secondary() -> is_anon_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 1-u64max
RX_PATH