Searched refs:seek (Results 1 - 25 of 108) sorted by relevance

12345

/freebsd-13-stable/bin/dd/tests/
H A Ddd2_test.sh32 atf_set "descr" "dd(1) can seek by the maximum amount"
46 seek=`echo "2^63 / 4096 - 1" | bc`
47 atf_check -s exit:0 -e ignore dd if=f.in of=f.out bs=4096 seek=$seek
53 atf_set "descr" "dd(1) should reject too-large seek values"
58 seek=`echo "2^63 / 4096" | bc`
59 atf_check -s not-exit:0 -e match:"seek offsets cannot be larger than" \
60 dd if=f.in of=f.out bs=4096 seek=$seek
61 atf_check -s not-exit:0 -e match:"seek offset
[all...]
/freebsd-13-stable/release/arm64/
H A DROCK64.conf23 of=/dev/${mddev} bs=512 seek=64 conv=sync
25 of=/dev/${mddev} bs=512 seek=16384 conv=sync
H A DROCKPRO64.conf23 of=/dev/${mddev} bs=512 seek=64 conv=sync
25 of=/dev/${mddev} bs=512 seek=16384 conv=sync
H A DPINE64-LTS.conf23 of=/dev/${mddev} bs=128k seek=1 conv=sync
H A DPINE64.conf23 of=/dev/${mddev} bs=128k seek=1 conv=sync
H A DPINEBOOK.conf23 of=/dev/${mddev} bs=128k seek=1 conv=sync
/freebsd-13-stable/usr.sbin/bhyve/
H A Diov.h37 int *niov2, size_t seek);
42 int niov, size_t seek);
H A Diov.c44 size_t seek)
47 size_t left = seek;
123 size_t seek)
129 if (seek > 0) {
133 seek_iov(iov, niov, diov, &ndiov, seek);
144 if (seek > 0)
43 seek_iov(const struct iovec *iov1, int niov1, struct iovec *iov2, int *niov2, size_t seek) argument
122 buf_to_iov(const void *buf, size_t buflen, const struct iovec *iov, int niov, size_t seek) argument
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dstore-int.h41 off_t (*seek)(struct krb5_storage_data*, off_t, int); member in struct:krb5_storage_data
H A Dstore_mem.c50 sp->seek(sp, size, SEEK_CUR);
61 sp->seek(sp, size, SEEK_CUR);
84 return sp->seek(sp, s->ptr - s->base + offset, SEEK_SET);
86 return sp->seek(sp, s->size + offset, SEEK_SET);
145 sp->seek = mem_seek;
204 sp->seek = mem_seek;
H A Dstore_emem.c51 sp->seek(sp, size, SEEK_CUR);
74 sp->seek(sp, size, SEEK_CUR);
93 sp->seek(sp,s->ptr - s->base + offset, SEEK_SET);
96 sp->seek(sp, s->len + offset, SEEK_SET);
190 sp->seek = emem_seek;
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/
H A Dstride_dd.c29 static int seek = 0; variable
92 seek = atoi(optarg);
115 ofile == NULL || seek < 0) {
158 if (seek > 0) {
159 if (lseek(ofd, seek * bsize, SEEK_CUR) == -1) {
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_hole_birth.ksh81 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=4k count=11264 seek=1152
85 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=4k count=152 seek=384 \
87 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=4k count=10 seek=1408 \
98 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=128k count=1 seek=1
102 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=128k count=1 seek=3
117 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=512 count=1 seek=96k \
/freebsd-13-stable/contrib/netbsd-tests/bin/dd/
H A Dt_dd.sh110 atf_test_case seek
118 dd if=/dev/zero of=testfile seek=1 bs=8k count=1
125 'dd bs=4 if=/dev/zero count=1 | tr \\0 \\n | dd of=tf2 bs=4 seek=1'
135 atf_add_test_case seek
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_many_clones.ksh52 log_must dd if=/dev/urandom of=$mntpnt/f2 bs=64k count=1 seek=$i \
54 log_must dd if=/dev/urandom of=$mntpnt/f2 bs=64k count=1 seek=63 \
/freebsd-13-stable/stand/powerpc/boot1.chrp/
H A DMakefile40 ${DD} if=boot1.elf of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc
41 ${DD} if=${.CURDIR}/bootinfo.txt of=${.TARGET} seek=${BOOTINFO_OFFSET} \
/freebsd-13-stable/lib/libc/gen/
H A Dtelldir.h87 unsigned long seek:DD_SEEK_BITS; member in struct:ddloc_packed::__anon7436
/freebsd-13-stable/bin/pax/
H A Dtables.h69 * Filenames are stored in a scratch file at seek offset into the file. The
81 off_t seek; /* location in scratch file */ member in struct:ftm
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval_remap_deadlists.ksh31 conv=notrunc seek=100
35 conv=notrunc seek=200
/freebsd-13-stable/tests/sys/cddl/zfs/tests/clean_mirror/
H A Dclean_mirror_common.kshlib59 seek=8 bs=$DD_BLOCK count=$(( DD_COUNT - 8 )) conv=notrunc
/freebsd-13-stable/sys/contrib/zlib/
H A Dgzwrite.c196 /* check for seek request */
197 if (state->seek) {
198 state->seek = 0;
326 /* check for seek request */
327 if (state->seek) {
328 state->seek = 0;
404 /* check for seek request */
405 if (state->seek) {
406 state->seek = 0;
498 /* check for seek reques
[all...]
/freebsd-13-stable/bin/ed/
H A Dbuf.c40 static int seek_write; /* seek before writing */
55 seek_write = 1; /* force seek on write */
57 if (sfseek != lp->seek) {
58 sfseek = lp->seek;
61 errmsg = "cannot seek temp file";
105 errmsg = "cannot seek temp file";
121 lp->seek = sfseek;
/freebsd-13-stable/contrib/sendmail/include/sm/
H A Dio.h181 # define SM_IO_SET_TYPE(f, name, open, close, read, write, seek, get, set, timeout) \
183 0, (close), (read), (seek), (write), (open), (set), (get), (timeout),\
185 # define SM_IO_INIT_TYPE(f, name, open, close, read, write, seek, get, set, timeout)
188 # define SM_IO_SET_TYPE(f, name, open, close, read, write, seek, get, set, timeout) (f)
189 # define SM_IO_INIT_TYPE(f, name, open, close, read, write, seek, get, set, timeout) \
203 (f).f_seek = (seek); \
/freebsd-13-stable/lib/libc/stdio/
H A Dfopencookie.c129 /* fopencookie(3) only allows these three seek modes. */
137 * If seek is NULL, it is not possible to perform seek operations on
140 if (thunk->foc_io.seek == NULL) {
146 res = thunk->foc_io.seek(thunk->foc_cookie, &off64, whence);
/freebsd-13-stable/release/powerpc/
H A Dmkisoimages.sh51 dd if="$1/boot/loader" of=/tmp/hfs-boot-block seek=$OFFSET conv=notrunc

Completed in 265 milliseconds

12345