Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/crash_dump_dm_crypt.c dm_crypt_keys_read() -> read_from_oldmem()

Type Parameter Key Value
PARAM_VALUE 0 iter 2150560477732786176
PARAM_VALUE 1 count 4-49668
PARAM_VALUE 2 ppos 3579659887783100416
DATA_SOURCE 1 count $1
DATA_SOURCE 2 ppos $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 count unit_byte
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

fs/proc/vmcore.c __read_vmcore() -> read_from_oldmem()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
PARAM_VALUE 1 count 0-1000000000
PARAM_VALUE 2 ppos 1913234175558627328
CAPPED_DATA 1 count 1
CAPPED_DATA 1 count 1
DATA_SOURCE 0 iter $0
NOSPEC 0 iter->count
NOSPEC 1 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 iter->count 1-9223372036854775806[c]
USER_DATA 0 iter->iov_offset 0-u64max[c]
USER_DATA 1 count 0-1000000000[c]
UNITS 1 count unit_byte
HALF_LOCKED2 &pool->lock

fs/proc/vmcore.c elfcorehdr_read() -> read_from_oldmem()

Type Parameter Key Value
PARAM_VALUE 0 iter 2990821412575502336
PARAM_VALUE 1 count 16,52,64,84-3670024
PARAM_VALUE 2 ppos 3909394553923518464,6099353907062870016,8083786668224724992
PARAM_VALUE 3 encrypted 0
DATA_SOURCE 1 count $1
DATA_SOURCE 2 ppos $2
UNITS 1 count unit_byte

fs/proc/vmcore.c elfcorehdr_read_notes() -> read_from_oldmem()

Type Parameter Key Value
PARAM_VALUE 0 iter 2121285351091310592
PARAM_VALUE 2 ppos 4357368462269280256,4858767102094659584,6608068063053594624,6651410309173710848
DATA_SOURCE 1 count $1
DATA_SOURCE 2 ppos $2
UNITS 1 count unit_byte

arch/x86/kernel/crash_dump_64.c elfcorehdr_read() -> read_from_oldmem()

Type Parameter Key Value
PARAM_VALUE 0 iter 2008923939027984384
PARAM_VALUE 1 count 16,52,64,84-3670024
PARAM_VALUE 2 ppos 3909394553923518464,6099353907062870016,8083786668224724992
DATA_SOURCE 1 count $1
DATA_SOURCE 2 ppos $2
UNITS 1 count unit_byte