Lines Matching defs:key
34 * devfree key [device [...]]
81 * M_INVKEY Invalid key specified
83 * M_NOTONKEY Attempting to free with wrong key
89 #define M_USAGE "usage: devfree key [device [...]]"
90 #define M_INVKEY "Invalid key: %s"
116 * devfree key [device [device [...]]]
124 * key The key on which the device to free was allocated on.
127 * using the key are freed.
148 int key; /* Key for locking */
196 * devfree key
198 * Free all devices that have been reserved using the key "key".
203 /* Extract the key from the command */
210 key = (int) lkey;
216 if ((*plk)->key == key)
217 if (devfree(key, (*plk)->devname) != 0)
239 * devfree key device [...]
259 /* Extract the key from the command */
266 key = (int) lkey;
275 if (devfree(key, *argp) != 0) {
294 /* Wrong key */