Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

security/selinux/ss/policydb.c class_read() -> hash_eval()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->htable 0,4096-ptr_max
PARAM_VALUE 1 hash_name 2237825584111656960
PARAM_VALUE 2 hash_details 4096-ptr_max
PARAM_VALUE 2 *hash_details 0-255
BUF_SIZE 1 hash_name 18
STR_LEN 0 h 17
TERMINATED 1 hash_name 1
TERMINATED 2 hash_details 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c common_read() -> hash_eval()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->htable 0,4096-ptr_max
PARAM_VALUE 1 hash_name 5754887728876191744
PARAM_VALUE 2 hash_details 4096-ptr_max
PARAM_VALUE 2 *hash_details 0-255
BUF_SIZE 1 hash_name 19
STR_LEN 0 h 18
TERMINATED 1 hash_name 1
TERMINATED 2 hash_details 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c filename_trans_read() -> hash_eval()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->htable 0,4096-ptr_max
PARAM_VALUE 0 h->nel 0
PARAM_VALUE 0 h->size 0
PARAM_VALUE 1 hash_name 3382611610918465536
PARAM_VALUE 2 hash_details 0
BUF_SIZE 1 hash_name 11
STR_LEN 0 h 10
TERMINATED 1 hash_name 1
MEM_ZERO 0 h
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_read() -> hash_eval()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->htable 0,4096-ptr_max
PARAM_VALUE 0 h->size 1-u32max
PARAM_VALUE 1 hash_name 7214416979105562624
PARAM_VALUE 2 hash_details 0
BUF_SIZE 1 hash_name 7
STR_LEN 0 h 6
TERMINATED 1 hash_name 1
MEM_ZERO 0 h
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c range_read() -> hash_eval()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->htable 0,4096-ptr_max
PARAM_VALUE 0 h->nel 0
PARAM_VALUE 0 h->size 0
PARAM_VALUE 1 hash_name 4339793498487136256
PARAM_VALUE 2 hash_details 0
BUF_SIZE 1 hash_name 8
STR_LEN 0 h 7
TERMINATED 1 hash_name 1
MEM_ZERO 0 h
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c symtab_hash_eval() -> hash_eval()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 2 hash_details 0
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex