Documented in 1 files:
Defined in 3 files as a prototype:
- arch/powerpc/boot/stdio.h, line 15 (as a prototype)
- arch/x86/boot/boot.h, line 296 (as a prototype)
- include/linux/sprintf.h, line 12 (as a prototype)
Defined in 5 files as a function:
- arch/alpha/boot/stdio.c, line 110 (as a function)
- arch/powerpc/boot/stdio.c, line 146 (as a function)
- arch/x86/boot/printf.c, line 113 (as a function)
- lib/vsprintf.c, line 3092 (as a function)
- tools/include/nolibc/stdio.h, line 780 (as a function)
Referenced in 12 files:
- arch/alpha/boot/stdio.c, line 299
- arch/alpha/lib/srm_printk.c, line 18
- arch/mips/fw/cfe/cfe_api.c, line 430
- arch/powerpc/boot/stdio.c, line 338
- arch/x86/boot/printf.c
- drivers/acpi/osl.c, line 162
- drivers/video/fbdev/cyber2000fb.h, line 26
- lib/vsprintf.c, line 3096
- net/bluetooth/hci_sock.c, line 705
- net/ceph/mon_client.c, line 1004
- sound/hda/common/codec.c, line 901
- tools/include/nolibc/stdio.h, line 792
Smatch caller information:
drivers/acpi/osl.c acpi_os_vprintf() -> vsprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7841916452101754880 |
| BUF_SIZE | 0 | buf | 512 |
| BUF_SIZE | 1 | fmt | (-1),2-5,8,12-17,20-27,29-43,45-56,58-62,64-70,72-73,75-76,79-81,86,90,93,116 |
| BUF_SIZE | 1 | fmt | (-1),2-5,8,12-17,20-27,29-43,45-56,58-62,64-70,72-73,75-76,79-81,86,90,93,116 |
| BUF_SIZE | 2 | args | 8 |
| BUF_SIZE | 2 | args | 8 |
| DATA_SOURCE | 1 | fmt | $0 |
| DATA_SOURCE | 2 | args | $1 |
| STR_LEN | 0 | buf | (-1),23-24,31,37-38,40,42,44,51,61,63,65,69,75 |
| STR_LEN | 1 | fmt | (-1),23-24,31,37-38,40,42,44,51,61,63,65,69,75 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/bluetooth/hci_sock.c send_monitor_note() -> vsprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4001623828984954880,5317561583080882176 |
| PARAM_VALUE | 2 | *args | 4001623828984954880,5317561583080882176 |
| BUF_SIZE | 1 | fmt | 22,34 |
| BUF_SIZE | 1 | fmt | 22,34 |
| BUF_SIZE | 2 | args | 8 |
| BUF_SIZE | 2 | args | 8 |
| DATA_SOURCE | 1 | fmt | $1 |
| CAPABLE | 0 | 13 | |
| PARAM_COMPARE | 1 | &fmt | == $2 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &o2nm_cluster_group.cs_subsys.su_mutex |
net/ceph/mon_client.c do_mon_command_vargs() -> vsprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 1374558343389962240,7487974886851526656 |
| PARAM_VALUE | 2 | *args | (-4611686018427387904) |
| BUF_SIZE | 1 | fmt | 81,83 |
| BUF_SIZE | 1 | fmt | 81,83 |
| BUF_SIZE | 2 | args | 8 |
| BUF_SIZE | 2 | args | 8 |
| DATA_SOURCE | 1 | fmt | $1 |
| DATA_SOURCE | 2 | args | $2 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | *args | 1 |
| LOCK2 | &monc->mutex | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
sound/hda/common/codec.c snd_hda_codec_device_init() -> vsprintf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6649325654376013824 |
| PARAM_VALUE | 1 | fmt | 304102320281882624,7293858418815873024,7470055537741836288 |
| PARAM_VALUE | 2 | *args | 304102320281882624,7470055537741836288,7293858418815873024 |
| BUF_SIZE | 0 | buf | 31 |
| BUF_SIZE | 1 | fmt | 14 |
| BUF_SIZE | 1 | fmt | 14 |
| BUF_SIZE | 2 | args | 8 |
| BUF_SIZE | 2 | args | 8 |
| DATA_SOURCE | 1 | fmt | $2 |
| PARAM_COMPARE | 1 | &fmt | == $2 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | *args | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |