Lines Matching defs:udev

36  * This exports the current state of the udev processing queue.
42 * Opaque object representing the current event queue in the udev daemon.
45 struct udev *udev;
52 * @udev: udev library context
55 * release the resources of the udev queue context.
57 * Returns: the udev queue context, or #NULL on error.
59 _public_ struct udev_queue *udev_queue_new(struct udev *udev)
63 if (udev == NULL)
71 udev_queue->udev = udev;
78 * @udev_queue: udev queue context
80 * Take a reference of a udev queue context.
82 * Returns: the same udev queue context.
95 * @udev_queue: udev queue context
97 * Drop a reference of a udev queue context. If the refcount reaches zero,
119 * @udev_queue: udev queue context
121 * Retrieve the udev library context the queue context was created with.
123 * Returns: the udev library context.
125 _public_ struct udev *udev_queue_get_udev(struct udev_queue *udev_queue)
129 return udev_queue->udev;
134 * @udev_queue: udev queue context
147 * @udev_queue: udev queue context
160 * @udev_queue: udev queue context
162 * Check if udev is active on the system.
164 * Returns: a flag indicating if udev is active.
168 return access("/run/udev/control", F_OK) >= 0;
173 * @udev_queue: udev queue context
175 * Check if udev is currently processing any events.
177 * Returns: a flag indicating if udev is currently handling events.
181 return access("/run/udev/queue", F_OK) < 0;
186 * @udev_queue: udev queue context
193 * Returns: a flag indicating if udev is currently handling events.
203 * @udev_queue: udev queue context
209 * Returns: a flag indicating if udev is currently handling events.
218 * @udev_queue: udev queue context
231 * @udev_queue: udev queue context
246 r = inotify_add_watch(fd, "/run/udev" , IN_DELETE);
259 * @udev_queue: udev queue context