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_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | ucounts | $2 |
| NS_CAPABLE | 0 | 14 | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | &shp->shm_perm.lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct kern_ipc_perm)->lock |
fs/hugetlbfs/inode.c hugetlb_file_setup() -> user_shm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | size | 1 |
| CAPPED_DATA | 0 | size | 1 |
| DATA_SOURCE | 0 | size | $1 |
| USER_DATA | 0 | size | 0-u64max[c] |
| LOCK2 | &ids->rwsem | ||
| TYPE_LOCK | (struct ipc_ids)->rwsem |