Searched defs:dn (Results 1 - 6 of 6) sorted by relevance

/systemd/src/journal/
H A Dtest-journal-flush.c32 char dn[] = "/var/tmp/test-journal-flush.XXXXXX"; local
38 assert_se(mkdtemp(dn));
39 fn = strappend(dn, "/test.journal");
72 assert_se(rmdir(dn) == 0);
/systemd/src/core/
H A Dumount.c237 const char *dn; local
243 dn = udev_device_get_devnode(d);
244 if (!dn)
247 loop = strdup(dn);
298 const char *dn; local
305 dn = udev_device_get_devnode(d);
306 if (major(devnum) == 0 || !dn)
309 node = strdup(dn);
H A Ddevice.c379 const char *sysfs, *dn, *alias; local
395 dn = udev_device_get_devnode(dev);
396 if (dn)
397 (void) device_setup_unit(m, dev, dn, false);
H A Dnamespace.c195 _cleanup_free_ char *dn = NULL; local
217 dn = strappend(temporary_mount, d);
218 if (!dn) {
224 r = mknod(dn, st.st_mode, st.st_rdev);
H A Dswap.c434 const char *dn; local
454 dn = udev_device_get_devnode(d);
455 if (dn && !streq(dn, device))
456 swap_setup_unit(m, dn, device, prio, set_flags);
1323 const char *dn; local
1330 dn = udev_device_get_devnode(dev);
1331 if (!dn)
1334 r = unit_name_from_path(dn, ".swap", &e);
1340 r = swap_set_devnode(s, dn);
1363 const char *dn; local
[all...]
/systemd/src/basic/
H A Dcgroup-util.c479 const char *dn; local
485 dn = controller_to_dirname(controller);
488 t = strappend("/sys/fs/cgroup/", dn);
490 t = strjoin("/sys/fs/cgroup/", dn, "/", suffix, NULL);
492 t = strjoin("/sys/fs/cgroup/", dn, "/", path, NULL);
494 t = strjoin("/sys/fs/cgroup/", dn, "/", path, "/", suffix, NULL);
594 const char *cc, *dn; local
596 dn = controller_to_dirname(controller);
597 cc = strjoina("/sys/fs/cgroup/", dn);

Completed in 42 milliseconds