Searched refs:current_offset (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/journal/ |
D | test-journal-flush.c | 48 assert_se(f && f->current_offset > 0); in main() 50 r = journal_file_move_to_object(f, OBJECT_ENTRY, f->current_offset, &o); in main() 55 r = journal_file_copy_entry(f, new_journal->file, o, f->current_offset); in main()
|
D | journald-server.c | 1192 assert(f && f->current_offset > 0); in server_flush_to_var() 1196 r = journal_file_move_to_object(f, OBJECT_ENTRY, f->current_offset, &o); in server_flush_to_var() 1202 r = journal_file_copy_entry(f, s->system_journal->file, o, f->current_offset); in server_flush_to_var() 1223 r = journal_file_copy_entry(f, s->system_journal->file, o, f->current_offset); in server_flush_to_var()
|
/systemd-251/src/libsystemd-network/ |
D | dhcp-option.c | 127 size_t current_offset = *offset + 2; in option_append() local 130 … r = dhcp_option_append_tlv(options, size, ¤t_offset, SD_DHCP_RELAY_AGENT_CIRCUIT_ID, in option_append() 136 … r = dhcp_option_append_tlv(options, size, ¤t_offset, SD_DHCP_RELAY_AGENT_REMOTE_ID, in option_append() 143 options[*offset + 1] = current_offset - *offset - 2; in option_append() 144 assert(current_offset - *offset - 2 <= UINT8_MAX); in option_append() 145 *offset = current_offset; in option_append()
|
/systemd-251/src/shared/ |
D | loop-util.c | 826 uint64_t current_offset, current_size, partno; in resize_partition() local 859 r = safe_atou64(buffer, ¤t_offset); in resize_partition() 862 if (current_offset > UINT64_MAX/512U) in resize_partition() 864 current_offset *= 512U; in resize_partition() 871 if (current_size == size && current_offset == offset) in resize_partition() 894 .start = offset == UINT64_MAX ? current_offset : offset, in resize_partition()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | sd-journal.c | 741 return journal_file_next_entry(f, f->current_offset, direction, ret, offset); in next_with_matches() 746 direction == DIRECTION_DOWN ? f->current_offset + 1 in next_with_matches() 747 : f->current_offset - 1, in next_with_matches() 769 if (f->last_direction == direction && f->current_offset > 0) { in next_beyond_location() 864 r = journal_file_move_to_object(new_file, OBJECT_ENTRY, new_file->current_offset, &o); in real_journal_next() 931 if (!j->current_file || j->current_file->current_offset <= 0) in sd_journal_get_cursor() 934 … = journal_file_move_to_object(j->current_file, OBJECT_ENTRY, j->current_file->current_offset, &o); in sd_journal_get_cursor() 1058 if (!j->current_file || j->current_file->current_offset <= 0) in sd_journal_test_cursor() 1061 … = journal_file_move_to_object(j->current_file, OBJECT_ENTRY, j->current_file->current_offset, &o); in sd_journal_test_cursor() 2190 if (f->current_offset <= 0) in sd_journal_get_realtime_usec() [all …]
|
D | journal-file.h | 83 uint64_t current_offset; member
|
D | journal-file.c | 2833 f->current_offset = 0; in journal_file_reset_location() 2843 f->current_offset = offset; in journal_file_save_location()
|