/systemd/tools/ |
H A D | check-includes.pl | 6 foreach $file (@ARGV) { 7 open(FILE, $file) or die "Cannot open $file: $!.\n"; 18 print "$file: $filename is included more than once.\n";
|
H A D | make-man-rules.py | 3 # This file is part of systemd. 62 # Really, do not edit this file. 71 def xml(file): 72 return 'man/{}'.format(os.path.basename(file)) 76 # print('parsing {}'.format(name), file=sys.stderr) 93 # print('{} => {} [{}]'.format(alias, target, conditional), file=sys.stderr) 102 print("Failed to process", name, file=sys.stderr) 126 dist_files = (xml(file) for file in sys.argv[1:] 127 if not file [all...] |
/systemd/src/test/ |
H A D | test-terminal-util.c | 2 This file is part of systemd. 47 _cleanup_fclose_ FILE *file = NULL; local 55 file = fdopen(fd, "r+"); 56 assert_se(file); 57 assert_se(fputs("c\n", file) >= 0); 58 rewind(file); 60 assert_se(read_one_char(file, &r, 1000000, &need_nl) >= 0); 63 assert_se(read_one_char(file, &r, 1000000, &need_nl) < 0); 65 rewind(file); 66 assert_se(fputs("foobar\n", file) > [all...] |
/systemd/src/coredump/ |
H A D | coredumpctl.c | 2 This file is part of systemd. 285 static void print_field(FILE* file, sd_journal *j) { argument 290 assert(file); 299 fprintf(file, "%s\n", value); 302 static int print_list(FILE* file, sd_journal *j, int had_legend) { argument 314 assert(file); 341 fprintf(file, "%-*s %*s %*s %*s %*s %*s %s\n", 350 fprintf(file, "%-*s %*s %*s %*s %*s %*s %s\n", 362 static int print_info(FILE *file, sd_journal *j, bool need_space) { argument 374 assert(file); [all...] |
/systemd/src/libsystemd-network/ |
H A D | dhcp-option.c | 2 This file is part of systemd. 75 bool file, sname; local 81 file = overload & DHCP_OVERLOAD_FILE; 89 else if (r == -ENOBUFS && (file || sname)) { 104 if (file_offset < sizeof(message->file)) { 105 /* still space in the 'file' array */ 106 r = option_append(message->file, sizeof(message->file), &file_offset, code, optlen, optval); 112 close the file array and move the offset to its end */ 117 *offset = size + sizeof(message->file); [all...] |
H A D | test-dhcp-option.c | 15 uint8_t file[128]; member in struct:option_desc 105 uint8_t *file, uint8_t filelen, 116 if (file && filelen <= 128) 117 memcpy(&message->file, file, filelen); 170 descoption = &desc->file[0]; 234 uint8_t *file = NULL; local 244 file = &desc->file[0]; 258 message = create_message(options, optlen, file, filele 104 create_message(uint8_t *options, uint16_t optlen, uint8_t *file, uint8_t filelen, uint8_t *sname, uint8_t snamelen) argument [all...] |
H A D | dhcp-protocol.h | 4 This file is part of systemd. 43 uint8_t file[128]; member in struct:DHCPMessage
|
/systemd/src/journal-remote/ |
H A D | log-generator.py | 72 print('.', file=sys.stderr, end='', flush=True) 75 print(file=sys.stderr) 76 print('Wrote {} bytes'.format(bytes), file=sys.stderr)
|
/systemd/src/basic/ |
H A D | log.h | 4 This file is part of systemd. 81 const char *file, 89 const char *file, 98 const char *file, 108 const char*file, 119 const char *file, 125 const char *file, 142 const char *file, 150 const char *file, 156 const char *file, [all...] |
H A D | log.c | 2 This file is part of systemd. 330 const char *file, 353 xsprintf(location, "(%s:%i) ", file, line); 390 const char *file, 453 const char *file, 487 const char *file, int line, const char *func, 501 isempty(file) ? "" : "CODE_FILE=", 502 isempty(file) ? "" : file, 503 isempty(file) 327 write_to_console( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument 387 write_to_syslog( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument 450 write_to_kmsg( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument 482 log_do_header( char *header, size_t size, int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object) argument 521 write_to_journal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument 554 log_dispatch( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, char *buffer) argument 634 log_dump_internal( int level, int error, const char *file, int line, const char *func, char *buffer) argument 655 log_internalv( int level, int error, const char *file, int line, const char *func, const char *format, va_list ap) argument 682 log_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument 700 log_object_internalv( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, va_list ap) argument 744 log_object_internal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, ...) argument 764 log_assert( int level, const char *text, const char *file, int line, const char *func, const char *format) argument 786 log_assert_failed(const char *text, const char *file, int line, const char *func) argument 791 log_assert_failed_unreachable(const char *text, const char *file, int line, const char *func) argument 796 log_assert_failed_return(const char *text, const char *file, int line, const char *func) argument 801 log_oom_internal(const char *file, int line, const char *func) argument 852 log_struct_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument 1117 log_syntax_internal( const char *unit, int level, const char *config_file, unsigned config_line, int error, const char *file, int line, const char *func, const char *format, ...) argument [all...] |
/systemd/src/boot/efi/ |
H A D | splash.c | 55 struct bmp_file *file; local 63 /* check file header */ 64 file = (struct bmp_file *)bmp; 65 if (file->signature[0] != 'B' || file->signature[1] != 'M') 67 if (file->size != size) 69 if (file->size < file->offset) 99 if (file->size - file [all...] |
/systemd/src/core/ |
H A D | kmod-setup.c | 2 This file is part of systemd. 36 const char *file, int line, 43 log_internalv(LOG_DEBUG, 0, file, line, fn, format, args); 33 systemd_kmod_log( void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) argument
|
/systemd/src/hostname/ |
H A D | org.freedesktop.hostname1.conf | 6 This file is part of systemd.
|
/systemd/src/locale/ |
H A D | org.freedesktop.locale1.conf | 6 This file is part of systemd.
|
/systemd/src/resolve/ |
H A D | org.freedesktop.resolve1.conf | 6 This file is part of systemd.
|
/systemd/src/timedate/ |
H A D | org.freedesktop.timedate1.conf | 6 This file is part of systemd.
|
/systemd/src/udev/ |
H A D | udev-builtin-kmod.c | 62 _printf_(6,0) static void udev_kmod_log(void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) { argument 63 log_internalv(priority, 0, file, line, fn, format, args);
|
/systemd/src/journal/ |
H A D | journal-send.c | 2 This file is part of systemd. 309 * temporary file and just pass a file descriptor of it to the 449 _public_ int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) { argument 454 r = sd_journal_printv_with_location(priority, file, line, func, format, ap); 460 _public_ int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) { argument 482 IOVEC_SET_STRING(iov[2], file); 489 _public_ int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) { argument 506 IOVEC_SET_STRING(iov[0], file); 522 const char *file, cons 521 sd_journal_sendv_with_location( const char *file, const char *line, const char *func, const struct iovec *iov, int n) argument 544 sd_journal_perror_with_location( const char *file, const char *line, const char *func, const char *message) argument [all...] |
/systemd/src/systemd/ |
H A D | sd-journal.h | 5 This file is part of systemd. 45 int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(5, 6); 46 int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) _sd_printf_(5, 0); 47 int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(4, 0) _sd_sentinel_; 48 int sd_journal_sendv_with_location(const char *file, const char *line, const char *func, const struct iovec *iov, int n); 49 int sd_journal_perror_with_location(const char *file, const char *line, const char *func, const char *message);
|
H A D | sd-lldp.h | 5 This file is part of systemd. 58 int sd_lldp_save(sd_lldp *lldp, const char *file);
|
/systemd/src/import/ |
H A D | org.freedesktop.import1.conf | 6 This file is part of systemd.
|
/systemd/src/network/ |
H A D | org.freedesktop.network1.conf | 6 This file is part of systemd.
|
/systemd/src/libudev/ |
H A D | libudev.c | 2 This file is part of systemd. 39 * The context contains the default values read from the udev config file, 51 int priority, const char *file, int line, const char *fn, 88 * file, and fills in the default values. 227 int priority, const char *file, int line, const char *fn, 225 udev_set_log_fn(struct udev *udev, void (*log_fn)(struct udev *udev, int priority, const char *file, int line, const char *fn, const char *format, va_list args)) argument
|
/systemd/src/bootchart/ |
H A D | bootchart.c | 2 This file is part of systemd. 257 static int do_journal_append(char *file) { argument 266 bootchart_file = strappend("BOOTCHART_FILE=", file); 273 bootchart_message = strjoin("MESSAGE=Bootchart created: ", file, NULL); 285 fd = open(file, O_RDONLY|O_CLOEXEC); 287 return log_error_errno(errno, "Failed to open bootchart data \"%s\": %m", file); 476 log_error("Error opening output file '%s': %m\n", output_file); 485 log_error_errno(r, "Error generating svg file: %m");
|
/systemd/src/udev/net/ |
H A D | link-config.c | 2 This file is part of systemd. 145 _cleanup_fclose_ FILE *file = NULL; local 151 file = fopen(filename, "re"); 152 if (!file) { 159 if (null_or_empty_fd(fileno(file))) { 160 log_debug("Skipping empty file: %s", filename); 172 r = config_parse(NULL, filename, file, 179 log_debug("Parsed configuration file %s", filename); 273 log_warning("Config file %s applies to device based on potentially unpredictable interface name '%s'", 279 log_warning("Config file [all...] |