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.ksh46 log_must rm -f $tmp_file
58 tmp_file=$mntpnt/tmp_file
61 log_must stride_dd -i /dev/urandom -o $tmp_file -b $file_size -c 1
64 check_write $TESTPOOL $tmp_file $rs 1 0 "-D" 0 1
65 check_write $TESTPOOL $tmp_file $rs 2 0 "-D" 0 2
66 check_write $TESTPOOL $tmp_file $rs 4 0 "-D" 0 4
67 check_write $TESTPOOL $tmp_file $rs 8 0 "-D" 0 8
70 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 0 "-D" 0 2
71 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 1 "-D" 0 2
72 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 2 "-D" 0 2
[all …]
H A Ddio_property.ksh47 log_must rm -f $tmp_file
57 tmp_file=$mntpnt/tmp_file
70 check_write $TESTPOOL $tmp_file $rs $count 0 "" 1 $((count - 1))
73 check_write $TESTPOOL $tmp_file $rs $count 0 "" 0 $count
76 check_write $TESTPOOL $tmp_file $((rs / 2)) $((2 * count)) 0 "" $((2 * count)) 0
79 check_write $TESTPOOL $tmp_file 512 $count 0 "" $count 0
80 evict_blocks $TESTPOOL $tmp_file $file_size
83 check_read $TESTPOOL $tmp_file $rs $count 0 "" 0 $count
86 check_read $TESTPOOL $tmp_file $((rs / 2)) $((count * 2)) 0 "" 0 $((2 * count))
89 check_read $TESTPOOL $tmp_file 512 $count 0 "" 1 0
[all …]
H A Ddio_grow_block.ksh44 log_must rm -f $tmp_file
53 tmp_file=$mntpnt/tmp_file
66 check_write $TESTPOOL $tmp_file $bs 1 0 "-D" 1 0
70 check_write $TESTPOOL $tmp_file 4096 1 0 "-D" 1 0
71 check_write $TESTPOOL $tmp_file 4096 1 1 "-D" 1 0
75 check_write $TESTPOOL $tmp_file $bs 1 0 "-D" 0 1
78 evict_blocks $TESTPOOL $tmp_file $bs
82 check_read $TESTPOOL $tmp_file $bs 1 0 "-d" 0 1
83 check_read $TESTPOOL $tmp_file 4096 1 0 "-d" 0 1
84 check_read $TESTPOOL $tmp_file 4096 1 1 "-d" 0 1
H A Ddio_mixed.ksh45 log_must rm -f $src_file $new_file $tmp_file
56 tmp_file=$mntpnt/tmp_file
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
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
101 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
103 log_must cmp_xxh128 $new_file $tmp_file
[all …]
H A Ddio_unaligned_block.ksh49 log_must rm -f $tmp_file
61 tmp_file=$mntpnt/tmp_file
64 log_must stride_dd -i /dev/urandom -o $tmp_file -b $file_size -c 1
69 log_must stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8 -D
70 log_must stride_dd -i $tmp_file -o /dev/null -b 512 -c 8 -d
75 log_mustnot stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8 -D
76 log_mustnot stride_dd -i $tmp_file -o /dev/null -b 512 -c 8 -d
80 log_must stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8
81 log_must stride_dd -i $tmp_file -o /dev/null -b 512 -c 8
85 log_must stride_dd -i /dev/urandom -o $tmp_file -b 512 -c 8 -D
[all …]
H A Ddio_mmap.ksh48 log_must rm -f "$tmp_file"
56 tmp_file=$mntpnt/file
65 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
68 log_must eval "fio --filename=$tmp_file --name=direct-write \
74 log_must eval "fio --filename=$tmp_file --name=direct-read \
80 log_must eval "fio --filename=$tmp_file --name=mmap-write \
86 log_must eval "fio --filename=$tmp_file --name=mmap-read \
H A Ddio_random.ksh48 log_must rm -f "$tmp_file"
56 tmp_file=$mntpnt/file
63 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
67 log_must eval "fio --filename=$tmp_file --name=direct-rwrand \
75 log_must eval "fio --filename=$tmp_file --name=buffered-write \
H A Ddio_async_always.ksh47 rm $tmp_file
57 tmp_file=$mntpnt/tmp_file
62 log_must truncate -s $file_size $tmp_file
64 log_must fio --filename=$tmp_file --name=always-randrw \
H A Ddio_overwrites.ksh46 log_must rm -f "$tmp_file"
54 tmp_file=$mntpnt/file
63 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
66 log_must eval "fio --filename=$tmp_file --name=direct-write \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_mixed.ksh45 log_must rm -f "$tmp_file"
53 tmp_file=$mntpnt/file
59 log_must dd if=/dev/zero of=$tmp_file bs=$bs count=$blocks
62 log_must eval "fio --filename=$tmp_file --name=buffer-write \
68 log_must eval "fio --filename=$tmp_file --name=buffer-read \
74 log_must eval "fio --filename=$tmp_file --name=mmap-write \
80 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
1712 tmp_file = resolve_name(cmd_str); in command()
1713 write_file(tmp_file, 1); in command()
1714 if (tmp_file != cmd_str) in command()
1715 free(tmp_file); in command()
1728 tmp_file = cmd_str; in command()
1730 tmp_file = resolve_name(cmd_str); in command()
1732 if (tmp_file != cmd_str) in command()
1733 free(tmp_file); in command()
2160 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;