Lines Matching defs:key
28 #include <linux/key-type.h>
75 cifs_idmap_key_instantiate(struct key *key, struct key_preparsed_payload *prep)
87 if (prep->datalen <= sizeof(key->payload)) {
88 key->payload.data[0] = NULL;
89 memcpy(&key->payload, prep->data, prep->datalen);
94 key->payload.data[0] = payload;
97 key->datalen = prep->datalen;
102 cifs_idmap_key_destroy(struct key *key)
104 if (key->datalen > sizeof(key->payload))
105 kfree(key->payload.data[0]);
286 struct key *sidkey;
307 cifs_dbg(FYI, "%s: Downcall contained malformed key (datalen=%hu)\n",
324 cifs_dbg(FYI, "%s: Downcall contained malformed key (datalen=%hu, ksid_size=%u)\n",
346 struct key *sidkey;
421 cifs_dbg(FYI, "%s: Downcall contained malformed key (datalen=%hu)\n",
466 struct key *keyring;
469 cifs_dbg(FYI, "Registering the %s key type\n",
519 cifs_dbg(FYI, "Unregistered %s key type\n", cifs_idmap_key_type.name);