Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_aligned_block.ksh45 log_must rm -f $tmp_file
57 tmp_file=$mntpnt/tmp_file
60 log_must stride_dd -i /dev/urandom -o $tmp_file -b $file_size -c 1
63 check_write $TESTPOOL $tmp_file $rs 1 0 "-D" 0 1
64 check_write $TESTPOOL $tmp_file $rs 2 0 "-D" 0 2
65 check_write $TESTPOOL $tmp_file $rs 4 0 "-D" 0 4
66 check_write $TESTPOOL $tmp_file $rs 8 0 "-D" 0 8
69 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 0 "-D" 0 2
70 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 1 "-D" 0 2
71 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 2 "-D" 0 2
[all …]
H A Ddio_property.ksh46 log_must rm -f $tmp_file
56 tmp_file=$mntpnt/tmp_file
69 check_write $TESTPOOL $tmp_file $rs $count 0 "" 1 $((count - 1))
72 check_write $TESTPOOL $tmp_file $rs $count 0 "" 0 $count
75 check_write $TESTPOOL $tmp_file $((rs / 2)) $((2 * count)) 0 "" $((2 * count)) 0
78 check_write $TESTPOOL $tmp_file 512 $count 0 "" $count 0
79 evict_blocks $TESTPOOL $tmp_file $file_size
82 check_read $TESTPOOL $tmp_file $rs $count 0 "" 0 $count
85 check_read $TESTPOOL $tmp_file $((rs / 2)) $((count * 2)) 0 "" 0 $((2 * count))
88 check_read $TESTPOOL $tmp_file 512 $count 0 "" 1 0
[all …]
H A Ddio_grow_block.ksh43 log_must rm -f $tmp_file
52 tmp_file=$mntpnt/tmp_file
65 check_write $TESTPOOL $tmp_file $bs 1 0 "-D" 1 0
69 check_write $TESTPOOL $tmp_file 4096 1 0 "-D" 1 0
70 check_write $TESTPOOL $tmp_file 4096 1 1 "-D" 1 0
74 check_write $TESTPOOL $tmp_file $bs 1 0 "-D" 0 1
77 evict_blocks $TESTPOOL $tmp_file $bs
81 check_read $TESTPOOL $tmp_file $bs 1 0 "-d" 0 1
82 check_read $TESTPOOL $tmp_file 4096 1 0 "-d" 0 1
83 check_read $TESTPOOL $tmp_file 4096 1 1 "-d" 0 1
H A Ddio_mixed.ksh44 log_must rm -f $src_file $new_file $tmp_file
55 tmp_file=$mntpnt/tmp_file
84 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
86 log_must cmp_xxh128 $new_file $tmp_file
87 log_must rm -f $new_file $tmp_file
92 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
94 log_must cmp_xxh128 $new_file $tmp_file
95 log_must rm -f $new_file $tmp_file
100 log_must stride_dd -i $new_file -o $tmp_file -b $ibs \
102 log_must cmp_xxh128 $new_file $tmp_file
[all …]
H A Ddio_unaligned_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
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
76 log_must stride_dd -i $tmp_file -o /dev/null -b 512 -c 8 -d
H A Ddio_mmap.ksh47 log_must rm -f "$tmp_file"
55 tmp_file=$mntpnt/file
64 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
67 log_must eval "fio --filename=$tmp_file --name=direct-write \
73 log_must eval "fio --filename=$tmp_file --name=direct-read \
79 log_must eval "fio --filename=$tmp_file --name=mmap-write \
85 log_must eval "fio --filename=$tmp_file --name=mmap-read \
H A Ddio_random.ksh47 log_must rm -f "$tmp_file"
55 tmp_file=$mntpnt/file
62 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
66 log_must eval "fio --filename=$tmp_file --name=direct-rwrand \
74 log_must eval "fio --filename=$tmp_file --name=buffered-write \
H A Ddio_async_always.ksh46 rm $tmp_file
56 tmp_file=$mntpnt/tmp_file
61 log_must truncate -s $file_size $tmp_file
63 log_must fio --filename=$tmp_file --name=always-randrw \
H A Ddio_overwrites.ksh45 log_must rm -f "$tmp_file"
53 tmp_file=$mntpnt/file
62 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
65 log_must eval "fio --filename=$tmp_file --name=direct-write \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_mixed.ksh44 log_must rm -f "$tmp_file"
52 tmp_file=$mntpnt/file
58 log_must dd if=/dev/zero of=$tmp_file bs=$bs count=$blocks
61 log_must eval "fio --filename=$tmp_file --name=buffer-write \
67 log_must eval "fio --filename=$tmp_file --name=buffer-read \
73 log_must eval "fio --filename=$tmp_file --name=mmap-write \
79 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/tests/sys/aio/
H A Daio_kqueue_test.c70 int tmp_file = 0; in main() local
94 tmp_file = 1; in main()
227 if (tmp_file) in main()
H A Dlio_kqueue_test.c69 int tmp_file = 0, failed = 0; in main() local
89 tmp_file = 1; in main()
230 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;