Lines Matching defs:release
35 static int install_force_release(struct udev_device *dev, const unsigned *release, unsigned release_count) {
45 assert(release);
63 l = strpcpyf(&s, l, ",%u", release[i]);
65 log_debug("keyboard: updating force-release list with '%s'", codes);
68 log_error_errno(ret, "Error writing force-release attribute: %m");
197 unsigned release[1024];
226 /* a leading '!' needs a force-release entry */
230 release[release_count] = scancode;
231 if (release_count < ELEMENTSOF(release)-1)
266 /* install list of force-release codes */
268 install_force_release(dev, release, release_count);