Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

ipc/util.c ipc_addid() -> ipc_idr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ids 4096-ptr_max
PARAM_VALUE 0 ids->in_use s32min-16777215
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 1 new->deleted 0
PARAM_VALUE 1 new->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 new->refcount.refs.counter 1
BUF_SIZE 0 ids (-1),1376,2064
BUF_SIZE 0 ids (-1),1376,2064
CAPPED_DATA 0 ids->in_use 1
DATA_SOURCE 0 ids $0
DATA_SOURCE 1 new $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 new->key s32min-s32max
USER_DATA 1 new->mode 0-511[c]
LOCK2 &ids->rwsem
LOCK2 rcu_read
LOCK2 1 &new->lock
TYPE_LOCK (struct ipc_ids)->rwsem
TYPE_LOCK (struct kern_ipc_perm)->lock