Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_aligned_block.ksh36 log_must rm -f $tmp_file
48 tmp_file=$mntpnt/tmp_file
51 log_must stride_dd -i /dev/urandom -o $tmp_file -b $file_size -c 1
54 check_write $TESTPOOL $tmp_file $rs 1 0 "-D" 0 1
55 check_write $TESTPOOL $tmp_file $rs 2 0 "-D" 0 2
56 check_write $TESTPOOL $tmp_file $rs 4 0 "-D" 0 4
57 check_write $TESTPOOL $tmp_file $rs 8 0 "-D" 0 8
60 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 0 "-D" 0 2
61 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 1 "-D" 0 2
62 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 2 "-D" 0 2
[all …]
H A Ddio_property.ksh37 log_must rm -f $tmp_file
47 tmp_file=$mntpnt/tmp_file
60 check_write $TESTPOOL $tmp_file $rs $count 0 "" 1 $((count - 1))
63 check_write $TESTPOOL $tmp_file $rs $count 0 "" 0 $count
66 check_write $TESTPOOL $tmp_file $((rs / 2)) $((2 * count)) 0 "" $((2 * count)) 0
69 check_write $TESTPOOL $tmp_file 512 $count 0 "" $count 0
70 evict_blocks $TESTPOOL $tmp_file $file_size
73 check_read $TESTPOOL $tmp_file $rs $count 0 "" 0 $count
76 check_read $TESTPOOL $tmp_file $((rs / 2)) $((count * 2)) 0 "" 0 $((2 * count))
79 check_read $TESTPOOL $tmp_file 512 $count 0 "" 1 0
[all …]
H A Ddio_grow_block.ksh34 log_must rm -f $tmp_file
43 tmp_file=$mntpnt/tmp_file
56 check_write $TESTPOOL $tmp_file $bs 1 0 "-D" 1 0
60 check_write $TESTPOOL $tmp_file 4096 1 0 "-D" 1 0
61 check_write $TESTPOOL $tmp_file 4096 1 1 "-D" 1 0
65 check_write $TESTPOOL $tmp_file $bs 1 0 "-D" 0 1
68 evict_blocks $TESTPOOL $tmp_file $bs
72 check_read $TESTPOOL $tmp_file $bs 1 0 "-d" 0 1
73 check_read $TESTPOOL $tmp_file 4096 1 0 "-d" 0 1
74 check_read $TESTPOOL $tmp_file 4096 1 1 "-d" 0 1
H A Ddio_mixed.ksh35 log_must rm -f $src_file $new_file $tmp_file
46 tmp_file=$mntpnt/tmp_file
75 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
77 log_must cmp_xxh128 $new_file $tmp_file
78 log_must rm -f $new_file $tmp_file
83 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
85 log_must cmp_xxh128 $new_file $tmp_file
86 log_must rm -f $new_file $tmp_file
91 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
93 log_must cmp_xxh128 $new_file $tmp_file
[all …]
H A Ddio_unaligned_block.ksh39 log_must rm -f $tmp_file
51 tmp_file=$mntpnt/tmp_file
54 log_must stride_dd -i /dev/urandom -o $tmp_file -b $file_size -c 1
59 log_must stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8 -D
60 log_must stride_dd -i $tmp_file -o /dev/null -b 512 -c 8 -d
65 log_mustnot stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8 -D
66 log_mustnot stride_dd -i $tmp_file -o /dev/null -b 512 -c 8 -d
70 log_must stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8
71 log_must stride_dd -i $tmp_file -o /dev/null -b 512 -c 8
75 log_must stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8 -D
[all …]
H A Ddio_mmap.ksh38 log_must rm -f "$tmp_file"
46 tmp_file=$mntpnt/file
55 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
58 log_must eval "fio --filename=$tmp_file --name=direct-write \
64 log_must eval "fio --filename=$tmp_file --name=direct-read \
70 log_must eval "fio --filename=$tmp_file --name=mmap-write \
76 log_must eval "fio --filename=$tmp_file --name=mmap-read \
H A Ddio_random.ksh38 log_must rm -f "$tmp_file"
46 tmp_file=$mntpnt/file
53 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
57 log_must eval "fio --filename=$tmp_file --name=direct-rwrand \
65 log_must eval "fio --filename=$tmp_file --name=buffered-write \
H A Ddio_async_always.ksh37 rm $tmp_file
47 tmp_file=$mntpnt/tmp_file
52 log_must truncate -s $file_size $tmp_file
54 log_must fio --filename=$tmp_file --name=always-randrw \
H A Ddio_overwrites.ksh36 log_must rm -f "$tmp_file"
44 tmp_file=$mntpnt/file
53 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
56 log_must eval "fio --filename=$tmp_file --name=direct-write \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_mixed.ksh35 log_must rm -f "$tmp_file"
43 tmp_file=$mntpnt/file
49 log_must dd if=/dev/zero of=$tmp_file bs=$bs count=$blocks
52 log_must eval "fio --filename=$tmp_file --name=buffer-write \
58 log_must eval "fio --filename=$tmp_file --name=buffer-read \
64 log_must eval "fio --filename=$tmp_file --name=mmap-write \
70 log_must eval "fio --filename=$tmp_file --name=mmap-read \
/freebsd/usr.bin/patch/
H A Dbackupfile.c54 char *dir, *base_versions, *tmp_file; in find_backup_file_name() local
59 tmp_file = strdup(file); in find_backup_file_name()
60 if (tmp_file == NULL) in find_backup_file_name()
62 base_versions = concat(basename(tmp_file), ".~"); in find_backup_file_name()
63 free(tmp_file); in find_backup_file_name()
66 tmp_file = strdup(file); in find_backup_file_name()
67 if (tmp_file == NULL) { in find_backup_file_name()
71 dir = dirname(tmp_file); in find_backup_file_name()
74 free(tmp_file); in find_backup_file_name()
79 free(tmp_file); in find_backup_file_name()
/freebsd/crypto/krb5/src/plugins/kdb/ldap/ldap_util/
H A Dkdb5_ldap_services.c98 char *file_name = NULL, *tmp_file = NULL; in kdb5_ldap_stash_service_password() local
238 if (asprintf(&tmp_file,"%s.tmp",file_name) < 0) { in kdb5_ldap_stash_service_password()
245 newfile = fopen(tmp_file, "w"); in kdb5_ldap_stash_service_password()
248 com_err(me, errno, _("Error creating file %s"), tmp_file); in kdb5_ldap_stash_service_password()
262 unlink(tmp_file); in kdb5_ldap_stash_service_password()
271 unlink(tmp_file); in kdb5_ldap_stash_service_password()
282 unlink(tmp_file); in kdb5_ldap_stash_service_password()
292 ret = rename(tmp_file, file_name); in kdb5_ldap_stash_service_password()
310 if (tmp_file) in kdb5_ldap_stash_service_password()
311 free(tmp_file); in kdb5_ldap_stash_service_password()
/freebsd/tests/sys/aio/
H A Daio_kqueue_test.c69 int tmp_file = 0; in main() local
92 tmp_file = 1; in main()
225 if (tmp_file) in main()
H A Dlio_kqueue_test.c68 int tmp_file = 0, failed = 0; in main() local
87 tmp_file = 1; in main()
228 if (tmp_file) in main()
/freebsd/contrib/ee/
H A Dee.c196 char *tmp_file; /* temporary file name */ variable
1876 tmp_file = resolve_name(cmd_str); in command()
1877 write_file(tmp_file, 1); in command()
1878 if (tmp_file != cmd_str) in command()
1879 free(tmp_file); in command()
1892 tmp_file = cmd_str; in command()
1894 tmp_file = resolve_name(cmd_str); in command()
1896 if (tmp_file != cmd_str) in command()
1897 free(tmp_file); in command()
2368 in_file_name = tmp_file = top_of_stack->name; in check_fp()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DModuleCache.h62 const ModuleSpec &module_spec, const FileSpec &tmp_file,
/freebsd/usr.bin/sort/
H A Dfile.h107 void tmp_file_atexit(const char *tmp_file);
H A Dfile.c129 tmp_file_atexit(const char *tmp_file) in tmp_file_atexit() argument
132 if (tmp_file) { in tmp_file_atexit()
136 item->fn = sort_strdup(tmp_file); in tmp_file_atexit()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp192 const ModuleSpec &module_spec, const FileSpec &tmp_file, in Put() argument
199 const auto tmp_file_path = tmp_file.GetPath(); in Put()
/freebsd/contrib/byacc/test/
H A Dgrammar.y321 FILE *tmp_file; /* temporary file */ member
728 fputs(cur_text(), cur_file->tmp_file);
737 fputs(" =", cur_file->tmp_file);
/freebsd/contrib/byacc/test/yacc/
H A Dgrammar.tab.c351 FILE *tmp_file; /* temporary file */ member
1711 fputs(cur_text(), cur_file->tmp_file); in YYPARSE_DECL()
1723 fputs(" =", cur_file->tmp_file); in YYPARSE_DECL()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.cpp249 FileSpec tmp_file; member
258 if (tmp_file) in Materialize()
259 return tmp_file; in Materialize()
268 return tmp_file; in Materialize()
274 tmp_file.SetPath(name); in Materialize()
275 return tmp_file; in Materialize()
/freebsd/contrib/byacc/test/btyacc/
H A Dgrammar.tab.c371 FILE *tmp_file; /* temporary file */ member
2438 fputs(cur_text(), cur_file->tmp_file); in YYPARSE_DECL()
2450 fputs(" =", cur_file->tmp_file); in YYPARSE_DECL()
/freebsd/crypto/openssl/test/
H A DREADME.ssltest.md236 unlink glob $tmp_file;