Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/hfsplus/attributes.c, line 45
- fs/hfsplus/catalog.c, line 39
- fs/hfsplus/unicode.c, line 117
- fs/hfsplus/unicode_test.c
Smatch caller information:
fs/hfsplus/attributes.c hfsplus_attr_bin_cmp_key() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | s1 | 256 |
| BUF_SIZE | 1 | s2 | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bnode->tree->hash_lock | ||
| HALF_LOCKED2 | &fd->bnode->tree->hash_lock | ||
| HALF_LOCKED2 | &sbi->vh_mutex |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 5 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 5 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 5 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 5 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 5 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 5 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 5 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 6 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 5 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 5 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 4 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 7 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 7 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 4 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 0 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 0 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 0-509 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 0-509 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 0-509 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 0-509 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | u16max |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 0 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 0 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | u16max |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | u16max |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 7 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 4 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | u16max |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | u16max |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 4 |
fs/hfsplus/unicode_test.c hfsplus_strcmp_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 7 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | u16max |
fs/hfsplus/unicode_test.c hfsplus_unicode_boundary_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 255 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 255 |
fs/hfsplus/unicode_test.c hfsplus_unicode_boundary_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 255 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 255 |
fs/hfsplus/unicode_test.c hfsplus_unicode_boundary_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 0 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 0 |
fs/hfsplus/unicode_test.c hfsplus_unicode_boundary_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 1 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 0 |
fs/hfsplus/unicode_test.c hfsplus_unicode_edge_cases_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 3 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 3 |
fs/hfsplus/unicode_test.c hfsplus_unicode_edge_cases_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 3 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 3 |
fs/hfsplus/unicode_test.c hfsplus_unicode_edge_cases_test() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s1 | 4096-ptr_max |
| PARAM_VALUE | 0 | s1->length | 3 |
| PARAM_VALUE | 1 | s2 | 4096-ptr_max |
| PARAM_VALUE | 1 | s2->length | 3 |
fs/hfsplus/catalog.c hfsplus_cat_bin_cmp_key() -> hfsplus_strcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bnode->tree->hash_lock | ||
| HALF_LOCKED2 | &fd->bnode->tree->hash_lock | ||
| HALF_LOCKED2 | &sbi->vh_mutex |