Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/hfsplus/unicode_test.c hfsplus_uni2asc_basic_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 5
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 6196280960073662464
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_basic_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 0
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 6196280960073662464
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_basic_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 1
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 6196280960073662464
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_buffer_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 13
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 9032363324306677760
PARAM_VALUE 3 *len_p 5
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_buffer_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 5
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 9032363324306677760
PARAM_VALUE 3 *len_p 5
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_buffer_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 4
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 9032363324306677760
PARAM_VALUE 3 *len_p 0
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_corrupted_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length u16max
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 1509501828515979264
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_edge_cases_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 255
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 8248311199873310720
PARAM_VALUE 3 *len_p 510
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_edge_cases_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 3
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 8248311199873310720
PARAM_VALUE 3 *len_p 510
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_special_chars_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 1
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 4738978707407552512
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_special_chars_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 1
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 4738978707407552512
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/unicode_test.c hfsplus_uni2asc_special_chars_test() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 ustr 4096-ptr_max
PARAM_VALUE 1 ustr->length 3
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 4738978707407552512
PARAM_VALUE 3 *len_p 256
BUF_SIZE 2 astr 10,256,265,510

fs/hfsplus/dir.c hfsplus_readdir() -> hfsplus_uni2asc_str()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 2 astr 4096-ptr_max
PARAM_VALUE 3 len_p 1739607315436228608
PARAM_VALUE 3 *len_p 1530
BUF_SIZE 2 astr 1531
BUF_SIZE 2 astr 1531
CAPPED_DATA 2 astr 1
DATA_SOURCE 2 astr r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem