Home
last modified time | relevance | path

Searched refs:current_file (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/core/
Dapparmor-setup.c40 … FOREACH_STRING(current_file, "/proc/self/attr/apparmor/current", "/proc/self/attr/current") { in mac_apparmor_setup()
41 r = read_one_line_file(current_file, &current_profile); in mac_apparmor_setup()
45 …rning_errno(r, "Failed to read current AppArmor profile from file %s, ignoring: %m", current_file); in mac_apparmor_setup()
/systemd-251/src/libsystemd/sd-journal/
Dsd-journal.c107 j->current_file = NULL; in detach_location()
141 j->current_file = f; in set_location()
432 …t compare_with_location(const JournalFile *f, const Location *l, const JournalFile *current_file) { in compare_with_location() argument
449 f != current_file) in compare_with_location()
802 k = compare_with_location(f, &j->current_location, j->current_file); in next_beyond_location()
931 if (!j->current_file || j->current_file->current_offset <= 0) in sd_journal_get_cursor()
934 …r = journal_file_move_to_object(j->current_file, OBJECT_ENTRY, j->current_file->current_offset, &o… in sd_journal_get_cursor()
940 … SD_ID128_TO_STRING(j->current_file->header->seqnum_id), le64toh(o->entry.seqnum), in sd_journal_get_cursor()
1058 if (!j->current_file || j->current_file->current_offset <= 0) in sd_journal_test_cursor()
1061 …r = journal_file_move_to_object(j->current_file, OBJECT_ENTRY, j->current_file->current_offset, &o… in sd_journal_test_cursor()
[all …]
Djournal-internal.h80 JournalFile *current_file; member
/systemd-251/src/udev/
Dudev-rules.c184 UdevRuleFile *current_file; member
193 UdevRuleFile *_f = _r ? _r->current_file : NULL; \
550 assert(rules->current_file); in parse_token()
551 assert(rules->current_file->current_line); in parse_token()
555 rule_line = rules->current_file->current_line; in parse_token()
1086 assert(rules->current_file); in rule_add_line()
1089 rule_file = rules->current_file; in rule_add_line()
1212 if (rules->current_file) in udev_rules_parse_file()
1213 LIST_APPEND(rule_files, rules->current_file, rule_file); in udev_rules_parse_file()
1217 rules->current_file = rule_file; in udev_rules_parse_file()
[all …]
/systemd-251/src/journal/
Dtest-journal-flush.c47 f = j->current_file; in main()
Djournald-server.c1191 f = j->current_file; in server_flush_to_var()