Searched refs:uctrl (Results 1 – 5 of 5) sorted by relevance
/third_party/eudev/src/udev/ |
D | udev-ctrl.c | 71 struct udev_ctrl *uctrl; member 76 struct udev_ctrl *uctrl; in udev_ctrl_new_from_fd() local 80 uctrl = new0(struct udev_ctrl, 1); in udev_ctrl_new_from_fd() 81 if (uctrl == NULL) in udev_ctrl_new_from_fd() 83 uctrl->refcount = 1; in udev_ctrl_new_from_fd() 84 uctrl->udev = udev; in udev_ctrl_new_from_fd() 87 uctrl->sock = socket(AF_LOCAL, SOCK_SEQPACKET|SOCK_NONBLOCK|SOCK_CLOEXEC, 0); in udev_ctrl_new_from_fd() 88 if (uctrl->sock < 0) { in udev_ctrl_new_from_fd() 90 udev_ctrl_unref(uctrl); in udev_ctrl_new_from_fd() 94 uctrl->bound = true; in udev_ctrl_new_from_fd() [all …]
|
D | udevadm-control.c | 48 _cleanup_udev_ctrl_unref_ struct udev_ctrl *uctrl = NULL; in adm_control() local 72 uctrl = udev_ctrl_new(udev); in adm_control() 73 if (uctrl == NULL) in adm_control() 79 if (udev_ctrl_send_exit(uctrl, timeout) < 0) in adm_control() 92 … if (udev_ctrl_send_set_log_level(uctrl, util_log_priority(optarg), timeout) < 0) in adm_control() 99 if (udev_ctrl_send_stop_exec_queue(uctrl, timeout) < 0) in adm_control() 105 if (udev_ctrl_send_start_exec_queue(uctrl, timeout) < 0) in adm_control() 111 if (udev_ctrl_send_reload(uctrl, timeout) < 0) in adm_control() 121 if (udev_ctrl_send_set_env(uctrl, optarg, timeout) < 0) in adm_control() 135 if (udev_ctrl_send_set_children_max(uctrl, i, timeout) < 0) in adm_control()
|
D | udev.h | 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); 127 int udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl, int timeout); 128 int udev_ctrl_send_reload(struct udev_ctrl *uctrl, int timeout); 129 int udev_ctrl_send_ping(struct udev_ctrl *uctrl, int timeout); [all …]
|
D | udevadm-settle.c | 113 struct udev_ctrl *uctrl; in adm_settle() local 115 uctrl = udev_ctrl_new(udev); in adm_settle() 116 if (uctrl != NULL) { in adm_settle() 117 if (udev_ctrl_send_ping(uctrl, MAX(5U, timeout)) < 0) { in adm_settle() 119 udev_ctrl_unref(uctrl); in adm_settle() 122 udev_ctrl_unref(uctrl); in adm_settle()
|
D | udevd.c | 698 static void handle_ctrl_msg(struct udev_ctrl *uctrl) { in handle_ctrl_msg() argument 704 assert(uctrl); in handle_ctrl_msg() 706 ctrl_conn = udev_ctrl_get_connection(uctrl); in handle_ctrl_msg()
|