Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/iommu/intel/iommu.c ida_exists() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
PARAM_VALUE 1 min 0-s32max
PARAM_VALUE 2 max 0-s32max
CAPPED_DATA 1 min 1
CAPPED_DATA 2 max 1
DATA_SOURCE 0 ida $0
DATA_SOURCE 1 min $1
DATA_SOURCE 2 max $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/vfio/iommufd.c ida_exists() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
DATA_SOURCE 0 ida $0
DATA_SOURCE 1 min $1
DATA_SOURCE 2 max $1
USER_DATA 1 min 0-u32max
USER_DATA 2 max 0-u32max
LOCK2 &vdev->dev_set->lock
TYPE_LOCK (struct vfio_device_set)->lock

drivers/vfio/iommufd.c ida_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max u32max
DATA_SOURCE 0 ida $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->dev_set->lock
HALF_LOCKED2 &device->group->group_lock
TYPE_LOCK (struct vfio_device_set)->lock

drivers/pci/ide.c ida_exists() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
PARAM_VALUE 1 min 0-65534
PARAM_VALUE 2 max 0-65534
CAPPED_DATA 1 min 1
CAPPED_DATA 2 max 1
DATA_SOURCE 0 ida $0
DATA_SOURCE 1 min $1
DATA_SOURCE 2 max $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min u32max
PARAM_VALUE 2 max 2
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max 2
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max 3
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 1
PARAM_VALUE 2 max 3
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

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 max 3
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 2
PARAM_VALUE 2 max 4
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 4
PARAM_VALUE 2 max 3
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 4
PARAM_VALUE 2 max 60
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 4
PARAM_VALUE 2 max 64
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

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 max 63
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 64
PARAM_VALUE 2 max 1026
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

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 max 1023
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

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 max 1048575
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 1024
PARAM_VALUE 2 max 1048575
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_check_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 min 1048576
PARAM_VALUE 2 max s32max
DATA_SOURCE 0 ida $0

lib/test_ida.c ida_exists() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 1 min 0,3,63,1023,1048575
PARAM_VALUE 2 max 0,3,63,1023,1048575
DATA_SOURCE 0 ida $0
DATA_SOURCE 1 min $1
DATA_SOURCE 2 max $1
HARD_MAX 1 min 1048575
HARD_MAX 2 max 1048575

lib/test_ida.c ida_find_first() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max u32max
DATA_SOURCE 0 ida $0

net/bluetooth/l2cap_core.c l2cap_put_ident() -> ida_find_first_range()

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
PARAM_VALUE 1 min 1-255
PARAM_VALUE 2 max 1-255
DATA_SOURCE 1 min $2
DATA_SOURCE 2 max $2
RX_PATH
USER_DATA 1 min 1-255[u]
USER_DATA 2 max 1-255[u]
LOCK2 &conn->lock
LOCK2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock