Defined in 12 files 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]