Documented in 1 files:
Defined in 1 files as a function:
Referenced in 19 files:
- drivers/ata/libata-core.c, line 5774
- drivers/char/virtio_console.c, line 1278
- drivers/firmware/arm_ffa/bus.c, line 204
- drivers/firmware/arm_scmi/bus.c, line 492
- drivers/firmware/arm_scmi/driver.c, line 3254
- drivers/fsi/fsi-occ.c
- drivers/gpu/drm/drm_connector.c, line 261
- drivers/greybus/hd.c, line 165
- drivers/md/dm-crypt.c, line 3352
- drivers/media/mc/mc-device.c, line 625
- drivers/media/platform/qcom/venus/helpers.c, line 213
- drivers/nvme/host/core.c, line 3981
- drivers/staging/greybus/gbphy.c, line 228
- fs/namespace.c, line 235
- fs/smb/server/mgmt/ksmbd_ida.c
- lib/test_ida.c
- net/bluetooth/hci_sock.c, line 102
- net/core/net_namespace.c, line 1388
- tools/testing/radix-tree/idr-test.c
Smatch caller information:
net/core/net_namespace.c register_pernet_operations() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 1558656311968661504 |
| PARAM_VALUE | 1 | min | 3 |
| PARAM_VALUE | 2 | gfp | 3264 |
| LOCK2 | global &pernet_ops_rwsem |
drivers/firmware/arm_scmi/driver.c scmi_probe() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2359210175869669376 |
| PARAM_VALUE | 1 | min | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ata/libata-core.c ata_port_alloc() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2792311493867634688 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/server/mgmt/ksmbd_ida.c ksmbd_acquire_async_msg_id() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 19648 |
| DATA_SOURCE | 0 | ida | $0 |
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/mgmt/ksmbd_ida.c ksmbd_acquire_smb2_uid() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 9199686060570050560 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 19648 |
| DATA_SOURCE | 0 | ida | $0 |
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/mgmt/ksmbd_ida.c ksmbd_acquire_smb2_uid() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 9199686060570050560 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 19648 |
| DATA_SOURCE | 0 | ida | $0 |
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
drivers/nvme/host/core.c nvme_alloc_ns_head() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctrl->subsys->lock | ||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nvme_subsystem)->lock |
drivers/media/mc/mc-device.c media_device_register_entity() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &dvbdev_register_lock | ||
| HALF_LOCKED2 | global &em28xx_devlist_mutex | ||
| HALF_LOCKED2 | global &videodev_lock |
net/bluetooth/hci_sock.c hci_sock_gen_cookie() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 9110942144717819904 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | sk |
fs/namespace.c mnt_alloc_group_id() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 3813941836998225920 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &namespace_sem |
drivers/staging/greybus/gbphy.c gb_gbphy_create_dev() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2965571705920409600 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/virtio_console.c init_port_console() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 6427215662944989184 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/arm_scmi/bus.c __scmi_device_create() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4876289941697687552 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->devreq_mtx | ||
| HALF_LOCKED2 | global &scmi_requested_devices_mtx |
drivers/md/dm-crypt.c crypt_ctr() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 6175359232552566784 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| HALF_LOCKED2 | &md->type_lock |
lib/test_ida.c ida_check_alloc() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 1 | min | 5000 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_bad_free() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 3 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_bad_free() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 1023 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_bad_free() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 1048575 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_conv() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 1-2048 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
| UNITS | 1 | min | unit_bit |
lib/test_ida.c ida_check_conv() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 64-2111 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
| UNITS | 1 | min | unit_bit |
lib/test_ida.c ida_check_destroy_1() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 0-1,1023-1024,12345678 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
| DATA_SOURCE | 1 | min | $1 |
| HARD_MAX | 1 | min | 12345678 |
lib/test_ida.c ida_check_find_first() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 3 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_find_first() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 63 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_find_first() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 1023 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_find_first() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 1048575 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_leaf() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 0,1024,65536 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
| DATA_SOURCE | 1 | min | $1 |
| HARD_MAX | 1 | min | 65536 |
lib/test_ida.c ida_check_max() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 2147483646-s32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_max() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| PARAM_VALUE | 1 | min | 2147483646-s32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | ida | $0 |
drivers/media/platform/qcom/venus/helpers.c venus_helper_alloc_dpb_bufs() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inst->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct venus_inst)->lock |
drivers/greybus/hd.c gb_hd_create() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 1691525480337620992 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_connector.c drm_connector_init_only() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| BUF_SIZE | 0 | ida | 88 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/fsi/fsi-occ.c occ_probe() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2682740158336040960 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/fsi/fsi-occ.c occ_probe() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2682740158336040960 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/fsi/fsi-occ.c occ_probe() -> ida_alloc_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2682740158336040960 |
| PARAM_VALUE | 1 | min | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |