restriction 79 certs/system_keyring.c struct key_restriction *restriction; restriction 81 certs/system_keyring.c restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); restriction 83 certs/system_keyring.c if (!restriction) restriction 86 certs/system_keyring.c restriction->check = restrict_link_by_builtin_and_secondary_trusted; restriction 88 certs/system_keyring.c return restriction; restriction 475 crypto/asymmetric_keys/asymmetric_type.c const char *restriction) restriction 482 crypto/asymmetric_keys/asymmetric_type.c if (strcmp("builtin_trusted", restriction) == 0) restriction 486 crypto/asymmetric_keys/asymmetric_type.c if (strcmp("builtin_and_secondary_trusted", restriction) == 0) restriction 490 crypto/asymmetric_keys/asymmetric_type.c parse_buf = kstrndup(restriction, PAGE_SIZE, GFP_KERNEL); restriction 466 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c struct iwl_tt_restriction *restriction; restriction 478 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c restriction = tt->restriction + tt->state; restriction 481 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c restriction->tx_stream); restriction 484 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c restriction->rx_stream); restriction 487 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c restriction->is_ht); restriction 87 drivers/net/wireless/intel/iwlwifi/dvm/tt.c struct iwl_tt_restriction *restriction; restriction 91 drivers/net/wireless/intel/iwlwifi/dvm/tt.c restriction = tt->restriction + tt->state; restriction 92 drivers/net/wireless/intel/iwlwifi/dvm/tt.c return restriction->is_ht; restriction 123 drivers/net/wireless/intel/iwlwifi/dvm/tt.c struct iwl_tt_restriction *restriction; restriction 127 drivers/net/wireless/intel/iwlwifi/dvm/tt.c restriction = tt->restriction + tt->state; restriction 128 drivers/net/wireless/intel/iwlwifi/dvm/tt.c return restriction->tx_stream; restriction 134 drivers/net/wireless/intel/iwlwifi/dvm/tt.c struct iwl_tt_restriction *restriction; restriction 138 drivers/net/wireless/intel/iwlwifi/dvm/tt.c restriction = tt->restriction + tt->state; restriction 139 drivers/net/wireless/intel/iwlwifi/dvm/tt.c return restriction->rx_stream; restriction 614 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->restriction = kcalloc(IWL_TI_STATE_MAX, restriction 621 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (!tt->restriction || !tt->transaction) { restriction 624 drivers/net/wireless/intel/iwlwifi/dvm/tt.c kfree(tt->restriction); restriction 625 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->restriction = NULL; restriction 643 drivers/net/wireless/intel/iwlwifi/dvm/tt.c memcpy(tt->restriction, restriction 668 drivers/net/wireless/intel/iwlwifi/dvm/tt.c kfree(tt->restriction); restriction 669 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->restriction = NULL; restriction 96 drivers/net/wireless/intel/iwlwifi/dvm/tt.h struct iwl_tt_restriction *restriction; restriction 408 include/linux/key.h const char *restriction); restriction 99 security/integrity/digsig.c struct key_restriction *restriction) restriction 106 security/integrity/digsig.c KEY_ALLOC_NOT_IN_QUOTA, restriction, NULL); restriction 122 security/integrity/digsig.c struct key_restriction *restriction; restriction 129 security/integrity/digsig.c restriction = NULL; restriction 136 security/integrity/digsig.c restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); restriction 137 security/integrity/digsig.c if (!restriction) restriction 140 security/integrity/digsig.c restriction->check = restrict_link_to_ima; restriction 144 security/integrity/digsig.c return __integrity_init_keyring(id, perm, restriction); restriction 26 security/integrity/ima/ima_mok.c struct key_restriction *restriction; restriction 30 security/integrity/ima/ima_mok.c restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); restriction 31 security/integrity/ima/ima_mok.c if (!restriction) restriction 34 security/integrity/ima/ima_mok.c restriction->check = restrict_link_by_builtin_trusted; restriction 42 security/integrity/ima/ima_mok.c restriction, NULL); restriction 1721 security/keys/keyctl.c char *restriction = NULL; restriction 1737 security/keys/keyctl.c restriction = strndup_user(_restriction, PAGE_SIZE); restriction 1738 security/keys/keyctl.c if (IS_ERR(restriction)) { restriction 1739 security/keys/keyctl.c ret = PTR_ERR(restriction); restriction 1747 security/keys/keyctl.c ret = keyring_restrict(key_ref, _type ? type : NULL, restriction); restriction 1748 security/keys/keyctl.c kfree(restriction); restriction 1022 security/keys/keyring.c const char *restriction) restriction 1048 security/keys/keyring.c restrict_link = restrict_type->lookup_restriction(restriction);