Lines Matching defs:check_file
898 char check_file[PATH_MAX], drain[100], ref, data;
909 if (strlcpy(check_file, check_path, sizeof(check_file))
910 >= sizeof(check_file))
913 if (strlcat(check_file, "/", sizeof(check_file))
914 >= sizeof(check_file))
917 check_file[0] = '\0';
920 if (strlcat(check_file, filename, sizeof(check_file))
921 >= sizeof(check_file))
928 else if ((check_fd = open(check_file, O_RDONLY, 0)) < 0) {
933 cur_file, line, check_file);
937 check_fd = open(check_file, O_WRONLY | O_CREAT, 0644);
940 cur_file, line, check_file);
965 check_file);
991 err(2, "Bad write on file %s", check_file);
1012 cur_file, line, check_file, offs,
1057 excess(check_file, 0, __func__, "", drain,