Defined in 1 files as a prototype:
Defined in 2 files as a function:
- security/selinux/ss/avtab.c, line 259 (as a function)
- security/selinux/ss/avtab.h, line 115 (as a function)
Referenced in 2 files:
Smatch caller information:
security/selinux/ss/conditional.c cond_init_bool_indexes() -> avtab_hash_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->htable | 0 |
| PARAM_VALUE | 0 | h->mask | 0 |
| PARAM_VALUE | 0 | h->nel | 0 |
| PARAM_VALUE | 0 | h->nslot | 0 |
| PARAM_VALUE | 1 | tag | 8256812443296776192 |
| BUF_SIZE | 1 | tag | 18 |
| STR_LEN | 0 | h | 17 |
| TERMINATED | 1 | tag | 1 |
| MEM_ZERO | 0 | h | |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c policydb_read() -> avtab_hash_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->htable | 16,4096-ptr_max |
| PARAM_VALUE | 0 | h->mask | 0-u16max |
| PARAM_VALUE | 0 | h->nel | 0 |
| PARAM_VALUE | 0 | h->nslot | 0-65536 |
| PARAM_VALUE | 1 | tag | 6951120766311591936 |
| BUF_SIZE | 1 | tag | 6 |
| STR_LEN | 0 | h | 5 |
| TERMINATED | 1 | tag | 1 |
| MEM_ZERO | 0 | h | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | h->nslot | |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |