Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

ipc/namespace.c inc_ipc_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 3
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->signal->exec_update_lock

net/core/net_namespace.c inc_net_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 4
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->signal->exec_update_lock

kernel/cgroup/namespace.c inc_cgroup_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 6
DATA_SOURCE 0 ns $0
NS_CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->signal->exec_update_lock

kernel/time/namespace.c inc_time_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 7
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->signal->exec_update_lock

kernel/pid_namespace.c inc_pid_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 1
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->signal->exec_update_lock

fs/namespace.c inc_mnt_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 5
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING

kernel/user_namespace.c inc_user_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->level s32min-32
PARAM_VALUE 2 type 0
DATA_SOURCE 0 ns $0
DATA_SOURCE 1 uid $1
FUZZY_MAX 0 ns->level 32
HARD_MAX 0 ns->level 32
RX_PATH
TASK_NOT_RUNNING

fs/notify/inotify/inotify_user.c inc_inotify_watches() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 9
LOCK2 &group->mark_mutex
TYPE_LOCK (struct fsnotify_group)->mark_mutex

fs/notify/inotify/inotify_user.c inotify_new_group() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 8

fs/notify/fanotify/fanotify_user.c __do_sys_fanotify_init() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 10

fs/notify/fanotify/fanotify_user.c __do_sys_fanotify_init() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 10

fs/notify/fanotify/fanotify_user.c fanotify_add_new_mark() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 11
NS_CAPABLE 0 21
LOCK2 &group->mark_mutex
TYPE_LOCK (struct fsnotify_group)->mark_mutex

fs/binfmt_misc.c entry_attach_interpreter() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 12
HALF_LOCKED2 &root->i_rwsem

kernel/utsname.c inc_uts_namespaces() -> inc_ucount()

Type Parameter Key Value
PARAM_VALUE 2 type 2
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tsk->signal->exec_update_lock