Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/hv/hv_common.c hv_kmsg_dump() -> kmsg_dump_get_buffer()

Type Parameter Key Value
PARAM_VALUE 0 iter 6562438153195696128
PARAM_VALUE 1 syslog 0
PARAM_VALUE 2 buf 0,4096-ptr_max
PARAM_VALUE 3 size 4096
PARAM_VALUE 4 len_out 1293285919002124288
PARAM_VALUE 4 *len_out 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

drivers/gpu/drm/drm_panic.c draw_panic_screen_kmsg() -> kmsg_dump_get_buffer()

Type Parameter Key Value
PARAM_VALUE 0 iter 2497308342651465728
PARAM_VALUE 1 syslog 0
PARAM_VALUE 2 buf 6988157747592884224
PARAM_VALUE 3 size 512
PARAM_VALUE 4 len_out 3678694469530259456
BUF_SIZE 2 buf 512
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 &(plane->dev)->mode_config.panic_lock
HALF_LOCKED2 flags

drivers/gpu/drm/drm_panic.c draw_panic_screen_kmsg() -> kmsg_dump_get_buffer()

Type Parameter Key Value
PARAM_VALUE 0 iter 2497308342651465728
PARAM_VALUE 1 syslog 0
PARAM_VALUE 2 buf 6988157747592884224
PARAM_VALUE 3 size 512
PARAM_VALUE 4 len_out 3678694469530259456
BUF_SIZE 2 buf 512
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 &(plane->dev)->mode_config.panic_lock
HALF_LOCKED2 flags

drivers/mtd/mtdoops.c mtdoops_do_dump() -> kmsg_dump_get_buffer()

Type Parameter Key Value
PARAM_VALUE 0 iter 1231612086120841216
PARAM_VALUE 1 syslog 1
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 len_out 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 buf unit_byte
UNITS 3 size unit_byte
LOCK2 rcu_read
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

fs/pstore/platform.c pstore_dump() -> kmsg_dump_get_buffer()

Type Parameter Key Value
PARAM_VALUE 0 iter 4302566279211589632
PARAM_VALUE 1 syslog 1
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 len_out 3327105685225574400
RX_PATH
TASK_NOT_RUNNING
UNITS 2 buf unit_byte
UNITS 3 size unit_byte
LOCK2 flags
LOCK2 global &psinfo->buf_lock
LOCK2 rcu_read
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq
TYPE_LOCK (struct pstore_info)->buf_lock