Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/crypto/keyring.c fscrypt_ioctl_add_key() -> fscrypt_valid_key_size()

Type Parameter Key Value
BIT_INFO 1 add_key_flags 0x0,0x1
USER_DATA 0 size 0-u32max
USER_DATA 1 add_key_flags 0-u32max

fs/crypto/keyring.c fscrypt_provisioning_key_preparse() -> fscrypt_valid_key_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 size 0-1048567[c]
USER_DATA 1 add_key_flags 0-u32max[u]
UNITS 0 size unit_byte
HALF_LOCKED2 global &key_types_sem