Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/device.c alloc_name_id() -> __alloc_name_id()

Type Parameter Key Value
PARAM_VALUE 1 *name 0
PARAM_VALUE 2 skip 0
BUF_SIZE 1 name s32min,(-10),1-s32max
BUF_SIZE 1 name s32min,(-10),1-s32max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 name $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *name 0
USER_PTR 1 name
LOCK2 global &devices_rwsem
HALF_LOCKED2 &dev->cmd.poll_sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &be_adapter_list_lock
HALF_LOCKED2 global &bnxt_re_mutex
HALF_LOCKED2 global &link_ops_rwsem
HALF_LOCKED2 global &mthca_device_mutex
HALF_LOCKED2 global &qedr_dev_list_lock
HALF_LOCKED2 global &usnic_ib_ibdev_list_lock

drivers/infiniband/core/device.c rdma_dev_pick_netns_name() -> __alloc_name_id()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 name 6930125686511026176
PARAM_VALUE 2 skip 4096-ptr_max
PARAM_VALUE 2 skip->client_data.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 skip->client_data_rwsem.dep_map->name 0-255
PARAM_VALUE 2 skip->client_data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 skip->client_data_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 skip->client_data_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 2 skip->client_data_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 skip->client_data_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 2 skip->compat_devs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 skip->compat_devs_mutex.dep_map->name 0-255
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 2 skip->compat_devs_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 skip->unreg_completion.done 0-4294967293,u32max
PARAM_VALUE 2 skip->unreg_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 2 skip->unreg_completion.wait.lock.owner (-1)
PARAM_VALUE 2 skip->unreg_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 2 skip->unreg_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 2 skip->unreg_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 2 skip->unregistration_lock.dep_map->name 0-255
PARAM_VALUE 2 skip->unregistration_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 skip->unregistration_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 skip->unregistration_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 skip->unregistration_lock.wait_lock.owner (-1)
PARAM_VALUE 2 skip->unregistration_lock.wait_lock.owner_cpu u32max
BUF_SIZE 1 name (-1),8
BUF_SIZE 1 name (-1),8
CAPPED_DATA 0 net 1
CAPPED_DATA 2 skip 1
CAPPED_DATA 2 skip->coredev.rdma_net.net 1
DATA_SOURCE 0 net $1
DATA_SOURCE 1 name $3
DATA_SOURCE 2 skip $0
STR_LEN 0 net (-1),7
STR_LEN 2 skip (-1),7
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &devices_rwsem
LOCK2 2 &skip->unregistration_lock
HALF_LOCKED2 global &pernet_ops_rwsem
TYPE_LOCK (struct ib_device)->unregistration_lock