Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

lib/tests/base64_kunit.c base64_variant_tests() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 5
PARAM_VALUE 2 dst 4399503113696530432
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src 5
BUF_SIZE 2 dst 128
UNITS 1 srclen unit_byte

lib/tests/base64_kunit.c base64_variant_tests() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 5
PARAM_VALUE 2 dst 4518880432030855168
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 1
BUF_SIZE 0 src 5
BUF_SIZE 2 dst 128
UNITS 1 srclen unit_byte

lib/tests/base64_kunit.c base64_variant_tests() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 5
PARAM_VALUE 2 dst 4399503113696530432
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src 5
BUF_SIZE 2 dst 128
TERMINATED 2 dst 1
UNITS 1 srclen unit_byte

lib/tests/base64_kunit.c base64_variant_tests() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 5
PARAM_VALUE 2 dst 7644230032651714560
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 0 src 5
BUF_SIZE 2 dst 128
UNITS 1 srclen unit_byte

lib/tests/base64_kunit.c bench_encode_ns() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 64,1024
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 padding 1
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src 64,1024
BUF_SIZE 0 src 64,1024
BUF_SIZE 2 dst 88,1368
BUF_SIZE 2 dst 88,1368
DATA_SOURCE 0 src $0
DATA_SOURCE 1 srclen $1
DATA_SOURCE 2 dst $2
DATA_SOURCE 4 variant $4
PARAM_COMPARE 0 src impossible $1
HARD_MAX 1 srclen 1024
NOCHECK_CALL

lib/tests/base64_kunit.c expect_encode_ok() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 0-6,12-13,26
PARAM_VALUE 2 dst 1240056066471968768
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src (-1),2-7,13-14,27
BUF_SIZE 0 src (-1),2-7,13-14,27
BUF_SIZE 2 dst 128
DATA_SOURCE 0 src $1
DATA_SOURCE 1 srclen $2
DATA_SOURCE 3 padding $4
DATA_SOURCE 4 variant $5
STR_LEN 0 src 0,2-4,6-8,16,18,20,35-36
STR_LEN 0 src 0,2-4,6-8,16,18,20,35-36
HARD_MAX 1 srclen 26

lib/tests/base64_kunit.c run_perf_and_check() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 64,1024
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 padding 1
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src 64,1024
BUF_SIZE 0 src 64,1024
BUF_SIZE 2 dst 88,1368
BUF_SIZE 2 dst 88,1368
DATA_SOURCE 0 src r _kmalloc_noprof
DATA_SOURCE 1 srclen $2
DATA_SOURCE 2 dst r _kmalloc_noprof
DATA_SOURCE 4 variant $3
HARD_MAX 1 srclen 1024
BYTE_COUNT 0 ==src1 8050

fs/ceph/crypto.c ceph_encode_encrypted_dname() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 16,4096-ptr_max
PARAM_VALUE 1 srclen 0-148,180
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 0 src 0-148,255
BUF_SIZE 0 src 0-148,255
BUF_SIZE 2 dst (-1),255-256
BUF_SIZE 2 dst (-1),255-256
CAPPED_DATA 0 src 1
CAPPED_DATA 1 srclen 1
DATA_SOURCE 0 src r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &mdsc->mutex

drivers/nvme/common/auth.c nvme_auth_generate_digest() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 7248126682396393472
PARAM_VALUE 1 srclen 32,48
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 padding 1
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src 64
BUF_SIZE 2 dst 45,65
BUF_SIZE 2 dst 45,65
DATA_SOURCE 1 srclen r nvme_auth_hmac_hash_len
DATA_SOURCE 2 dst r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

fs/crypto/fname.c fscrypt_fname_disk_to_usr() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 0 src 6656905798999187456
PARAM_VALUE 2 dst 0-ptr_max
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 1
BUF_SIZE 0 src 192
BUF_SIZE 2 dst s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 srclen unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ceph/dir.c prep_encrypted_symlink_target() -> base64_encode()

Type Parameter Key Value
PARAM_VALUE 2 dst 16,4096-ptr_max
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 2 dst 0-u32max
BUF_SIZE 2 dst 0-u32max
DATA_SOURCE 2 dst r _kmalloc_noprof
STR_LEN 0 src (-1)
STR_LEN 0 src (-1)
RX_PATH
TASK_NOT_RUNNING
UNITS 1 srclen unit_byte