Lines Matching refs:filename
92 char filename[UTIL_PATH_SIZE];
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];
131 xsprintf(filename, "/run/udev/watch/%d", wd);
132 unlink(filename);
138 char filename[UTIL_PATH_SIZE];
145 xsprintf(filename, "/run/udev/watch/%d", wd);
146 len = readlink(filename, device, sizeof(device));