Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 2 | blk_size | 512 |
| PARAM_VALUE | 3 | exp_result10 | 4238369878639869952 |
| PARAM_VALUE | 4 | exp_result2 | 4238369878639869952 |
| BUF_SIZE | 3 | exp_result10 | 4 |
| BUF_SIZE | 4 | exp_result2 | 4 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 3 |
| STR_LEN | 1 | size | 3 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 1 |
| PARAM_VALUE | 2 | blk_size | 512 |
| PARAM_VALUE | 3 | exp_result10 | 6710878223777730560 |
| PARAM_VALUE | 4 | exp_result2 | 6710878223777730560 |
| BUF_SIZE | 3 | exp_result10 | 6 |
| BUF_SIZE | 4 | exp_result2 | 6 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 5 |
| STR_LEN | 1 | size | 5 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 1100 |
| PARAM_VALUE | 2 | blk_size | 1 |
| PARAM_VALUE | 3 | exp_result10 | 1824885824804147200 |
| PARAM_VALUE | 4 | exp_result2 | 8349801745765658624 |
| BUF_SIZE | 3 | exp_result10 | 8 |
| BUF_SIZE | 4 | exp_result2 | 9 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 7 |
| STR_LEN | 1 | size | 8 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 16384 |
| PARAM_VALUE | 2 | blk_size | 512 |
| PARAM_VALUE | 3 | exp_result10 | 354316394623729664 |
| PARAM_VALUE | 4 | exp_result2 | 396784491418370048 |
| BUF_SIZE | 3 | exp_result10 | 8 |
| BUF_SIZE | 4 | exp_result2 | 9 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 7 |
| STR_LEN | 1 | size | 8 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 500118192 |
| PARAM_VALUE | 2 | blk_size | 512 |
| PARAM_VALUE | 3 | exp_result10 | 5986799888439046144 |
| PARAM_VALUE | 4 | exp_result2 | 5191171730464370688 |
| BUF_SIZE | 3 | exp_result10 | 7 |
| BUF_SIZE | 4 | exp_result2 | 8 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 6 |
| STR_LEN | 1 | size | 7 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 8192 |
| PARAM_VALUE | 2 | blk_size | 4096 |
| PARAM_VALUE | 3 | exp_result10 | 4668086781996244992 |
| PARAM_VALUE | 4 | exp_result2 | 4688579580175282176 |
| BUF_SIZE | 3 | exp_result10 | 8 |
| BUF_SIZE | 4 | exp_result2 | 9 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 7 |
| STR_LEN | 1 | size | 8 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 3000 |
| PARAM_VALUE | 2 | blk_size | 1900 |
| PARAM_VALUE | 3 | exp_result10 | 7998792163830992896 |
| PARAM_VALUE | 4 | exp_result2 | 2599397730951344128 |
| BUF_SIZE | 3 | exp_result10 | 8 |
| BUF_SIZE | 4 | exp_result2 | 9 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 7 |
| STR_LEN | 1 | size | 8 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | u64max |
| PARAM_VALUE | 2 | blk_size | 4096 |
| PARAM_VALUE | 3 | exp_result10 | 5386967083722338304 |
| PARAM_VALUE | 4 | exp_result2 | 2562352674469408768 |
| BUF_SIZE | 3 | exp_result10 | 8 |
| BUF_SIZE | 4 | exp_result2 | 9 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 7 |
| STR_LEN | 1 | size | 8 |
| NOCHECK_CALL |
lib/tests/string_helpers_kunit.c test_get_size() -> __test_string_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5498468290504097792,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,482 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | blk_size | u64max |
| PARAM_VALUE | 3 | exp_result10 | 5386967083722338304 |
| PARAM_VALUE | 4 | exp_result2 | 2562352674469408768 |
| BUF_SIZE | 3 | exp_result10 | 8 |
| BUF_SIZE | 4 | exp_result2 | 9 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 7 |
| STR_LEN | 1 | size | 8 |
| NOCHECK_CALL |