Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/dcache.c __d_lookup_rcu() -> dentry_cmp()

Type Parameter Key Value
PARAM_VALUE 0 dentry 4096-ptr_max
BUF_SIZE 1 ct s32min-(-2),1-s32max
BUF_SIZE 1 ct s32min-(-2),1-s32max
CAPPED_DATA 0 dentry->d_name.hash_len 1
CAPPED_DATA 0 dentry->d_parent 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ct 0-255
UNITS 1 ct unit_byte
USER_PTR 1 ct
HALF_LOCKED2 rcu_read

fs/dcache.c d_same_name() -> dentry_cmp()

Type Parameter Key Value
PARAM_VALUE 0 dentry 4096-ptr_max
BUF_SIZE 1 ct s32min-(-2),1-s32max
CAPPED_DATA 0 dentry->d_name.hash 1
CAPPED_DATA 0 dentry->d_name.len 1
CAPPED_DATA 0 dentry->d_parent 1
CAPPED_DATA 2 tcount 1
DATA_SOURCE 0 dentry $0
STR_LEN 0 dentry (-1),1-24,26-27,29,31-34,63,99,115,254-255
STR_LEN 0 dentry (-1),1-24,26-27,29,31-34,63,99,115,254-255
PARAM_COMPARE 0 dentry->d_name.len == $2
PARAM_COMPARE 2 tcount == $0->d_name.len
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ct 0-255
UNITS 1 ct unit_byte
UNITS 2 tcount unit_byte
USER_PTR 1 ct
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &dentry->d_lockref.lock