Lines Matching refs:device_node
2675 char device_node[UTIL_PATH_SIZE];
2685 strscpyl(device_node, sizeof(device_node), "/dev/", rules_str(rules, cur->key.value_off), NULL);
2686 if (stat(device_node, &stats) != 0)
2704 r = symlink(device_node, tag_symlink);
2707 tag_symlink, device_node);
2724 r = chmod(device_node, mode);
2726 log_error("failed to chmod '%s' %#o", device_node, mode);
2729 log_debug("chmod '%s' %#o", device_node, mode);
2733 r = chown(device_node, uid, gid);
2735 log_error("failed to chown '%s' %u %u ", device_node, uid, gid);
2738 log_debug("chown '%s' %u %u", device_node, uid, gid);
2741 utimensat(AT_FDCWD, device_node, NULL, 0);