Documented in 1 files:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/pid_namespace.c pid_ns_ctl_handler() -> idr_set_cursor()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

kernel/pid.c alloc_pid() -> idr_set_cursor()

Type Parameter Key Value
PARAM_VALUE 0 idr 4096-ptr_max
PARAM_VALUE 1 val 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &pidmap_lock

fs/notify/inotify/inotify_user.c inotify_ioctl() -> idr_set_cursor()

Type Parameter Key Value
PARAM_VALUE 0 idr 4096-ptr_max
PARAM_VALUE 1 val 1-s32max
DATA_SOURCE 1 val $2
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 1 val 1-s32max
LOCK2 &data->idr_lock
TYPE_LOCK (struct inotify_group_private_data)->idr_lock

net/rxrpc/local_object.c rxrpc_alloc_local() -> idr_set_cursor()

Type Parameter Key Value
PARAM_VALUE 0 idr 4096-ptr_max
PARAM_VALUE 0 idr->idr_next 0
PARAM_VALUE 1 val 1-1073741823
FUZZY_MAX 1 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &rx->sk
LOCK2 &rxnet->local_mutex
TYPE_LOCK (struct rxrpc_net)->local_mutex
TYPE_LOCK (struct rxrpc_sock)->sk