Lines Matching defs:key
80 * M_INVKEY Invalid key specified
88 #define M_USAGE "usage: devreserv [key [devicelist [...]]]"
89 #define M_INVKEY "Invalid key: %s"
124 * devreserv [key [devlist [devlist [...]]]]
128 * lists presented to it, reserving them on the key (<key>). If no
130 * on the given key (<key>). If no key (<key>) is provided, the
136 * key Key to lock the devices on
167 int key; /* Key for locking */
227 /* Write the list of reserved devices with the key
228 * that the device was locked on. The key should go
237 (void) fprintf(stdout, "%ld\n", (*plk)->key);
261 * devreserv key
263 * Generate a list of the devices allocated on a specific key.
268 /* Extract the key from the command */
272 /* <key> argument invalid */
279 key = (int) lkey;
287 if ((*plk)->key == key) (void) puts((*plk)->devname);
312 * devreserv key devlist [...]
332 /* Extract the key from the command */
340 key = (int) lkey;
347 if (alloclist = devreserv(key, reqlist)) {