Searched refs:SEEK_SET (Results 276 - 300 of 367) sorted by relevance

<<1112131415

/freebsd-13-stable/sys/contrib/dev/acpica/compiler/
H A Daslerror.c539 (long) Enode->LogicalByteOffset, (int) SEEK_SET);
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dnotify.cc384 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
/freebsd-13-stable/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c148 off = lseek(fd_cap, 0, SEEK_SET);
/freebsd-13-stable/contrib/sendmail/include/sm/
H A Dconf.h2909 # ifndef SEEK_SET
2910 # define SEEK_SET 0 macro
2913 # endif /* ! SEEK_SET */
/freebsd-13-stable/crypto/heimdal/kadmin/
H A Drpc.c731 krb5_storage_seek(sp, 0, SEEK_SET);
841 krb5_storage_seek(msg, 0, SEEK_SET);
/freebsd-13-stable/crypto/heimdal/kcm/
H A Dprotocol.c1793 krb5_storage_seek(resp_sp, 4, SEEK_SET);
1802 krb5_storage_seek(resp_sp, 0, SEEK_SET);
/freebsd-13-stable/sbin/newfs_msdos/
H A Dmkfs_msdos.c311 if (o.offset && o.offset != lseek(fd, o.offset, SEEK_SET)) {
661 if (!x && lseek(fd1, o.offset, SEEK_SET)) {
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dmain.c659 if (lseek(ifd, 0, SEEK_SET) < 0)
745 if (lseek(ofd, 0, SEEK_SET) < 0)
/freebsd-13-stable/contrib/file/src/
H A Dreadelf.c1463 if (lseek(fd, xsh_offset, SEEK_SET)
1797 if((lseek(fd, CAST(off_t, 0), SEEK_SET) == CAST(off_t, -1))
/freebsd-13-stable/contrib/apr/locks/unix/
H A Dproc_mutex.c1006 proc_mutex_lock_it.l_whence = SEEK_SET; /* from current point */
1011 proc_mutex_unlock_it.l_whence = SEEK_SET; /* from current point */
/freebsd-13-stable/sys/contrib/openzfs/lib/libefi/
H A Drdwr_efi.c525 error = lseek(fd, dk_ioc->dki_lba * lbsize, SEEK_SET);
560 error = lseek(fd, dk_ioc->dki_lba * lbsize, SEEK_SET);
/freebsd-13-stable/contrib/opie/
H A Dopieftpd.c706 if (lseek(fileno(fin), restart_point, SEEK_SET /* L_SET */ ) < 0) {
765 if (lseek(fileno(fout), restart_point, SEEK_SET /* L_SET */ ) < 0) {
/freebsd-13-stable/usr.sbin/uhsoctl/
H A Duhsoctl.c468 lseek(fd, 0, SEEK_SET);
511 lseek(fd, 0, SEEK_SET);
/freebsd-13-stable/sys/nlm/
H A Dnlm_advlock.c1106 fl->l_whence = SEEK_SET;
1235 } else if (fl->l_whence == SEEK_SET || fl->l_whence == SEEK_CUR) {
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c3465 if (__archive_read_seek(a, eocd64_offset, SEEK_SET) < 0)
3658 if (__archive_read_seek(a, zip->central_directory_offset, SEEK_SET) < 0)
3933 __archive_read_seek(a, rsrc->local_header_offset, SEEK_SET);
4021 __archive_read_seek(a, offset, SEEK_SET);
4090 SEEK_SET);
/freebsd-13-stable/sys/kern/
H A Dkern_descrip.c707 flp->l_whence = SEEK_SET;
2485 lf.l_whence = SEEK_SET;
2815 lf.l_whence = SEEK_SET;
2838 lf.l_whence = SEEK_SET;
3552 * (l_whence = SEEK_SET, l_start = 0, l_len = 0).
3578 lf.l_whence = SEEK_SET;
/freebsd-13-stable/contrib/netbsd-tests/dev/cgd/
H A Dt_cgd_3des.c759 if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
778 if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
800 if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c1053 } else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
1153 } else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
/freebsd-13-stable/contrib/bmake/
H A Djob.c1267 (void)lseek(fd, 0, SEEK_SET);
1463 if (lseek(0, 0, SEEK_SET) == -1)
/freebsd-13-stable/crypto/heimdal/lib/ntlm/
H A Dntlm.c293 CHECK(krb5_storage_seek(sp, desc->offset, SEEK_SET), desc->offset);
333 CHECK(krb5_storage_seek(sp, desc->offset, SEEK_SET), desc->offset);
/freebsd-13-stable/crypto/openssh/
H A Dsftp-client.c1340 if ((lseek(local_fd, req->offset, SEEK_SET) == -1 ||
1635 if (lseek(local_fd, (off_t)c->size, SEEK_SET) == -1) {
H A Dsftp-server.c753 if (lseek(fd, off, SEEK_SET) < 0) {
794 lseek(fd, off, SEEK_SET) < 0) {
/freebsd-13-stable/usr.sbin/lpr/lpd/
H A Dprintjob.c1137 lseek(sfd, 0, SEEK_SET);
1217 lseek(sfd, 0, SEEK_SET);
/freebsd-13-stable/contrib/sendmail/mail.local/
H A Dmail.local.c1296 if (lseek(fd, (off_t) 0, SEEK_SET) == (off_t) -1)
/freebsd-13-stable/contrib/sendmail/src/
H A Dconf.c1600 if (lseek(kmem, (off_t) Nl[X_AVENRUN].n_value, SEEK_SET) == -1 ||
1921 if (lseek(kmem, CAST_SYSMP(sysmp(MP_KERNADDR, MPKA_AVENRUN)), SEEK_SET)
2016 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1)
2642 if (lseek(kmem, (off_t) seek_off, SEEK_SET) == seek_off)

Completed in 383 milliseconds

<<1112131415