lseek 197 examples/libsmbclient/smbwrapper/wrapper.c GETSYM(lseek, "lseek"); lseek 808 examples/libsmbclient/smbwrapper/wrapper.c ret = lseekx(fd, offset, whence, smbw_libc.lseek); lseek 1364 examples/libsmbclient/smbwrapper/wrapper.c *result = lseek(fd, offset_low, whence); lseek 98 examples/libsmbclient/smbwrapper/wrapper.h off_t (* lseek)(int fd, off_t offset, int whence); lseek 236 lib/nss_wrapper/nss_wrapper.c ret = lseek(nwrap->fd, 0, SEEK_SET); lseek 107 lib/popt/poptconfig.c fileLength = lseek(fd, 0, SEEK_END); lseek 108 lib/popt/poptconfig.c if (fileLength == -1 || lseek(fd, 0, 0) == -1) { lseek 104 lib/replace/repdir_getdents.c d->seekpos = lseek(d->fd, 0, SEEK_CUR); lseek 120 lib/replace/repdir_getdents.c d->seekpos = lseek(d->fd, 0, SEEK_CUR); lseek 135 lib/replace/repdir_getdents.c d->seekpos = lseek(d->fd, ofs & ~(DIR_BUF_SIZE-1), SEEK_SET); lseek 127 lib/replace/repdir_getdirentries.c d->seekpos = lseek(d->fd, 0, SEEK_CUR); lseek 147 lib/replace/repdir_getdirentries.c d->seekpos = lseek(d->fd, ofs & ~(DIR_BUF_SIZE-1), SEEK_SET); lseek 436 lib/replace/replace.c if (lseek(__fd, __offset, SEEK_SET) != __offset) { lseek 450 lib/replace/replace.c if (lseek(__fd, __offset, SEEK_SET) != __offset) { lseek 72 lib/tdb/common/open.c if (lseek(tdb->fd, 0, SEEK_SET) == -1) lseek 150 lib/util/util_file.c lseek(fd, p - ret + 1, SEEK_CUR); lseek 408 lib/util/xfile.c return lseek(f->fd, offset, whence); lseek 208 lib/zlib/examples/gzappend.c if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1) lseek 289 lib/zlib/examples/gzappend.c lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; lseek 329 lib/zlib/examples/gzappend.c lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in; lseek 338 lib/zlib/examples/gzappend.c end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; lseek 353 lib/zlib/examples/gzappend.c lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET); lseek 356 lib/zlib/examples/gzappend.c lseek(gz.fd, -1L, SEEK_CUR); lseek 372 lib/zlib/examples/gzappend.c lseek(gz.fd, --end, SEEK_SET); lseek 376 lib/zlib/examples/gzappend.c lseek(gz.fd, end, SEEK_SET); lseek 181 lib/zlib/examples/gzjoin.c lseek(in->fd, skip - 1, SEEK_CUR); lseek 188 lib/zlib/examples/gzjoin.c lseek(in->fd, skip - left, SEEK_CUR); lseek 159 lib/zlib/examples/gzlog.c if (lseek(log->fd, 0, SEEK_END) == 0) { lseek 167 lib/zlib/examples/gzlog.c (void)lseek(log->fd, 0, SEEK_SET); lseek 189 lib/zlib/examples/gzlog.c (void)lseek(log->fd, sub_len, SEEK_CUR); lseek 198 lib/zlib/examples/gzlog.c log->extra = lseek(log->fd, 0, SEEK_CUR); lseek 207 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->last_off, SEEK_SET); lseek 217 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->last_off + 5, SEEK_SET); lseek 252 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->last_off, SEEK_SET); lseek 258 lib/zlib/examples/gzlog.c log->last_off = lseek(log->fd, log->stored, SEEK_CUR); lseek 259 lib/zlib/examples/gzlog.c (void)lseek(log->fd, 5, SEEK_CUR); lseek 286 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->mark_off, SEEK_SET); lseek 332 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->mark_off, SEEK_SET); lseek 341 lib/zlib/examples/gzlog.c log->mark_off = log->last_off = lseek(log->fd, 0, SEEK_CUR); lseek 350 lib/zlib/examples/gzlog.c ftruncate(log->fd, lseek(log->fd, 0, SEEK_CUR)); lseek 353 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->extra, SEEK_SET); lseek 376 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->last_off, SEEK_SET); lseek 385 lib/zlib/examples/gzlog.c log->last_off = lseek(log->fd, log->stored, SEEK_CUR); lseek 399 lib/zlib/examples/gzlog.c (void)lseek(log->fd, log->extra + 8, SEEK_SET); lseek 2772 source3/include/libsmbclient.h smbc_lseek_fn lseek DEPRECATED_SMBC_INTERFACE; lseek 353 source3/include/vfs.h SMB_OFF_T (*lseek)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_OFF_T offset, int whence); lseek 534 source3/include/vfs.h struct vfs_handle_struct *lseek; lseek 58 source3/include/vfs_macros.h #define SMB_VFS_LSEEK(fsp, offset, whence) ((fsp)->conn->vfs.ops.lseek((fsp)->conn->vfs.handles.lseek, (fsp), (offset), (whence))) lseek 192 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_LSEEK(fsp, offset, whence) ((fsp)->conn->vfs_opaque.ops.lseek((fsp)->conn->vfs_opaque.handles.lseek, (fsp), (offset), (whence))) lseek 327 source3/include/vfs_macros.h #define SMB_VFS_NEXT_LSEEK(handle, fsp, offset, whence) ((handle)->vfs_next.ops.lseek((handle)->vfs_next.handles.lseek, (fsp), (offset), (whence))) lseek 366 source3/lib/system.c return lseek(fd, offset, whence); lseek 629 source3/libsmb/libsmb_setget.c return c->lseek; lseek 635 source3/libsmb/libsmb_setget.c c->lseek = fn; lseek 53 source3/registry/regfio.c if ( lseek( file->fd, offset, SEEK_SET ) == -1 ) { lseek 96 source3/registry/regfio.c if ( lseek( file->fd, file_offset, SEEK_SET ) == -1 ) { lseek 121 source3/registry/regfio.c if ( lseek( file->fd, file_offset, SEEK_SET ) == -1 ) { lseek 378 source3/utils/smbget.c off1 = lseek(localhandle, offset_check, SEEK_SET); lseek 45 source4/client/cifsddio.c ret = lseek(IO_HANDLE_TO_FD(handle), offset, SEEK_SET); lseek 720 source4/client/client.c start = lseek(handle, 0, SEEK_END); lseek 212 source4/heimdal/lib/krb5/fcache.c pos = lseek(fd, 0, SEEK_END); lseek 215 source4/heimdal/lib/krb5/fcache.c if (lseek(fd, 0, SEEK_SET) < 0) lseek 60 source4/heimdal/lib/krb5/store_fd.c return lseek(FD(sp), offset, whence); lseek 206 source4/heimdal/lib/krb5/v4_glue.c ret = lseek(fd, 0L, SEEK_END); lseek 323 source4/lib/registry/patchfile.c lseek(fd, 0, SEEK_SET); lseek 1875 source4/lib/registry/regf.c if (lseek(regf->fd, 0, SEEK_SET) == -1) { lseek 1895 source4/lib/registry/regf.c if (lseek(regf->fd, 0x1000, SEEK_SET) == -1) { lseek 121 source4/libcli/raw/interfaces.h } lseek, generic; lseek 980 source4/libcli/raw/rawfile.c SSVAL(req->out.vwv, VWV(0), parms->lseek.in.file.fnum); lseek 981 source4/libcli/raw/rawfile.c SSVAL(req->out.vwv, VWV(1), parms->lseek.in.mode); lseek 982 source4/libcli/raw/rawfile.c SIVALS(req->out.vwv, VWV(2), parms->lseek.in.offset); lseek 1003 source4/libcli/raw/rawfile.c parms->lseek.out.offset = IVAL(req->in.vwv, VWV(0)); lseek 38 source4/ntvfs/posix/pvfs_seek.c f = pvfs_find_fd(pvfs, req, io->lseek.in.file.ntvfs); lseek 46 source4/ntvfs/posix/pvfs_seek.c switch (io->lseek.in.mode) { lseek 48 source4/ntvfs/posix/pvfs_seek.c h->seek_offset = io->lseek.in.offset; lseek 52 source4/ntvfs/posix/pvfs_seek.c h->seek_offset += io->lseek.in.offset; lseek 57 source4/ntvfs/posix/pvfs_seek.c h->seek_offset = h->name->st.st_size + io->lseek.in.offset; lseek 61 source4/ntvfs/posix/pvfs_seek.c io->lseek.out.offset = h->seek_offset; lseek 1053 source4/smb_server/smb/reply.c SIVALS(req->out.vwv, VWV(0), io->lseek.out.offset); lseek 1069 source4/smb_server/smb/reply.c io->lseek.in.file.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, VWV(0)); lseek 1070 source4/smb_server/smb/reply.c io->lseek.in.mode = SVAL(req->in.vwv, VWV(1)); lseek 1071 source4/smb_server/smb/reply.c io->lseek.in.offset = IVALS(req->in.vwv, VWV(2)); lseek 1073 source4/smb_server/smb/reply.c SMBSRV_CHECK_FILE_HANDLE(io->lseek.in.file.ntvfs); lseek 2000 source4/torture/gentest.c parm[0].lseek.in.file.fnum = gen_fnum(instance); lseek 2001 source4/torture/gentest.c parm[0].lseek.in.mode = gen_bits_mask2(0x3, 0xFFFF); lseek 2002 source4/torture/gentest.c parm[0].lseek.in.offset = gen_offset(); lseek 2005 source4/torture/gentest.c GEN_SET_FNUM_SMB(lseek.in.file.fnum); lseek 2008 source4/torture/gentest.c CHECK_EQUAL(lseek.out.offset); lseek 74 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum+1; lseek 75 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_START; lseek 76 source4/torture/raw/seek.c io.lseek.in.offset = 0; lseek 81 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum; lseek 82 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_START; lseek 83 source4/torture/raw/seek.c io.lseek.in.offset = 17; lseek 86 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, 17); lseek 92 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum; lseek 93 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_CURRENT; lseek 94 source4/torture/raw/seek.c io.lseek.in.offset = -3; lseek 97 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, 14); lseek 100 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum; lseek 101 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_END; lseek 102 source4/torture/raw/seek.c io.lseek.in.offset = 0; lseek 109 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, finfo.all_info.out.size); lseek 112 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum; lseek 113 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_START; lseek 114 source4/torture/raw/seek.c io.lseek.in.offset = -1; lseek 117 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, 0xffffffff); lseek 127 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum; lseek 128 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_CURRENT; lseek 129 source4/torture/raw/seek.c io.lseek.in.offset = 1000; lseek 132 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, 999); lseek 156 source4/torture/raw/seek.c io.lseek.in.file.fnum = fnum; lseek 157 source4/torture/raw/seek.c io.lseek.in.mode = SEEK_MODE_CURRENT; lseek 158 source4/torture/raw/seek.c io.lseek.in.offset = 0; lseek 161 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, 2); lseek 178 source4/torture/raw/seek.c CHECK_VALUE(io.lseek.out.offset, 1);