Lines Matching defs:add
286 return log_unit_error_errno(u, r, "Failed to add wants dependency: %m");
452 static void device_update_found_one(Device *d, bool add, DeviceFound found, bool now) {
457 n = add ? (d->found | found) : (d->found & ~found);
484 static int device_update_found_by_sysfs(Manager *m, const char *sysfs, bool add, DeviceFound found, bool now) {
495 device_update_found_one(d, add, found, now);
500 static int device_update_found_by_name(Manager *m, const char *path, bool add, DeviceFound found, bool now) {
519 device_update_found_one(DEVICE(u), add, found, now);
630 log_error_errno(r, "Failed to add udev tag match: %m");
783 int device_found_node(Manager *m, const char *node, bool add, DeviceFound found, bool now) {
800 if (add) {
834 return device_update_found_by_name(m, node, add, found, now);