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_decode()

Type Parameter Key Value
PARAM_VALUE 0 src 4518880432030855168
PARAM_VALUE 2 dst 6556456457060864000
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 1
BUF_SIZE 0 src 128
BUF_SIZE 2 dst 128
DATA_SOURCE 1 srclen r base64_encode
TERMINATED 0 src 1

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

Type Parameter Key Value
PARAM_VALUE 0 src 7644230032651714560
PARAM_VALUE 2 dst 6556456457060864000
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 0 src 128
BUF_SIZE 2 dst 128
DATA_SOURCE 1 srclen r base64_encode
TERMINATED 0 src 1

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

Type Parameter Key Value
PARAM_VALUE 0 src 8181236912958787584
PARAM_VALUE 1 srclen 4
PARAM_VALUE 2 dst 5007608599782412288
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 1
BUF_SIZE 0 src 5
BUF_SIZE 0 src 5
BUF_SIZE 2 dst 8
STR_LEN 0 src 4
STR_LEN 0 src 4
TERMINATED 0 src 1

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

Type Parameter Key Value
PARAM_VALUE 0 src 8181236912958787584
PARAM_VALUE 1 srclen 4
PARAM_VALUE 2 dst 5007608599782412288
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 0 src 5
BUF_SIZE 0 src 5
BUF_SIZE 2 dst 8
STR_LEN 0 src 4
STR_LEN 0 src 4
TERMINATED 0 src 1

lib/tests/base64_kunit.c bench_decode_ns() -> base64_decode()

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

lib/tests/base64_kunit.c expect_decode_err() -> base64_decode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 2-5,8
PARAM_VALUE 2 dst 3560782611383214080
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src 3-6,9
BUF_SIZE 0 src 3-6,9
BUF_SIZE 2 dst 64
DATA_SOURCE 0 src $1
DATA_SOURCE 1 srclen $2
DATA_SOURCE 3 padding $3
DATA_SOURCE 4 variant $4
TERMINATED 0 src 1
HARD_MAX 1 srclen 8

lib/tests/base64_kunit.c expect_decode_ok() -> base64_decode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen 0-6,12-13,26
PARAM_VALUE 2 dst 525969959652864000
PARAM_VALUE 4 variant 0
BUF_SIZE 0 src (-1),3-5,7-9,17,19,21,36-37
BUF_SIZE 0 src (-1),3-5,7-9,17,19,21,36-37
BUF_SIZE 2 dst 128
DATA_SOURCE 0 src $1
DATA_SOURCE 3 padding $4
DATA_SOURCE 4 variant $5
STR_LEN 0 src 0-6,12-13,26
STR_LEN 0 src 0-6,12-13,26
TERMINATED 0 src 1

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

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

fs/ceph/crypto.c ceph_fname_to_usr() -> base64_decode()

Type Parameter Key Value
PARAM_VALUE 1 srclen 0-s32max
PARAM_VALUE 2 dst 0,4096-ptr_max
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 2 dst s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 srclen 0-255[c]
HALF_LOCKED2 &mdsc->mutex
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &req->r_fill_mutex
HALF_LOCKED2 &session->s_mutex

fs/ceph/inode.c decode_encrypted_symlink() -> base64_decode()

Type Parameter Key Value
PARAM_VALUE 1 srclen (-1)-3999999
PARAM_VALUE 2 dst 16,4096-ptr_max
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 2
BUF_SIZE 2 dst 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 dst 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 src $1
DATA_SOURCE 1 srclen $2
DATA_SOURCE 2 dst r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==dst1 8052
LOCK2 &mdsc->snap_rwsem
HALF_LOCKED2 &req->r_fill_mutex
HALF_LOCKED2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem

drivers/nvme/common/auth.c nvme_auth_extract_key() -> base64_decode()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 3 padding 1
PARAM_VALUE 4 variant 0
CAPPED_DATA 1 srclen 1
DATA_SOURCE 0 src $0
STR_LEN 0 src 0-u32max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 srclen
HALF_LOCKED2 global &nvmet_config_sem

fs/crypto/fname.c fscrypt_setup_filename() -> base64_decode()

Type Parameter Key Value
PARAM_VALUE 1 srclen 0-252
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 padding 0
PARAM_VALUE 4 variant 1
BUF_SIZE 0 src s32min-(-2),1-s32max
BUF_SIZE 2 dst 189
BUF_SIZE 2 dst 189
DATA_SOURCE 2 dst r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 src unit_byte
UNITS 1 srclen unit_byte
HALF_LOCKED2 &target->i_rwsem