Searched refs:imp (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/shared/ |
D | journal-importer.c | 27 void journal_importer_cleanup(JournalImporter *imp) { in journal_importer_cleanup() argument 28 if (imp->fd >= 0 && !imp->passive_fd) { in journal_importer_cleanup() 29 log_debug("Closing %s (fd=%d)", imp->name ?: "importer", imp->fd); in journal_importer_cleanup() 30 safe_close(imp->fd); in journal_importer_cleanup() 33 free(imp->name); in journal_importer_cleanup() 34 free(imp->buf); in journal_importer_cleanup() 35 iovw_free_contents(&imp->iovw, false); in journal_importer_cleanup() 38 static char* realloc_buffer(JournalImporter *imp, size_t size) { in realloc_buffer() argument 39 char *b, *old = imp->buf; in realloc_buffer() 41 b = GREEDY_REALLOC(imp->buf, size); in realloc_buffer() [all …]
|
D | journal-importer.h | 57 static inline size_t journal_importer_bytes_remaining(const JournalImporter *imp) { in journal_importer_bytes_remaining() argument 58 return imp->filled; in journal_importer_bytes_remaining()
|
/systemd-251/src/test/ |
D | test-journal-importer.c | 24 _cleanup_(journal_importer_cleanup) JournalImporter imp = JOURNAL_IMPORTER_INIT(-1); in TEST() 29 imp.fd = open(journal_data_path, O_RDONLY|O_CLOEXEC); in TEST() 30 assert_se(imp.fd >= 0); in TEST() 33 r = journal_importer_process_data(&imp); in TEST() 34 while (r == 0 && !journal_importer_eof(&imp)); in TEST() 38 assert_se(!journal_importer_eof(&imp)); in TEST() 40 assert_se(imp.iovw.count == 6); in TEST() 41 assert_iovec_entry(&imp.iovw.iovec[0], "_BOOT_ID=1531fd22ec84429e85ae888b12fadb91"); in TEST() 42 assert_iovec_entry(&imp.iovw.iovec[1], "_TRANSPORT=journal"); in TEST() 43 assert_iovec_entry(&imp.iovw.iovec[2], COREDUMP_PROC_GROUP); in TEST() [all …]
|
/systemd-251/hwdb.d/ |
D | 20-OUI.hwdb | 42315 ID_OUI_FROM_DATABASE=electric imp, incorporated
|
D | ma-large.txt | 52946 0C-2A-69 (hex) electric imp, incorporated 52947 0C2A69 (base 16) electric imp, incorporated
|