Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/android/tests/binder_alloc_kunit.c binder_alloc_test_init() -> kunit_vm_mmap()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 len 131072
PARAM_VALUE 4 prot 1
PARAM_VALUE 5 flag 16386
PARAM_VALUE 6 offset 0
BUF_SIZE 0 test->priv 400
DATA_SOURCE 0 test $0
DATA_SOURCE 1 file r anon_inode_getfile

lib/tests/usercopy_kunit.c usercopy_test_init() -> kunit_vm_mmap()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 1631314395305967616
PARAM_VALUE 0 test->last_seen.line 305
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 file 0
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 len 8192
PARAM_VALUE 4 prot 7
PARAM_VALUE 5 flag 34
PARAM_VALUE 6 offset 0
BUF_SIZE 0 test->last_seen.file 27
BUF_SIZE 0 test->priv 24
DATA_SOURCE 0 test $0
STR_LEN 0 test->last_seen.file 26

mm/kasan/kasan_test_c.c copy_user_test_oob() -> kunit_vm_mmap()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 1834859717821100032
PARAM_VALUE 0 test->last_seen.line 2167
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 file 0
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 len 4096
PARAM_VALUE 4 prot 7
PARAM_VALUE 5 flag 34
PARAM_VALUE 6 offset 0
BUF_SIZE 0 test->last_seen.file 24
DATA_SOURCE 0 test $0
STR_LEN 0 test->last_seen.file 23
UNITS 3 len unit_byte

lib/tests/kunit_iov_iter.c iov_kunit_iter_to_sg_init() -> kunit_vm_mmap()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 484267934179975168
PARAM_VALUE 0 test->last_seen.line 1059
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 file 0
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 len 2097152
PARAM_VALUE 4 prot 3
PARAM_VALUE 5 flag 34
PARAM_VALUE 6 offset 0
BUF_SIZE 0 test->last_seen.file 27
DATA_SOURCE 0 test $0
DATA_SOURCE 3 len $1
STR_LEN 0 test->last_seen.file 26