Home
last modified time | relevance | path

Searched refs:udev_ctrl (Results 1 – 6 of 6) sorted by relevance

/third_party/eudev/src/udev/
Dudev.h117 struct udev_ctrl;
118 struct udev_ctrl *udev_ctrl_new(struct udev *udev);
119 struct udev_ctrl *udev_ctrl_new_from_fd(struct udev *udev, int fd);
120 int udev_ctrl_enable_receiving(struct udev_ctrl *uctrl);
121 struct udev_ctrl *udev_ctrl_unref(struct udev_ctrl *uctrl);
122 int udev_ctrl_cleanup(struct udev_ctrl *uctrl);
123 struct udev *udev_ctrl_get_udev(struct udev_ctrl *uctrl);
124 int udev_ctrl_get_fd(struct udev_ctrl *uctrl);
125 int udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout);
126 int udev_ctrl_send_stop_exec_queue(struct udev_ctrl *uctrl, int timeout);
[all …]
Dudev-ctrl.c58 struct udev_ctrl { struct
71 struct udev_ctrl *uctrl; argument
75 struct udev_ctrl *udev_ctrl_new_from_fd(struct udev *udev, int fd) { in udev_ctrl_new_from_fd()
76 struct udev_ctrl *uctrl; in udev_ctrl_new_from_fd()
80 uctrl = new0(struct udev_ctrl, 1); in udev_ctrl_new_from_fd()
107 struct udev_ctrl *udev_ctrl_new(struct udev *udev) { in udev_ctrl_new()
111 int udev_ctrl_enable_receiving(struct udev_ctrl *uctrl) { in udev_ctrl_enable_receiving()
140 struct udev *udev_ctrl_get_udev(struct udev_ctrl *uctrl) { in udev_ctrl_get_udev()
144 static struct udev_ctrl *udev_ctrl_ref(struct udev_ctrl *uctrl) { in udev_ctrl_ref()
151 struct udev_ctrl *udev_ctrl_unref(struct udev_ctrl *uctrl) { in udev_ctrl_unref()
[all …]
Dudevd.c58 static struct udev_ctrl *udev_ctrl; variable
252 udev_ctrl_unref(udev_ctrl); in worker_spawn()
698 static void handle_ctrl_msg(struct udev_ctrl *uctrl) { in handle_ctrl_msg()
1208 udev_ctrl = udev_ctrl_new(udev); in main()
1209 if (!udev_ctrl) { in main()
1213 fd_ctrl = udev_ctrl_get_fd(udev_ctrl); in main()
1227 if (udev_ctrl_enable_receiving(udev_ctrl) < 0) { in main()
1545 handle_ctrl_msg(udev_ctrl); in main()
1549 udev_ctrl_cleanup(udev_ctrl); in main()
1566 udev_ctrl_unref(udev_ctrl); in main()
Dudevadm-control.c48 _cleanup_udev_ctrl_unref_ struct udev_ctrl *uctrl = NULL; in adm_control()
Dudevadm-settle.c113 struct udev_ctrl *uctrl; in adm_settle()
/third_party/eudev/src/shared/
Dudev-util.h30 DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_ctrl*, udev_ctrl_unref);