Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

security/keys/encrypted-keys/encrypted.c encrypted_update() -> key_is_negative()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &key->sem
HALF_LOCKED2 global &key_types_sem
TYPE_LOCK (struct key)->sem

security/keys/trusted-keys/trusted_core.c trusted_update() -> key_is_negative()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &key->sem
HALF_LOCKED2 global &key_types_sem
TYPE_LOCK (struct key)->sem