Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

security/keys/request_key_auth.c request_key_auth_describe() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 rcu_read
TYPE_LOCK (struct seq_file)->lock

security/keys/user_defined.c user_describe() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 rcu_read
TYPE_LOCK (struct seq_file)->lock

security/keys/user_defined.c user_update() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 key->datalen 0[c]
USER_DATA 0 key->quotalen 0-u16max[c][u]
LOCK2 0 &key->sem
HALF_LOCKED2 global &key_types_sem
TYPE_LOCK (struct key)->sem

fs/crypto/keyring.c fscrypt_provisioning_key_describe() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 rcu_read
TYPE_LOCK (struct seq_file)->lock

security/keys/keyring.c keyring_describe() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 rcu_read
TYPE_LOCK (struct seq_file)->lock

security/keys/big_key.c big_key_describe() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 rcu_read
TYPE_LOCK (struct seq_file)->lock

security/keys/big_key.c big_key_revoke() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
BUF_SIZE 0 key (-1),1-s32max
BUF_SIZE 0 key (-1),1-s32max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 key->quotalen
NO_OVERFLOW_SIMPLE 0 key->user->qnbytes
LOCK2 0 &key->sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &afs_key_lock
TYPE_LOCK (struct key)->sem

security/keys/big_key.c big_key_update() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 key->datalen 0[c]
USER_DATA 0 key->quotalen 0-u16max[c][u]
LOCK2 0 &key->sem
HALF_LOCKED2 global &key_types_sem
TYPE_LOCK (struct key)->sem

net/dns_resolver/dns_key.c dns_resolver_describe() -> key_is_positive()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
DATA_SOURCE 0 key $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 rcu_read
TYPE_LOCK (struct seq_file)->lock