Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
- include/linux/printk.h, line 214 (as a function)
- kernel/printk/printk_safe.c, line 75 (as a function)
Referenced in 16 files:
- arch/x86/platform/intel-quark/imr_selftest.c, line 44
- drivers/gpu/drm/i915/selftests/i915_selftest.c, line 541
- drivers/md/bcache/bset.c, line 105
- drivers/net/phy/phy_device.c, line 1434
- drivers/staging/media/atomisp/pci/atomisp_compat_css20.c, line 152
- drivers/vhost/vringh.c, line 32
- fs/ecryptfs/main.c
- kernel/panic.c
- kernel/printk/printk.c, line 2504
- kernel/printk/printk_safe.c, line 84
- kernel/time/timer_list.c, line 40
- lib/bug.c, line 189
- lib/ref_tracker.c, line 117
- mm/kfence/report.c, line 65
- net/rds/connection.c, line 999
- net/rds/ib_cm.c, line 1305
Smatch caller information:
net/rds/ib_cm.c __rds_ib_conn_error() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | fmt | 30-31,39,43,55,74,82,95,102,115-116 |
| BUF_SIZE | 0 | fmt | 30-31,39,43,55,74,82,95,102,115-116 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/panic.c __warn() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/panic.c __warn_printk() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $0 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
drivers/gpu/drm/i915/selftests/i915_selftest.c __igt_timeout() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | fmt | 16,24,28-29,40,43,45,47,51,74 |
| BUF_SIZE | 0 | fmt | 16,24,28-29,40,43,45,47,51,74 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->engines_mutex |
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c atomisp_vprintk() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | fmt | $0 |
| DATA_SOURCE | 1 | args | $1 |
| NOCHECK_CALL |
lib/ref_tracker.c pr_ostream_log() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 26526181855375360,6379867951679188992,6573709729498042368 |
| PARAM_VALUE | 1 | *args | 6573709729498042368,6379867951679188992,26526181855375360 |
| BUF_SIZE | 0 | fmt | 31,40,44 |
| BUF_SIZE | 0 | fmt | 31,40,44 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| STR_LEN | 0 | fmt | (-1) |
| STR_LEN | 0 | fmt | (-1) |
| STR_LEN | 1 | *args | (-1) |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| TYPE_LOCK | (struct ref_tracker_dir)->lock |
drivers/vhost/vringh.c vringh_bad() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | fmt | 17,19,22-24,26-27,30-35,38-39,41 |
| BUF_SIZE | 0 | fmt | 17,19,22-24,26-27,30-35,38-39,41 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $0 |
| STR_LEN | 0 | fmt | 16,18,21-23,25-26,29-34,37-38,40 |
| STR_LEN | 0 | fmt | 16,18,21-23,25-26,29-34,37-38,40 |
| STR_LEN | 1 | *args | 16,18,21-23,25-26,29-34,37-38,40 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/kfence/report.c seq_con_printf() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 211100155028377600,2133125946524332032,3018497645153456128,6739027762828488704,6788326755177549824,8929741303852257280 |
| PARAM_VALUE | 1 | *args | 3018497645153456128,6739027762828488704,6788326755177549824,211100155028377600,2133125946524332032,8929741303852257280 |
| BUF_SIZE | 0 | fmt | 2,6,14,20,44,57 |
| BUF_SIZE | 0 | fmt | 2,6,14,20,44,57 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| STR_LEN | 0 | fmt | (-1),5,9-12 |
| STR_LEN | 0 | fmt | (-1),5,9-12 |
| STR_LEN | 1 | *args | (-1),5,9-12 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &meta->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &seq->lock | ||
| TYPE_LOCK | (struct kfence_metadata)->lock |
kernel/time/timer_list.c SEQ_printf() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | fmt | 2,4,8-9,12,14-16,18-23,25-29,35,51 |
| BUF_SIZE | 0 | fmt | 2,4,8-9,12,14-16,18-23,25-29,35,51 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| STR_LEN | 0 | fmt | (-1),4,6-14 |
| STR_LEN | 0 | fmt | (-1),4,6-14 |
| STR_LEN | 1 | *args | (-1),4,6-14 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock |
drivers/md/bcache/bset.c __bch_check_keys() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4467717732079853568,6217898498360582144 |
| PARAM_VALUE | 1 | *args | 6217898498360582144,4467717732079853568 |
| BUF_SIZE | 0 | fmt | 8,10 |
| BUF_SIZE | 0 | fmt | 8,10 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| STR_LEN | 0 | fmt | (-1),6-7 |
| STR_LEN | 0 | fmt | (-1),6-7 |
| STR_LEN | 1 | *args | (-1),6-7 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &b->write_lock |
kernel/printk/printk.c _printk() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $0 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
drivers/net/phy/phy_device.c phy_attached_print() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 5727668603926499328 |
| PARAM_VALUE | 1 | *args | 5727668603926499328 |
| BUF_SIZE | 0 | fmt | 29 |
| BUF_SIZE | 0 | fmt | 29 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ecryptfs/main.c __ecryptfs_printk() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | fmt | 14-16,19,21-22,24,26-28,30,33-43,45-52,54-59,62,64-66,68-70,72,74-76,79-82,88,93,107,118,120,126,136,169 |
| BUF_SIZE | 0 | fmt | 14-16,19,21-22,24,26-28,30,33-43,45-52,54-59,62,64-66,68-70,72,74-76,79-82,88,93,107,118,120,126,136,169 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $0 |
| STR_LEN | 0 | fmt | 13-15,18,20-21,23,25-27,29,32-42,44-51,53-58,61,63-65,67-69,71,73-75,78-81,87,92,106,117,119,125,135,168 |
| STR_LEN | 0 | fmt | 13-15,18,20-21,23,25-27,29,32-42,44-51,53-58,61,63-65,67-69,71,73-75,78-81,87,92,106,117,119,125,135,168 |
| STR_LEN | 1 | *args | 13-15,18,20-21,23,25-27,29,32-42,44-51,53-58,61,63-65,67-69,71,73-75,78-81,87,92,106,117,119,125,135,168 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | tfm_mutex |
fs/ecryptfs/main.c __ecryptfs_printk() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | fmt | 14-16,19,21-22,24,26-28,30,33-43,45-52,54-59,62,64-66,68-70,72,74-76,79-82,88,93,107,118,120,126,136,169 |
| BUF_SIZE | 0 | fmt | 14-16,19,21-22,24,26-28,30,33-43,45-52,54-59,62,64-66,68-70,72,74-76,79-82,88,93,107,118,120,126,136,169 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $0 |
| STR_LEN | 0 | fmt | 13-15,18,20-21,23,25-27,29,32-42,44-51,53-58,61,63-65,67-69,71,73-75,78-81,87,92,106,117,119,125,135,168 |
| STR_LEN | 0 | fmt | 13-15,18,20-21,23,25-27,29,32-42,44-51,53-58,61,63-65,67-69,71,73-75,78-81,87,92,106,117,119,125,135,168 |
| STR_LEN | 1 | *args | 13-15,18,20-21,23,25-27,29,32-42,44-51,53-58,61,63-65,67-69,71,73-75,78-81,87,92,106,117,119,125,135,168 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->cs_tfm_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| HALF_LOCKED2 | tfm_mutex |
lib/bug.c __warn_printf() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/rds/connection.c __rds_conn_path_error() -> vprintk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 3038364143661211648,3965346764286541824,8601021773390290944 |
| PARAM_VALUE | 1 | *args | 8601021773390290944,3038364143661211648,3965346764286541824 |
| BUF_SIZE | 0 | fmt | 23,36,68 |
| BUF_SIZE | 0 | fmt | 23,36,68 |
| BUF_SIZE | 1 | args | 8 |
| BUF_SIZE | 1 | args | 8 |
| DATA_SOURCE | 0 | fmt | $1 |
| PARAM_COMPARE | 0 | &fmt | == $1 |
| TERMINATED | 0 | fmt | 1 |
| TERMINATED | 1 | *args | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cp->cp_cm_lock | ||
| HALF_LOCKED2 | &pool->lock |