Searched defs:dirname (Results 1 - 4 of 4) sorted by relevance
/systemd/src/udev/ |
H A D | udev-node.c | 185 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));
|
H A D | udev-rules.c | 694 char dirname[UTIL_PATH_SIZE]; local 698 strscpy(dirname, sizeof(dirname), attr); 699 pos = strstr(dirname, "/*/"); 704 dir = opendir(dirname); 713 strscpyl(attr, len, dirname, "/", dent->d_name, tail, NULL);
|
/systemd/src/libsystemd/sd-device/ |
H A D | device-private.c | 760 _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 D | sd-journal.c | 1366 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);
|
Completed in 33 milliseconds