Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/ss/policydb.c hashtab_insert() -> __hashtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->htable | 4096-ptr_max |
| PARAM_VALUE | 0 | h->nel | 0-4294967294 |
| PARAM_VALUE | 0 | h->size | 1-u32max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | key | 4096-ptr_max |
| PARAM_VALUE | 3 | datum | 4096-ptr_max |
| BUF_SIZE | 1 | dst | (-1),8 |
| BUF_SIZE | 2 | key | 12 |
| BUF_SIZE | 2 | key | 12 |
| BUF_SIZE | 3 | datum | 4 |
| BUF_SIZE | 3 | datum | 4 |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 2 | key | $1 |
| DATA_SOURCE | 3 | datum | $2 |
| MEM_ZERO | 0 | h | |
| NO_OVERFLOW_SIMPLE | 0 | h->size | |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/symtab.c hashtab_insert() -> __hashtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->htable | 4096-ptr_max |
| PARAM_VALUE | 0 | h->nel | 0-4294967294 |
| PARAM_VALUE | 0 | h->size | 1-u32max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | key | 4096-ptr_max |
| PARAM_VALUE | 2 | *key | 0-255 |
| PARAM_VALUE | 3 | datum | 4096-ptr_max |
| BUF_SIZE | 1 | dst | (-1),8 |
| BUF_SIZE | 3 | datum | 4,8,12,32,40,72,96 |
| BUF_SIZE | 3 | datum | 4,8,12,32,40,72,96 |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 2 | key | $1 |
| DATA_SOURCE | 3 | datum | $2 |
| HALF_LOCKED2 | global &selinux_state.policy_mutex |