Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/bpf/log.c print_reg_state() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 1600416213378322432
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_bpf_check_exit() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 1562090839051894784
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte
LOCK2 global &bpf_devs_lock

drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_bpf_check_helper_call() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 6685553096627519488
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte
LOCK2 global &bpf_devs_lock

kernel/bpf/verifier.c __check_buffer_access() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 3679983053519609856
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c __check_ptr_off_reg() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 3568438557441265664
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_flow_keys_access() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 5296316278525431808
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_generic_ptr_alignment() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 5700603081847394304
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_pkt_ptr_alignment() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 9196226989155749888
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_ptr_to_btf_access() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 8602356547218239488
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_stack_access_for_ptr_arithmetic() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 3420130002928177152
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_stack_access_within_bounds() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 7950692078226292736
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_stack_range_initialized() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 8387343015705198592
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_stack_range_initialized() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 8387343015705198592
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte

kernel/bpf/verifier.c check_stack_read() -> tnum_strn()

Type Parameter Key Value
PARAM_VALUE 0 str 2526587078457376768
PARAM_VALUE 1 size 48
BUF_SIZE 0 str 48
BIT_INFO 2 a 0x0,0x0
NOCHECK_CALL
UNITS 1 size unit_byte