| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/ |
| H A D | dio_mixed.ksh | 45 log_must rm -f $src_file $new_file $tmp_file 55 new_file=$mntpnt/new_file 83 log_must stride_dd -i $src_file -o $new_file -b $obs \ 85 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \ 87 log_must cmp_xxh128 $new_file $tmp_file 88 log_must rm -f $new_file $tmp_file 91 log_must stride_dd -i $src_file -o $new_file -b $obs \ 93 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \ 95 log_must cmp_xxh128 $new_file $tmp_file 96 log_must rm -f $new_file $tmp_file [all …]
|
| /freebsd/contrib/kyua/store/ |
| H A D | migrate.cpp | 184 const fs::path new_file = store::layout::new_db_for_migration( in chunk_database() local 186 if (fs::exists(new_file)) { in chunk_database() 187 LI(F("Skipping action because %s already exists") % new_file); in chunk_database() 191 LI(F("Creating %s for previous action %s") % new_file % action_id); in chunk_database() 194 fs::mkdir_p(new_file.branch_path(), 0755); in chunk_database() 196 new_file, sqlite::open_readwrite | sqlite::open_create); in chunk_database() 199 migrate_schema_step(new_file, in chunk_database() 206 fs::unlink(new_file); in chunk_database()
|
| /freebsd/crypto/krb5/src/util/profile/ |
| H A D | prof_file.c | 408 profile_filespec_t new_file; in write_data_to_file() local 414 new_file = old_file = 0; in write_data_to_file() 415 if (asprintf(&new_file, "%s.$$$", outfile) < 0) { in write_data_to_file() 416 new_file = NULL; in write_data_to_file() 426 f = fopen(new_file, "w"); in write_data_to_file() 446 if (rename(new_file, outfile)) { in write_data_to_file() 454 if (rename(new_file, outfile)) { in write_data_to_file() 469 if (rename(new_file, outfile)) { in write_data_to_file() 479 if (new_file) in write_data_to_file() 480 free(new_file); in write_data_to_file()
|
| H A D | prof_init.c | 170 prf_file_t new_file, last = 0; in profile_init_flags() local 190 retval = profile_open_file(*fs, &new_file, modspec_arg); in profile_init_flags() 212 last->next = new_file; in profile_init_flags() 214 profile->first_file = new_file; in profile_init_flags() 215 last = new_file; in profile_init_flags()
|
| /freebsd/usr.sbin/rpc.statd/ |
| H A D | file.c | 174 int new_file = FALSE; in init_file() local 183 new_file = TRUE; in init_file() 200 if (!new_file) in init_file() 206 new_file = TRUE; in init_file() 211 if (new_file) in init_file()
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | msyslog.c | 460 FILE * new_file; in change_logfile() local 484 new_file = stderr; in change_logfile() 487 new_file = stdout; in change_logfile() 516 new_file = fopen(abs_fname, "a"); in change_logfile() 519 if (NULL == new_file) { in change_logfile() 531 fileno(syslog_file) != fileno(new_file)) in change_logfile() 533 syslog_file = new_file; in change_logfile()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | nullfs29.sh | 39 int new_dir, new_file, ret; 57 new_file = openat(AT_FDCWD, path, O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0644); 58 if (new_file== -1)
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | GCDAProfiling.c | 79 static int new_file = 0; variable 158 if (!new_file) return; in resize_write_buffer() 189 if (new_file) in read_32bit_value() 341 new_file = 0; in llvm_gcda_start_file() 349 new_file = 1; in llvm_gcda_start_file() 516 if (new_file) { in llvm_gcda_end_file()
|
| /freebsd/contrib/less/ |
| H A D | prompt.c | 24 extern lbool new_file; 240 return (ntags() ? TRUE : new_file ? TRUE : FALSE); in cond() 242 return (new_file ? TRUE : FALSE); in cond() 597 new_file = FALSE; in pr_string()
|
| H A D | edit.c | 25 extern lbool new_file; 454 new_file = TRUE; in edit_ifile()
|
| H A D | main.c | 31 public lbool new_file; variable
|
| /freebsd/lib/libc/db/hash/ |
| H A D | hash_buf.c | 127 is_disk = is_disk_mask || !hashp->new_file; in __get_buf() 230 if (hashp->new_file && in newbuf()
|
| H A D | hash.h | 104 int new_file; /* Indicates if fd is backing store member
|
| H A D | hash.c | 181 hashp->new_file = new_table; in __hash_open() 461 hashp->new_file = 0; in hash_sync()
|
| /freebsd/tests/sys/capsicum/ |
| H A D | capability-fd.cc | 275 int new_file = openat(dir, "../dev/null", O_RDONLY); variable 276 EXPECT_EQ(-1, new_file); 278 new_file = openat(dir, "..", O_RDONLY); 279 EXPECT_EQ(-1, new_file); 281 new_file = openat(dir, "/dev/null", O_RDONLY); 282 EXPECT_EQ(-1, new_file); 284 new_file = openat(dir, "/", O_RDONLY); 285 EXPECT_EQ(-1, new_file);
|
| /freebsd/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_ucma.c | 1522 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument 1549 if (cur_file == new_file) { in ucma_migrate_id() 1558 ucma_lock_files(cur_file, new_file); in ucma_migrate_id() 1561 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id() 1562 ucma_move_events(ctx, new_file); in ucma_migrate_id() 1563 ctx->file = new_file; in ucma_migrate_id() 1567 ucma_unlock_files(cur_file, new_file); in ucma_migrate_id()
|
| /freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/hash/ |
| H A D | hash.h | 98 int32_t new_file; /* Indicates if fd is backing store or no */ member
|
| H A D | hash.c | 208 hashp->new_file = new_table; in __kdb2_hash_open()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | ScriptInterpreterPython.cpp | 619 auto new_file = PythonFile::FromFile(file, mode); in SetStdHandle() local 620 if (!new_file) { in SetStdHandle() 621 llvm::consumeError(new_file.takeError()); in SetStdHandle() 627 sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get()); in SetStdHandle()
|