Documented in 1 files:
Defined in 3 files as a prototype:
- arch/um/os-Linux/util.c, line 182 (as a prototype)
- include/linux/sprintf.h, line 16 (as a prototype)
- tools/include/linux/kernel.h, line 86 (as a prototype)
Defined in 2 files as a function:
Referenced in 37 files:
- arch/sparc/prom/printf.c, line 66
- arch/um/os-Linux/util.c
- drivers/ata/libata-eh.c, line 178
- drivers/block/drbd/drbd_nl.c, line 98
- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c, line 230
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c, line 575
- drivers/gpu/drm/i915/gt/intel_reset.c, line 1488
- drivers/gpu/drm/i915/i915_gpu_error.c, line 148
- drivers/gpu/drm/msm/msm_rd.c, line 355
- drivers/gpu/host1x/debug.c
- drivers/leds/led-triggers.c, line 93
- drivers/net/ethernet/microchip/vcap/vcap_api_debugfs_kunit.c, line 273
- drivers/net/wireless/ti/wlcore/debugfs.c, line 39
- drivers/s390/net/ctcm_dbug.c, line 73
- drivers/s390/net/qeth_core_main.c, line 6122
- drivers/scsi/BusLogic.c, line 3450
- drivers/scsi/lpfc/lpfc_init.c, line 15789
- drivers/scsi/scsi_logging.c
- drivers/staging/fbtft/fbtft-core.c, line 60
- drivers/virt/vboxguest/vboxguest_utils.c, line 48
- fs/sysfs/file.c
- kernel/bpf/log.c, line 66
- kernel/panic.c, line 635
- kernel/printk/printk.c
- kernel/sched/ext/ext.c
- kernel/trace/blktrace.c, line 266
- kernel/trace/trace_printk.c, line 691
- kernel/vmcore_info.c, line 104
- lib/vsprintf.c
- net/iucv/iucv.c, line 97
- net/mac80211/debugfs.c, line 28
- net/tipc/netlink_compat.c, line 140
- tools/lib/vsprintf.c, line 34
- tools/perf/builtin-trace.c, line 1042
- tools/perf/ui/gtk/helpline.c, line 34
- tools/perf/ui/tui/helpline.c, line 36
- tools/perf/util/color.c, line 30
Smatch caller information:
kernel/bpf/log.c bpf_verifier_vlog() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1024 |
| BUF_SIZE | 0 | buf | 1024 |
| BUF_SIZE | 2 | fmt | (-1),2-43,45-56,58-59,61-69,74,79,85,88,92,149 |
| BUF_SIZE | 2 | fmt | (-1),2-43,45-56,58-59,61-69,74,79,85,88,92,149 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| DATA_SOURCE | 3 | args | $2 |
| STR_LEN | 0 | buf | (-1)-19,21,24,26,28-29,31-33,35-36,38-39,41-42,44-45,48,50-52,54,63,67 |
| STR_LEN | 2 | fmt | (-1)-19,21,24,26,28-29,31-33,35-36,38-39,41-42,44-45,48,50-52,54,63,67 |
| RX_PATH |
kernel/panic.c vpanic() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1065782434005569536 |
| PARAM_VALUE | 1 | size | 1024 |
| BUF_SIZE | 0 | buf | 1024 |
| BUF_SIZE | 2 | fmt | (-1),39,43,52,64 |
| BUF_SIZE | 2 | fmt | (-1),39,43,52,64 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| DATA_SOURCE | 3 | args | $1 |
| STR_LEN | 0 | buf | (-1),3-6 |
| STR_LEN | 2 | fmt | (-1),3-6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | irq |
drivers/gpu/host1x/debug.c host1x_debug_cont() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 256 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 256 |
| BUF_SIZE | 2 | fmt | 2,4-5,7,9-10,17,19-20,22-25,28-29,31,44,59 |
| BUF_SIZE | 2 | fmt | 2,4-5,7,9-10,17,19-20,22-25,28-29,31,44,59 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| STR_LEN | 0 | buf | (-1),2-3,6,9 |
| STR_LEN | 2 | fmt | (-1),2-3,6,9 |
| STR_LEN | 3 | *args | (-1),2-3,6,9 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &ch->cdma.lock | ||
| HALF_LOCKED2 | global &debug_lock |
drivers/gpu/host1x/debug.c host1x_debug_output() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 256 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 256 |
| BUF_SIZE | 2 | fmt | 2,7-9,11,14-15,17-20,23,25-26,28-29,32,37,39,42,57,62 |
| BUF_SIZE | 2 | fmt | 2,7-9,11,14-15,17-20,23,25-26,28-29,32,37,39,42,57,62 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &ch->cdma.lock | ||
| HALF_LOCKED2 | global &debug_lock |
drivers/block/drbd/drbd_nl.c drbd_msg_sprintf_info() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 256 |
| PARAM_VALUE | 2 | fmt | 5236946990819901440 |
| PARAM_VALUE | 3 | *args | 5236946990819901440 |
| BUF_SIZE | 2 | fmt | 118 |
| BUF_SIZE | 2 | fmt | 118 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *buf | 0-255 |
| USER_PTR | 0 | buf | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
lib/vsprintf.c scnprintf() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | size | $1 |
| DATA_SOURCE | 2 | fmt | $2 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
drivers/staging/fbtft/fbtft-core.c fbtft_dbg_hex() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7069676761579905024 |
| PARAM_VALUE | 1 | size | 512 |
| PARAM_VALUE | 2 | fmt | 1489433171383590912,1673419594329243648,1765511414110334976,3420170281568141312,3620058467616952320 |
| PARAM_VALUE | 3 | *args | 1765511414110334976,1489433171383590912,3420170281568141312,3620058467616952320,1673419594329243648 |
| BUF_SIZE | 0 | buf | 512 |
| BUF_SIZE | 0 | buf | 512 |
| BUF_SIZE | 2 | fmt | 5,14,20,22 |
| BUF_SIZE | 2 | fmt | 5,14,20,22 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $4 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
kernel/printk/printk.c console_prepend_message() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 1024 |
| PARAM_VALUE | 2 | fmt | 1618353354249342976,2389652368676184064 |
| PARAM_VALUE | 3 | *args | 2389652368676184064,1618353354249342976 |
| BUF_SIZE | 0 | buf | 1024 |
| BUF_SIZE | 0 | buf | 1024 |
| BUF_SIZE | 2 | fmt | 35,41 |
| BUF_SIZE | 2 | fmt | 35,41 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
kernel/printk/printk.c early_printk() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3716503809173676032 |
| PARAM_VALUE | 1 | size | 512 |
| PARAM_VALUE | 2 | fmt | 411209283530964992,1352360607707996160,6168766317287149568,7618427281557639168,7825763282927616000,8347350738675638272 |
| PARAM_VALUE | 3 | *args | 7618427281557639168,1352360607707996160,411209283530964992,6168766317287149568,7825763282927616000,8347350738675638272 |
| BUF_SIZE | 0 | buf | 512 |
| BUF_SIZE | 2 | fmt | 3,62,67,72-73,95 |
| BUF_SIZE | 2 | fmt | 3,62,67,72-73,95 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| STR_LEN | 0 | buf | 2,61,66,71-72,94 |
| STR_LEN | 2 | fmt | 2,61,66,71-72,94 |
| STR_LEN | 3 | *args | 2,61,66,71-72,94 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | rcu_read |
kernel/printk/printk.c printk_sprint() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-1024 |
| BUF_SIZE | 2 | fmt | (-1),2-4,6,8-59,62,64-70,72,74-77,79-82,85,88,93,95,102,107,115-116,118,120,126,136,154,169 |
| BUF_SIZE | 2 | fmt | (-1),2-4,6,8-59,62,64-70,72,74-77,79-82,85,88,93,95,102,107,115-116,118,120,126,136,154,169 |
| BUF_SIZE | 3 | args | (-1),8 |
| BUF_SIZE | 3 | args | (-1),8 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | size | $1 |
| DATA_SOURCE | 2 | fmt | $4 |
| DATA_SOURCE | 3 | args | $5 |
| FUZZY_MAX | 1 | size | 1024 |
| STR_LEN | 0 | buf | (-1)-0,2-42,44-58,60-61,63-71,73-81,83-84,87,92,106,117,119,125,135,150,153,168 |
| STR_LEN | 0 | buf | (-1)-0,2-42,44-58,60-61,63-71,73-81,83-84,87,92,106,117,119,125,135,150,153,168 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | e.irqflags | ||
| LOCK2 | irqflags |
drivers/ata/libata-eh.c __ata_ehi_pushv_desc() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | 2-4,7-22,24-27,29,32,34-35,37,43,49-51,60 |
| BUF_SIZE | 2 | fmt | 2-4,7-22,24-27,29,32,34-35,37,43,49-51,60 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| DATA_SOURCE | 3 | args | $2 |
| STR_LEN | 0 | buf | (-1),2,4,6-7,9,12,15-16,25 |
| STR_LEN | 2 | fmt | (-1),2,4,6-7,9,12,15-16,25 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_smi_events.c kfd_smi_event_add() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-96 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | 7,11,16,22,26,33,36 |
| BUF_SIZE | 2 | fmt | 7,11,16,22,26,33,36 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 2 | fmt | $3 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | &svms->lock |
drivers/gpu/drm/i915/i915_gpu_error.c i915_error_vprintf() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | 1-s32max |
| BUF_SIZE | 2 | fmt | 1-s32max |
| BUF_SIZE | 3 | args | (-1),8 |
| BUF_SIZE | 3 | args | (-1),8 |
| DATA_SOURCE | 2 | fmt | $1 |
| DATA_SOURCE | 3 | args | $2 |
| STR_LEN | 0 | buf | (-1),6,28,61,72,96 |
| STR_LEN | 2 | fmt | (-1),6,28,61,72,96 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/BusLogic.c blogic_msg() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1326194250814775296 |
| PARAM_VALUE | 1 | size | 100 |
| BUF_SIZE | 0 | buf | 100 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| UNITS | 1 | size | unit_byte |
kernel/trace/blktrace.c __blk_trace_note_message() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 128 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | 3,13,15-29,31-32,34-38,40-43,45-46,52-53,55,57-58,63-64,74,77 |
| BUF_SIZE | 2 | fmt | 3,13,15-29,31-32,34-38,40-43,45-46,52-53,55,57-58,63-64,74,77 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $2 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &bdev->bd_queue->rq_qos_mutex | ||
| HALF_LOCKED2 | &bfqd->lock | ||
| HALF_LOCKED2 | &blkcg->lock | ||
| HALF_LOCKED2 | &conf->resync_lock | ||
| HALF_LOCKED2 | &conf->resync_lock.lock | ||
| HALF_LOCKED2 | &mddev->bitmap_info.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &q->elevator_lock | ||
| HALF_LOCKED2 | &q->queue_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
drivers/leds/led-triggers.c led_trigger_snprintf() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-u32max |
| PARAM_VALUE | 2 | fmt | 1683001744199286784,2025182133318025216,3018497645153456128,8347350738675638272 |
| PARAM_VALUE | 3 | *args | 3018497645153456128,2025182133318025216,8347350738675638272,1683001744199286784 |
| BUF_SIZE | 2 | fmt | 2-3,8-9 |
| BUF_SIZE | 2 | fmt | 2-3,8-9 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | size | $1 |
| DATA_SOURCE | 2 | fmt | $2 |
| STR_LEN | 0 | buf | 1-2,7-8 |
| STR_LEN | 0 | buf | 1-2,7-8 |
| STR_LEN | 1 | size | (-1)-1,4,6 |
| STR_LEN | 2 | fmt | (-1)-1 |
| STR_LEN | 2 | fmt | (-1)-1 |
| STR_LEN | 3 | *args | (-1)-1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_COUNT | 0 | ==buf1 | 8051 |
| LOCK2 | &led_cdev->trigger_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &triggers_list_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct led_classdev)->trigger_lock |
fs/sysfs/file.c sysfs_emit() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | size | 4096 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| BIT_INFO | 0 | buf | 0x0,0xfffffffffffff000 |
| BIT_INFO | 0 | buf | 0x0,0xfffffffffffff000 |
| UNITS | 1 | size | unit_byte |
fs/sysfs/file.c sysfs_emit_at() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 1-4096 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $2 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | size | unit_byte |
net/mac80211/debugfs.c mac80211_format_buffer() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3779086118661042176 |
| PARAM_VALUE | 1 | size | 100 |
| PARAM_VALUE | 2 | fmt | 199419505806180352,841032338041667584,1214867394655535104,2911178030490247168,6907577036787400704 |
| PARAM_VALUE | 3 | *args | 6907577036787400704,841032338041667584,2911178030490247168,199419505806180352,1214867394655535104 |
| BUF_SIZE | 0 | buf | 100 |
| BUF_SIZE | 2 | fmt | 4,6-7 |
| BUF_SIZE | 2 | fmt | 4,6-7 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $3 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| UNITS | 1 | size | unit_byte |
drivers/scsi/lpfc/lpfc_init.c lpfc_dbg_print() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 256 |
| BUF_SIZE | 0 | buf | 256 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_printk.c __trace_array_vprintk() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | size | 1024 |
| BUF_SIZE | 0 | buf | 1024 |
| BUF_SIZE | 0 | buf | 1024 |
| BUF_SIZE | 2 | fmt | (-1),12-13,16,20,22-23,28,30-31,34,40,46,49,60 |
| BUF_SIZE | 2 | fmt | (-1),12-13,16,20,22-23,28,30-31,34,40,46,49,60 |
| BUF_SIZE | 3 | args | (-1),8 |
| BUF_SIZE | 3 | args | (-1),8 |
| DATA_SOURCE | 0 | buf | r get_trace_buf |
| DATA_SOURCE | 2 | fmt | $2 |
| DATA_SOURCE | 3 | args | $3 |
| STR_LEN | 0 | buf | (-1),15,19,29-30,48 |
| STR_LEN | 2 | fmt | (-1),15,19,29-30,48 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c dm_dtn_log_append_v() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | 2-3,6,11-12,21-24,28-29,33-34,38,41,44,52-53,57-58,63,65,70,73,77,79-80,82,84,88,94,97,102,104,110,128,130,132,134,149,157,187,192,208,228,230,238,254,264,296,479 |
| BUF_SIZE | 2 | fmt | 2-3,6,11-12,21-24,28-29,33-34,38,41,44,52-53,57-58,63,65,70,73,77,79-80,82,84,88,94,97,102,104,110,128,130,132,134,149,157,187,192,208,228,230,238,254,264,296,479 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $2 |
| STR_LEN | 0 | buf | (-1),3-7 |
| STR_LEN | 2 | fmt | (-1),3-7 |
| STR_LEN | 3 | *args | (-1),3-7 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/virt/vboxguest/vboxguest_utils.c vbg_err() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2620180650029924352 |
| PARAM_VALUE | 1 | size | 128 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 128 |
| BUF_SIZE | 2 | fmt | 14,18-19,25,27,31,33,37-39,43-44,46-53,55,59,61,64,68,87,107 |
| BUF_SIZE | 2 | fmt | 14,18-19,25,27,31,33,37-39,43-44,46-53,55,59,61,64,68,87,107 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| STR_LEN | 0 | buf | 13,17-18,24,26,30,32,36-38,42-43,45-52,54,58,60,63,67,86,106 |
| STR_LEN | 2 | fmt | 13,17-18,24,26,30,32,36-38,42-43,45-52,54,58,60,63,67,86,106 |
| STR_LEN | 3 | *args | 13,17-18,24,26,30,32,36-38,42-43,45-52,54,58,60,63,67,86,106 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &vbg_log_lock | ||
| HALF_LOCKED2 | &gdev->session_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | global &vboxsf_setup_mutex |
drivers/virt/vboxguest/vboxguest_utils.c vbg_err_ratelimited() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2620180650029924352 |
| PARAM_VALUE | 1 | size | 128 |
| PARAM_VALUE | 2 | fmt | 4336637672297906176 |
| PARAM_VALUE | 3 | *args | 4336637672297906176 |
| BUF_SIZE | 0 | buf | 128 |
| BUF_SIZE | 2 | fmt | 43 |
| BUF_SIZE | 2 | fmt | 43 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| STR_LEN | 0 | buf | 42 |
| STR_LEN | 2 | fmt | 42 |
| STR_LEN | 3 | *args | 42 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 1 | size | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &vbg_log_lock |
drivers/virt/vboxguest/vboxguest_utils.c vbg_info() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2620180650029924352 |
| PARAM_VALUE | 1 | size | 128 |
| PARAM_VALUE | 2 | fmt | 1029349938509148160,4335781641128652800,6052593262620409856 |
| PARAM_VALUE | 3 | *args | 1029349938509148160,6052593262620409856,4335781641128652800 |
| BUF_SIZE | 0 | buf | 128 |
| BUF_SIZE | 2 | fmt | 5,33,59 |
| BUF_SIZE | 2 | fmt | 5,33,59 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| STR_LEN | 0 | buf | 4,32,58 |
| STR_LEN | 2 | fmt | 4,32,58 |
| STR_LEN | 3 | *args | 4,32,58 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &vbg_log_lock |
drivers/virt/vboxguest/vboxguest_utils.c vbg_warn() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2620180650029924352 |
| PARAM_VALUE | 1 | size | 128 |
| PARAM_VALUE | 2 | fmt | 912703192052715520,6484672039185547264 |
| PARAM_VALUE | 3 | *args | 912703192052715520,6484672039185547264 |
| BUF_SIZE | 0 | buf | 128 |
| BUF_SIZE | 2 | fmt | 22,37 |
| BUF_SIZE | 2 | fmt | 22,37 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| STR_LEN | 0 | buf | 21,36 |
| STR_LEN | 2 | fmt | 21,36 |
| STR_LEN | 3 | *args | 21,36 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &vbg_log_lock | ||
| HALF_LOCKED2 | global &vboxsf_setup_mutex |
drivers/net/wireless/ti/wlcore/debugfs.c wl1271_format_buffer() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3892319550229262336 |
| PARAM_VALUE | 1 | size | 256 |
| BUF_SIZE | 0 | buf | 256 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $3 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| UNITS | 1 | size | unit_byte |
drivers/net/ethernet/microchip/vcap/vcap_api_debugfs.c test_prf() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3078986631847669760 |
| PARAM_VALUE | 1 | size | 350 |
| BUF_SIZE | 0 | buf | 350 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
kernel/vmcore_info.c vmcoreinfo_append_str() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6557678064126320640 |
| PARAM_VALUE | 1 | size | 80 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 80 |
| BUF_SIZE | 2 | fmt | 14,16-19,29,31 |
| BUF_SIZE | 2 | fmt | 14,16-19,29,31 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $0 |
| STR_LEN | 0 | buf | 13,15-18,28,30 |
| STR_LEN | 2 | fmt | 13,15-18,28,30 |
| STR_LEN | 3 | *args | 13,15-18,28,30 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_handle_error() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8964925761494290432 |
| PARAM_VALUE | 1 | size | 80 |
| PARAM_VALUE | 2 | fmt | 463737739475226624,833719978011729920,894346823855128576,2029608704366809088,4213579386036543488,7674033810213396480,7844671444972589056,9031825929235574784 |
| PARAM_VALUE | 3 | *args | 4213579386036543488,894346823855128576,7844671444972589056,2029608704366809088,833719978011729920,463737739475226624,7674033810213396480,9031825929235574784 |
| BUF_SIZE | 0 | buf | 80 |
| BUF_SIZE | 2 | fmt | 9,15,19,22,24,27,35,37 |
| BUF_SIZE | 2 | fmt | 9,15,19,22,24,27,35,37 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $3 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &attr->mutex |
net/tipc/netlink_compat.c tipc_tlv_sprintf() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | (-1),2,4,7,9-10,12-14,20-22,29-30,37-38,45,47,50-51 |
| BUF_SIZE | 2 | fmt | (-1),2,4,7,9-10,12-14,20-22,29-30,37-38,45,47,50-51 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 1 | size | r tipc_skb_tailroom |
| DATA_SOURCE | 2 | fmt | $1 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| BIT_INFO | 1 | size | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *buf | 0-255 |
| UNITS | 0 | buf | unit_byte |
| USER_PTR | 0 | buf |
drivers/scsi/scsi_logging.c scmd_printk() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-128 |
| PARAM_VALUE | 2 | fmt | 4096-ptr_max |
| BUF_SIZE | 2 | fmt | 7,13-49,51-53,55,57,59,61,63,66-67,70,72-73,85,108 |
| BUF_SIZE | 2 | fmt | 7,13-49,51-53,55,57,59,61,63,66-67,70,72-73,85,108 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $2 |
| STR_LEN | 0 | buf | (-1)-0,6-8,11,51 |
| STR_LEN | 2 | fmt | (-1)-0,6-8,11,51 |
| STR_LEN | 3 | *args | (-1)-0,6-8,11,51 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(&shpnt->hostdata)->lock | ||
| HALF_LOCKED2 | &adapter->hw_lock | ||
| HALF_LOCKED2 | &ahc->platform_data->spin_lock | ||
| HALF_LOCKED2 | &ahd->platform_data->spin_lock | ||
| HALF_LOCKED2 | &cb->queue_lock | ||
| HALF_LOCKED2 | &hostdata->lock | ||
| HALF_LOCKED2 | &instance->reset_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | scmd->device->host->host_lock | ||
| HALF_LOCKED2 | shost->host_lock |
drivers/scsi/scsi_logging.c sdev_prefix_printk() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-128 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $3 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
drivers/gpu/drm/msm/msm_rd.c msm_rd_dump_submit() -> vscnprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3339404052083945472 |
| PARAM_VALUE | 1 | size | 256 |
| PARAM_VALUE | 2 | fmt | 6753044466548699136 |
| PARAM_VALUE | 3 | *args | 6753044466548699136 |
| BUF_SIZE | 0 | buf | 256 |
| BUF_SIZE | 2 | fmt | 24 |
| BUF_SIZE | 2 | fmt | 24 |
| BUF_SIZE | 3 | args | 8 |
| BUF_SIZE | 3 | args | 8 |
| DATA_SOURCE | 2 | fmt | $2 |
| PARAM_COMPARE | 2 | &fmt | == $3 |
| TERMINATED | 2 | fmt | 1 |
| TERMINATED | 3 | *args | 1 |
| UNITS | 1 | size | unit_byte |
| LOCK2 | &gpu->lock | ||
| LOCK2 | &rd->write_lock | ||
| TYPE_LOCK | (struct msm_gpu)->lock | ||
| TYPE_LOCK | (struct msm_rd_state)->write_lock |