Defined in 4 files as a prototype:

Defined in 2 files as a label:

Defined in 5 files as a function:

Referenced in 32 files:

Smatch caller information:

drivers/tty/serial/serial_core.c uart_line_info() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 1815323180014583808
PARAM_VALUE 2 count 0-30,u64max
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 5
STR_LEN 0 dest 0-31
STR_LEN 1 src 4
CAPABLE 0 21
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_line_info() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 7152481798191202304
PARAM_VALUE 2 count 0-30,u64max
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 5
STR_LEN 0 dest 0-31
STR_LEN 1 src 4
CAPABLE 0 21
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_line_info() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 895052570704961536
PARAM_VALUE 2 count 0-30,u64max
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 5
STR_LEN 0 dest 0-31
STR_LEN 1 src 4
CAPABLE 0 21
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_line_info() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 940328053954084864
PARAM_VALUE 2 count 0-30,u64max
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 5
STR_LEN 0 dest 0-31
STR_LEN 1 src 4
CAPABLE 0 21
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_line_info() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 2194961780115312640
PARAM_VALUE 2 count 0-30,u64max
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 4
STR_LEN 0 dest 0-31
STR_LEN 1 src 3
CAPABLE 0 21
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_line_info() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 1385027728038567936
PARAM_VALUE 2 count 0-30,u64max
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 4
STR_LEN 0 dest 0-31
STR_LEN 1 src 3
CAPABLE 0 21
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

lib/tests/string_kunit.c string_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1037267761143304192
PARAM_VALUE 1 src 4602998933304729600
PARAM_VALUE 2 count 0
BUF_SIZE 0 dest 8
STR_LEN 0 dest 0-7
STR_LEN 1 src 0
TERMINATED 1 src 1

lib/tests/string_kunit.c string_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1037267761143304192
PARAM_VALUE 1 src 4602998933304729600
PARAM_VALUE 2 count 1
BUF_SIZE 0 dest 8
STR_LEN 0 dest 0-7
STR_LEN 1 src 0
TERMINATED 1 src 1

lib/tests/string_kunit.c string_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1037267761143304192
PARAM_VALUE 1 src 4179992343711313920
PARAM_VALUE 2 count 0
BUF_SIZE 0 dest 8
BUF_SIZE 1 src 5
STR_LEN 0 dest 0-7
STR_LEN 1 src 4
TERMINATED 1 src 1

lib/tests/string_kunit.c string_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1037267761143304192
PARAM_VALUE 1 src 8570528380950990848
PARAM_VALUE 2 count 8
BUF_SIZE 0 dest 8
BUF_SIZE 1 src 9
STR_LEN 0 dest 0-7
STR_LEN 1 src 8
TERMINATED 1 src 1

lib/tests/string_kunit.c string_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1037267761143304192
PARAM_VALUE 1 src 8816130519009292288
PARAM_VALUE 2 count 2
BUF_SIZE 0 dest 8
BUF_SIZE 1 src 5
STR_LEN 0 dest 0-7
STR_LEN 1 src 4
TERMINATED 1 src 1

drivers/acpi/acpica/utnonansi.c acpi_ut_safe_strncat() -> strncat()

Type Parameter Key Value
DATA_SOURCE 0 dest $0
DATA_SOURCE 1 src $2
DATA_SOURCE 2 count $3
STR_LEN 0 dest 0-18446744073709551613
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnge/bnge_devlink.c bnge_devlink_info_get() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1997946782113779712
PARAM_VALUE 2 count 16
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 16
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/broadcom/bnge/bnge_devlink.c bnge_devlink_info_get() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 1997946782113779712
PARAM_VALUE 2 count 16
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 16
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c bnxt_dl_info_get() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 6151835442003714048
PARAM_VALUE 2 count 16
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 16
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dl->lock

drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c bnxt_dl_info_get() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 6151835442003714048
PARAM_VALUE 2 count 16
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 16
TERMINATED 0 dest 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dl->lock

fs/nfs/sysfs.c nfs_sysfs_link_rpc_client() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4270254627110154240
PARAM_VALUE 1 src 4602998933304729600,7270039232639864832
BUF_SIZE 0 dest 64
BUF_SIZE 1 src 1,7
STR_LEN 0 dest 0-18446744073709551613
STR_LEN 1 src (-1)-0
BIT_INFO 1 src 0x24e0022060210000,0x7fe57f2deda77000
TERMINATED 1 src 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte

fs/nfs/sysfs.c nfs_sysfs_link_rpc_client() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4270254627110154240
PARAM_VALUE 1 src 3730623960556646400
BUF_SIZE 0 dest 64
BUF_SIZE 1 src 8
STR_LEN 0 dest 0-18446744073709551613
STR_LEN 1 src 7
TERMINATED 1 src 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte

drivers/net/ethernet/cavium/liquidio/octeon_console.c octeon_download_firmware() -> strncat()

Type Parameter Key Value
PARAM_VALUE 1 src 5973414491359678464
PARAM_VALUE 2 count 0-1024
BUF_SIZE 0 dest 1024
BUF_SIZE 1 src 80
CAPPED_DATA 2 count 1
STR_LEN 0 dest 79
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 count unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/broadcom/tg3.c tg3_read_sb_ver() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 6091421656922738688
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 3
STR_LEN 0 dest 0-18446744073709551613
STR_LEN 1 src 2
TERMINATED 1 src 1
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_scheduler.c drm_sched_scheduler_many_clients_test() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 16,4096-ptr_max
PARAM_VALUE 1 src 7785243628420575232
PARAM_VALUE 2 count 4096
BUF_SIZE 0 dest 4096
BUF_SIZE 0 dest 4096
BUF_SIZE 1 src 16
DATA_SOURCE 0 dest r kunit_kmalloc
STR_LEN 0 dest 15
MEM_ZERO 0 dest
NOCHECK_CALL
UNITS 2 count unit_byte

lib/tests/fortify_kunit.c fortify_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 count 15
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 32

lib/tests/fortify_kunit.c fortify_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 count 15
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 32

lib/tests/fortify_kunit.c fortify_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 count 1
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 32

lib/tests/fortify_kunit.c fortify_test_strncat() -> strncat()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 count 1
BUF_SIZE 0 dest 32
BUF_SIZE 1 src 32