Searched refs:uctrl (Results 1 - 4 of 4) sorted by relevance

/systemd/src/udev/
H A Dudev-ctrl.c71 struct udev_ctrl *uctrl; member in struct:udev_ctrl_connection
76 struct udev_ctrl *uctrl; local
80 uctrl = new0(struct udev_ctrl, 1);
81 if (uctrl == NULL)
83 uctrl->refcount = 1;
84 uctrl->udev = udev;
87 uctrl->sock = socket(AF_LOCAL, SOCK_SEQPACKET|SOCK_NONBLOCK|SOCK_CLOEXEC, 0);
88 if (uctrl->sock < 0) {
90 udev_ctrl_unref(uctrl);
94 uctrl
116 udev_ctrl_enable_receiving(struct udev_ctrl *uctrl) argument
139 udev_ctrl_get_udev(struct udev_ctrl *uctrl) argument
143 udev_ctrl_ref(struct udev_ctrl *uctrl) argument
150 udev_ctrl_unref(struct udev_ctrl *uctrl) argument
160 udev_ctrl_cleanup(struct udev_ctrl *uctrl) argument
168 udev_ctrl_get_fd(struct udev_ctrl *uctrl) argument
174 udev_ctrl_get_connection(struct udev_ctrl *uctrl) argument
238 ctrl_send(struct udev_ctrl *uctrl, enum udev_ctrl_msg_type type, int intval, const char *buf, int timeout) argument
292 udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout) argument
296 udev_ctrl_send_stop_exec_queue(struct udev_ctrl *uctrl, int timeout) argument
300 udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl, int timeout) argument
304 udev_ctrl_send_reload(struct udev_ctrl *uctrl, int timeout) argument
308 udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key, int timeout) argument
312 udev_ctrl_send_set_children_max(struct udev_ctrl *uctrl, int count, int timeout) argument
316 udev_ctrl_send_ping(struct udev_ctrl *uctrl, int timeout) argument
320 udev_ctrl_send_exit(struct udev_ctrl *uctrl, int timeout) argument
[all...]
H A Dudevadm-control.c43 _cleanup_udev_ctrl_unref_ struct udev_ctrl *uctrl = NULL; local
67 uctrl = udev_ctrl_new(udev);
68 if (uctrl == NULL)
74 if (udev_ctrl_send_exit(uctrl, timeout) < 0)
87 if (udev_ctrl_send_set_log_level(uctrl, util_log_priority(optarg), timeout) < 0)
94 if (udev_ctrl_send_stop_exec_queue(uctrl, timeout) < 0)
100 if (udev_ctrl_send_start_exec_queue(uctrl, timeout) < 0)
106 if (udev_ctrl_send_reload(uctrl, timeout) < 0)
116 if (udev_ctrl_send_set_env(uctrl, optarg, timeout) < 0)
130 if (udev_ctrl_send_set_children_max(uctrl,
[all...]
H A Dudevadm-settle.c106 struct udev_ctrl *uctrl; local
108 uctrl = udev_ctrl_new(udev);
109 if (uctrl != NULL) {
110 if (udev_ctrl_send_ping(uctrl, MAX(5U, timeout)) < 0) {
112 udev_ctrl_unref(uctrl);
115 udev_ctrl_unref(uctrl);
H A Dudev.h115 int udev_ctrl_enable_receiving(struct udev_ctrl *uctrl);
116 struct udev_ctrl *udev_ctrl_unref(struct udev_ctrl *uctrl);
117 int udev_ctrl_cleanup(struct udev_ctrl *uctrl);
118 struct udev *udev_ctrl_get_udev(struct udev_ctrl *uctrl);
119 int udev_ctrl_get_fd(struct udev_ctrl *uctrl);
120 int udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout);
121 int udev_ctrl_send_stop_exec_queue(struct udev_ctrl *uctrl, int timeout);
122 int udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl, int timeout);
123 int udev_ctrl_send_reload(struct udev_ctrl *uctrl, int timeout);
124 int udev_ctrl_send_ping(struct udev_ctrl *uctrl, in
[all...]

Completed in 765 milliseconds