Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
ipc/sem.c find_alloc_undo() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
ipc/sem.c freeary() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->deleted | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ids->rwsem | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | sma |
ipc/sem.c newary() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->mode | 0-511 |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ptr->security | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ptr->key | s32min-s32max |
| USER_DATA | 0 | ptr->mode | 0-511[c] |
| LOCK2 | &ids->rwsem | ||
| TYPE_LOCK | (struct ipc_ids)->rwsem |
ipc/sem.c sem_lock_and_putref() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| LOCK2 | sma |
ipc/sem.c semctl_main() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->deleted | 0 |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
ipc/sem.c semctl_main() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
ipc/sem.c semctl_main() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
ipc/sem.c semctl_main() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
ipc/msg.c do_msgsnd() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->deleted | 0 |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &msq->q_perm.lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct kern_ipc_perm)->lock |
ipc/msg.c freeque() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->deleted | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ids->rwsem | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| HALF_LOCKED2 | &msq->q_perm.lock | ||
| HALF_LOCKED2 | &pool->lock |
ipc/msg.c newque() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->mode | 0-511 |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ptr->security | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ptr->key | s32min-s32max |
| USER_DATA | 0 | ptr->mode | 0-511[c] |
| LOCK2 | &ids->rwsem | ||
| TYPE_LOCK | (struct ipc_ids)->rwsem |
ipc/shm.c exit_shm() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | (-1073741824),0-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &shp->shm_perm.lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct kern_ipc_perm)->lock |
ipc/shm.c newseg() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->mode | 0-511 |
| PARAM_VALUE | 0 | ptr->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ptr->security | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ptr->key | s32min-s32max |
| USER_DATA | 0 | ptr->mode | 0-511[c] |
| LOCK2 | &ids->rwsem | ||
| TYPE_LOCK | (struct ipc_ids)->rwsem |
ipc/shm.c shm_destroy() -> ipc_rcu_putref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | ptr->deleted | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |