Defined in 1 files as a function:
Referenced in 5 files:
- ipc/mqueue.c, line 371
- kernel/cred.c
- kernel/ucount.c, line 323
- mm/mlock.c, line 821
- security/keys/process_keys.c, line 922
Smatch caller information:
kernel/ucount.c inc_rlimit_get_ucounts() -> get_ucounts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucounts | 1-u64max |
| PARAM_VALUE | 0 | ucounts->rlimit | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/mlock.c user_shm_lock() -> get_ucounts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ucounts | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| LOCK2 | global &shmlock_user_lock | ||
| HALF_LOCKED2 | &ids->rwsem | ||
| HALF_LOCKED2 | &shp->shm_perm.lock | ||
| HALF_LOCKED2 | rcu_read |
kernel/cred.c prepare_creds() -> get_ucounts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | global &event_mutex |
kernel/cred.c prepare_kernel_cred() -> get_ucounts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &pool->lock |
security/keys/process_keys.c key_change_session_keyring() -> get_ucounts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
ipc/mqueue.c mqueue_get_inode() -> get_ucounts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 24 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |