Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/iommufd/io_pagetable.c iopt_map_file_pages() -> iopt_map_common()

Type Parameter Key Value
PARAM_VALUE 1 iopt 4096-ptr_max
PARAM_VALUE 2 pages 4096-ptr_max
PARAM_VALUE 2 pages->account_mode 0-1
PARAM_VALUE 2 pages->file 4096-ptr_max
PARAM_VALUE 2 pages->kref.refcount.refs.counter 1
PARAM_VALUE 2 pages->mutex.dep_map->name 0-255
PARAM_VALUE 2 pages->mutex.first_waiter 0
PARAM_VALUE 2 pages->mutex.magic 4096-ptr_max
PARAM_VALUE 2 pages->mutex.osq.tail.counter 0
PARAM_VALUE 2 pages->mutex.owner.counter 0
PARAM_VALUE 2 pages->pinned_pfns.xa_flags 32
PARAM_VALUE 2 pages->pinned_pfns.xa_head 0
PARAM_VALUE 2 pages->source_mm 4096-ptr_max
PARAM_VALUE 2 pages->type 1-2
PARAM_VALUE 2 pages->writable 0
PARAM_VALUE 3 iova 3787972333264732160
PARAM_VALUE 3 *iova 0-18446744073709551614
PARAM_VALUE 4 length 1-18446744073709547519
PARAM_VALUE 6 iommu_prot 4-7
PARAM_VALUE 7 flags 0-1
BUF_SIZE 2 pages 392
DATA_SOURCE 0 ictx $0
DATA_SOURCE 1 iopt $1
DATA_SOURCE 3 iova $2
DATA_SOURCE 4 length $5
DATA_SOURCE 6 iommu_prot $6
DATA_SOURCE 7 flags $7
FUZZY_MAX 7 flags 1
HARD_MAX 7 flags 1
USER_DATA 3 *iova 0-18446744073709551614[u]
USER_DATA 4 length 1-18446744073709547519[u]
USER_DATA 5 start_byte 0-u64max
UNITS 4 length unit_byte
UNITS 5 start_byte unit_byte
USER_PTR 3 iova

drivers/iommu/iommufd/io_pagetable.c iopt_map_user_pages() -> iopt_map_common()

Type Parameter Key Value
PARAM_VALUE 1 iopt 4096-ptr_max
PARAM_VALUE 2 pages 4096-ptr_max
PARAM_VALUE 2 pages->account_mode 0-1
PARAM_VALUE 2 pages->kref.refcount.refs.counter 1
PARAM_VALUE 2 pages->mutex.dep_map->name 0-255
PARAM_VALUE 2 pages->mutex.first_waiter 0
PARAM_VALUE 2 pages->mutex.magic 4096-ptr_max
PARAM_VALUE 2 pages->mutex.osq.tail.counter 0
PARAM_VALUE 2 pages->mutex.owner.counter 0
PARAM_VALUE 2 pages->pinned_pfns.xa_flags 32
PARAM_VALUE 2 pages->pinned_pfns.xa_head 0
PARAM_VALUE 2 pages->source_mm 4096-ptr_max
PARAM_VALUE 2 pages->type 0
PARAM_VALUE 2 pages->uptr 0,4096-u64max
PARAM_VALUE 2 pages->writable 0
PARAM_VALUE 3 iova 5443744737492152320,8273802463165034496
PARAM_VALUE 4 length 1-18446744073709547519
PARAM_VALUE 6 iommu_prot 4-7
PARAM_VALUE 7 flags 0-1
BUF_SIZE 0 ictx s32min-(-1),1-s32max
BUF_SIZE 0 ictx s32min-(-1),1-s32max
BUF_SIZE 2 pages 392
DATA_SOURCE 0 ictx $0
DATA_SOURCE 1 iopt $1
DATA_SOURCE 2 pages r iopt_alloc_user_pages
DATA_SOURCE 3 iova $2
DATA_SOURCE 4 length $4
DATA_SOURCE 6 iommu_prot $5
DATA_SOURCE 7 flags $6
FUZZY_MAX 7 flags 1
HARD_MAX 7 flags 1
USER_DATA 3 *iova 0-u64max
USER_DATA 4 length 1-18446744073709547519
UNITS 4 length unit_byte
UNITS 5 start_byte unit_byte
USER_PTR 3 iova