Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
PARAM_VALUE 1 id 0-s32max
CAPPED_DATA 1 id 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 vfio_iommufd_physical_pasid_attach_ioas() -> ida_exists()

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 ida 4096-ptr_max
PARAM_VALUE 1 id 0-65534
CAPPED_DATA 1 id 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_exists()

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 63
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1023
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1048575
DATA_SOURCE 0 ida $0

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

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 63
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1023
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1048575
DATA_SOURCE 0 ida $0

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

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 63
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1023
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1048575
DATA_SOURCE 0 ida $0

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

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 63
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1023
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1048575
DATA_SOURCE 0 ida $0

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

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 63
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1023
DATA_SOURCE 0 ida $0

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

Type Parameter Key Value
PARAM_VALUE 0 ida 7220171856470704128
PARAM_VALUE 0 ida->xa.xa_head 0
PARAM_VALUE 1 id 1048575
DATA_SOURCE 0 ida $0