/systemd/src/network/ |
H A D | networkd-netdev-vlan.c | 45 static int netdev_vlan_verify(NetDev *netdev, const char *filename) { argument 49 assert(filename); 56 log_warning("VLAN without valid Id (%"PRIu64") configured in %s. Ignoring", v->id, filename);
|
H A D | networkd-netdev-veth.c | 62 static int netdev_veth_verify(NetDev *netdev, const char *filename) { argument 67 assert(filename); 75 filename);
|
H A D | networkd-netdev-tuntap.c | 151 static int tuntap_verify(NetDev *netdev, const char *filename) { argument
|
H A D | networkd-util.c | 63 const char *filename, 75 assert(filename); 93 log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse IPForward= option, ignoring: %s", rvalue); 61 config_parse_address_family_boolean_with_kernel( const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument
|
H A D | networkd-fdb.c | 164 const char *filename, 178 assert(filename); 198 log_syntax(unit, LOG_ERR, filename, line, 0, "Not a valid MAC address, ignoring assignment: %s", rvalue); 210 const char *filename, 224 assert(filename); 234 r = config_parse_unsigned(unit, filename, line, section, 162 config_parse_fdb_hwaddr( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 208 config_parse_fdb_vlan_id( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument
|
H A D | networkd-netdev-vxlan.c | 138 const char *filename, 151 assert(filename); 158 log_syntax(unit, LOG_ERR, filename, line, r, "vxlan multicast group address is invalid, ignoring assignment: %s", rvalue); 163 log_syntax(unit, LOG_ERR, filename, line, 0, "vxlan multicast group incompatible, ignoring assignment: %s", rvalue); 174 const char *filename, 188 assert(filename); 195 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to extract VXLAN port range, ignoring: %s", rvalue); 204 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse VXLAN port range '%s'", word); 209 log_syntax(unit, LOG_ERR, filename, line, r, 215 log_syntax(unit, LOG_ERR, filename, lin 137 config_parse_vxlan_group_address(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 173 config_parse_port_range(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 226 config_parse_destination_port(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 256 netdev_vxlan_verify(NetDev *netdev, const char *filename) argument [all...] |
/systemd/src/udev/ |
H A D | udev-watch.c | 92 char filename[UTIL_PATH_SIZE]; local 107 xsprintf(filename, "/run/udev/watch/%d", wd); 108 mkdir_parents(filename, 0755); 109 unlink(filename); 110 r = symlink(udev_device_get_id_filename(dev), filename); 112 log_error_errno(errno, "Failed to create symlink %s: %m", filename); 119 char filename[UTIL_PATH_SIZE]; local 131 xsprintf(filename, "/run/udev/watch/%d", wd); 132 unlink(filename); 138 char filename[UTIL_PATH_SIZ local [all...] |
H A D | udevadm-test-builtin.c | 45 char filename[UTIL_PATH_SIZE]; local 84 strscpyl(filename, sizeof(filename), "/sys", syspath, NULL); 86 strscpy(filename, sizeof(filename), syspath); 87 util_remove_trailing_chars(filename, '/'); 89 dev = udev_device_new_from_syspath(udev, filename); 91 fprintf(stderr, "unable to open device '%s'\n\n", filename);
|
H A D | udevadm-test.c | 45 char filename[UTIL_PATH_SIZE]; local 116 strscpyl(filename, sizeof(filename), "/sys", syspath, NULL); 118 strscpy(filename, sizeof(filename), syspath); 119 util_remove_trailing_chars(filename, '/'); 121 dev = udev_device_new_from_synthetic_event(udev, filename, action); 123 fprintf(stderr, "unable to open device '%s'\n", filename);
|
H A D | udevadm-trigger.c | 39 char filename[UTIL_PATH_SIZE]; local 46 strscpyl(filename, sizeof(filename), udev_list_entry_get_name(entry), "/uevent", NULL); 47 fd = open(filename, O_WRONLY|O_CLOEXEC); 51 log_debug_errno(errno, "error writing '%s' to '%s': %m", action, filename);
|
/systemd/src/basic/ |
H A D | cpu-set-util.c | 66 const char *filename, 84 return log_syntax(unit, LOG_ERR, filename, line, r, "Invalid value for %s: %s", lvalue, whole_rvalue); 96 return log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse CPU affinity '%s'", word); 98 return log_syntax(unit, LOG_ERR, filename, line, EINVAL, "CPU out of range '%s' ncpus is %u", word, ncpus); 101 log_syntax(unit, LOG_WARNING, filename, line, 0, "Range '%s' is invalid, %u > %u", word, cpu_lower, cpu_upper); 62 parse_cpu_set_and_warn( const char *rvalue, cpu_set_t **cpu_set, const char *unit, const char *filename, unsigned line, const char *lvalue) argument
|
H A D | xattr-util.c | 106 ssize_t fgetxattrat_fake(int dirfd, const char *filename, const char *attribute, void *value, size_t size, int flags) { argument 113 fd = openat(dirfd, filename, O_RDONLY|O_CLOEXEC|O_NOCTTY|O_PATH|(flags & AT_SYMLINK_NOFOLLOW ? O_NOFOLLOW : 0));
|
H A D | extract-word.c | 208 const char *filename, 231 log_syntax(unit, LOG_WARNING, filename, line, EINVAL, "Invalid escape sequences in line, correcting: \"%s\"", rvalue); 237 return log_syntax(unit, LOG_ERR, filename, line, r, "Unbalanced quoting, ignoring: \"%s\"", rvalue); 241 return log_syntax(unit, LOG_ERR, filename, line, r, "Unable to decode word \"%s\", ignoring: %m", rvalue); 202 extract_first_word_and_warn( const char **p, char **ret, const char *separators, ExtractFlags flags, const char *unit, const char *filename, unsigned line, const char *rvalue) argument
|
H A D | mount-util.c | 40 static int fd_fdinfo_mnt_id(int fd, const char *filename, int flags, int *mnt_id) { argument 47 if ((flags & AT_EMPTY_PATH) && isempty(filename)) 50 subfd = openat(fd, filename, O_RDONLY|O_CLOEXEC|O_NOCTTY|O_PATH); 79 int fd_is_mount_point(int fd, const char *filename, int flags) { argument 87 assert(filename); 112 r = name_to_handle_at(fd, filename, &h.handle, &mount_id, flags); 164 r = fd_fdinfo_mnt_id(fd, filename, flags, &mount_id); 192 if (fstatat(fd, filename, &a, flags) < 0)
|
/systemd/src/resolve/ |
H A D | resolved-conf.c | 136 const char *filename, 149 assert(filename); 161 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse DNS server string '%s'. Ignoring.", rvalue); 178 const char *filename, 191 assert(filename); 203 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse search domains string '%s'. Ignoring.", rvalue); 134 config_parse_dns_servers( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 176 config_parse_search_domains( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument
|
/systemd/src/timesync/ |
H A D | timesyncd-conf.c | 68 const char *filename, 81 assert(filename); 90 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse NTP server string '%s'. Ignoring.", rvalue); 66 config_parse_servers( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument
|
/systemd/src/coredump/ |
H A D | coredump-vacuum.c | 65 static int uid_from_file_name(const char *filename, uid_t *uid) { argument 68 p = startswith(filename, "core.");
|
/systemd/src/nspawn/ |
H A D | nspawn-settings.c | 116 const char *filename, 129 assert(filename); 135 log_syntax(unit, LOG_ERR, filename, line, r, "Duplicate port specification, ignoring: %s", rvalue); 139 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse host port %s: %m", rvalue); 148 const char *filename, 161 assert(filename); 171 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to extract capability string, ignoring: %s", rvalue); 179 log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse capability, ignoring: %s", word); 195 const char *filename, 208 assert(filename); 114 config_parse_expose_port( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 146 config_parse_capability( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 193 config_parse_id128( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 222 config_parse_bind( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 250 config_parse_tmpfs( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 278 config_parse_veth_extra( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 306 config_parse_boot( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument 351 config_parse_pid2( const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) argument [all...] |
/systemd/src/analyze/ |
H A D | analyze-verify.c | 33 static int prepare_filename(const char *filename, char **ret) { argument 41 assert(filename); 44 r = path_make_absolute_cwd(filename, &abspath); 74 char **filename; local 79 STRV_FOREACH(filename, filenames) { 82 t = dirname_malloc(*filename); 242 char **filename; local 274 STRV_FOREACH(filename, filenames) { 277 log_debug("Handling %s...", *filename); 279 k = prepare_filename(*filename, [all...] |
/systemd/src/udev/net/ |
H A D | link-config.h | 51 char *filename; member in struct:link_config 97 int config_parse_mac_policy(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); 98 int config_parse_name_policy(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
/systemd/src/bootchart/ |
H A D | store.c | 75 char filename[PATH_MAX]; local 79 sprintf(filename, "%d/cmdline", pid); 80 fd = openat(procfd, filename, O_RDONLY|O_CLOEXEC); 208 char filename[PATH_MAX]; local 257 sprintf(filename, "%d/sched", pid); 258 ps->sched = openat(procfd, filename, O_RDONLY|O_CLOEXEC); 303 sprintf(filename, "%d/stat", pid); 304 fd = openat(procfd, filename, O_RDONLY|O_CLOEXEC); 365 sprintf(filename, "%d/schedstat", pid); 366 ps->schedstat = openat(procfd, filename, O_RDONL [all...] |
/systemd/src/journal/ |
H A D | compress.c | 674 int decompress_stream(const char *filename, int fdf, int fdt, uint64_t max_bytes) { argument 676 if (endswith(filename, ".lz4")) 678 else if (endswith(filename, ".xz"))
|
H A D | journal-vacuum.c | 39 char *filename; member in struct:vacuum_info 71 return strcmp(a->filename, b->filename); 299 list[n_list].filename = p; 323 if (unlinkat(dirfd(d), list[i].filename, 0) >= 0) { 324 log_full(verbose ? LOG_INFO : LOG_DEBUG, "Deleted archived journal %s/%s (%s).", directory, list[i].filename, format_bytes(sbytes, sizeof(sbytes), list[i].usage)); 333 log_warning_errno(errno, "Failed to delete archived journal %s/%s: %m", directory, list[i].filename); 343 free(list[i].filename);
|
/systemd/src/libsystemd/sd-network/ |
H A D | sd-network.c | 166 _public_ int sd_network_link_get_network_file(int ifindex, char **filename) { argument 167 return network_link_get_string(ifindex, "NETWORK_FILE", filename);
|
/systemd/src/libudev/ |
H A D | libudev-device-private.c | 310 const char *filename; local 315 r = device_get_id_filename(udev_device->device, &filename); 321 return filename;
|