Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/shmem.c shmem_lock() -> user_shm_unlock()

Type Parameter Key Value
PARAM_VALUE 1 ucounts 1-u64max
DATA_SOURCE 1 ucounts $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &shp->shm_perm.lock
HALF_LOCKED2 rcu_read

fs/hugetlbfs/inode.c hugetlb_file_setup() -> user_shm_unlock()

Type Parameter Key Value
PARAM_VALUE 1 ucounts 4096-ptr_max
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1
DATA_SOURCE 0 size $1
NOCHECK_CALL
USER_DATA 0 size 0-u64max[c]
UNITS 0 size unit_byte
LOCK2 &ids->rwsem
TYPE_LOCK (struct ipc_ids)->rwsem