Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/printk/printk.c __do_sys_syslog() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 3 source 0
DATA_SOURCE 0 type $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 len $2
USER_DATA 0 type s32min-s32max
USER_DATA 1 buf 0-u64max
USER_DATA 2 len s32min-s32max

kernel/printk/printk.c __do_sys_syslog() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 3 source 0
DATA_SOURCE 0 type $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 len $2
USER_DATA 0 type s32min-s32max
USER_DATA 1 buf 0-u64max
USER_DATA 2 len s32min-s32max

fs/proc/kmsg.c kmsg_open() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 0 type 1
PARAM_VALUE 1 buf 0
PARAM_VALUE 2 len 0
PARAM_VALUE 3 source 1
RX_PATH
TASK_NOT_RUNNING

fs/proc/kmsg.c kmsg_poll() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 0 type 9
PARAM_VALUE 1 buf 0
PARAM_VALUE 2 len 0
PARAM_VALUE 3 source 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

fs/proc/kmsg.c kmsg_read() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 0 type 9
PARAM_VALUE 1 buf 0
PARAM_VALUE 2 len 0
PARAM_VALUE 3 source 1

fs/proc/kmsg.c kmsg_read() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 0 type 2
PARAM_VALUE 2 len 0-1000000000,2147479552
PARAM_VALUE 3 source 1
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 len $2
USER_DATA 1 buf 0-u64max[c]
USER_DATA 2 len 0-1000000000

fs/proc/kmsg.c kmsg_release() -> do_syslog()

Type Parameter Key Value
PARAM_VALUE 0 type 0
PARAM_VALUE 1 buf 0
PARAM_VALUE 2 len 0
PARAM_VALUE 3 source 1
RX_PATH
TASK_NOT_RUNNING