Defined in 12 files as a function:
- arch/alpha/include/asm/word-at-a-time.h, line 22 (as a function)
- arch/arm/include/asm/word-at-a-time.h, line 20 (as a function)
- arch/arm64/include/asm/word-at-a-time.h, line 21 (as a function)
- arch/powerpc/include/asm/word-at-a-time.h, line 37 (as a function)
- arch/powerpc/include/asm/word-at-a-time.h, line 60 (as a function)
- arch/powerpc/include/asm/word-at-a-time.h, line 139 (as a function)
- arch/riscv/include/asm/word-at-a-time.h, line 22 (as a function)
- arch/s390/include/asm/word-at-a-time.h, line 31 (as a function)
- arch/sh/include/asm/word-at-a-time.h, line 29 (as a function)
- arch/x86/include/asm/word-at-a-time.h, line 15 (as a function)
- include/asm-generic/word-at-a-time.h, line 42 (as a function)
- include/asm-generic/word-at-a-time.h, line 94 (as a function)
Referenced in 4 files:
Smatch caller information:
lib/strncpy_from_user.c do_strncpy_from_user() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 690360140516765696 |
| PARAM_VALUE | 2 | c | 321263788835287040 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &av7110->osd_mutex | ||
| HALF_LOCKED2 | &vfpriv->context_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
fs/namei.c hash_name() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 1713954177420730368 |
| PARAM_VALUE | 2 | c | 4242636057162899456 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| DATA_SOURCE | 0 | a | r load_unaligned_zeropad |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c hash_name() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 1221446107365998592 |
| PARAM_VALUE | 2 | c | 4242636057162899456 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c hash_name() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 1713954177420730368 |
| PARAM_VALUE | 1 | *bits | 0,128-u64max |
| PARAM_VALUE | 2 | c | 4242636057162899456 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| DATA_SOURCE | 0 | a | r load_unaligned_zeropad |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c hash_name() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 1221446107365998592 |
| PARAM_VALUE | 1 | *bits | 0,128-u64max |
| PARAM_VALUE | 2 | c | 4242636057162899456 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c hashlen_string() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 356557011292934144 |
| PARAM_VALUE | 1 | *bits | 0,128-u64max |
| PARAM_VALUE | 2 | c | 610636234740633600 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| DATA_SOURCE | 0 | a | r load_unaligned_zeropad |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/string.c sized_strscpy() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 3023094638646767616 |
| PARAM_VALUE | 2 | c | 177646810766528512 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| DATA_SOURCE | 0 | a | r load_unaligned_zeropad |
lib/strnlen_user.c do_strnlen_user() -> has_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits | 569991359453286400 |
| PARAM_VALUE | 2 | c | 1325018510041292800 |
| PARAM_VALUE | 2 | c->high_bits | 9259542123273814144 |
| PARAM_VALUE | 2 | c->one_bits | 72340172838076673 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | a | 0-u64max[c][u] |