Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 46) sorted by relevance

12

/systemd-251/src/userdb/
Duserwork.c165 _cleanup_(json_variant_unrefp) JsonVariant *last = NULL; in vl_method_get_user_record()
188 if (last) { in vl_method_get_user_record()
189 r = varlink_notify(link, last); in vl_method_get_user_record()
193 last = json_variant_unref(last); in vl_method_get_user_record()
196 r = build_user_json(link, z, &last); in vl_method_get_user_record()
201 if (!last) in vl_method_get_user_record()
204 return varlink_reply(link, last); in vl_method_get_user_record()
300 _cleanup_(json_variant_unrefp) JsonVariant *last = NULL; in vl_method_get_group_record()
317 if (last) { in vl_method_get_group_record()
318 r = varlink_notify(link, last); in vl_method_get_group_record()
[all …]
Duserdbctl.c133 uid_t first, last; member
139 .last = SYSTEM_UID_MAX,
145 .last = DYNAMIC_UID_MAX,
151 .last = CONTAINER_UID_BASE_MAX,
158 .last = HOME_UID_MAX,
165 .last = MAP_UID_MAX,
184 …!uid_range_covers(p, n, uid_range_table[i].first, uid_range_table[i].last - uid_range_table[i].fir… in table_add_uid_boundaries()
234 TABLE_UID, uid_range_table[i].last, in table_add_uid_boundaries()
547 !uid_range_covers(p, n, uid_range_table[i].first, uid_range_table[i].last)) in table_add_gid_boundaries()
594 TABLE_GID, uid_range_table[i].last, in table_add_gid_boundaries()
/systemd-251/src/home/
Dhomed-varlink.c284 const char *last = NULL; in vl_method_get_memberships() local
299 if (last) { in vl_method_get_memberships()
301 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last)))); in vl_method_get_memberships()
306 last = *i; in vl_method_get_memberships()
309 if (last) in vl_method_get_memberships()
311 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(last)))); in vl_method_get_memberships()
314 const char *last = NULL; in vl_method_get_memberships() local
321 if (last) { in vl_method_get_memberships()
322 … r = varlink_notifyb(link, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("userName", JSON_BUILD_STRING(last)), in vl_method_get_memberships()
328 last = h->user_name; in vl_method_get_memberships()
[all …]
/systemd-251/src/libsystemd-network/
Dtest-ndisc-rs.c300 static usec_t last = 0; in test_timeout_value() local
310 if (last == 0) { in test_timeout_value()
318 min = 2 * last - last / 10; in test_timeout_value()
319 max = 2 * last + last / 10; in test_timeout_value()
323 if (last * 2 > NDISC_MAX_ROUTER_SOLICITATION_INTERVAL) { in test_timeout_value()
332 last * 2 > NDISC_MAX_ROUTER_SOLICITATION_INTERVAL ? "(max) ": "", in test_timeout_value()
340 last = nd->retransmit_time; in test_timeout_value()
/systemd-251/src/shared/
Dcgroup-show.c259 _cleanup_free_ char *fn = NULL, *p1 = NULL, *last = NULL, *p2 = NULL; in show_cgroup_by_path() local
296 if (last) { in show_cgroup_by_path()
297 r = show_cgroup_name(last, prefix, SPECIAL_GLYPH_TREE_BRANCH, flags); in show_cgroup_by_path()
307 show_cgroup_by_path(last, p1, n_columns-2, flags); in show_cgroup_by_path()
308 free(last); in show_cgroup_by_path()
311 last = TAKE_PTR(k); in show_cgroup_by_path()
318 show_cgroup_one_by_path(path, prefix, n_columns, !!last, flags); in show_cgroup_by_path()
320 if (last) { in show_cgroup_by_path()
321 r = show_cgroup_name(last, prefix, SPECIAL_GLYPH_TREE_RIGHT, flags); in show_cgroup_by_path()
331 show_cgroup_by_path(last, p2, n_columns-2, flags); in show_cgroup_by_path()
Dseccomp-util.c1463 int first = 0, last = 0; in seccomp_restrict_address_families() local
1479 if (last == 0 || af > last) in seccomp_restrict_address_families()
1480 last = af; in seccomp_restrict_address_families()
1483 assert((first == 0) == (last == 0)); in seccomp_restrict_address_families()
1518 SCMP_A0(SCMP_CMP_GT, last)); in seccomp_restrict_address_families()
/systemd-251/src/sysupdate/
Dsysupdate-pattern.c98 PatternElement *last = NULL; in pattern_split() local
141 LIST_INSERT_AFTER(elements, first, last, z); in pattern_split()
142 last = z; in pattern_split()
158 if (!last || last->type != PATTERN_LITERAL) { in pattern_split()
168 LIST_INSERT_AFTER(elements, first, last, z); in pattern_split()
169 last = z; in pattern_split()
172 assert(last); in pattern_split()
173 assert(last->type == PATTERN_LITERAL); in pattern_split()
175 last->literal[k++] = *e; in pattern_split()
/systemd-251/src/core/
Dtransaction.c74 JobDependency *last; in transaction_merge_and_delete_job() local
89 last = NULL; in transaction_merge_and_delete_job()
93 last = l; in transaction_merge_and_delete_job()
97 if (last) { in transaction_merge_and_delete_job()
98 last->subject_next = j->subject_list; in transaction_merge_and_delete_job()
100 j->subject_list->subject_prev = last; in transaction_merge_and_delete_job()
105 last = NULL; in transaction_merge_and_delete_job()
109 last = l; in transaction_merge_and_delete_job()
113 if (last) { in transaction_merge_and_delete_job()
114 last->object_next = j->object_list; in transaction_merge_and_delete_job()
[all …]
/systemd-251/test/
Dsd-script.py324 if n >= last:
330 if n >= last:
337 last = int(sys.argv[2]) variable
341 if n >= last or n == -1:
/systemd-251/src/libsystemd/sd-journal/
Djournal-verify.c432 uint64_t i, n, a, last, q; in verify_data() local
455 last = q = le64toh(o->data.entry_offset); in verify_data()
497 if (q <= last) { in verify_data()
498 … error(p, "Data object's entry array not sorted (%"PRIu64" <= %"PRIu64")", q, last); in verify_data()
501 last = q; in verify_data()
554 uint64_t last = 0, p; in verify_data_hash_table() local
588 last = p; in verify_data_hash_table()
592 if (last != le64toh(f->data_hash_table[i].tail_hash_offset)) { in verify_data_hash_table()
595 last, in verify_data_hash_table()
640 bool last) { in verify_entry() argument
[all …]
/systemd-251/src/partition/
Dtest-repart.sh35 last-lba: 2097118
71 last-lba: 2097118
106 last-lba: 2097118
126 last-lba: 4194270
156 last-lba: 6291422
193 last-lba: 6389726
/systemd-251/src/udev/
Dudev-builtin-hwdb.c71 bool last = false; in udev_builtin_hwdb_search() local
99 last = true; in udev_builtin_hwdb_search()
111 if (last) in udev_builtin_hwdb_search()
/systemd-251/src/systemctl/
Dsystemctl-list-units.c551 usec_t *last) { in get_last_trigger() argument
558 assert(last); in get_last_trigger()
568 last); in get_last_trigger()
721 usec_t m, last = 0; in verb_list_timers() local
734 get_last_trigger(bus, u->unit_path, &last); in verb_list_timers()
747 .last_trigger = last, in verb_list_timers()
Dsystemctl-list-dependencies.c11 static int list_dependencies_print(const char *name, int level, unsigned branches, bool last) { in list_dependencies_print() argument
33 … printf("%s", special_glyph(last ? SPECIAL_GLYPH_TREE_RIGHT : SPECIAL_GLYPH_TREE_BRANCH)); in list_dependencies_print()
Dsystemctl-show.c384 bool last = false; in print_status_info() local
390 if (!dir || last) { in print_status_info()
407 last = ! (*(dropin + 1) && startswith(*(dropin + 1), dir)); in print_status_info()
414 printf("%s%s", df, last ? "\n" : ", "); in print_status_info()
934 ExecStatusInfo *last; in map_exec() local
947 LIST_FIND_TAIL(exec, i->exec, last); in map_exec()
955 LIST_INSERT_AFTER(exec, i->exec, last, info); in map_exec()
956 last = info; in map_exec()
/systemd-251/src/fsck/
Dfsck.c160 usec_t last = 0; in process_progress() local
203 if (last + 50 * USEC_PER_MSEC > t) in process_progress()
206 last = t; in process_progress()
/systemd-251/src/import/
Dpull-common.c603 _cleanup_free_ char *last = NULL; in verification_style_from_url() local
611 r = import_url_last_component(url, &last); in verification_style_from_url()
615 if (streq(last, "SHA256SUMS")) { in verification_style_from_url()
620 if (endswith(last, ".sha256")) { in verification_style_from_url()
/systemd-251/src/boot/
Dbless-boot.c218 const char *last, *e; in acquire_boot_count_path() local
240 last = last_path_component(path); in acquire_boot_count_path()
241 e = strrchr(last, '+'); in acquire_boot_count_path()
/systemd-251/src/resolve/
Dresolved-conf.c318 DnsTxtItem *last = NULL; in config_parse_dnssd_txt() local
393 LIST_INSERT_AFTER(items, txt_data->txt, last, i); in config_parse_dnssd_txt()
394 last = i; in config_parse_dnssd_txt()
/systemd-251/src/analyze/
Danalyze-critical-chain.c18 bool last, in list_dependencies_print() argument
25 printf("%s", special_glyph(last ? SPECIAL_GLYPH_TREE_RIGHT : SPECIAL_GLYPH_TREE_BRANCH)); in list_dependencies_print()
/systemd-251/shell-completion/zsh/
D_systemd-run41 '--on-unit-active=[Run SEC seconds after the last activation]:SEC' \
42 '--on-unit-inactive=[Run SEC seconds after the last deactivation]:SEC' \
/systemd-251/src/journal/
Djournalctl.c165 uint64_t last; member
1319 r = sd_journal_get_realtime_usec(j, &next_boot->last); in discover_next_boot()
1483 TABLE_TIMESTAMP, id->last); in list_boots()
2029 usec_t first = 0, validated = 0, last = 0; in verify() local
2036 k = journal_file_verify(f, arg_verify_key, &first, &validated, &last, true); in verify()
2051 … FORMAT_TIMESPAN(last > validated ? last - validated : 0, 0)); in verify()
2052 } else if (last > 0) in verify()
2054 FORMAT_TIMESPAN(last - first, 0)); in verify()
/systemd-251/src/rpm/
Dmeson.build12 # The last two don't get installed anywhere, one of them needs to included in
/systemd-251/docs/
DINITRD_INTERFACE.md45 One last clarification: we use the term _initrd_ very generically here
51 Oh, and one last question before closing: instead of implementing these
/systemd-251/test/fuzz/
Dmeson.build32 # Remove the last entry which is ''.

12