Searched defs:now (Results 1 - 4 of 4) sorted by relevance

/systemd/src/core/
H A Ddevice.c452 static void device_update_found_one(Device *d, bool add, DeviceFound found, bool now) { argument
464 if (!now)
473 * now referenced by the kernel, then we assume the
474 * kernel knows it now, and udev might soon too. */
478 * previously seen by udev and now is only referenced
484 static int device_update_found_by_sysfs(Manager *m, const char *sysfs, bool add, DeviceFound found, bool now) { argument
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) { argument
519 device_update_found_one(DEVICE(u), add, found, now);
757 /* The device is found now, se
783 device_found_node(Manager *m, const char *node, bool add, DeviceFound found, bool now) argument
[all...]
/systemd/src/basic/
H A Dtime-util.c45 usec_t now(clockid_t clock_id) { function
64 ts->realtime = now(CLOCK_REALTIME);
65 ts->monotonic = now(CLOCK_MONOTONIC);
81 delta = (int64_t) now(CLOCK_REALTIME) - (int64_t) u;
82 ts->monotonic = usec_sub(now(CLOCK_MONOTONIC), delta);
97 delta = (int64_t) now(CLOCK_MONOTONIC) - (int64_t) u;
98 ts->realtime = usec_sub(now(CLOCK_REALTIME), delta);
112 delta = (int64_t) now(clock_boottime_or_monotonic()) - (int64_t) u;
244 n = now(CLOCK_REALTIME);
294 snprintf(buf, l, "now");
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dbus-kernel.c349 struct timespec now; local
351 assert_se(clock_gettime(CLOCK_MONOTONIC_COARSE, &now) == 0);
352 m->kdbus->timeout_ns = now.tv_sec * NSEC_PER_SEC + now.tv_nsec +
868 /* We take possession of the kmsg struct now */
1014 * 'incompatible flags'. Refuse them all for now. */
/systemd/src/journal/
H A Djournal-file.c169 /* Be friendly to btrfs: turn COW back on again now,
370 f->last_stat_usec = now(CLOCK_MONOTONIC);
409 if (f->last_stat_usec + LAST_STAT_REFRESH_USEC > now(CLOCK_MONOTONIC))
1442 uint64_t now; local
1458 r = sd_event_now(sd_event_source_get_event(timer), CLOCK_MONOTONIC, &now);
1460 log_debug_errno(r, "Failed to get clock's now for scheduling ftruncate: %m");
1464 r = sd_event_source_set_time(timer, now+f->post_change_timer_period);
2405 /* And now, continue seeking until we find an entry that
2994 now(CLOCK_REALTIME),
3317 t = now(CLOCK_REALTIM
[all...]

Completed in 72 milliseconds