Lines Matching defs:rfkill_fd
199 int rfkill_fd,
209 assert(rfkill_fd >= 0);
248 l = write(rfkill_fd, &we, sizeof(we));
261 int rfkill_fd,
269 assert(rfkill_fd >= 0);
291 _cleanup_close_ int rfkill_fd = -1;
330 rfkill_fd = open("/dev/rfkill", O_RDWR|O_CLOEXEC|O_NOCTTY|O_NONBLOCK);
331 if (rfkill_fd < 0) {
342 rfkill_fd = SD_LISTEN_FDS_START;
344 r = fd_nonblock(rfkill_fd, 1);
356 l = read(rfkill_fd, &event, sizeof(event));
371 r = fd_wait_for_event(rfkill_fd, POLLIN, EXIT_USEC);
404 (void) load_state(rfkill_fd, udev, &event);
413 (void) save_state(rfkill_fd, udev, &event);