Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

mm/madvise.c __do_sys_process_madvise() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 9
DATA_SOURCE 0 task r pidfd_get_task

mm/madvise.c __do_sys_process_madvise() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 9
DATA_SOURCE 0 task r pidfd_get_task

fs/proc/base.c map_files_d_revalidate() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 9
DATA_SOURCE 0 task r get_proc_task
RX_PATH
TASK_NOT_RUNNING

fs/proc/base.c proc_map_files_lookup() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 9
DATA_SOURCE 0 task r get_proc_task
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir->i_rwsem

fs/proc/base.c proc_map_files_readdir() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 9
DATA_SOURCE 0 task r get_proc_task
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/proc/base.c proc_mem_open() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 9-10,17
DATA_SOURCE 0 task r get_proc_task
BIT_INFO 1 mode 0x8,0xf
RX_PATH
TASK_NOT_RUNNING

mm/process_vm_access.c process_vm_rw_core() -> mm_access()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 mode 18
DATA_SOURCE 0 task r find_get_task_by_vpid