Searched refs:dirname (Results 1 - 11 of 11) sorted by relevance

/systemd/test/
H A Drule-syntax-check.py29 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
H A Dnetworkd-test.py50 os.makedirs(os.path.dirname(self.config), exist_ok=True)
/systemd/src/udev/
H A Dudev-node.c185 char dirname[UTIL_PATH_SIZE]; local
190 strscpyl(dirname, sizeof(dirname), "/run/udev/links/", name_enc, NULL);
191 strscpyl(filename, sizeof(filename), dirname, "/", udev_device_get_id_filename(dev), NULL);
194 rmdir(dirname);
196 target = link_find_prioritized(dev, add, dirname, buf, sizeof(buf));
/systemd/
H A D.ycm_extra_conf.py15 return os.path.dirname(os.path.abspath(__file__))
H A Dautogen.sh21 topdir=$(dirname $0)
/systemd/src/import/
H A Dexport-raw.c22 /* When we include libgen.h because we need dirname() we immediately
269 d = dirname(p);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.c760 _cleanup_free_ char *dirname = NULL; local
768 dirname = dirname_malloc(device->syspath);
769 if (!dirname)
772 new_syspath = strjoina(dirname, "/", name);
/systemd/src/journal/
H A Dsd-journal.c1366 static int add_directory(sd_journal *j, const char *prefix, const char *dirname) { argument
1375 assert(dirname);
1377 log_debug("Considering %s/%s.", prefix, dirname);
1380 !(dirname_is_machine_id(dirname) > 0 || path_startswith(prefix, "/run")))
1383 path = strjoin(prefix, "/", dirname, NULL);
1443 k = journal_put_error(j, r, path ?: dirname);
/systemd/src/basic/
H A Dpath-util.c28 /* When we include libgen.h because we need dirname() we immediately
677 dir = dirname(d);
/systemd/src/machine/
H A Dmachine-dbus.c24 /* When we include libgen.h because we need dirname() we immediately
1184 host_dirname = dirname(t);
1188 container_dirname = dirname(t);
/systemd/src/libsystemd/sd-bus/
H A Dbus-kernel.c29 /* When we include libgen.h because we need dirname() we immediately
1728 p = strjoin(dirname(path), "/", name, NULL);

Completed in 43 milliseconds