Lines Matching defs:file
67 /* every key in the rules file becomes a token */
689 static int wait_for_file(struct udev_device *dev, const char *file, int timeout) {
697 if (file[0] != '/') {
699 strscpyl(filepath, sizeof(filepath), devicepath, "/", file, NULL);
700 file = filepath;
706 /* lookup file */
707 if (stat(file, &stats) == 0) {
708 log_debug("file '%s' appeared after %i loops", file, (timeout * WAIT_LOOP_PER_SECOND) - loop-1);
713 log_debug("device disappeared while waiting for '%s'", file);
716 log_debug("wait for '%s' for %i mseconds", file, 1000 / WAIT_LOOP_PER_SECOND);
719 log_debug("waiting for '%s' failed", file);
1081 log_error("invalid key/value pair in file %s on line %u, starting at character %tu ('%s')",
1346 } else if (streq(attr, "file")) {
1616 log_debug("Skipping empty file: %s", filename);
1619 log_debug("Reading rules file: %s", filename);
1659 /* link GOTOs to LABEL rules in this file to be able to fast-forward */
1716 * rules file names to the beginning of the string buffer.