Symbol: off_t
bin/cp/utils.c
139
MAP_SHARED, from_fd, (off_t)0)) != MAP_FAILED) {
bin/cp/utils.c
59
off_t wtotal;
bin/cpdup/md5.c
265
off_t size;
bin/dd/args.c
457
static off_t
bin/dd/args.c
68
static off_t get_off_t(const char *);
bin/dd/dd.c
289
if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
bin/dd/dd.c
390
lseek(in.fd, (off_t)in.dbsz, SEEK_CUR))
bin/dd/dd.c
87
static off_t pending = 0; /* pending seek if sparse */
bin/dd/dd.h
61
off_t offset; /* # of blocks to skip */
bin/dd/dd.h
62
off_t seek_offset; /* offset of last seek past output hole */
bin/dd/position.c
158
off_t cnt;
bin/dd/position.c
50
static off_t seek_offset(IO *);
bin/dd/position.c
52
static off_t
bin/dd/position.c
55
off_t n;
bin/dd/position.c
77
return ((off_t)( (uint64_t)n * sz ));
bin/dd/position.c
89
off_t cnt;
bin/ed/buf.c
103
if (fseeko(sfp, (off_t)0, SEEK_END) < 0) {
bin/ed/buf.c
39
static off_t sfseek; /* scratch file position */
bin/ed/ed.h
66
off_t seek; /* address of line in scratch buffer */
bin/ls/ls.c
543
off_t maxsize;
bin/ls/print.c
617
printsize(size_t width, off_t bytes)
bin/ls/print.c
63
static void printsize(size_t, off_t);
bin/pax/ar_io.c
179
else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
bin/pax/ar_io.c
443
off_t cpos;
bin/pax/ar_io.c
461
if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) ||
bin/pax/ar_io.c
589
off_t cpos;
bin/pax/ar_io.c
620
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
bin/pax/ar_io.c
622
cpos -= (off_t)res;
bin/pax/ar_io.c
707
off_t cpos;
bin/pax/ar_io.c
708
off_t mpos;
bin/pax/ar_io.c
756
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
bin/pax/ar_io.c
758
mpos = fsbz - (cpos % (off_t)fsbz);
bin/pax/ar_io.c
790
ar_fow(off_t sksz, off_t *skipped)
bin/pax/ar_io.c
792
off_t cpos;
bin/pax/ar_io.c
793
off_t mpos;
bin/pax/ar_io.c
817
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) >= 0) {
bin/pax/ar_io.c
849
ar_rev(off_t sksz)
bin/pax/ar_io.c
851
off_t cpos;
bin/pax/ar_io.c
885
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) {
bin/pax/ar_io.c
899
if ((cpos -= sksz) < (off_t)0L) {
bin/pax/ar_io.c
908
cpos = (off_t)0L;
bin/pax/ar_subs.c
148
off_t cnt;
bin/pax/ar_subs.c
355
off_t cnt;
bin/pax/ar_subs.c
560
off_t tlen;
bin/pax/buf_subs.c
204
appnd_start(off_t skcnt)
bin/pax/buf_subs.c
207
off_t cnt;
bin/pax/buf_subs.c
238
if (ar_rev((off_t)cnt) < 0)
bin/pax/buf_subs.c
260
if (ar_rev((off_t)(bufpt - buf)) < 0)
bin/pax/buf_subs.c
387
rd_skip(off_t skcnt)
bin/pax/buf_subs.c
389
off_t res;
bin/pax/buf_subs.c
390
off_t cnt;
bin/pax/buf_subs.c
391
off_t skipped = 0;
bin/pax/buf_subs.c
561
wr_skip(off_t skcnt)
bin/pax/buf_subs.c
599
wr_rdfile(ARCHD *arcn, int ifd, off_t *left)
bin/pax/buf_subs.c
603
off_t size = arcn->sb.st_size;
bin/pax/buf_subs.c
660
rd_wrfile(ARCHD *arcn, int ofd, off_t *left)
bin/pax/buf_subs.c
663
off_t size = arcn->sb.st_size;
bin/pax/buf_subs.c
67
off_t wrlimit; /* # of bytes written per archive vol */
bin/pax/buf_subs.c
68
off_t wrcnt; /* # of bytes written on current vol */
bin/pax/buf_subs.c
69
off_t rdcnt; /* # of bytes read on current vol */
bin/pax/buf_subs.c
751
off_t cpcnt = 0L;
bin/pax/buf_subs.c
764
if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >= arcn->sb.st_size)
bin/pax/cpio.c
1081
(wr_skip((off_t)(BCPIO_PAD(sizeof(HD_BCPIO) + nsz))) < 0)) {
bin/pax/cpio.c
1103
(wr_skip((off_t)(BCPIO_PAD(arcn->ln_nlen))) < 0)) {
bin/pax/cpio.c
298
arcn->sb.st_size = (off_t)asc_uqd(hd->c_filesize,sizeof(hd->c_filesize),
bin/pax/cpio.c
340
off_t
bin/pax/cpio.c
343
return((off_t)(sizeof(HD_CPIO) + sizeof(TRAILER)));
bin/pax/cpio.c
573
arcn->sb.st_size = (off_t)asc_uqd(hd->c_filesize,
bin/pax/cpio.c
598
if (rd_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)
bin/pax/cpio.c
619
(rd_skip((off_t)(VCPIO_PAD(arcn->sb.st_size))) < 0))
bin/pax/cpio.c
635
off_t
bin/pax/cpio.c
638
return((off_t)(sizeof(HD_VCPIO) + sizeof(TRAILER) +
bin/pax/cpio.c
768
(wr_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)) {
bin/pax/cpio.c
790
(wr_skip((off_t)(VCPIO_PAD(arcn->ln_nlen))) < 0)) {
bin/pax/cpio.c
873
arcn->sb.st_size = (off_t)(RSHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
875
((off_t)(RSHRT_EXT(hd->h_filesize_2)));
bin/pax/cpio.c
888
arcn->sb.st_size = (off_t)(SHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
890
((off_t)(SHRT_EXT(hd->h_filesize_2)));
bin/pax/cpio.c
908
if (rd_skip((off_t)(BCPIO_PAD(sizeof(HD_BCPIO) + nsz))) < 0)
bin/pax/cpio.c
926
(rd_skip((off_t)(BCPIO_PAD(arcn->sb.st_size))) < 0))
bin/pax/cpio.c
942
off_t
bin/pax/cpio.c
945
return((off_t)(sizeof(HD_BCPIO) + sizeof(TRAILER) +
bin/pax/cpio.c
966
off_t t_offt;
bin/pax/cpio.c
994
t_offt = (off_t)(SHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
995
t_offt = (t_offt<<16) | ((off_t)(SHRT_EXT(hd->h_filesize_2)));
bin/pax/extern.h
106
off_t cpio_endrd (void);
bin/pax/extern.h
113
off_t vcpio_endrd (void);
bin/pax/extern.h
118
off_t bcpio_endrd (void);
bin/pax/extern.h
263
off_t tar_endrd (void);
bin/pax/extern.h
57
int ar_fow (off_t, off_t *);
bin/pax/extern.h
58
int ar_rev (off_t );
bin/pax/extern.h
78
extern off_t wrlimit;
bin/pax/extern.h
79
extern off_t rdcnt;
bin/pax/extern.h
80
extern off_t wrcnt;
bin/pax/extern.h
84
int appnd_start (off_t);
bin/pax/extern.h
87
int rd_skip (off_t);
bin/pax/extern.h
91
int wr_skip (off_t);
bin/pax/extern.h
92
int wr_rdfile (ARCHD *, int, off_t *);
bin/pax/extern.h
93
int rd_wrfile (ARCHD *, int, off_t *);
bin/pax/file_subs.c
824
if (lseek(fd, (off_t)wcnt, SEEK_CUR) < 0) {
bin/pax/file_subs.c
872
if (lseek(fd, (off_t)-1, SEEK_CUR) < 0) {
bin/pax/file_subs.c
923
off_t cpcnt = 0L;
bin/pax/file_subs.c
962
else if (lseek(fd, (off_t)0L, SEEK_SET) < 0)
bin/pax/options.c
1422
static off_t
bin/pax/options.c
1426
off_t num, t;
bin/pax/options.c
64
static off_t str_offt(char *);
bin/pax/pax.h
125
off_t (*end_rd)(); /* read cleanup. Allows format to clean up */
bin/pax/pax.h
193
off_t pad; /* bytes of padding after file xfer */
bin/pax/pax.h
194
off_t skip; /* bytes of real data after header */
bin/pax/tables.c
1176
if (lseek(dirfd, -((off_t)sizeof(dblk)), SEEK_CUR) < 0)
bin/pax/tables.c
443
if ((pt->seek = lseek(ffd, (off_t)0, SEEK_END)) >= 0) {
bin/pax/tables.h
165
off_t npos; /* position in file where this dir name starts */
bin/pax/tables.h
80
off_t seek; /* location in scratch file */
bin/pax/tar.c
1011
if (wr_skip((off_t)(BLKMULT - sizeof(HD_USTAR))) < 0)
bin/pax/tar.c
389
arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
bin/pax/tar.c
621
if (wr_skip((off_t)(BLKMULT - sizeof(HD_TAR))) < 0)
bin/pax/tar.c
745
arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
bin/pax/tar.c
75
return(wr_skip((off_t)(NULLCNT*BLKMULT)));
bin/pax/tar.c
85
off_t
bin/pax/tar.c
88
return((off_t)(NULLCNT*BLKMULT));
bin/rm/rm.c
432
off_t len;
bin/rm/rm.c
468
if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET))
bin/rm/rm.c
471
if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET))
bin/sh/miscbltin.c
120
off_t residue;
bin/sh/miscbltin.c
88
off_t cur;
bin/test/test.c
411
return s.st_size > (off_t)0;
crypto/libressl/tls/tls_client.c
229
off_t offset;
crypto/openssh/loginrec.c
1205
if (lseek(fd, -(off_t)sizeof(struct utmp), SEEK_END) == -1) {
crypto/openssh/loginrec.c
1240
if (lseek(fd, -(off_t)(2 * sizeof(struct utmp)), SEEK_CUR) == -1) {
crypto/openssh/loginrec.c
1370
if (lseek(fd, -(off_t)sizeof(struct utmpx), SEEK_END) == -1 ) {
crypto/openssh/loginrec.c
1401
if (lseek(fd, -(off_t)(2 * sizeof(struct utmpx)), SEEK_CUR) == -1) {
crypto/openssh/loginrec.c
1480
off_t offset;
crypto/openssh/loginrec.c
1509
offset = (off_t) ((u_long)li->uid * sizeof(struct lastlog));
crypto/openssh/loginrec.c
874
off_t pos, ret;
crypto/openssh/loginrec.c
876
pos = (off_t)tty * sizeof(struct utmp);
crypto/openssh/progressmeter.c
110
format_size(off_t bytes)
crypto/openssh/progressmeter.c
128
off_t transferred;
crypto/openssh/progressmeter.c
131
off_t bytes_left;
crypto/openssh/progressmeter.c
194
format_rate((off_t)bytes_per_second));
crypto/openssh/progressmeter.c
248
start_progress_meter(const char *f, off_t filesize, off_t *ctr)
crypto/openssh/progressmeter.c
66
static off_t start_pos; /* initial position of transfer */
crypto/openssh/progressmeter.c
67
static off_t end_pos; /* ending position of transfer */
crypto/openssh/progressmeter.c
68
static off_t cur_pos; /* transfer position as of last refresh */
crypto/openssh/progressmeter.c
69
static volatile off_t *counter; /* progress counter */
crypto/openssh/progressmeter.c
89
format_rate(off_t bytes)
crypto/openssh/progressmeter.h
26
void start_progress_meter(const char *, off_t, off_t *);
crypto/openssh/scp.c
1396
off_t i, statbytes;
crypto/openssh/scp.c
1466
if (i + (off_t)amt > stb.st_size)
crypto/openssh/scp.c
1666
off_t i;
crypto/openssh/scp.c
1670
off_t size, statbytes;
crypto/openssh/scp.c
1682
if (TYPE_OVERFLOW(time_t, 0) || TYPE_OVERFLOW(off_t, 0))
crypto/openssh/scp.c
1803
if (TYPE_OVERFLOW(off_t, ull))
crypto/openssh/scp.c
1805
size = (off_t)ull;
crypto/openssh/scp.c
726
off_t *cnt = (off_t *)_cnt;
crypto/openssh/sftp-client.c
1607
off_t progress_counter;
crypto/openssh/sftp-client.c
2038
off_t offset, progress_counter;
crypto/openssh/sftp-client.c
2083
if ((off_t)c.size >= sb.st_size) {
crypto/openssh/sftp-client.c
2090
if (lseek(local_fd, (off_t)c.size, SEEK_SET) == -1) {
crypto/openssh/sftp-client.c
2462
off_t progress_counter;
crypto/openssh/sshbuf-io.c
66
st.st_size != (off_t)sshbuf_len(blob)) {
games/fortune/fortune/fortune.c
108
static off_t Seekpts[2]; /* seek pointers to fortunes */
games/fortune/fortune/fortune.c
995
(off_t) (sizeof fp->tbl + fp->pos * sizeof Seekpts[0]), SEEK_SET);
games/hack/hack.save.c
199
(void) lseek(fd, (off_t) 0, SEEK_SET);
games/hangman/extern.c
69
off_t Dict_size;
games/hangman/extern.c
73
off_t symoffs, symsize;
games/hangman/getsym.c
142
if (symsize > (off_t)sh.sh_size)
games/hangman/getsym.c
145
symoffs = (off_t)sh.sh_offset;
games/hangman/getsym.c
146
symsize = (off_t)sh.sh_size;
games/hangman/getsym.c
39
off_t pos;
games/hangman/hangman.h
88
extern off_t Dict_size;
games/hangman/hangman.h
92
extern off_t symoffs, symsize;
games/snake/snake/snake.c
523
lseek(rawscores, ((off_t)uid)*sizeof(short), SEEK_SET);
games/snake/snake/snake.c
532
lseek(rawscores, ((off_t)uid)*sizeof(short), SEEK_SET);
include/stdio.h
328
int fseeko(FILE *, off_t, int);
include/stdio.h
329
off_t ftello(FILE *);
include/unistd.h
405
off_t lseek(int, off_t, int);
include/unistd.h
445
int ftruncate(int, off_t);
include/unistd.h
477
ssize_t pread(int, void *, size_t, off_t);
include/unistd.h
478
ssize_t pwrite(int, const void *, size_t, off_t);
include/unistd.h
481
int truncate(const char *, off_t);
include/unistd.h
508
int lockf(int, int, off_t);
include/unistd.h
547
ssize_t extpread(int, void *, size_t, int, off_t);
include/unistd.h
548
ssize_t extpreadv(int, const struct iovec *, int, int, off_t);
include/unistd.h
549
ssize_t extpwrite(int, const void *, size_t, int, off_t);
include/unistd.h
550
ssize_t extpwritev(int, const struct iovec *, int, int, off_t);
include/unistd.h
618
off_t __syscall(quad_t, ...);
lib/libc/citrus/citrus_mmap.c
75
fd, (off_t)0);
lib/libc/db/hash/hash.c
489
if ((wsize = pwrite(fp, whdrp, sizeof(HASHHDR), (off_t)0)) == -1)
lib/libc/db/hash/hash_page.c
532
if ((rsize = pread(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
lib/libc/db/hash/hash_page.c
596
if ((wsize = pwrite(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
lib/libc/db/mpool/mpool.c
180
off_t off;
lib/libc/db/mpool/mpool.c
393
off_t off;
lib/libc/db/recno/rec_close.c
109
off_t off;
lib/libc/db/recno/rec_close.c
132
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
lib/libc/db/recno/rec_close.c
173
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
lib/libc/db/recno/rec_open.c
118
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
lib/libc/db/recno/rec_open.c
167
(off_t)0)) == MAP_FAILED)
lib/libc/db/test/dbtest.c
660
if (sb.st_size > (off_t)SIZE_T_MAX)
lib/libc/gen/confstr.c
105
sizeof(off_t) >= sizeof(long))
lib/libc/gen/confstr.c
90
sizeof(off_t) > sizeof(long))
lib/libc/gen/gen_private.h
55
off_t dd_seek; /* new magic cookie returned by getdirentries */
lib/libc/gen/getcap.c
241
lseek(fd, (off_t)0, SEEK_SET);
lib/libc/gen/getgrent.c
1303
off_t pos;
lib/libc/gen/getgrent.c
836
off_t pos;
lib/libc/gen/lockf.c
49
lockf(int filedes, int function, off_t size)
lib/libc/gen/nlist.c
105
off_t stroff, symoff;
lib/libc/gen/nlist.c
132
a_out_mmap = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0);
lib/libc/gen/nlist.c
245
if (lseek(fd, (off_t)0, SEEK_SET) == -1 ||
lib/libc/gen/nlist.c
264
(off_t)ehdr.e_shoff);
lib/libc/gen/nlist.c
300
(off_t)symstroff);
lib/libc/gen/nlist.c
328
if (lseek(fd, (off_t) symoff, SEEK_SET) == -1) {
lib/libc/gen/sysconf.c
465
sizeof(void *) == sizeof(off_t))
lib/libc/gen/sysconf.c
477
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
489
sizeof(void *) == sizeof(off_t))
lib/libc/gen/sysconf.c
501
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
513
sizeof(void *) == sizeof(off_t))
lib/libc/gen/sysconf.c
525
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
537
sizeof(void *) == sizeof(off_t))
lib/libc/gen/sysconf.c
549
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/telldir.c
54
off_t loc_seek; /* magic cookie returned by getdirentries */
lib/libc/gen/utmpx.c
146
(void)fseeko(fp, (off_t)sizeof(ut), SEEK_SET);
lib/libc/gen/utmpx.c
305
if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1)
lib/libc/gen/utmpx.c
308
if (fseeko(fp, (off_t)0, SEEK_END) == -1)
lib/libc/gen/utmpx.c
315
if (fseeko(fp, -(off_t)sizeof(ut), SEEK_CUR) == -1)
lib/libc/gen/utmpx.c
328
if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1)
lib/libc/nls/msgcat.c
425
MAP_FILE|MAP_SHARED, fd, (off_t)0)) == MAP_FAILED) {
lib/libc/stdio/fopencookie.c
120
off_t off64;
lib/libc/stdio/fopencookie.c
145
off64 = (off_t)offset;
lib/libc/stdio/freopen.c
111
ftruncate(fp->pub._fileno, (off_t)0);
lib/libc/stdio/fseek.c
195
if ((off_t)target < 0) {
lib/libc/stdio/fseek.c
199
if (ltest && (off_t)target > LONG_MAX) {
lib/libc/stdio/fseek.c
61
ret = _fseeko(fp, (off_t)offset, whence, 1);
lib/libc/stdio/fseek.c
69
fseeko(FILE *fp, off_t offset, int whence)
lib/libc/stdio/fseek.c
91
_fseeko(FILE *fp, off_t offset, int whence, int ltest)
lib/libc/stdio/fsetpos.c
46
return (fseeko(iop, (off_t)*pos, SEEK_SET));
lib/libc/stdio/ftell.c
51
off_t rv;
lib/libc/stdio/ftell.c
64
off_t
lib/libc/stdio/local.h
59
extern int _fseeko(FILE *, off_t, int, int);
lib/libc/stdio/rewind.c
54
if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0) {
lib/libc/stdio/stdio.c
70
return (lseek(fp->pub._fileno, (off_t)offset, whence));
lib/libc/stdlib/posix_fadvise.c
40
posix_fadvise(int fd, off_t offset, off_t len, int advice)
lib/libc/sys/ftruncate.c
44
ftruncate(int fd, off_t length)
lib/libc/sys/lseek.c
41
off_t
lib/libc/sys/lseek.c
42
lseek(int fd, off_t offset, int whence)
lib/libc/sys/mmap.c
43
mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
lib/libc/sys/pread.c
42
pread(int fd, void *buf, size_t nbyte, off_t offset)
lib/libc/sys/preadv.c
43
preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset)
lib/libc/sys/pwrite.c
42
pwrite(int fd, const void *buf, size_t nbyte, off_t offset)
lib/libc/sys/pwritev.c
43
pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset)
lib/libc/sys/truncate.c
43
truncate(const char *path, off_t length)
lib/libc/xdr/xdr_rec.c
322
off_t pos;
lib/libc/xdr/xdr_rec.c
324
pos = lseek((int)(u_long)rstrm->tcp_handle, (off_t)0, 1);
lib/libc/xdr/xdr_rec.c
337
pos = (off_t) -1;
lib/libevtr/evtr.c
1578
evtr_skip(evtr_t evtr, off_t bytes)
lib/libevtr/evtr.c
1858
off_t last_boundary;
lib/libevtr/evtr.c
194
off_t bytes;
lib/libevtr/evtr.c
221
off_t off;
lib/libevtr/evtr.c
907
off_t off;
lib/libexecinfo/private_libelf.h
2921
m = mmap(NULL, fsize, PROT_READ, MAP_PRIVATE, fd, (off_t) 0);
lib/libexecinfo/private_libelf.h
691
off_t as_off; /* byte offset to member's header */
lib/libexecinfo/private_libelf.h
832
off_t e_next; /* set by elf_rand()/elf_next() */
lib/libfetch/fetch.h
49
off_t offset;
lib/libfetch/fetch.h
56
off_t size;
lib/libfetch/ftp.c
622
int mode, off_t offset, const char *flags)
lib/libfetch/http.c
1549
off_t offset, clength, length, size;
lib/libfetch/http.c
908
http_parse_length(const char *p, off_t *length)
lib/libfetch/http.c
910
off_t len;
lib/libfetch/http.c
925
http_parse_range(const char *p, off_t *offset, off_t *length, off_t *size)
lib/libfetch/http.c
927
off_t first, last, len;
lib/libfsid/libfsid.c
132
fsid_dev_read(const char *dev, off_t off, size_t len, char *buf)
lib/libfsid/libfsid.h
89
int fsid_dev_read(const char *dev, off_t off, size_t len, char *buf);
lib/libftpio/ftpio.c
1040
*seekto = (off_t)0;
lib/libftpio/ftpio.c
198
off_t
lib/libftpio/ftpio.c
204
off_t size;
lib/libftpio/ftpio.c
208
return (off_t)(-1);
lib/libftpio/ftpio.c
212
return (off_t)(-1);
lib/libftpio/ftpio.c
215
return (off_t)(-1);
lib/libftpio/ftpio.c
218
size = (off_t)strtoq(cp, &ep, 10);
lib/libftpio/ftpio.c
220
return (off_t)(-1);
lib/libftpio/ftpio.c
258
ftpGet(FILE *fp, const char *file, off_t *seekto)
lib/libftpio/ftpio.c
67
FILE **fp, const char *mode, off_t *seekto);
lib/libftpio/ftpio.c
801
const char *mode, off_t *seekto)
lib/libftpio/ftpio.c
936
*seekto = (off_t)0;
lib/libftpio/ftpio.h
58
extern off_t ftpGetSize(FILE *fp, const char *file);
lib/libftpio/ftpio.h
59
extern FILE *ftpGet(FILE *fp, const char *file, off_t *seekto);
lib/libkvm/kvm.c
373
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
396
off_t pa;
lib/libkvm/kvm.c
455
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
489
off_t pa;
lib/libkvm/kvm.c
495
if (lseek(kd->pmfd, (off_t)pa, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
538
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm_minidump_x86_64.c
106
inithash(kvm_t *kd, uint64_t *base, int len, off_t off)
lib/libkvm/kvm_minidump_x86_64.c
185
off_t off;
lib/libkvm/kvm_minidump_x86_64.c
239
off_t off;
lib/libkvm/kvm_minidump_x86_64.c
288
_kvm_minidump_vatop(kvm_t *kd, u_long va, off_t *pa)
lib/libkvm/kvm_minidump_x86_64.c
295
off_t ofs;
lib/libkvm/kvm_minidump_x86_64.c
423
_kvm_minidump_kvatop(kvm_t *kd, u_long va, off_t *pa)
lib/libkvm/kvm_minidump_x86_64.c
427
return((off_t)0);
lib/libkvm/kvm_private.h
100
int _kvm_kvatop (kvm_t *, u_long, off_t *);
lib/libkvm/kvm_private.h
108
int _kvm_minidump_kvatop(kvm_t *, u_long, off_t *);
lib/libkvm/kvm_proc.c
937
if (lseek(fd, (off_t)uva, 0) == -1 && errno != 0) {
lib/libkvm/kvm_x86_64.c
110
_kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs)
lib/libkvm/kvm_x86_64.c
223
_kvm_vatop(kvm_t *kd, u_long va, off_t *pa)
lib/libkvm/kvm_x86_64.c
239
off_t ofs;
lib/libkvm/kvm_x86_64.c
361
_kvm_kvatop(kvm_t *kd, u_long va, off_t *pa)
lib/libkvm/kvm_x86_64.c
368
return((off_t)0);
lib/libssh/openbsd-compat/bsd-misc.c
224
int truncate(const char *path, off_t length)
lib/libssh/openbsd-compat/bsd-misc.h
77
int truncate (const char *, off_t);
lib/libssh/openbsd-compat/openbsd-compat.h
59
int ftruncate(int filedes, off_t length);
lib/libtcplay/hdr.c
156
off_t offset, disksz_t blocks, int hidden, int weak, struct tchdr_enc **backup_hdr)
lib/libtcplay/io.c
303
write_to_disk(const char *dev, off_t offset, size_t blksz, void *mem,
lib/libtcplay/io.c
309
off_t internal_off;
lib/libtcplay/io.c
52
read_to_safe_mem(const char *file, off_t offset, size_t *sz)
lib/libtcplay/tcplay.c
1187
off_t offset, offset_backup = 0;
lib/libtcplay/tcplay.c
1465
tc_table->start = (off_t)0;
lib/libtcplay/tcplay.c
1493
tc_table->skip = (off_t)strtoll(p1, NULL, 10);
lib/libtcplay/tcplay.c
1507
tc_table->offset = (off_t)strtoll(p1,
lib/libtcplay/tcplay.c
1702
off_t start, offset;
lib/libtcplay/tcplay.c
307
print_hex(unsigned char *buf, off_t start, size_t len)
lib/libtcplay/tcplay.c
363
struct pbkdf_prf_algo *prf, struct tchdr_dec *hdr, off_t start)
lib/libtcplay/tcplay.h
161
off_t start; /* Logical volume offset in table (in blk_sz blocks) */
lib/libtcplay/tcplay.h
164
off_t skip; /* IV offset (in blk_sz blocks) */
lib/libtcplay/tcplay.h
165
off_t offset; /* Block offset (in blk_sz blocks) */
lib/libtcplay/tcplay.h
179
off_t start; /* Logical volume offset in table */
lib/libtcplay/tcplay.h
183
off_t skip; /* IV offset */
lib/libtcplay/tcplay.h
184
off_t offset; /* Block offset */
lib/libtcplay/tcplay.h
246
void *read_to_safe_mem(const char *file, off_t offset, size_t *sz);
lib/libtcplay/tcplay.h
250
int write_to_disk(const char *dev, off_t offset, size_t blksz, void *mem,
lib/libtcplay/tcplay.h
284
off_t offset, disksz_t blocks, int hidden, int weak,
lib/libthread_xu/thread/thr_syscalls.c
116
extern int __sys_sendfile(int, int, off_t, size_t, struct sf_hdtr *,
lib/libthread_xu/thread/thr_syscalls.c
117
off_t *, int);
lib/libutil/uucplock.c
139
lseek(fd, (off_t)0, SEEK_SET);
lib/libz/zconf.h
495
# define z_off_t off_t
libexec/atrun/atrun.c
126
off_t size;
libexec/atrun/atrun.c
275
if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0)
libexec/comsat/comsat.c
118
off_t offset;
libexec/comsat/comsat.c
149
notify(struct utmpx *utp, char file[], off_t offset, int folder)
libexec/comsat/comsat.c
211
jkfprintf(FILE *tp, char user[], char file[], off_t offset)
libexec/comsat/comsat.c
66
static void jkfprintf(FILE *, char[], char[], off_t);
libexec/comsat/comsat.c
68
static void notify(struct utmpx *, char[], off_t, int);
libexec/dma/local.c
139
off_t mboxlen;
libexec/ftpd/ftpcmd.y
108
off_t o;
libexec/ftpd/ftpcmd.y
1620
off_t count;
libexec/ftpd/ftpcmd.y
93
off_t restart_point;
libexec/ftpd/ftpd.c
132
off_t file_size;
libexec/ftpd/ftpd.c
133
off_t byte_count;
libexec/ftpd/ftpd.c
1668
off_t i, n;
libexec/ftpd/ftpd.c
1748
off_t i, n;
libexec/ftpd/ftpd.c
1860
dataconn(char *name, off_t size, char *mode)
libexec/ftpd/ftpd.c
2006
send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg)
libexec/ftpd/ftpd.c
2068
off_t cnt, offset;
libexec/ftpd/ftpd.c
226
static FILE *dataconn(char *, off_t, char *);
libexec/ftpd/ftpd.c
234
static int send_data(FILE *, FILE *, size_t, off_t, int);
libexec/ftpd/ftpd.c
240
static void logcmd(char *, char *, char *, off_t);
libexec/ftpd/ftpd.c
241
static void logxfer(char *, off_t, time_t);
libexec/ftpd/ftpd.c
3262
logcmd(char *cmd, char *file1, char *file2, off_t cnt)
libexec/ftpd/ftpd.c
3289
logxfer(char *name, off_t size, time_t start)
libexec/ftpd/ftpd.c
89
extern off_t restart_point;
libexec/ftpd/site_md5.c
46
off_t size;
libexec/rbootd/rmpproto.c
445
if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) < 0) {
libexec/rpc.rquotad/rquotad.c
247
if (lseek(fd, (off_t)(id * sizeof(struct ufs_dqblk)), L_SET) == (off_t)-1) {
sbin/badsect/badsect.c
199
if (lseek(fsi, (off_t)bno * dev_bsize, SEEK_SET) < 0) {
sbin/clri/clri.c
115
if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0)
sbin/clri/clri.c
65
off_t offset;
sbin/clri/clri.c
77
if (lseek(fd, (off_t)SBOFF, SEEK_SET) < 0)
sbin/disklabel32/disklabel.c
1235
off_t size;
sbin/disklabel32/disklabel.c
1639
lseek(f, (off_t)0, SEEK_SET);
sbin/disklabel32/disklabel.c
400
lseek(f, (off_t)0, SEEK_SET);
sbin/disklabel64/disklabel64.c
1300
off_t size;
sbin/disklabel64/disklabel64.c
427
lseek(f, (off_t)0, SEEK_SET);
sbin/dump/cache.c
103
cread(int fd, void *buf, size_t nbytes, off_t offset)
sbin/dump/cache.c
110
off_t mask;
sbin/dump/cache.c
128
mask = ~(off_t)(BlockSize - 1);
sbin/dump/cache.c
154
blk->b_Offset = (off_t)-1;
sbin/dump/cache.c
61
off_t b_Offset;
sbin/dump/cache.c
95
base[i].b_Offset = (off_t)-1;
sbin/dump/dump.h
114
ssize_t cread(int, void *, size_t, off_t);
sbin/dump/traverse.c
558
cnt = cread(diskfd, buf, size, ((off_t)blkno << dev_bshift));
sbin/dump/traverse.c
599
((off_t)blkno << dev_bshift))) == dev_bsize)
sbin/dumpfs/dumpfs.c
114
if (lseek(fd, (off_t)SBOFF, SEEK_SET) == (off_t)-1)
sbin/dumpfs/dumpfs.c
212
(off_t)(fsbtodb(&afs, (afs.fs_csaddr + j * afs.fs_frag))) *
sbin/dumpfs/dumpfs.c
213
(off_t)dev_bsize, SEEK_SET) == (off_t)-1)
sbin/dumpfs/dumpfs.c
248
off_t cur;
sbin/dumpfs/dumpfs.c
253
if ((cur = lseek(fd, (off_t)(fsbtodb(&afs, cgtod(&afs, c))) *
sbin/dumpfs/dumpfs.c
254
(off_t)dev_bsize, SEEK_SET)) == (off_t)-1)
sbin/dumpfs/dumpfs.c
321
if (lseek(fd, (off_t)SBOFF, SEEK_SET) == (off_t)-1)
sbin/fdisk/fdisk.c
129
static ssize_t read_disk(off_t sector, void *buf);
sbin/fdisk/fdisk.c
130
static ssize_t write_disk(off_t sector, void *buf);
sbin/fdisk/fdisk.c
73
off_t bootinst_size;
sbin/fdisk/fdisk.c
758
off_t ioarg[2];
sbin/fdisk/fdisk.c
806
read_disk(off_t sector, void *buf)
sbin/fdisk/fdisk.c
833
write_disk(off_t sector, void *buf)
sbin/ffsinfo/ffsinfo.c
103
if (lseek(fsi, (off_t)bno * DEV_BSIZE, 0) < 0) {
sbin/fsck/setup.c
84
off_t sizepb;
sbin/fsck/utilities.c
308
off_t offset;
sbin/fsck/utilities.c
345
off_t offset;
sbin/fsck_msdosfs/dir.c
1079
static off_t lfoff;
sbin/fsck_msdosfs/dir.c
296
off_t off;
sbin/fsck_msdosfs/dir.c
474
off_t off;
sbin/fsck_msdosfs/dir.c
548
off_t off;
sbin/fsck_msdosfs/fat.c
1055
off_t dst_off, src_off;
sbin/fsck_msdosfs/fat.c
1104
off_t dst_base;
sbin/fsck_msdosfs/fat.c
149
off_t addr; /* offset */
sbin/fsck_msdosfs/fat.c
175
off_t fat32_offset;
sbin/fsck_msdosfs/fat.c
176
off_t fat32_lastaddr;
sbin/fsck_msdosfs/fat.c
341
fat_get_iosize(struct fat_descriptor *fat, off_t address)
sbin/fsck_msdosfs/fat.c
345
return (fat->fatsize & ((off_t)fat32_cache_chunk_size - 1));
sbin/fsck_msdosfs/fat.c
356
off_t fat_addr;
sbin/fsck_msdosfs/fat.c
378
fat_get_fat32_cache_entry(struct fat_descriptor *fat, off_t addr,
sbin/fsck_msdosfs/fat.c
383
off_t fat_addr;
sbin/fsck_msdosfs/fat.c
437
off_t addr, off;
sbin/fsck_msdosfs/fat.c
563
off_t off;
sbin/fsck_msdosfs/fat.c
611
off_t off;
sbin/fsirand/fsirand.c
168
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
229
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
243
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
266
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/gpt/add.c
166
size = (off_t)256 * 1024 * 1024 / secsz; /* 256MB */
sbin/gpt/add.c
281
alignment = (off_t)v;
sbin/gpt/add.c
306
size = (off_t)v;
sbin/gpt/add.c
42
static off_t block, size, alignment;
sbin/gpt/add.c
67
alignment = (off_t)1024 * 1024 / secsz; /* 1MB */
sbin/gpt/boot.c
57
off_t block;
sbin/gpt/boot.c
58
off_t size;
sbin/gpt/boot.c
59
off_t alignment;
sbin/gpt/boot.c
73
size = (off_t)1024 * 1024 * 1024 / secsz; /* 1GB */
sbin/gpt/boot.c
74
alignment = (off_t)1024 * 1024 / secsz; /* 1MB */
sbin/gpt/create.c
420
off_t ioarg[2];
sbin/gpt/create.c
76
off_t blocks, last;
sbin/gpt/expand.c
127
(off_t)le64toh(ent->ent_lba_end) > last_data) {
sbin/gpt/expand.c
150
off_t new_size, new_end;
sbin/gpt/expand.c
156
if ((off_t)le64toh(last_ent->ent_lba_end) < new_end) {
sbin/gpt/expand.c
162
} else if ((off_t)le64toh(last_ent->ent_lba_end) == new_end) {
sbin/gpt/expand.c
85
off_t last;
sbin/gpt/expand.c
86
off_t last_data;
sbin/gpt/expand.c
87
off_t blocks;
sbin/gpt/expand.c
88
off_t delta;
sbin/gpt/expand.c
89
off_t alignment;
sbin/gpt/expand.c
95
alignment = (off_t)1024 * 1024 / secsz; /* 1MB */
sbin/gpt/gpt.c
325
gpt_read(int fd, off_t lba, size_t count)
sbin/gpt/gpt.c
327
off_t ofs;
sbin/gpt/gpt.c
354
off_t ofs;
sbin/gpt/gpt.c
370
gpt_mbr(int fd, off_t lba)
sbin/gpt/gpt.c
374
off_t size, start;
sbin/gpt/gpt.c
461
gpt_gpt(int fd, off_t lba)
sbin/gpt/gpt.c
49
off_t mediasz;
sbin/gpt/gpt.c
540
off_t size;
sbin/gpt/gpt.c
666
off_t lba;
sbin/gpt/gpt.h
50
extern off_t mediasz;
sbin/gpt/gpt.h
58
void* gpt_read(int, off_t, size_t);
sbin/gpt/label.c
43
static off_t block, size;
sbin/gpt/map.c
150
map_alloc(off_t start, off_t size, off_t alignment)
sbin/gpt/map.c
152
off_t delta, msize;
sbin/gpt/map.c
220
off_t
sbin/gpt/map.c
221
map_free(off_t start)
sbin/gpt/map.c
234
map_init(off_t size)
sbin/gpt/map.c
37
mkmap(off_t start, off_t size, int type)
sbin/gpt/map.c
55
map_add(off_t start, off_t size, int type, void *data)
sbin/gpt/map.h
35
off_t map_start;
sbin/gpt/map.h
36
off_t map_size;
sbin/gpt/map.h
54
map_t *map_add(off_t, off_t, int, void *);
sbin/gpt/map.h
55
map_t *map_alloc(off_t, off_t, off_t);
sbin/gpt/map.h
59
off_t map_free(off_t);
sbin/gpt/map.h
60
int map_init(off_t);
sbin/gpt/migrate.c
138
migrate_disklabel32(const struct disklabel32 *dl, off_t start,
sbin/gpt/migrate.c
142
off_t ofs, rawofs;
sbin/gpt/migrate.c
195
migrate_disklabel64(const struct disklabel64 *dl, off_t start,
sbin/gpt/migrate.c
199
off_t offset, blocks;
sbin/gpt/migrate.c
236
off_t blocks, last;
sbin/gpt/migrate.c
59
read_disklabel32(int fd, off_t start, struct disklabel32 **dlp)
sbin/gpt/migrate.c
83
read_disklabel64(int fd, off_t start, struct disklabel64 **dlp)
sbin/gpt/recover.c
50
off_t last;
sbin/gpt/remove.c
43
static off_t block, size;
sbin/gpt/show.c
79
off_t start;
sbin/growfs/growfs.c
1545
if (lseek(fsi, (off_t)bno * DEV_BSIZE, 0) < 0) {
sbin/growfs/growfs.c
1572
if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) < 0) {
sbin/hammer/cmd_history.c
212
dumpat(const char *path, off_t off, long len)
sbin/hammer/cmd_history.c
45
static void hammer_do_history(const char *path, off_t off, long len);
sbin/hammer/cmd_history.c
48
static void dumpat(const char *path, off_t off, long len);
sbin/hammer/cmd_history.c
80
hammer_do_history(const char *path, off_t off, long len)
sbin/hammer/cmd_recover.c
499
lseek(fd, (off_t)file_offset, SEEK_SET);
sbin/hammer/cycle.c
52
if (st.st_size < (off_t)sizeof(*base)) {
sbin/hammer/hammer_util.h
150
int64_t init_boot_area_size(int64_t value, off_t avg_vol_size);
sbin/hammer/hammer_util.h
151
int64_t init_memory_log_size(int64_t value, off_t avg_vol_size);
sbin/hammer/hammer_util.h
172
const char *sizetostr(off_t size);
sbin/hammer/hammer_util.h
84
off_t size;
sbin/hammer/hammer_util.h
85
off_t device_offset;
sbin/hammer/misc.c
87
sizetostr(off_t size)
sbin/hammer/ondisk.c
1012
init_boot_area_size(int64_t value, off_t avg_vol_size)
sbin/hammer/ondisk.c
1029
init_memory_log_size(int64_t value, off_t avg_vol_size)
sbin/jscan/dump_debug.c
104
off_t base = *off;
sbin/jscan/dump_debug.c
161
dump_debug_payload(int16_t rectype, struct jstream *js, off_t off,
sbin/jscan/dump_debug.c
40
static int dump_debug_subrecord(struct jstream *js, off_t *off,
sbin/jscan/dump_debug.c
41
off_t recsize, int level);
sbin/jscan/dump_debug.c
42
static int dump_debug_payload(int16_t rectype, struct jstream *js, off_t off,
sbin/jscan/dump_debug.c
70
off_t off = sizeof(head);
sbin/jscan/dump_debug.c
98
dump_debug_subrecord(struct jstream *js, off_t *off, off_t recsize, int level)
sbin/jscan/dump_mirror.c
108
off_t *off, off_t recsize, int level)
sbin/jscan/dump_mirror.c
115
off_t base = *off;
sbin/jscan/dump_mirror.c
183
off_t *off, off_t recsize, int level,
sbin/jscan/dump_mirror.c
192
off_t base = *off;
sbin/jscan/dump_mirror.c
283
dump_mirror_payload(int16_t rectype, struct jstream *js, off_t off,
sbin/jscan/dump_mirror.c
42
off_t *off, off_t recsize, int level);
sbin/jscan/dump_mirror.c
44
off_t *off, off_t recsize, int level,
sbin/jscan/dump_mirror.c
46
static int dump_mirror_payload(int16_t rectype, struct jstream *js, off_t off,
sbin/jscan/dump_mirror.c
80
off_t off = sizeof(head);
sbin/jscan/jattr.h
56
off_t off;
sbin/jscan/jfile.c
757
jf->jf_pos = jf->jf_pos & ~(off_t)15;
sbin/jscan/jscan.c
46
off_t prefix_file_size = 100 * 1024 * 1024;
sbin/jscan/jscan.c
47
off_t trans_count;
sbin/jscan/jscan.h
108
off_t js_normalized_off;
sbin/jscan/jscan.h
109
off_t js_normalized_total;
sbin/jscan/jscan.h
156
extern off_t prefix_file_size;
sbin/jscan/jscan.h
157
extern off_t trans_count;
sbin/jscan/jscan.h
196
int jsreadany(struct jstream *js, off_t off, const void **bufp);
sbin/jscan/jscan.h
197
int jsreadp(struct jstream *js, off_t off, const void **bufp, int bytes);
sbin/jscan/jscan.h
198
int jsread(struct jstream *js, off_t off, void *buf, int bytes);
sbin/jscan/jscan.h
199
int jsreadcallback(struct jstream *js, ssize_t (*func)(int, const void *, size_t), int fd, off_t off, int bytes);
sbin/jscan/jscan.h
58
off_t jf_pos; /* current seek position */
sbin/jscan/jscan.h
61
off_t jf_write_pos; /* append position */
sbin/jscan/jscan.h
92
off_t jd_pos; /* location data */
sbin/jscan/jstream.c
220
off_t off;
sbin/jscan/jstream.c
369
jsread(struct jstream *js, off_t off, void *buf, int bytes)
sbin/jscan/jstream.c
395
jsreadp(struct jstream *js, off_t off, const void **bufp,
sbin/jscan/jstream.c
424
int fd, off_t off, int bytes)
sbin/jscan/jstream.c
452
jsreadany(struct jstream *js, off_t off, const void **bufp)
sbin/jscan/subs.c
271
jattr->size = (off_t)-1;
sbin/md5/md5.c
199
off_t *beginp, off_t *endp)
sbin/md5/md5.c
207
off_t end = *endp, begin = *beginp;
sbin/md5/md5.c
281
static off_t
sbin/md5/md5.c
333
off_t begin = 0, end = 0;
sbin/newfs/mkfs.c
1100
calcipg(long cylspg, long bpcg, off_t *usedbp)
sbin/newfs/mkfs.c
1104
off_t usedb;
sbin/newfs/mkfs.c
1118
* NSPF(&sblock) * (off_t)sectorsize;
sbin/newfs/mkfs.c
1220
if (lseek(fsi, (off_t)bno * sectorsize, 0) < 0) {
sbin/newfs/mkfs.c
1244
if (lseek(fso, (off_t)wc_sect * sectorsize, SEEK_SET) < 0) {
sbin/newfs/mkfs.c
126
long calcipg(long, long, off_t *);
sbin/newfs/mkfs.c
1261
erfs(off_t byte_start, off_t size)
sbin/newfs/mkfs.c
1263
off_t ioarg[2];
sbin/newfs/mkfs.c
1295
if ((off_t)wc_sect * sectorsize + wc_end == (off_t)bno * sectorsize &&
sbin/newfs/mkfs.c
1306
if (lseek(fso, (off_t)bno * sectorsize, SEEK_SET) < 0) {
sbin/newfs/mkfs.c
138
void erfs(off_t, off_t);
sbin/newfs/mkfs.c
151
off_t usedb;
sbin/newfs/mkfs.c
404
(int)((mincpg * (off_t)bpcg - usedb)
sbin/newfs/mkfs.c
422
(int)((mincpg * (off_t)bpcg - usedb)
sbin/newfs_hammer/newfs_hammer.c
496
off_t ioarg[2];
sbin/newfs_hammer/newfs_hammer.c
64
off_t total;
sbin/newfs_hammer/newfs_hammer.c
65
off_t avg_vol_size;
sbin/newfs_msdos/mkfs_msdos.c
895
off_t ms;
sbin/newfs_msdos/mkfs_msdos.c
916
off_t hs = 0;
sbin/newfs_msdos/mkfs_msdos.c
918
off_t ms;
sbin/newfs_msdos/mkfs_msdos.h
37
AOPT('@', off_t, offset, 0, "Offset in device") \
sbin/newfs_msdos/mkfs_msdos.h
40
AOPT('C', off_t, create_size, 0, "Create file") \
sbin/newfs_msdos/newfs_msdos.c
209
static off_t
sbin/newfs_msdos/newfs_msdos.c
213
off_t x;
sbin/newfs_msdos/newfs_msdos.c
49
static off_t argtooff(const char *, const char *);
sbin/quotacheck/quotacheck.c
299
off_t offset;
sbin/quotacheck/quotacheck.c
382
(off_t)((highid[type] + 1) * sizeof(struct ufs_dqblk)));
sbin/quotacheck/quotacheck.c
586
if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0 ||
sbin/restore/dirs.c
542
(off_t)0, SEEK_CUR) - dirpl->dd_size + dirpl->dd_loc);
sbin/restore/tape.c
917
seek_failed = (lseek(mt, i, SEEK_CUR) == (off_t)-1);
sbin/savecore/savecore.c
181
check_space(const char *savedir, off_t dumpsize)
sbin/savecore/savecore.c
184
off_t minfree, spacefree, totfree, needed;
sbin/savecore/savecore.c
192
spacefree = ((off_t) fsbuf.f_bavail * fsbuf.f_bsize) / 1024;
sbin/savecore/savecore.c
193
totfree = ((off_t) fsbuf.f_bfree * fsbuf.f_bsize) / 1024;
sbin/savecore/savecore.c
229
off_t mediasize, dumpsize, firsthd, lasthd, dmpcnt;
sbin/swapon/swapon.c
339
off_t ioarg[2];
sbin/tunefs/tunefs.c
365
if (lseek(fi, (off_t)blk * dev_bsize, SEEK_SET) < 0)
sbin/tunefs/tunefs.c
376
if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0)
sbin/vinum/commands.c
1691
off_t maxsize;
sbin/vinum/commands.c
1839
off_t maxsize;
sbin/vinum/commands.c
1987
off_t maxsize;
sbin/vinum/commands.c
2141
off_t maxsize[2]; /* maximum subdisk size for striped plexes */
sbin/vinum/commands.c
2456
off_t block;
sbin/vquota/vquota.c
271
off_t file_size;
share/examples/scsi_target/scsi_cmds.c
484
a_descr->base_off = ((off_t)blkno) * sector_size;
share/examples/scsi_target/scsi_target.c
103
off_t user_size;
share/examples/scsi_target/scsi_target.h
54
off_t base_off; /* Base offset for ATIO */
share/examples/scsi_target/scsi_target.h
75
off_t offset; /* Position in transfer (for file, */
stand/boot/common/bootstrap.h
91
int kern_pread(int fd, vm_offset_t dest, size_t len, off_t off);
stand/boot/common/bootstrap.h
92
void *alloc_pread(int fd, off_t off, size_t len);
stand/boot/common/fs.h
544
(((off_t)(frag)) << (fs)->fs_fshift)
stand/boot/common/fs.h
546
(((off_t)(blk)) << (fs)->fs_bshift)
stand/boot/common/fs.h
574
(((off_t)((fs)->fs_dsize)) * (percentreserved) / 100))
stand/boot/common/load_elf.c
435
if (lseek(ef->fd, (off_t)shdr[i].sh_offset, SEEK_SET) == -1) {
stand/boot/common/load_elf_obj.c
203
shdr = alloc_pread(ef->fd, (off_t)hdr->e_shoff, shdrbytes);
stand/boot/common/load_elf_obj.c
290
shdr[i].sh_size, (off_t)shdr[i].sh_offset) != 0) {
stand/boot/common/misc.c
119
kern_pread(int fd, vm_offset_t dest, size_t len, off_t off)
stand/boot/common/misc.c
140
alloc_pread(int fd, off_t off, size_t len)
stand/boot/efi/libefi/efipart.c
288
off_t off;
stand/boot/pc32/btxld/btxld.c
111
static void copy(int, int, size_t, off_t);
stand/boot/pc32/btxld/btxld.c
112
static size_t readx(int, void *, size_t, off_t);
stand/boot/pc32/btxld/btxld.c
114
static void seekx(int, off_t);
stand/boot/pc32/btxld/btxld.c
423
copy(int fdi, int fdo, size_t nbyte, off_t offset)
stand/boot/pc32/btxld/btxld.c
443
readx(int fd, void *buf, size_t nbyte, off_t offset)
stand/boot/pc32/btxld/btxld.c
472
seekx(int fd, off_t offset)
stand/boot/pc32/libi386/pxe.c
443
off_t off;
stand/lib/bzipfs.c
252
static off_t
stand/lib/bzipfs.c
253
bzf_seek(struct open_file *f, off_t offset, int where)
stand/lib/bzipfs.c
256
off_t target;
stand/lib/bzipfs.c
51
static off_t bzf_seek(struct open_file *f, off_t offset, int where);
stand/lib/cd9660.c
101
off_t f_size; /* Size of file */
stand/lib/cd9660.c
563
static off_t
stand/lib/cd9660.c
564
cd9660_seek(struct open_file *f, off_t offset, int where)
stand/lib/cd9660.c
69
static off_t cd9660_seek(struct open_file *f, off_t offset, int where);
stand/lib/cd9660.c
99
off_t f_off; /* Current offset within file */
stand/lib/dosfs.c
141
static off_t fsize(DOS_FS *, DOS_DE *);
stand/lib/dosfs.c
250
off_t size;
stand/lib/dosfs.c
301
static off_t
stand/lib/dosfs.c
302
dos_seek(struct open_file *fd, off_t offset, int whence)
stand/lib/dosfs.c
304
off_t off;
stand/lib/dosfs.c
48
static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
stand/lib/dosfs.c
671
static off_t
stand/lib/ext2fs.c
297
off_t f_seekp; /* seek pointer */
stand/lib/ext2fs.c
839
static off_t
stand/lib/ext2fs.c
840
ext2fs_seek(struct open_file *f, off_t offset, int where)
stand/lib/ext2fs.c
95
static off_t ext2fs_seek(struct open_file *f, off_t offset, int where);
stand/lib/gzipfs.c
287
static off_t
stand/lib/gzipfs.c
288
zf_seek(struct open_file *f, off_t offset, int where)
stand/lib/gzipfs.c
291
off_t target;
stand/lib/gzipfs.c
48
static off_t zf_seek(struct open_file *f, off_t offset, int where);
stand/lib/hammer1.c
1003
static off_t
stand/lib/hammer1.c
1004
hammer_seek(struct open_file *f, off_t offset, int whence)
stand/lib/hammer2.c
134
off_t
stand/lib/hammer2.c
213
h2read(struct hammer2_fs *hfs, void *buf, size_t nbytes, off_t off)
stand/lib/hammer2.c
550
off_t off, off_t filesize, void *buf, size_t len)
stand/lib/hammer2.c
640
off_t off;
stand/lib/hammer2.c
892
static off_t
stand/lib/hammer2.c
893
hammer2_seek(struct open_file *f, off_t offset, int whence)
stand/lib/hammer2.c
90
off_t doff; /* disk inode offset */
stand/lib/lseek.c
106
if ((filepos = (f->f_ops->fo_seek)(f, (off_t)0, SEEK_CUR)) == -1)
stand/lib/lseek.c
67
off_t
stand/lib/lseek.c
68
lseek(int fd, off_t offset, int where)
stand/lib/lseek.c
70
off_t bufpos, filepos, target;
stand/lib/nfs.c
120
off_t off;
stand/lib/nfs.c
133
static off_t nfs_seek(struct open_file *f, off_t offset, int where);
stand/lib/nfs.c
332
nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len)
stand/lib/nfs.c
647
off_t
stand/lib/nfs.c
648
nfs_seek(struct open_file *f, off_t offset, int where)
stand/lib/nullfs.c
97
off_t
stand/lib/nullfs.c
98
null_seek(struct open_file *f, off_t offset, int where)
stand/lib/splitfs.c
218
static off_t
stand/lib/splitfs.c
219
splitfs_seek(struct open_file *f, off_t offset, int where)
stand/lib/splitfs.c
223
off_t new_pos, seek_by;
stand/lib/splitfs.c
43
off_t tot_pos; /* Offset from the beginning of the sequence */
stand/lib/splitfs.c
44
off_t file_pos; /* Offset from the beginning of the slice */
stand/lib/splitfs.c
50
static off_t splitfs_seek(struct open_file *f, off_t offset, int where);
stand/lib/stand.h
108
off_t (*fo_seek)(struct open_file *, off_t, int);
stand/lib/stand.h
162
off_t f_offset; /* current file offset */
stand/lib/stand.h
165
off_t f_raoffset; /* consumer offset in readahead buffer */
stand/lib/stand.h
269
extern off_t lseek(int, off_t, int);
stand/lib/stand.h
367
extern off_t null_seek(struct open_file *, off_t, int);
stand/lib/tftp.c
424
static off_t
stand/lib/tftp.c
425
tftp_seek(struct open_file *f, off_t offset, int where)
stand/lib/tftp.c
67
static off_t tftp_seek(struct open_file *f, off_t offset, int where);
stand/lib/ufs.c
657
static off_t
stand/lib/ufs.c
658
ufs_seek(struct open_file *f, off_t offset, int where)
stand/lib/ufs.c
79
static off_t ufs_seek(struct open_file *f, off_t offset, int where);
stand/lib/ufs.c
98
off_t f_seekp; /* seek pointer */
sys/bus/cam/scsi/scsi_da.c
423
off_t *del_num = (off_t*)ap->a_data;
sys/bus/cam/scsi/scsi_da.c
424
off_t bytes_left;
sys/bus/cam/scsi/scsi_da.c
425
off_t bytes_start;
sys/bus/cam/scsi/scsi_daio.h
38
#define DAIOCTRIM _IOW('C', 128, off_t[2])
sys/bus/mmc/mmc.c
1926
*(off_t *)result = ivar->sec_count;
sys/cpu/x86_64/include/param.h
177
((off_t)(db) << DEV_BSHIFT)
sys/dev/disk/ccd/ccd.c
1066
cbc = dbtob((off_t)(ci->ci_size - cbn));
sys/dev/disk/ccd/ccd.c
1068
cbc = dbtob((off_t)(cs->sc_ileave - cboff));
sys/dev/disk/ccd/ccd.c
1107
cbc = dbtob((off_t)(ci->ci_size - cbn));
sys/dev/disk/ccd/ccd.c
1109
cbc = dbtob((off_t)(cs->sc_ileave - cboff));
sys/dev/disk/ccd/ccd.c
228
struct bio *, off_t, caddr_t, long);
sys/dev/disk/ccd/ccd.c
870
off_t doffset;
sys/dev/disk/ccd/ccd.c
934
off_t doffset, caddr_t addr, long bcount)
sys/dev/disk/ccd/ccd.c
941
off_t cbc;
sys/dev/disk/dm/crypt/dm_target_crypt.c
105
off_t offset;
sys/dev/disk/dm/crypt/dm_target_crypt.c
138
int bytes, off_t offset, cryptoapi_cipher_mode mode);
sys/dev/disk/dm/crypt/dm_target_crypt.c
343
size_t iv_len, off_t sector)
sys/dev/disk/dm/crypt/dm_target_crypt.c
352
*((off_t *)iv) = htole64(sector + priv->iv_offset);
sys/dev/disk/dm/crypt/dm_target_crypt.c
373
size_t iv_len, off_t sector)
sys/dev/disk/dm/crypt/dm_target_crypt.c
381
size_t iv_len, off_t sector)
sys/dev/disk/dm/crypt/dm_target_crypt.c
61
typedef void ivgen_t(struct target_crypt_config *, u_int8_t *, size_t, off_t);
sys/dev/disk/dm/crypt/dm_target_crypt.c
960
off_t offset, cryptoapi_cipher_mode mode)
sys/dev/disk/dm/crypt/dm_target_crypt.c
964
off_t isector = offset / DEV_BSIZE; /* ivgen salt base? */
sys/dev/disk/dm/crypt/dm_target_crypt.c
997
dm_target_crypt_dump(dm_table_entry_t *table_en, void *data, size_t length, off_t offset)
sys/dev/disk/dm/dm.h
167
int (*dump)(dm_table_entry_t *, void *data, size_t length, off_t offset);
sys/dev/disk/dm/dm.h
248
off_t dm_pdev_correct_dump_offset(dm_pdev_t *, off_t);
sys/dev/disk/dm/dm_pdev.c
101
off_t
sys/dev/disk/dm/dm_pdev.c
102
dm_pdev_correct_dump_offset(dm_pdev_t *pdev, off_t offset)
sys/dev/disk/dm/dm_pdev.c
104
off_t noffset;
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
123
off_t segno;
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
181
segdesc_set_flag(dmirror_disk_t disk, off_t segno, int flag)
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
191
segdesc_clear_flag(dmirror_disk_t disk, off_t segno, int flag)
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
203
off_t segno;
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
311
off_t bseg, eseg, seg_end;
sys/dev/disk/dm/linear/dm_target_linear.c
123
dm_target_linear_dump(dm_table_entry_t *table_en, void *data, size_t length, off_t offset)
sys/dev/disk/dm/striped/dm_target_striped.c
373
dm_target_stripe_dump(dm_table_entry_t *table_en, void *data, size_t length, off_t offset)
sys/dev/disk/fd/fd.c
2265
bp->b_bio1.bio_offset = (off_t)(finfo->cyl *
sys/dev/disk/nata/ata-raid.h
101
off_t last_lba; /* last lba used (for performance) */
sys/dev/disk/vn/vn.c
633
vn->sc_secsize * (off_t)vio->vn_size,
sys/dev/drm/drm_agpsupport.c
342
static int drm_agp_bind_memory(void *handle, off_t start)
sys/dev/drm/include/linux/scatterlist.h
350
const void *buf, size_t buflen, off_t skip);
sys/dev/drm/include/linux/scatterlist.h
360
void *buf, size_t buflen, off_t skip);
sys/dev/drm/linux_dma-buf.c
79
dmabuf_seek(struct file *fp, off_t offset, int whence, off_t *res)
sys/dev/drm/linux_dma-buf.c
83
off_t newoff;
sys/dev/drm/linux_scatterlist.c
155
const void *buf, size_t buflen, off_t skip)
sys/dev/drm/linux_scatterlist.c
157
off_t off;
sys/dev/drm/linux_scatterlist.c
191
void *buf, size_t buflen, off_t skip)
sys/dev/drm/linux_scatterlist.c
193
off_t off;
sys/dev/misc/cuse/cuse.c
914
.uio_offset = (off_t)data_s,
sys/dev/misc/cuse/cuse.c
933
.uio_offset = (off_t)data_d,
sys/dev/misc/dcons/dcons.h
82
off_t buf;
sys/dev/raid/aac/aac_disk.c
248
off_t offset = ap->a_offset;
sys/dev/raid/amr/amr_disk.c
139
off_t offset = ap->a_offset;
sys/dev/raid/ips/ips_disk.c
227
off_t off;
sys/dev/raid/mfi/mfi_disk.c
326
off_t offset = ap->a_offset;
sys/dev/raid/mfi/mfi_syspd.c
291
off_t offset = ap->a_offset;
sys/dev/raid/twe/twe_freebsd.c
777
off_t offset = ap->a_offset;
sys/dev/raid/vinum/vinumext.h
119
int driveio(struct drive *, char *, size_t, off_t, buf_cmd_t);
sys/dev/raid/vinum/vinumext.h
194
struct buf *parityrebuild(struct plex *, vinum_off_t, int, enum parityop, struct rangelock **, off_t *);
sys/dev/raid/vinum/vinuminterrupt.c
402
rqe->b.b_bio1.bio_offset += (off_t)rqe->dataoffset << DEV_BSHIFT; /* point to the correct block */
sys/dev/raid/vinum/vinuminterrupt.c
421
(uintmax_t)(rqe->b.b_bio1.bio_offset - ((off_t)SD[rqe->sdno].driveoffset << DEV_BSHIFT)),
sys/dev/raid/vinum/vinuminterrupt.c
458
(uintmax_t)(rqe->b.b_bio1.bio_offset - ((off_t)SD[rqe->sdno].driveoffset << DEV_BSHIFT)),
sys/dev/raid/vinum/vinumio.c
272
driveio(struct drive *drive, char *buf, size_t length, off_t offset, buf_cmd_t cmd)
sys/dev/raid/vinum/vinumrequest.c
428
(uintmax_t)(rqe->b.b_bio1.bio_offset - ((off_t)SD[rqe->sdno].driveoffset << DEV_BSHIFT)),
sys/dev/raid/vinum/vinumrequest.c
829
bp->b_bio1.bio_offset = (off_t)(rqe->sdoffset + sd->driveoffset) << DEV_BSHIFT; /* start address */
sys/dev/raid/vinum/vinumrequest.c
946
sbp->b.b_bio1.bio_offset = bio->bio_offset + ((off_t)sd->driveoffset << DEV_BSHIFT);
sys/dev/raid/vinum/vinumrequest.c
971
(uintmax_t)(sbp->b.b_bio1.bio_offset - ((off_t)SD[sbp->sdno].driveoffset << DEV_BSHIFT)),
sys/dev/raid/vinum/vinumrevive.c
151
bp->b_bio1.bio_offset = (off_t)plexblkno << DEV_BSHIFT; /* start here */
sys/dev/raid/vinum/vinumrevive.c
179
bp->b_bio1.bio_offset = (off_t)sd->revived << DEV_BSHIFT; /* write it to here */
sys/dev/raid/vinum/vinumrevive.c
254
off_t pstripe; /* pointer to our stripe counter */
sys/dev/raid/vinum/vinumrevive.c
256
off_t errorloc; /* offset of parity error */
sys/dev/raid/vinum/vinumrevive.c
350
off_t * errorloc)
sys/dev/raid/vinum/vinumrevive.c
404
bpp[sdno]->b_bio1.bio_offset = (off_t)pstripe << DEV_BSHIFT; /* transfer from here */
sys/dev/raid/vinum/vinumrevive.c
470
*errorloc = (off_t) (pstripe << DEV_BSHIFT) * (plex->subdisks - 1)
sys/dev/raid/vinum/vinumrevive.c
529
bp->b_bio1.bio_offset = (off_t)sd->initialized << DEV_BSHIFT; /* write it to here */
sys/dev/raid/vinum/vinumrevive.c
542
bp->b_bio1.bio_offset = (off_t)sd->initialized << DEV_BSHIFT; /* read from here */
sys/dev/raid/vinum/vinumvar.h
406
off_t drive_size;
sys/dev/raid/vinum/vinumvar.h
586
off_t checkblock; /* block number for parity op */
sys/dev/video/fb/fbreg.h
60
typedef int vi_set_win_org_t(video_adapter_t *adp, off_t offset);
sys/dev/video/fb/vga.c
1565
vga_set_origin(video_adapter_t *adp, off_t offset)
sys/dev/virtual/virtio/block/virtio_blk.c
162
static int vtblk_write_dump(struct vtblk_softc *, void *, off_t, size_t);
sys/dev/virtual/virtio/block/virtio_blk.c
992
vtblk_write_dump(struct vtblk_softc *sc, void *virtual, off_t offset,
sys/dev/virtual/vkernel/disk/vdisk.c
68
off_t size; /* in bytes */
sys/kern/imgact_elf.c
274
if ((off_t)filsz + offset > vp->v_filesize || filsz > memsz) {
sys/kern/imgact_elf.c
960
__elfN(coredump)(struct lwp *lp, int sig, struct vnode *vp, off_t limit)
sys/kern/imgact_elf.c
988
generic_elf_coredump(struct lwp *lp, int sig, struct file *fp, off_t limit)
sys/kern/kern_acct.c
277
(off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT, p->p_ucred,
sys/kern/kern_checkpoint.c
406
off_t pos;
sys/kern/kern_descrip.c
3602
badfo_seek(struct file *fp, off_t offset, int whence, off_t *res)
sys/kern/kern_device.c
423
dev_ddump(cdev_t dev, void *virtual, vm_offset_t physical, off_t offset,
sys/kern/kern_fp.c
204
fp_pread(file_t fp, void *buf, size_t nbytes, off_t offset, ssize_t *res,
sys/kern/kern_fp.c
301
fp_pwrite(file_t fp, void *buf, size_t nbytes, off_t offset, ssize_t *res,
sys/kern/kern_fp.c
394
off_t pos, void **resp)
sys/kern/kern_lockf.c
115
lf_overlap(const struct lockf_range *range, off_t start, off_t end)
sys/kern/kern_lockf.c
199
off_t start, end;
sys/kern/kern_lockf.c
298
off_t start, off_t end)
sys/kern/kern_lockf.c
771
int type, int flags, off_t start, off_t end)
sys/kern/kern_lockf.c
80
static void lf_wakeup(struct lockf *, off_t, off_t);
sys/kern/kern_lockf.c
806
lf_wakeup(struct lockf *lock, off_t start, off_t end)
sys/kern/kern_lockf.c
83
off_t, off_t);
sys/kern/kern_lockf.c
861
int flags, off_t start, off_t end)
sys/kern/kern_lockf.c
90
off_t, off_t);
sys/kern/kern_lockf.c
92
int, int, off_t, off_t);
sys/kern/kern_sig.c
2539
off_t limit;
sys/kern/kern_subr.c
277
if ((off_t)offset != uio->uio_offset)
sys/kern/subr_disk.c
1425
off_t next_offset;
sys/kern/subr_diskgpt.c
151
bp2->b_bio1.bio_offset = (off_t)table_lba * info->d_media_blksize;
sys/kern/subr_disklabel32.c
201
bp->b_bio1.bio_offset = (off_t)LABELSECTOR32 * secsize;
sys/kern/subr_disklabel32.c
337
bp->b_bio1.bio_offset = (off_t)LABELSECTOR32 * lp->d_secsize;
sys/kern/subr_diskmbr.c
129
bp->b_bio1.bio_offset = (off_t)mbr_offset * info->d_media_blksize;
sys/kern/subr_diskmbr.c
440
bp->b_bio1.bio_offset = (off_t)ext_offset * info->d_media_blksize;
sys/kern/subr_diskslice.c
280
nbio->bio_offset = (off_t)(sp->ds_offset + slicerel_secno) *
sys/kern/subr_diskslice.c
463
*(off_t *)data = 0;
sys/kern/subr_diskslice.c
475
*(off_t *)data = blocks * info->d_media_blksize;
sys/kern/subr_diskslice.c
477
*(off_t *)data = (u_int64_t)sp->ds_size *
sys/kern/sys_generic.c
175
if (uap->offset != (off_t)-1)
sys/kern/sys_generic.c
239
if (uap->offset != (off_t)-1)
sys/kern/sys_generic.c
382
if (uap->offset != (off_t)-1)
sys/kern/sys_generic.c
443
if (uap->offset != (off_t)-1)
sys/kern/sys_process.c
404
uio.uio_offset = (off_t)(uintptr_t)addr;
sys/kern/sys_process.c
441
uio.uio_offset = (off_t)(uintptr_t)piod->piod_offs;
sys/kern/uipc_syscalls.c
1593
off_t hdtr_size = 0;
sys/kern/uipc_syscalls.c
1594
off_t sbytes;
sys/kern/uipc_syscalls.c
1679
copyout(&sbytes, uap->sbytes, sizeof(off_t));
sys/kern/uipc_syscalls.c
1685
kern_sendfile(struct vnode *vp, int sfd, off_t offset, size_t nbytes,
sys/kern/uipc_syscalls.c
1686
struct mbuf *mheader, off_t *sbytes, int flags)
sys/kern/uipc_syscalls.c
1695
off_t off, xfsize, xbytes;
sys/kern/uipc_syscalls.c
1696
off_t hbytes = 0;
sys/kern/vfs_bio.c
1389
off_t foff;
sys/kern/vfs_bio.c
1504
foff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK;
sys/kern/vfs_bio.c
2489
inmem(struct vnode *vp, off_t loffset)
sys/kern/vfs_bio.c
2556
findblk(struct vnode *vp, off_t loffset, int flags)
sys/kern/vfs_bio.c
2642
getcacheblk(struct vnode *vp, off_t loffset, int blksize, int blkflags)
sys/kern/vfs_bio.c
2729
getblk(struct vnode *vp, off_t loffset, int size, int blkflags, int slptimeo)
sys/kern/vfs_bio.c
3620
resid = ((foff + PAGE_SIZE) & ~(off_t)PAGE_MASK) - foff;
sys/kern/vfs_bio.c
3690
foff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK;
sys/kern/vfs_bio.c
4643
bp->b_bio2.bio_next->bio_offset : (off_t)-1));
sys/kern/vfs_bio.c
859
breadcb(struct vnode *vp, off_t loffset, int size, int bflags,
sys/kern/vfs_bio.c
900
breadnx(struct vnode *vp, off_t loffset, int size, int bflags,
sys/kern/vfs_bio.c
901
off_t *raoffset, int *rabsize,
sys/kern/vfs_cluster.c
102
cluster_rbuild (struct vnode *vp, off_t filesize, off_t loffset,
sys/kern/vfs_cluster.c
103
off_t doffset, int blksize, int run,
sys/kern/vfs_cluster.c
109
off_t start_loffset, int bytes);
sys/kern/vfs_cluster.c
1208
cluster_wbuild_wb(struct vnode *vp, int blksize, off_t start_loffset, int len)
sys/kern/vfs_cluster.c
1244
cluster_write(struct buf *bp, off_t filesize, int blksize, int seqcount)
sys/kern/vfs_cluster.c
1247
off_t loffset;
sys/kern/vfs_cluster.c
1459
int blksize, off_t start_loffset, int bytes)
sys/kern/vfs_cluster.c
147
cluster_getcache(cluster_cache_t *dummy, struct vnode *vp, off_t loffset)
sys/kern/vfs_cluster.c
1732
off_t loffset;
sys/kern/vfs_cluster.c
224
cluster_readx(struct vnode *vp, off_t filesize, off_t loffset, int blksize,
sys/kern/vfs_cluster.c
229
off_t origoffset;
sys/kern/vfs_cluster.c
230
off_t doffset;
sys/kern/vfs_cluster.c
388
__debugvar off_t firstread = bp->b_loffset;
sys/kern/vfs_cluster.c
569
cluster_readcb(struct vnode *vp, off_t filesize, off_t loffset, int blksize,
sys/kern/vfs_cluster.c
574
off_t origoffset;
sys/kern/vfs_cluster.c
575
off_t doffset;
sys/kern/vfs_cluster.c
717
__debugvar off_t firstread = bp->b_loffset;
sys/kern/vfs_cluster.c
75
off_t v_lastw; /* last write (end) (write cluster) */
sys/kern/vfs_cluster.c
76
off_t v_cstart; /* start block (beg) of cluster */
sys/kern/vfs_cluster.c
77
off_t v_lasta; /* last allocation (end) */
sys/kern/vfs_cluster.c
87
#define CLUSTER_ZONE ((off_t)(1024 * 1024))
sys/kern/vfs_cluster.c
893
cluster_rbuild(struct vnode *vp, off_t filesize, off_t loffset, off_t doffset,
sys/kern/vfs_cluster.c
897
off_t boffset;
sys/kern/vfs_default.c
1342
off_t offset, len, fsize;
sys/kern/vfs_default.c
1389
off_t cur = iosize;
sys/kern/vfs_default.c
1457
off_t *offp;
sys/kern/vfs_jops.c
626
int jrflags, off_t off, off_t bytes)
sys/kern/vfs_jops.c
656
off_t off, off_t bytes)
sys/kern/vfs_jops.c
93
int jrflags, off_t off, off_t bytes);
sys/kern/vfs_journal.c
1399
off_t offset)
sys/kern/vfs_journal.c
1441
offset += (off_t)(i - b) << PAGE_SHIFT;
sys/kern/vfs_journal.c
1461
off_t off, off_t bytes)
sys/kern/vfs_subr.c
133
RB_GENERATE2(buf_rb_tree, buf, b_rbnode, rb_buf_compare, off_t, b_loffset);
sys/kern/vfs_subr.c
134
RB_GENERATE2(buf_rb_hash, buf, b_rbhash, rb_buf_compare, off_t, b_loffset);
sys/kern/vfs_subr.c
1642
vinitvmio(struct vnode *vp, off_t filesize, int blksize, int boff)
sys/kern/vfs_subr.c
470
off_t truncloffset;
sys/kern/vfs_subr.c
475
vtruncbuf(struct vnode *vp, off_t length, int blksize)
sys/kern/vfs_syscalls.c
2859
kern_lseek(int fd, off_t offset, int whence, off_t *res)
sys/kern/vfs_syscalls.c
4009
kern_truncate(struct nlookupdata *nd, off_t length)
sys/kern/vfs_syscalls.c
4074
kern_ftruncate(int fd, off_t length)
sys/kern/vfs_syscalls.c
4622
off_t loff;
sys/kern/vfs_syscalls.c
5474
kern_posix_fallocate(int fd, off_t offset, off_t len)
sys/kern/vfs_vm.c
125
off_t truncloffset; /* truncation point */
sys/kern/vfs_vm.c
130
nvtruncbuf(struct vnode *vp, off_t length, int blksize, int boff, int flags)
sys/kern/vfs_vm.c
133
off_t truncboffset;
sys/kern/vfs_vm.c
377
nvextendbuf(struct vnode *vp, off_t olength, off_t nlength,
sys/kern/vfs_vm.c
380
off_t truncboffset;
sys/kern/vfs_vm.c
431
nvnode_pager_setsize(struct vnode *vp, off_t length, int blksize, int boff)
sys/kern/vfs_vm.c
438
off_t truncboffset;
sys/kern/vfs_vnops.c
1206
vn_bmap_seekhole_locked(struct vnode *vp, u_long cmd, off_t *off,
sys/kern/vfs_vnops.c
1210
off_t size;
sys/kern/vfs_vnops.c
1212
off_t noff, doff;
sys/kern/vfs_vnops.c
1264
vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off, struct ucred *cred)
sys/kern/vfs_vnops.c
1279
vn_seek(struct file *fp, off_t offset, int whence, off_t *res)
sys/kern/vfs_vnops.c
1287
off_t new_offset;
sys/kern/vfs_vnops.c
553
static __inline off_t
sys/kern/vfs_vnops.c
589
vn_set_fpf_offset(struct file *fp, off_t offset)
sys/kern/vfs_vnops.c
616
static __inline off_t
sys/kern/vfs_vnops.c
622
off_t off = vn_get_fpf_offset(fp);
sys/kern/vfs_vnops.c
635
off_t offset, enum uio_seg segflg, int ioflg,
sys/kern/vfs_vnops.c
680
off_t offset, enum uio_seg segflg, int ioflg,
sys/kern/vfs_vnops.c
75
static int vn_seek (struct file *fp, off_t offset, int whence, off_t *res);
sys/kern/vfs_vnops.c
990
off_t size;
sys/kern/vfs_vopops.c
1038
vop_balloc(struct vop_ops *ops, struct vnode *vp, off_t startoffset,
sys/kern/vfs_vopops.c
1143
vop_freeblks(struct vop_ops *ops, struct vnode *vp, off_t offset, int length)
sys/kern/vfs_vopops.c
1343
vop_allocate(struct vop_ops *ops, struct vnode *vp, off_t offset, off_t len)
sys/kern/vfs_vopops.c
806
struct ucred *cred, int *eofflag, int *ncookies, off_t **cookies,
sys/kern/vfs_vopops.c
911
vop_bmap(struct vop_ops *ops, struct vnode *vp, off_t loffset,
sys/kern/vfs_vopops.c
912
off_t *doffsetp, int *runp, int *runb, buf_cmd_t cmd)
sys/libprop/prop_object.c
944
PROT_READ, MAP_FILE|MAP_SHARED, fd, (off_t)0);
sys/libprop/prop_object.c
956
(off_t)0) == MAP_FAILED) {
sys/netproto/smb/smb_dev.h
141
off_t ioc_offset;
sys/platform/pc64/x86_64/dump_machdep.c
265
off_t hdrgap;
sys/platform/pc64/x86_64/dump_machdep.c
58
#define MD_ALIGN(x) (((off_t)(x) + PAGE_MASK) & ~PAGE_MASK)
sys/platform/pc64/x86_64/dump_machdep.c
59
#define DEV_ALIGN(x) roundup2((off_t)(x), DEV_BSIZE)
sys/platform/pc64/x86_64/dump_machdep.c
69
static off_t dumplo, fileofs;
sys/platform/pc64/x86_64/minidump_machdep.c
57
#define MD_ALIGN(x) (((off_t)(x) + PAGE_MASK) & ~PAGE_MASK)
sys/platform/pc64/x86_64/minidump_machdep.c
58
#define DEV_ALIGN(x) roundup2((off_t)(x), DEV_BSIZE)
sys/platform/pc64/x86_64/minidump_machdep.c
64
static off_t dumplo;
sys/platform/vkernel64/platform/init.c
612
MemImageFd, (off_t)KERNEL_KVA_START);
sys/sys/_uio.h
68
off_t uio_offset;
sys/sys/agpio.h
111
off_t aper_base; /* base of aperture */
sys/sys/agpio.h
127
off_t pg_start; /* starting page to populate */
sys/sys/agpio.h
151
off_t pg_start; /* starting page to populate */
sys/sys/aio.h
79
off_t aio_offset; /* File offset for I/O */
sys/sys/bio.h
70
off_t bio_offset; /* Logical offset relative to device */
sys/sys/bio.h
76
off_t offset;
sys/sys/bio.h
84
off_t offset;
sys/sys/buf.h
357
off_t off_unused;
sys/sys/buf.h
431
int breadx (struct vnode *, off_t, int, int, struct buf **);
sys/sys/buf.h
432
int breadnx (struct vnode *, off_t, int, int, off_t *, int *, int,
sys/sys/buf.h
434
void breadcb(struct vnode *, off_t, int, int,
sys/sys/buf.h
455
int inmem (struct vnode *, off_t);
sys/sys/buf.h
456
struct buf *findblk (struct vnode *, off_t, int);
sys/sys/buf.h
457
struct buf *getblk (struct vnode *, off_t, int, int, int);
sys/sys/buf.h
458
struct buf *getcacheblk (struct vnode *, off_t, int, int);
sys/sys/buf.h
473
int cluster_readx (struct vnode *, off_t, off_t, int, int,
sys/sys/buf.h
475
void cluster_readcb (struct vnode *, off_t, off_t, int, int,
sys/sys/buf.h
477
void cluster_write (struct buf *, off_t, int, int);
sys/sys/buf.h
77
RB_PROTOTYPE2(buf_rb_tree, buf, b_rbnode, rb_buf_compare, off_t);
sys/sys/buf.h
78
RB_PROTOTYPE2(buf_rb_hash, buf, b_rbhash, rb_buf_compare, off_t);
sys/sys/buf2.h
347
bread(struct vnode *vp, off_t loffset, int size, struct buf **bpp)
sys/sys/buf2.h
355
bread_kvabio(struct vnode *vp, off_t loffset, int size, struct buf **bpp)
sys/sys/buf2.h
363
breadn(struct vnode *vp, off_t loffset, int size, off_t *raoffset,
sys/sys/buf2.h
372
cluster_read(struct vnode *vp, off_t filesize, off_t loffset,
sys/sys/buf2.h
381
cluster_read_kvabio(struct vnode *vp, off_t filesize, off_t loffset,
sys/sys/ccdvar.h
223
off_t sc_blk[2]; /* mirror localization */
sys/sys/ckpt.h
63
off_t cfi_offset; /* saved f_offset */
sys/sys/device.h
164
off_t a_offset;
sys/sys/device.h
344
int dev_ddump(cdev_t dev, void *virtual, vm_offset_t physical, off_t offset,
sys/sys/diskslice.h
100
#define DIOCGMEDIASIZE _IOR('d', 135, off_t)
sys/sys/fcntl.h
242
off_t l_start; /* starting offset */
sys/sys/fcntl.h
243
off_t l_len; /* len = 0 means until end of file */
sys/sys/fcntl.h
352
int posix_fadvise(int, off_t, off_t, int);
sys/sys/fcntl.h
353
int posix_fallocate(int, off_t, off_t);
sys/sys/file.h
111
off_t f_nextoff; /*
sys/sys/file.h
114
off_t f_offset;
sys/sys/file.h
145
int fp_pread(struct file *, void *, size_t, off_t, ssize_t *, enum uio_seg);
sys/sys/file.h
146
int fp_pwrite(struct file *, void *, size_t, off_t, ssize_t *, enum uio_seg);
sys/sys/file.h
150
int fp_mmap(void *, size_t, int, int, struct file *, off_t, void **);
sys/sys/file.h
175
int badfo_seek(struct file *fp, off_t offset, int whence, off_t *res);
sys/sys/file.h
88
int (*fo_seek) (struct file *fp, off_t offset, int whence, off_t *res);
sys/sys/file2.h
119
fo_seek(struct file *fp, off_t offset, int whence, off_t *res)
sys/sys/filio.h
61
#define FIOSEEKDATA _IOWR('f', 97, off_t) /* SEEK_DATA */
sys/sys/filio.h
62
#define FIOSEEKHOLE _IOWR('f', 98, off_t) /* SEEK_HOLE */
sys/sys/imgact_elf.h
93
int __elfN(coredump) (struct lwp *, int, struct vnode *, off_t);
sys/sys/imgact_elf.h
96
off_t limit);
sys/sys/kern_syscall.h
121
int kern_sendfile(struct vnode *vp, int s, off_t offset, size_t nbytes,
sys/sys/kern_syscall.h
122
struct mbuf *mheader, off_t *sbytes, int flags);
sys/sys/kern_syscall.h
144
int kern_ftruncate(int fd, off_t length);
sys/sys/kern_syscall.h
150
int kern_lseek(int fd, off_t offset, int whence, off_t *res);
sys/sys/kern_syscall.h
167
int kern_truncate(struct nlookupdata *nd, off_t length);
sys/sys/kern_syscall.h
172
int kern_posix_fallocate(int fd, off_t offset, off_t len);
sys/sys/kern_syscall.h
191
int prot, int flags, int fd, off_t pos, void **res);
sys/sys/kerneldump.h
111
off_t _offset, /* Byte-offset to write at. */
sys/sys/kerneldump.h
120
off_t mediaoffset; /* Initial offset in bytes. */
sys/sys/kerneldump.h
121
off_t mediasize; /* Space available in bytes. */
sys/sys/kerneldump.h
125
int dump_write(struct dumperinfo *, void *, vm_offset_t, off_t, size_t);
sys/sys/kinfo.h
68
off_t f_offset; /* file offset */
sys/sys/lockf.h
62
off_t lf_start; /* Byte # of the start of the lock */
sys/sys/lockf.h
63
off_t lf_end; /* Byte # of the end of the lock, */
sys/sys/mman.h
195
void * mmap(void *, size_t, int, int, int, off_t);
sys/sys/mman.h
205
int mcontrol(void *, size_t, int, off_t);
sys/sys/mountctl.h
260
off_t offset);
sys/sys/mountctl.h
263
off_t off, off_t bytes);
sys/sys/socket.h
533
int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
sys/sys/stat.h
112
off_t st_size; /* file size, in bytes */
sys/sys/sysent.h
75
off_t);
sys/sys/sysproto.h
1104
off_t value; char value_[PAD_(off_t)];
sys/sys/sysproto.h
1127
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
1139
off_t value; char value_[PAD_(off_t)];
sys/sys/sysproto.h
1146
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
1153
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
1448
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
1449
off_t len; char len_[PAD_(off_t)];
sys/sys/sysproto.h
493
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
500
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
537
off_t pos; char pos_[PAD_(off_t)];
sys/sys/sysproto.h
542
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
548
off_t length; char length_[PAD_(off_t)];
sys/sys/sysproto.h
553
off_t length; char length_[PAD_(off_t)];
sys/sys/sysproto.h
698
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
705
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
975
off_t offset; char offset_[PAD_(off_t)];
sys/sys/sysproto.h
978
off_t * sbytes; char sbytes_[PAD_(off_t *)];
sys/sys/uio.h
106
ssize_t preadv(int, const struct iovec *, int, off_t);
sys/sys/uio.h
107
ssize_t pwritev(int, const struct iovec *, int, off_t);
sys/sys/vfsops.h
290
off_t **a_cookies;
sys/sys/vfsops.h
314
off_t a_loffset;
sys/sys/vfsops.h
315
off_t *a_doffsetp;
sys/sys/vfsops.h
351
off_t a_startoffset;
sys/sys/vfsops.h
387
off_t a_offset;
sys/sys/vfsops.h
456
off_t a_offset;
sys/sys/vfsops.h
457
off_t a_len;
sys/sys/vfsops.h
825
int *ncookies, off_t **cookies, struct file *fp);
sys/sys/vfsops.h
830
int vop_bmap(struct vop_ops *ops, struct vnode *vp, off_t loffset,
sys/sys/vfsops.h
831
off_t *doffsetp, int *runp, int *runb, buf_cmd_t cmd);
sys/sys/vfsops.h
838
int vop_balloc(struct vop_ops *ops, struct vnode *vp, off_t startoffset,
sys/sys/vfsops.h
848
off_t offset, int length);
sys/sys/vfsops.h
864
int vop_allocate(struct vop_ops *ops, struct vnode *vp, off_t offset,
sys/sys/vfsops.h
865
off_t len);
sys/sys/vmspace.h
63
void *vmspace_mmap(void *, void *, size_t, int, int, int, off_t);
sys/sys/vmspace.h
65
int vmspace_mcontrol(void *, void *, size_t, int, off_t);
sys/sys/vmspace.h
66
ssize_t vmspace_pread(void *, void *, size_t, int, off_t);
sys/sys/vmspace.h
67
ssize_t vmspace_pwrite(void *, const void *, size_t, int, off_t);
sys/sys/vnode.h
180
off_t v_filesize; /* file EOF or NOOFFSET */
sys/sys/vnode.h
181
off_t v_lazyw; /* lazy write iterator */
sys/sys/vnode.h
472
int vtruncbuf (struct vnode *vp, off_t length, int blksize);
sys/sys/vnode.h
474
int nvtruncbuf (struct vnode *vp, off_t length, int blksize, int boff,
sys/sys/vnode.h
476
int nvextendbuf(struct vnode *vp, off_t olength, off_t nlength,
sys/sys/vnode.h
479
void nvnode_pager_setsize (struct vnode *vp, off_t length,
sys/sys/vnode.h
484
int vinitvmio(struct vnode *vp, off_t filesize, int blksize, int boff);
sys/sys/vnode.h
513
int len, off_t offset, enum uio_seg segflg, int ioflg,
sys/sys/vnode.h
516
int len, off_t offset, enum uio_seg segflg, int ioflg,
sys/sys/vnode.h
598
int vn_bmap_seekhole_locked(struct vnode *vp, u_long cmd, off_t *off,
sys/sys/vnode.h
600
int vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off,
sys/vfs/devfs/devfs_vnops.c
117
static int devfs_fo_seek(struct file *, off_t, int, off_t *);
sys/vfs/devfs/devfs_vnops.c
1620
devfs_fo_seek(struct file *fp, off_t offset, int whence, off_t *res)
sys/vfs/devfs/devfs_vnops.c
1627
off_t new_offset;
sys/vfs/devfs/devfs_vnops.c
332
off_t *cookies;
sys/vfs/devfs/devfs_vnops.c
333
off_t saveoff;
sys/vfs/devfs/devfs_vnops.c
356
cookies = kmalloc(256 * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/dirfs/dirfs.h
171
off_t dn_size;
sys/vfs/dirfs/dirfs.h
280
int dirfs_node_chsize(dirfs_node_t, off_t);
sys/vfs/dirfs/dirfs_subr.c
749
dirfs_node_chsize(dirfs_node_t dnp, off_t nsize)
sys/vfs/dirfs/dirfs_subr.c
756
off_t osize;
sys/vfs/dirfs/dirfs_vnops.c
109
dirfs_node_t dnp, off_t boff, size_t resid, size_t size, int error);
sys/vfs/dirfs/dirfs_vnops.c
115
int bresid, off_t biooff, int error);
sys/vfs/dirfs/dirfs_vnops.c
1217
off_t __unused **cookies = ap->a_cookies;
sys/vfs/dirfs/dirfs_vnops.c
1225
off_t startoff;
sys/vfs/dirfs/dirfs_vnops.c
1226
off_t cnt;
sys/vfs/dirfs/dirfs_vnops.c
1229
off_t curoff;
sys/vfs/dirfs/dirfs_vnops.c
1504
off_t off;
sys/vfs/dirfs/dirfs_vnops.c
605
off_t base_offset;
sys/vfs/dirfs/dirfs_vnops.c
630
base_offset = (off_t)uio->uio_offset - offset;
sys/vfs/dirfs/dirfs_vnops.c
677
off_t osize;
sys/vfs/dirfs/dirfs_vnops.c
678
off_t nsize;
sys/vfs/dirfs/dirfs_vnops.c
679
off_t base_offset;
sys/vfs/dirfs/dirfs_vnops.c
734
base_offset = (off_t)uio->uio_offset - offset;
sys/vfs/dirfs/dirfs_vnops.c
85
dirfs_node_t dnp, int fd, off_t startoff, off_t uoff);
sys/vfs/ext2fs/ext2_extents.c
208
ext4_ext_remove_space(struct inode *ip, off_t length, int flags,
sys/vfs/ext2fs/ext2_extents.h
126
int ext4_ext_remove_space(struct inode *ip, off_t length, int flags,
sys/vfs/ext2fs/ext2_extern.h
60
int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
sys/vfs/ext2fs/ext2_extern.h
75
int ext2_truncate(struct vnode *, off_t, int, struct ucred *);
sys/vfs/ext2fs/ext2_inode.c
226
ext2_ind_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred)
sys/vfs/ext2fs/ext2_inode.c
239
off_t osize;
sys/vfs/ext2fs/ext2_inode.c
448
ext2_ext_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred)
sys/vfs/ext2fs/ext2_inode.c
458
ext2_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred)
sys/vfs/ext2fs/ext2_inode.c
512
error = ext2_truncate(vp, (off_t)0, 0, NOCRED);
sys/vfs/ext2fs/ext2_lookup.c
1077
ext2_blkatoff(dvp, (off_t)dp->i_offset, (char **)&ep,
sys/vfs/ext2fs/ext2_lookup.c
1089
if ((error = ext2_blkatoff(dvp, (off_t)(dp->i_offset - dp->i_count),
sys/vfs/ext2fs/ext2_lookup.c
1122
if ((error = ext2_blkatoff(vdp, (off_t)dp->i_offset, (char **)&ep,
sys/vfs/ext2fs/ext2_lookup.c
1149
off_t off;
sys/vfs/ext2fs/ext2_lookup.c
1218
sizeof(struct dirtemplate), (off_t)0,
sys/vfs/ext2fs/ext2_lookup.c
152
off_t offset, startoffset;
sys/vfs/ext2fs/ext2_lookup.c
418
(error = ext2_blkatoff(vdp, (off_t)i_offset, NULL,
sys/vfs/ext2fs/ext2_lookup.c
434
error = ext2_blkatoff(vdp, (off_t)i_offset, NULL, &bp);
sys/vfs/ext2fs/ext2_lookup.c
953
error = ext2_truncate(dvp, (off_t)dp->i_endoff, IO_SYNC,
sys/vfs/ext2fs/ext2_lookup.c
995
if ((error = ext2_blkatoff(dvp, (off_t)dp->i_offset, &dirbuf,
sys/vfs/ext2fs/ext2_subr.c
78
ext2_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp)
sys/vfs/ext2fs/ext2_vnops.c
1043
sizeof (struct dirtemplate), (off_t)0,
sys/vfs/ext2fs/ext2_vnops.c
1067
(off_t)0, UIO_SYSSPACE,
sys/vfs/ext2fs/ext2_vnops.c
1213
DIRBLKSIZ, (off_t)0, UIO_SYSSPACE,
sys/vfs/ext2fs/ext2_vnops.c
1299
error = ext2_truncate(vp, (off_t)0, IO_SYNC, cnp->cn_cred);
sys/vfs/ext2fs/ext2_vnops.c
1334
error = vn_rdwr(UIO_WRITE, vp, ap->a_target, len, (off_t)0,
sys/vfs/ext2fs/ext2_vnops.c
1494
off_t off;
sys/vfs/ext2fs/ext2_vnops.c
1814
off_t nextlbn;
sys/vfs/ext2fs/ext2_vnops.c
1815
off_t nextloffset;
sys/vfs/ext2fs/ext2_vnops.c
1816
off_t bytesinfile;
sys/vfs/ext2fs/ext2_vnops.c
1866
error = cluster_read(vp, (off_t)ip->i_size,
sys/vfs/ext2fs/ext2_vnops.c
1925
(off_t *)ap->a_data, ap->a_cred));
sys/vfs/ext2fs/ext2_vnops.c
1944
off_t osize;
sys/vfs/ext2fs/ext2_vnops.c
2079
cluster_write(bp, (off_t)ip->i_size,
sys/vfs/ext2fs/ext2_vnops.c
961
error = ext2_truncate(tvp, (off_t)0, IO_SYNC,
sys/vfs/ext2fs/ext2fs.h
180
off_t e2fs_maxfilesize;
sys/vfs/ext2fs/fs.h
145
((off_t)(blk) << (fs)->e2fs_bshift)
sys/vfs/ext2fs/fs.h
148
((off_t)(blk) * (fs)->e2fs_fsize)
sys/vfs/ext2fs/fs.h
154
((off_t)(b) * ((fs)->e2fs_fsize >> (fs)->e2fs_fsbtodb))
sys/vfs/ext2fs/fs.h
61
#define SBOFF ((off_t)1024)
sys/vfs/fuse/fuse.h
70
#define FUSE_BLKMASK64 ((off_t)(FUSE_BLKSIZE - 1))
sys/vfs/fuse/fuse_vnops.c
1021
off_t cur_offset = 0;
sys/vfs/fuse/fuse_vnops.c
1324
off_t base_offset;
sys/vfs/fuse/fuse_vnops.c
1368
base_offset = (off_t)uio->uio_offset - offset;
sys/vfs/fuse/fuse_vnops.c
1437
off_t oldsize;
sys/vfs/fuse/fuse_vnops.c
1438
off_t newsize;
sys/vfs/fuse/fuse_vnops.c
1440
off_t base_offset;
sys/vfs/fuse/fuse_vnops.c
1522
base_offset = (off_t)uio->uio_offset - offset;
sys/vfs/fuse/fuse_vnops.c
1881
off_t off;
sys/vfs/fuse/fuse_vnops.c
1961
fuse_reg_resize(struct vnode *vp, off_t newsize, int trivial)
sys/vfs/fuse/fuse_vnops.c
1964
off_t oldsize;
sys/vfs/fuse/fuse_vnops.c
44
static int fuse_reg_resize(struct vnode *vp, off_t newsize, int trivial);
sys/vfs/hammer/hammer.h
1279
hammer_record_t hammer_ip_add_bulk(hammer_inode_t ip, off_t file_offset,
sys/vfs/hammer/hammer.h
1281
int hammer_ip_frontend_trunc(hammer_inode_t ip, off_t file_size);
sys/vfs/hammer/hammer.h
356
off_t trunc_off;
sys/vfs/hammer/hammer.h
378
off_t sync_trunc_off; /* to-sync truncation */
sys/vfs/hammer/hammer.h
379
off_t save_trunc_off; /* write optimization */
sys/vfs/hammer/hammer_inode.c
2998
off_t trunc_off;
sys/vfs/hammer/hammer_inode.c
2999
off_t aligned_trunc_off;
sys/vfs/hammer/hammer_object.c
1038
hammer_ip_frontend_trunc(hammer_inode_t ip, off_t file_size)
sys/vfs/hammer/hammer_object.c
952
hammer_ip_add_bulk(hammer_inode_t ip, off_t file_offset, void *data, int bytes,
sys/vfs/hammer/hammer_vnops.c
1638
off_t *cookies;
sys/vfs/hammer/hammer_vnops.c
1639
off_t saveoff;
sys/vfs/hammer/hammer_vnops.c
1652
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/hammer/hammer_vnops.c
308
off_t offset;
sys/vfs/hammer/hammer_vnops.c
3584
off_t off;
sys/vfs/hammer/hammer_vnops.c
504
off_t base_offset;
sys/vfs/hammer/hammer_vnops.c
603
off_t nsize;
sys/vfs/hammer2/hammer2.h
1638
char *hammer2_io_data(hammer2_io_t *dio, off_t lbase);
sys/vfs/hammer2/hammer2.h
1645
int hammer2_io_new(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
sys/vfs/hammer2/hammer2.h
1647
int hammer2_io_newnz(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
sys/vfs/hammer2/hammer2.h
1649
int _hammer2_io_bread(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
sys/vfs/hammer2/hammer2.h
1653
hammer2_io_t *_hammer2_io_getblk(hammer2_dev_t *hmp, int btype, off_t lbase,
sys/vfs/hammer2/hammer2.h
1655
hammer2_io_t *_hammer2_io_getquick(hammer2_dev_t *hmp, off_t lbase,
sys/vfs/hammer2/hammer2.h
1877
int hammer2_vfs_enospace(hammer2_inode_t *ip, off_t bytes, struct ucred *cred);
sys/vfs/hammer2/hammer2.h
274
off_t dbase; /* offset of devvp within volumes */
sys/vfs/hammer2/hammer2.h
275
off_t pbase;
sys/vfs/hammer2/hammer2_io.c
177
_hammer2_io_getblk(hammer2_dev_t *hmp, int btype, off_t lbase,
sys/vfs/hammer2/hammer2_io.c
182
off_t peof;
sys/vfs/hammer2/hammer2_io.c
393
off_t pbase;
sys/vfs/hammer2/hammer2_io.c
485
off_t peof;
sys/vfs/hammer2/hammer2_io.c
555
hammer2_io_data(hammer2_io_t *dio, off_t lbase)
sys/vfs/hammer2/hammer2_io.c
570
hammer2_io_new(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
sys/vfs/hammer2/hammer2_io.c
578
hammer2_io_newnz(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
sys/vfs/hammer2/hammer2_io.c
586
_hammer2_io_bread(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
sys/vfs/hammer2/hammer2_io.c
607
_hammer2_io_getquick(hammer2_dev_t *hmp, off_t lbase,
sys/vfs/hammer2/hammer2_ioctl.c
175
error = vn_bmap_seekhole(ip->vp, com, (off_t *)data,
sys/vfs/hammer2/hammer2_vfsops.c
3076
hammer2_vfs_enospace(hammer2_inode_t *ip, off_t bytes, struct ucred *cred)
sys/vfs/hammer2/hammer2_vnops.c
2361
off_t off;
sys/vfs/hammer2/hammer2_vnops.c
606
off_t *cookies;
sys/vfs/hammer2/hammer2_vnops.c
607
off_t saveoff;
sys/vfs/hammer2/hammer2_vnops.c
627
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/hpfs/hpfs.h
387
#define dbtodoff(dbn) ((off_t)(dbn) << DEV_BSHIFT)
sys/vfs/hpfs/hpfs_vnops.c
287
*ap->a_doffsetp = (off_t)dbn << DEV_BSHIFT;
sys/vfs/hpfs/hpfs_vnops.c
938
off_t *cookies;
sys/vfs/hpfs/hpfs_vnops.c
939
off_t *cookiep;
sys/vfs/hpfs/hpfs_vnops.c
944
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/isofs/cd9660/cd9660_bmap.c
58
off_t loffset = ap->a_loffset;
sys/vfs/isofs/cd9660/cd9660_bmap.c
74
*ap->a_doffsetp = loffset + ((off_t)ip->iso_start << bshift);
sys/vfs/isofs/cd9660/cd9660_bmap.c
84
off_t nbytes;
sys/vfs/isofs/cd9660/cd9660_bmap.c
86
nbytes = (off_t)ip->i_size - loffset;
sys/vfs/isofs/cd9660/cd9660_lookup.c
161
(error = cd9660_devblkatoff(vdp, (off_t)dp->i_offset, NULL, &bp)))
sys/vfs/isofs/cd9660/cd9660_lookup.c
178
cd9660_devblkatoff(vdp, (off_t)dp->i_offset, NULL, &bp)) != 0)
sys/vfs/isofs/cd9660/cd9660_lookup.c
280
(off_t)saveoffset, NULL, &bp)) != 0)
sys/vfs/isofs/cd9660/cd9660_lookup.c
386
cd9660_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp)
sys/vfs/isofs/cd9660/cd9660_lookup.c
449
cd9660_devblkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp)
sys/vfs/isofs/cd9660/cd9660_lookup.c
455
off_t doffset;
sys/vfs/isofs/cd9660/cd9660_node.c
266
cd9660_devblkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL,
sys/vfs/isofs/cd9660/cd9660_node.c
315
cd9660_devblkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL,
sys/vfs/isofs/cd9660/cd9660_node.h
115
int cd9660_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp);
sys/vfs/isofs/cd9660/cd9660_node.h
116
int cd9660_devblkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp);
sys/vfs/isofs/cd9660/cd9660_vfsops.c
329
if ((error = bread(devvp, (off_t)iso_blknum * iso_bsize,
sys/vfs/isofs/cd9660/cd9660_vfsops.c
837
if ((error = cd9660_devblkatoff(vp, (off_t)0, NULL, &bp)) != 0) {
sys/vfs/isofs/cd9660/cd9660_vfsops.c
859
cd9660_devblkatoff(vp, (off_t)-(off << imp->im_bshift), NULL,
sys/vfs/isofs/cd9660/cd9660_vnops.c
254
off_t raoffset;
sys/vfs/isofs/cd9660/cd9660_vnops.c
255
off_t loffset;
sys/vfs/isofs/cd9660/cd9660_vnops.c
256
off_t diff;
sys/vfs/isofs/cd9660/cd9660_vnops.c
275
diff = (off_t)ip->i_size - uio->uio_offset;
sys/vfs/isofs/cd9660/cd9660_vnops.c
285
error = cluster_read(vp, (off_t)ip->i_size,
sys/vfs/isofs/cd9660/cd9660_vnops.c
328
off_t saveoff;
sys/vfs/isofs/cd9660/cd9660_vnops.c
329
off_t assocoff;
sys/vfs/isofs/cd9660/cd9660_vnops.c
330
off_t curroff;
sys/vfs/isofs/cd9660/cd9660_vnops.c
332
off_t uio_off;
sys/vfs/isofs/cd9660/cd9660_vnops.c
334
off_t *cookies;
sys/vfs/isofs/cd9660/cd9660_vnops.c
339
iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off)
sys/vfs/isofs/cd9660/cd9660_vnops.c
437
off_t *cookies = NULL;
sys/vfs/isofs/cd9660/cd9660_vnops.c
468
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/isofs/cd9660/cd9660_vnops.c
646
rounddown2((off_t)ip->i_number, 1 << imp->im_bshift),
sys/vfs/isofs/cd9660/cd9660_vnops.c
74
static int iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off);
sys/vfs/isofs/cd9660/iso.h
262
#define lblktooff(imp, blk) ((off_t)(blk) << (imp)->im_bshift)
sys/vfs/isofs/cd9660/iso_rrip.h
64
off_t iso_ce_off; /* offset of continuation area */
sys/vfs/mfs/mfs_vfsops.c
155
off_t boff = bio->bio_offset;
sys/vfs/mfs/mfs_vfsops.c
156
off_t eoff = boff + bp->b_bcount;
sys/vfs/msdosfs/msdosfs_vfsops.c
432
if ((off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec <
sys/vfs/msdosfs/msdosfs_vnops.c
1502
off_t *cookies = NULL;
sys/vfs/msdosfs/msdosfs_vnops.c
1504
off_t offset, off;
sys/vfs/msdosfs/msdosfs_vnops.c
1549
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/msdosfs/msdosfs_vnops.c
465
off_t loffset;
sys/vfs/msdosfs/msdosfs_vnops.c
532
off_t raoffset = de_cn2doff(pmp, rablock);
sys/vfs/msdosfs/msdosfsmount.h
190
((off_t)(bn) << (pmp)->pm_bnshift)
sys/vfs/msdosfs/msdosfsmount.h
193
((off_t)(cn) << (pmp)->pm_cnshift)
sys/vfs/nfs/nfs.h
535
off_t nd_off; /* Start byte offset */
sys/vfs/nfs/nfs.h
536
off_t nd_eoff; /* and end byte offset */
sys/vfs/nfs/nfs.h
792
off_t nbase, int nvextflags);
sys/vfs/nfs/nfs_bio.c
1170
off_t off;
sys/vfs/nfs/nfs_bio.c
122
seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / MAXBSIZE);
sys/vfs/nfs/nfs_bio.c
1297
nfs_meta_setsize(struct vnode *vp, struct thread *td, off_t nsize, int flags)
sys/vfs/nfs/nfs_bio.c
1300
off_t osize;
sys/vfs/nfs/nfs_bio.c
1456
off_t offset;
sys/vfs/nfs/nfs_bio.c
195
(off_t)(lbn + 1 + nra) * biosize < np->n_size; nra++) {
sys/vfs/nfs/nfs_bio.c
265
bp = nfs_getcacheblk(vp, (off_t)0, biosize, td);
sys/vfs/nfs/nfs_bio.c
323
bp = nfs_getcacheblk(vp, (off_t)i * NFS_DIRBLKSIZ,
sys/vfs/nfs/nfs_bio.c
425
off_t old_off = uio->uio_offset;
sys/vfs/nfs/nfs_bio.c
507
off_t loffset;
sys/vfs/nfs/nfs_bio.c
69
static struct buf *nfs_getcacheblk(struct vnode *vp, off_t loffset,
sys/vfs/nfs/nfs_bio.c
829
nfs_getcacheblk(struct vnode *vp, off_t loffset, int size, struct thread *td)
sys/vfs/nfs/nfs_bio.c
97
off_t lbn, rabn;
sys/vfs/nfs/nfs_bio.c
98
off_t raoffset;
sys/vfs/nfs/nfs_bio.c
99
off_t loffset;
sys/vfs/nfs/nfs_serv.c
1020
off_t off;
sys/vfs/nfs/nfs_serv.c
1042
off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
sys/vfs/nfs/nfs_serv.c
110
off_t nh_nextoff; /* next offset for sequential detection */
sys/vfs/nfs/nfs_serv.c
1271
nfsd->nd_off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
sys/vfs/nfs/nfs_serv.c
2949
off_t *cookies = NULL, *cookiep;
sys/vfs/nfs/nfs_serv.c
3035
io.uio_offset = (off_t)off;
sys/vfs/nfs/nfs_serv.c
3046
off = (off_t)io.uio_offset;
sys/vfs/nfs/nfs_serv.c
3258
off_t *cookies = NULL, *cookiep; /* needs to be int64_t or off_t */
sys/vfs/nfs/nfs_serv.c
3327
io.uio_offset = (off_t)off;
sys/vfs/nfs/nfs_serv.c
3646
off_t loffset;
sys/vfs/nfs/nfs_serv.c
814
off_t off;
sys/vfs/nfs/nfs_serv.c
831
off = (off_t)fxdr_unsigned(u_int32_t, *tl);
sys/vfs/nfs/nfs_subs.c
1336
nfs_getcookie(struct nfsnode *np, off_t off, int add)
sys/vfs/nfs/nfs_vnops.c
1382
off_t tmp_off;
sys/vfs/nfs/nfs_vnops.c
3316
off_t beg_off;
sys/vfs/nfs/nfs_vnops.c
3317
off_t end_off;
sys/vfs/nfs/nfs_vnops.c
3424
off_t toff;
sys/vfs/nfs/nfs_vnops.c
3507
toff += (off_t)(bp->b_dirtyend - bp->b_dirtyoff);
sys/vfs/nfs/nfs_vnops.c
3525
off_t bytes;
sys/vfs/nfs/nfs_vnops.c
3793
off_t off;
sys/vfs/nfs/nfs_vnops.c
754
off_t tsize;
sys/vfs/nfs/nfs_vnops.c
758
tsize = (off_t)0;
sys/vfs/nfs/nfsnode.h
128
off_t nd_direof; /* Dir. EOF offset cache */
sys/vfs/nfs/nfsnode.h
229
nfsuint64 *nfs_getcookie (struct nfsnode *, off_t, int);
sys/vfs/ntfs/ntfs.h
287
#define ntfs_cntodoff(cn) ((off_t)(cn) * (ntmp)->ntm_spc * (ntmp)->ntm_bps)
sys/vfs/ntfs/ntfs.h
288
#define ntfs_cntob(cn) ((off_t)(cn) * (ntmp)->ntm_spc * (ntmp)->ntm_bps)
sys/vfs/ntfs/ntfs.h
291
#define ntfs_btocnoff(off) (off_t)((off) % ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
sys/vfs/ntfs/ntfs.h
293
#define ntfs_bntodoff(bn) ((off_t)(bn) * (ntmp)->ntm_bps)
sys/vfs/ntfs/ntfs.h
41
#define BBOFF ((off_t)(0))
sys/vfs/ntfs/ntfs_subr.c
1318
u_int32_t attrnum, char *attrname, off_t roff,
sys/vfs/ntfs/ntfs_subr.c
1324
off_t off = roff, left = rsize, towrite;
sys/vfs/ntfs/ntfs_subr.c
1369
struct ntvattr *vap, off_t roff, size_t rsize,
sys/vfs/ntfs/ntfs_subr.c
1475
struct ntvattr *vap, off_t roff, size_t rsize,
sys/vfs/ntfs/ntfs_subr.c
1608
u_int32_t attrnum, char *attrname, off_t roff,
sys/vfs/ntfs/ntfs_subr.c
1614
off_t off = roff, left = rsize, toread;
sys/vfs/ntfs/ntfs_subr.c
1657
char *attrname, off_t roff, size_t rsize, void *rdata,
sys/vfs/ntfs/ntfs_subr.c
1680
off_t off, left = rsize, tocopy;
sys/vfs/ntfs/ntfs_subr.h
102
int ntfs_writentvattr_plain (struct ntfsmount *, struct ntnode *, struct ntvattr *, off_t, size_t, void *, size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
103
int ntfs_writeattr_plain (struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *, size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
80
int ntfs_readntvattr_plain ( struct ntfsmount *, struct ntnode *, struct ntvattr *, off_t, size_t, void *,size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
81
int ntfs_readattr_plain ( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *,size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
82
int ntfs_readattr ( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *, struct uio *);
sys/vfs/ntfs/ntfs_vnops.c
626
off_t *cookies;
sys/vfs/ntfs/ntfs_vnops.c
627
off_t *cookiep;
sys/vfs/ntfs/ntfs_vnops.c
632
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/procfs/procfs_vnops.c
1016
uio->uio_offset = (off_t)info.i;
sys/vfs/procfs/procfs_vnops.c
975
uio->uio_offset = (off_t)i;
sys/vfs/smbfs/smbfs_smb.c
130
off_t start, off_t end, struct smb_cred *scred)
sys/vfs/smbfs/smbfs_smb.c
92
smbfs_smb_lockandx(struct smbnode *np, int op, u_int32_t pid, off_t start, off_t end,
sys/vfs/smbfs/smbfs_subr.h
137
off_t start, off_t end, struct smb_cred *scred);
sys/vfs/smbfs/smbfs_vnops.c
891
off_t start, end, size;
sys/vfs/tmpfs/tmpfs.h
127
#define TMPFS_DIRCOOKIE_EOF ((off_t)0x7FFFFFFFFFFFFFFFLLU)
sys/vfs/tmpfs/tmpfs.h
130
off_t
sys/vfs/tmpfs/tmpfs.h
133
return ((off_t)((uintptr_t)de >> 1) & 0x7FFFFFFFFFFFFFFFLLU);
sys/vfs/tmpfs/tmpfs.h
143
tmpfs_cookiedir(off_t off)
sys/vfs/tmpfs/tmpfs.h
186
off_t tn_size;
sys/vfs/tmpfs/tmpfs.h
418
struct tmpfs_dirent * tmpfs_dir_lookupbycookie(struct tmpfs_node *, off_t,
sys/vfs/tmpfs/tmpfs.h
420
int tmpfs_dir_getdents(struct tmpfs_node *, struct uio *, off_t *);
sys/vfs/tmpfs/tmpfs.h
421
int tmpfs_reg_resize(struct vnode *, off_t, int);
sys/vfs/tmpfs/tmpfs.h
434
int tmpfs_truncate(struct vnode *, off_t);
sys/vfs/tmpfs/tmpfs.h
515
#define TMPFS_BLKMASK64 ((off_t)(TMPFS_BLKSIZE - 1))
sys/vfs/tmpfs/tmpfs_mount.h
47
off_t ta_size_max;
sys/vfs/tmpfs/tmpfs_subr.c
1383
tmpfs_truncate(struct vnode *vp, off_t length)
sys/vfs/tmpfs/tmpfs_subr.c
786
off_t cookie;
sys/vfs/tmpfs/tmpfs_subr.c
794
off_t cookie = tmpfs_dircookie(de);
sys/vfs/tmpfs/tmpfs_subr.c
822
tmpfs_dir_lookupbycookie(struct tmpfs_node *node, off_t cookie, int exact)
sys/vfs/tmpfs/tmpfs_subr.c
864
tmpfs_dir_getdents(struct tmpfs_node *node, struct uio *uio, off_t *cntp)
sys/vfs/tmpfs/tmpfs_subr.c
867
off_t startcookie;
sys/vfs/tmpfs/tmpfs_subr.c
979
tmpfs_reg_resize(struct vnode *vp, off_t newsize, int trivial)
sys/vfs/tmpfs/tmpfs_subr.c
985
off_t oldsize;
sys/vfs/tmpfs/tmpfs_vfsops.c
109
off_t size_max;
sys/vfs/tmpfs/tmpfs_vnops.c
1647
off_t **cookies = ap->a_cookies;
sys/vfs/tmpfs/tmpfs_vnops.c
1651
off_t startoff;
sys/vfs/tmpfs/tmpfs_vnops.c
1652
off_t cnt = 0;
sys/vfs/tmpfs/tmpfs_vnops.c
1698
off_t i;
sys/vfs/tmpfs/tmpfs_vnops.c
1699
off_t off = startoff;
sys/vfs/tmpfs/tmpfs_vnops.c
1703
*cookies = kmalloc(cnt * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/tmpfs/tmpfs_vnops.c
2049
off_t off;
sys/vfs/tmpfs/tmpfs_vnops.c
549
off_t base_offset;
sys/vfs/tmpfs/tmpfs_vnops.c
602
base_offset = (off_t)uio->uio_offset - offset;
sys/vfs/tmpfs/tmpfs_vnops.c
674
off_t oldsize;
sys/vfs/tmpfs/tmpfs_vnops.c
676
off_t base_offset;
sys/vfs/tmpfs/tmpfs_vnops.c
755
base_offset = (off_t)uio->uio_offset - offset;
sys/vfs/udf/udf.h
105
off_t raoffset;
sys/vfs/udf/udf.h
106
off_t loffset;
sys/vfs/udf/udf.h
109
loffset = (off_t)(lsector + udfmp->part_start) << udfmp->bshift;
sys/vfs/udf/udf.h
88
bread(devvp, (off_t)(sector) << udfmp->bshift, size, bp)
sys/vfs/udf/udf_vfsops.c
281
if ((error = bread(devvp, (off_t)sector * bsize, bsize, &bp)) != 0)
sys/vfs/udf/udf_vfsops.c
299
if ((error = bread(devvp, (off_t)sector * bsize, bsize,
sys/vfs/udf/udf_vnops.c
477
off_t *cookies;
sys/vfs/udf/udf_vnops.c
635
off_t *cookies = NULL;
sys/vfs/udf/udf_vnops.c
660
cookies = kmalloc(sizeof(off_t) * ncookies, M_TEMP, M_WAITOK);
sys/vfs/udf/udf_vnops.c
850
*a->a_doffsetp = (off_t)lsector << node->udfmp->bshift;
sys/vfs/ufs/ffs_alloc.c
256
(off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100))
sys/vfs/ufs/ffs_alloc.c
275
(off_t)fs->fs_dsize * (fs->fs_minfree - 2) / 100)
sys/vfs/ufs/ffs_alloc.c
359
off_t boffset;
sys/vfs/ufs/ffs_balloc.c
418
error = cluster_read(vp, (off_t)ip->i_size,
sys/vfs/ufs/ffs_extern.h
111
void softdep_setup_freeblocks(struct inode *, off_t);
sys/vfs/ufs/ffs_extern.h
72
int ffs_blkatoff(struct vnode *, off_t, char **, struct buf **);
sys/vfs/ufs/ffs_extern.h
73
int ffs_blkatoff_ra(struct vnode *, off_t, char **, struct buf **, int);
sys/vfs/ufs/ffs_extern.h
93
int ffs_truncate(struct vnode *, off_t, int, struct ucred *);
sys/vfs/ufs/ffs_inode.c
137
ffs_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred)
sys/vfs/ufs/ffs_inode.c
151
off_t osize;
sys/vfs/ufs/ffs_softdep.c
170
static int indir_trunc (struct inode *, off_t, int, ufs_lbn_t, long *);
sys/vfs/ufs/ffs_softdep.c
1736
softdep_setup_freeblocks(struct inode *ip, off_t length)
sys/vfs/ufs/ffs_softdep.c
2201
indir_trunc(struct inode *ip, off_t doffset, int level, ufs_lbn_t lbn,
sys/vfs/ufs/ffs_softdep.c
2330
softdep_setup_directory_add(struct buf *bp, struct inode *dp, off_t diroffset,
sys/vfs/ufs/ffs_softdep.c
2885
if ((error = ffs_truncate(vp, (off_t)0, 0, proc0.p_ucred)) != 0)
sys/vfs/ufs/ffs_softdep_stub.c
111
softdep_setup_freeblocks(struct inode *ip, off_t length)
sys/vfs/ufs/ffs_softdep_stub.c
124
softdep_setup_directory_add(struct buf *bp, struct inode *dp, off_t diroffset,
sys/vfs/ufs/ffs_subr.c
101
off_t base_loffset;
sys/vfs/ufs/ffs_subr.c
102
off_t next_loffset;
sys/vfs/ufs/ffs_subr.c
128
error = cluster_read(vp, (off_t)ip->i_size,
sys/vfs/ufs/ffs_subr.c
60
ffs_blkatoff(struct vnode *vp, off_t uoffset, char **res, struct buf **bpp)
sys/vfs/ufs/ffs_subr.c
93
ffs_blkatoff_ra(struct vnode *vp, off_t uoffset, char **res, struct buf **bpp,
sys/vfs/ufs/fs.h
492
((off_t)(blk) << (fs)->fs_bshift)
sys/vfs/ufs/fs.h
502
#define lblktodoff(fs, blk) ((off_t)(blk) << (fs)->fs_bshift)
sys/vfs/ufs/fs.h
503
#define fsbtodoff(fs, b) ((off_t)(b) << (fs)->fs_fshift)
sys/vfs/ufs/fs.h
504
#define dbtodoff(fs, b) ((off_t)(b) * ((fs)->fs_fsize / (fs)->fs_nspf))
sys/vfs/ufs/fs.h
534
((off_t)((fs)->fs_dsize) * (percentreserved) / 100))
sys/vfs/ufs/fs.h
62
#define BBOFF ((off_t)(0))
sys/vfs/ufs/fs.h
63
#define SBOFF ((off_t)(BBOFF + BBSIZE))
sys/vfs/ufs/softdep.h
243
off_t id_savedsize; /* file size saved during rollback */
sys/vfs/ufs/softdep.h
403
off_t fb_oldsize; /* previous file size */
sys/vfs/ufs/softdep.h
404
off_t fb_newsize; /* new file size */
sys/vfs/ufs/ufs_dirhash.c
195
if (ffs_blkatoff(vp, (off_t)pos, NULL, &bp) != 0)
sys/vfs/ufs/ufs_dirhash.c
367
if (ffs_blkatoff(vp, (off_t)blkoff, NULL, &bp) != 0)
sys/vfs/ufs/ufs_dirhash.c
468
error = ffs_blkatoff(ip->i_vnode, (off_t)pos, (char **)&dp, &bp);
sys/vfs/ufs/ufs_extern.h
97
void softdep_setup_directory_add(struct buf *, struct inode *, off_t,
sys/vfs/ufs/ufs_inode.c
83
error = ffs_truncate(vp, (off_t)0, 0, NOCRED);
sys/vfs/ufs/ufs_lookup.c
1023
error = ffs_blkatoff(vdp, (off_t)dp->i_offset, (char **)&ep, &bp);
sys/vfs/ufs/ufs_lookup.c
1060
off_t off;
sys/vfs/ufs/ufs_lookup.c
1136
sizeof (struct dirtemplate), (off_t)0,
sys/vfs/ufs/ufs_lookup.c
225
(error = ffs_blkatoff(vdp, (off_t)dp->i_offset, NULL, &bp)))
sys/vfs/ufs/ufs_lookup.c
242
ffs_blkatoff(vdp, (off_t)dp->i_offset, NULL, &bp);
sys/vfs/ufs/ufs_lookup.c
723
if ((error = VOP_BALLOC(dvp, (off_t)dp->i_offset, DIRBLKSIZ,
sys/vfs/ufs/ufs_lookup.c
793
error = ffs_blkatoff(dvp, (off_t)dp->i_offset, &dirbuf, &bp);
sys/vfs/ufs/ufs_lookup.c
907
(void)ffs_truncate(dvp, (off_t)dp->i_endoff, IO_SYNC, cred);
sys/vfs/ufs/ufs_lookup.c
941
ffs_blkatoff(dvp, (off_t)dp->i_offset, (char **)&ep, &bp)) != 0)
sys/vfs/ufs/ufs_lookup.c
949
(off_t)(dp->i_offset - dp->i_count), (char **)&ep, &bp)) != 0)
sys/vfs/ufs/ufs_quota.c
824
auio.uio_offset = (off_t)(id * sizeof (struct ufs_dqblk));
sys/vfs/ufs/ufs_quota.c
927
auio.uio_offset = (off_t)(dq->dq_id * sizeof (struct ufs_dqblk));
sys/vfs/ufs/ufs_readwrite.c
217
off_t osize;
sys/vfs/ufs/ufs_readwrite.c
218
off_t nsize;
sys/vfs/ufs/ufs_readwrite.c
380
cluster_write(bp, (off_t)ip->i_size, fs->fs_bsize, seqcount);
sys/vfs/ufs/ufs_readwrite.c
66
off_t bytesinfile;
sys/vfs/ufs/ufs_vnops.c
1140
error = ffs_truncate(tvp, (off_t)0, ioflag,
sys/vfs/ufs/ufs_vnops.c
1527
error = ffs_truncate(vp, (off_t)0, ioflag, cnp->cn_cred);
sys/vfs/ufs/ufs_vnops.c
1574
error = vn_rdwr(UIO_WRITE, vp, ap->a_target, len, (off_t)0,
sys/vfs/ufs/ufs_vnops.c
1604
off_t *cookies;
sys/vfs/ufs/ufs_vnops.c
1616
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
sys/vfs/ufs/ufs_vnops.c
2139
(off_t *)ap->a_data, ap->a_cred));
sys/vfs/ufs/ufs_vnops.c
2208
off_t off;
sys/vm/default_pager.c
72
default_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t offset)
sys/vm/device_pager.c
173
dev_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t foff)
sys/vm/phys_pager.c
60
phys_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t foff)
sys/vm/swap_pager.c
1155
biox->bio_offset = (off_t)blk << PAGE_SHIFT;
sys/vm/swap_pager.c
1458
bio->bio_offset = (off_t)blk << PAGE_SHIFT;
sys/vm/swap_pager.c
1737
bio->bio_offset = (off_t)blk << PAGE_SHIFT;
sys/vm/swap_pager.c
474
swap_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t offset)
sys/vm/vm_map.c
2284
int behav, off_t value)
sys/vm/vm_map.h
633
int vm_map_madvise (vm_map_t, vm_offset_t, vm_offset_t, int, off_t);
sys/vm/vm_map.h
636
int vm_uiomove (vm_map_t, vm_object_t, off_t, int, vm_offset_t, int *);
sys/vm/vm_mmap.c
1228
off_t objsize;
sys/vm/vm_mmap.c
128
int uprot, int uflags, int fd, off_t upos, void **res)
sys/vm/vm_mmap.c
140
off_t pos;
sys/vm/vm_mmap.c
414
off_t upos = uap->pos;
sys/vm/vm_pager.h
100
vm_object_t phys_pager_alloc(void *, off_t, vm_prot_t, off_t);
sys/vm/vm_pager.h
101
vm_object_t swap_pager_alloc(void *, off_t, vm_prot_t, off_t);
sys/vm/vm_pager.h
102
vm_object_t vnode_pager_alloc (void *, off_t, vm_prot_t, off_t, int, int);
sys/vm/vm_pager.h
98
vm_object_t default_pager_alloc(void *, off_t, vm_prot_t, off_t);
sys/vm/vm_pager.h
99
vm_object_t dev_pager_alloc(void *, off_t, vm_prot_t, off_t);
sys/vm/vm_swap.c
121
nbio->bio_offset = (off_t)(seg * SWB_DMMAX + off) << PAGE_SHIFT;
sys/vm/vnode_pager.c
102
vnode_pager_alloc(void *handle, off_t length, vm_prot_t prot, off_t offset,
sys/vm/vnode_pager.c
107
off_t loffset;
sys/vm/vnode_pager.c
237
off_t loffset;
sys/vm/vnode_pager.c
238
off_t doffset;
sys/vm/vnode_pager.c
465
off_t foff;
test/debug/posixlock.c
51
off_t save_start;
test/debug/posixlock.c
52
off_t save_len;
test/debug/seekbench.c
34
off_t bytes;
test/debug/seekbench.c
35
off_t base;
test/debug/seekbench.c
36
off_t skip;
test/debug/umtx.c
44
off_t off = 0;
test/debug/umtx.c
97
fd, off & ~(off_t)pgmask);
test/debug/vmobjinfo.c
184
off_t off;
test/debug/vmobjinfo.c
273
static off_t
test/debug/vmobjinfo.c
276
off_t off;
test/debug/vmobjinfo.c
284
off = (off_t)(seg * dmmax + off) << PAGE_SHIFT;
test/debug/vmobjinfo.c
90
static off_t devoffset(long blkno, int *whichp);
test/interbench/interbench.c
709
if (lseek(tmp, (off_t)0, SEEK_SET) == -1)
test/lockf/lockf.c
59
off_t size = 65536; /* size of file to lock */
test/stress/fsstress/global.h
73
typedef off_t off64_t;
test/stress/fsx/fsx.c
1146
off_t ret;
test/stress/fsx/fsx.c
1147
file_size = maxfilelen = lseek(fd, (off_t)0, SEEK_END);
test/stress/fsx/fsx.c
1148
if (file_size == (off_t)-1) {
test/stress/fsx/fsx.c
1153
ret = lseek(fd, (off_t)0, SEEK_SET);
test/stress/fsx/fsx.c
1154
if (ret == (off_t)-1) {
test/stress/fsx/fsx.c
120
off_t file_size = 0;
test/stress/fsx/fsx.c
121
off_t biggest = 0;
test/stress/fsx/fsx.c
303
save_buffer(char *buffer, off_t bufferlength, int xfd)
test/stress/fsx/fsx.c
305
off_t ret;
test/stress/fsx/fsx.c
316
off_t size_by_seek = lseek(xfd, (off_t)0, SEEK_END);
test/stress/fsx/fsx.c
317
if (size_by_seek == (off_t)-1)
test/stress/fsx/fsx.c
328
ret = lseek(xfd, (off_t)0, SEEK_SET);
test/stress/fsx/fsx.c
329
if (ret == (off_t)-1)
test/stress/fsx/fsx.c
415
off_t size_by_seek;
test/stress/fsx/fsx.c
421
size_by_seek = lseek(fd, (off_t)0, SEEK_END);
test/stress/fsx/fsx.c
437
ftruncate(fd, (off_t)0);
test/stress/fsx/fsx.c
438
ftruncate(fd, (off_t)100000);
test/stress/fsx/fsx.c
440
if (statbuf.st_size != (off_t)100000) {
test/stress/fsx/fsx.c
444
ftruncate(fd, (off_t)0);
test/stress/fsx/fsx.c
451
off_t ret;
test/stress/fsx/fsx.c
481
ret = lseek(fd, (off_t)offset, SEEK_SET);
test/stress/fsx/fsx.c
482
if (ret == (off_t)-1) {
test/stress/fsx/fsx.c
566
(off_t)(offset - pg_offset))) == (char *)-1) {
test/stress/fsx/fsx.c
603
off_t ret;
test/stress/fsx/fsx.c
638
ret = lseek(fd, (off_t)offset, SEEK_SET);
test/stress/fsx/fsx.c
639
if (ret == (off_t)-1) {
test/stress/fsx/fsx.c
660
off_t cur_filesize;
test/stress/fsx/fsx.c
708
(off_t)(offset - pg_offset))) == (char *)-1) {
test/stress/fsx/fsx.c
757
if (ftruncate(fd, (off_t)size) == -1) {
test/stress/fsx/fsx.c
770
if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
test/stress/fsx/fsx.c
775
if ((off_t)iret != file_size) {
test/stress/fsx/fsx.c
79
static void save_buffer(char *buffer, off_t bufferlength, int fd);
test/stress/stress2/testcases/lockf2/lockf2.c
78
off_t pos;
test/stress/stress2/testcases/lockf2/lockf2.c
79
off_t size;
test/sysperf/randread.c
126
pos = (pos % limit) & ~(off_t)(bytes - 1);
test/sysperf/randread.c
41
off_t limit;
test/sysperf/randread.c
94
limit = (off_t)((double)limit * range / 100.0);
test/sysperf/randread.c
95
limit &= ~(off_t)(bytes - 1);
test/unix/passdesc/passdesc.c
115
off_t ofs;
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
145
PROT_READ, MAP_SHARED, fd, (off_t) 0))) {
tools/tools/bus_autoconf/bus_load_file.c
43
off_t off;
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
790
off_t m, off;
usr.bin/chat/chat.c
562
while (*s && s1 - temp < (off_t)(sizeof(temp) - 2 - add_return)) {
usr.bin/cksum/cksum.c
55
off_t len;
usr.bin/cksum/cksum.c
57
int (*cfncn)(int, uint32_t *, off_t *);
usr.bin/cksum/cksum.c
58
void (*pfncn)(char *, uint32_t, off_t);
usr.bin/cksum/crc.c
108
crc(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/crc.c
112
off_t len;
usr.bin/cksum/crc32.c
101
crc32(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/crc32.c
105
off_t len ;
usr.bin/cksum/extern.h
37
int crc(int, uint32_t *, off_t *);
usr.bin/cksum/extern.h
38
void pcrc(char *, uint32_t, off_t);
usr.bin/cksum/extern.h
39
void psum1(char *, uint32_t, off_t);
usr.bin/cksum/extern.h
40
void psum2(char *, uint32_t, off_t);
usr.bin/cksum/extern.h
41
int csum1(int, uint32_t *, off_t *);
usr.bin/cksum/extern.h
42
int csum2(int, uint32_t *, off_t *);
usr.bin/cksum/extern.h
43
int crc32(int, uint32_t *, off_t *);
usr.bin/cksum/print.c
42
pcrc(char *fn, uint32_t val, off_t len)
usr.bin/cksum/print.c
51
psum1(char *fn, uint32_t val, off_t len)
usr.bin/cksum/print.c
60
psum2(char *fn, uint32_t val, off_t len)
usr.bin/cksum/sum1.c
42
csum1(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/sum1.c
46
off_t total;
usr.bin/cksum/sum2.c
42
csum2(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/sum2.c
46
off_t total;
usr.bin/cmp/cmp.c
69
off_t skip1, skip2;
usr.bin/cmp/extern.h
42
void c_link(const char *, off_t, const char *, off_t);
usr.bin/cmp/extern.h
43
void c_regular(int, const char *, off_t, off_t, int, const char *, off_t, off_t);
usr.bin/cmp/extern.h
44
void c_special(int, const char *, off_t, int, const char *, off_t);
usr.bin/cmp/extern.h
45
void diffmsg(const char *, const char *, off_t, off_t) __dead2;
usr.bin/cmp/link.c
42
c_link(const char *file1, off_t skip1, const char *file2, off_t skip2)
usr.bin/cmp/link.c
47
off_t byte;
usr.bin/cmp/misc.c
54
diffmsg(const char *file1, const char *file2, off_t byte, off_t line)
usr.bin/cmp/regular.c
152
remmap(u_char *mem, int fd, off_t offset)
usr.bin/cmp/regular.c
49
static u_char *remmap(u_char *, int, off_t);
usr.bin/cmp/regular.c
56
c_regular(int fd1, const char *file1, off_t skip1, off_t len1,
usr.bin/cmp/regular.c
57
int fd2, const char *file2, off_t skip2, off_t len2)
usr.bin/cmp/regular.c
61
off_t byte, length, line;
usr.bin/cmp/regular.c
62
off_t pagemask, off1, off2;
usr.bin/cmp/regular.c
77
pagemask = (off_t)pagesize - 1;
usr.bin/cmp/special.c
45
c_special(int fd1, const char *file1, off_t skip1,
usr.bin/cmp/special.c
46
int fd2, const char *file2, off_t skip2)
usr.bin/cmp/special.c
49
off_t byte, line;
usr.bin/crunch/crunchide/exec_elf64.c
150
if (sb.st_size < (off_t)(sizeof eh))
usr.bin/crunch/crunchide/exec_elf64.c
78
xreadatoff(int fd, void *buf, off_t off, size_t size, const char *fn)
usr.bin/crunch/crunchide/exec_elf64.c
95
xwriteatoff(int fd, void *buf, off_t off, size_t size, const char *fn)
usr.bin/csplit/csplit.c
325
if (ftello(ofp) < (off_t)sizeof(buf))
usr.bin/csplit/csplit.c
328
fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR);
usr.bin/csplit/csplit.c
333
if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0)
usr.bin/csplit/csplit.c
90
static off_t truncofs; /* Offset this file should be truncated at */
usr.bin/diff/diffreg.c
205
static char *preadline(int, size_t, off_t);
usr.bin/diff/diffreg.c
476
lseek(ofd, (off_t)0, SEEK_SET);
usr.bin/diff/diffreg.c
923
preadline(int fd, size_t rlen, off_t off)
usr.bin/dsynth/dsynth.h
503
off_t offset;
usr.bin/fetch/fetch.c
1018
S_size = (off_t)strtol(optarg, &end, 10);
usr.bin/fetch/fetch.c
203
off_t size; /* size of file per HTTP hdr */
usr.bin/fetch/fetch.c
204
off_t offset; /* starting offset in file */
usr.bin/fetch/fetch.c
205
off_t rcvd; /* bytes already received */
usr.bin/fetch/fetch.c
206
off_t lastrcvd; /* bytes received since last update */
usr.bin/fetch/fetch.c
238
off_t received, expected;
usr.bin/fetch/fetch.c
255
stat_bytes(char *str, size_t strsz, off_t bytes)
usr.bin/fetch/fetch.c
282
stat_bytes(bytes, sizeof bytes, (off_t)bps);
usr.bin/fetch/fetch.c
341
stat_start(struct xferstat *xs, const char *name, off_t size, off_t offset)
usr.bin/fetch/fetch.c
362
stat_update(struct xferstat *xs, off_t rcvd)
usr.bin/fetch/fetch.c
443
off_t count;
usr.bin/fetch/fetch.c
59
static off_t B_size; /* -B: buffer size */
usr.bin/fetch/fetch.c
80
static off_t S_size; /* -S: require size to match */
usr.bin/fetch/fetch.c
950
B_size = (off_t)strtol(optarg, &end, 10);
usr.bin/find/find.h
91
off_t _o_data; /* file size */
usr.bin/find/function.c
1412
off_t size;
usr.bin/find/function.c
1425
off_t scale;
usr.bin/find/function.c
1477
off_t expected_blocks;
usr.bin/fstat/fstat.c
138
static void vtrans(struct vnode *, struct nchandle *, int, int, off_t);
usr.bin/fstat/fstat.c
466
vtrans(struct vnode *vp, struct nchandle *ncr, int i, int flag, off_t off)
usr.bin/gcore/elfcore.c
133
lseek(memfd, (off_t)php->p_vaddr, SEEK_SET);
usr.bin/gcore/elfcore.c
469
lseek(mapfd, (off_t)0, SEEK_SET);
usr.bin/gzip/gzip.c
109
#define GZIP_TIMESTAMP (off_t)4
usr.bin/gzip/gzip.c
110
#define GZIP_ORIGNAME (off_t)10
usr.bin/gzip/gzip.c
1172
static off_t
usr.bin/gzip/gzip.c
1177
off_t size, insize;
usr.bin/gzip/gzip.c
1281
static off_t
usr.bin/gzip/gzip.c
1285
off_t size;
usr.bin/gzip/gzip.c
1547
static off_t
usr.bin/gzip/gzip.c
1548
cat_fd(unsigned char * prepend, size_t count, off_t *gsizep, int fd)
usr.bin/gzip/gzip.c
1551
off_t in_tot;
usr.bin/gzip/gzip.c
1588
off_t usize, gsize;
usr.bin/gzip/gzip.c
1675
off_t gsize, usize;
usr.bin/gzip/gzip.c
1777
off_t usize, gsize;
usr.bin/gzip/gzip.c
1842
print_ratio(off_t in, off_t out, FILE *where)
usr.bin/gzip/gzip.c
1845
off_t diff;
usr.bin/gzip/gzip.c
188
static off_t gz_compress(int, int, off_t *, const char *, uint32_t);
usr.bin/gzip/gzip.c
1881
print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize)
usr.bin/gzip/gzip.c
189
static off_t gz_uncompress(int, int, char *, size_t, off_t *, const char *);
usr.bin/gzip/gzip.c
190
static off_t file_compress(char *, char *, size_t);
usr.bin/gzip/gzip.c
191
static off_t file_uncompress(char *, char *, size_t);
usr.bin/gzip/gzip.c
1912
print_list(int fd, off_t out, const char *outfile, time_t ts)
usr.bin/gzip/gzip.c
1916
static off_t in_tot, out_tot;
usr.bin/gzip/gzip.c
1919
off_t in = 0, rv;
usr.bin/gzip/gzip.c
1941
rv = lseek(fd, (off_t)(-8), SEEK_END);
usr.bin/gzip/gzip.c
1955
in = (off_t)usize;
usr.bin/gzip/gzip.c
196
static void print_ratio(off_t, off_t, FILE *);
usr.bin/gzip/gzip.c
197
static void print_list(int fd, off_t, const char *, time_t);
usr.bin/gzip/gzip.c
206
static off_t cat_fd(unsigned char *, size_t, off_t *, int fd);
usr.bin/gzip/gzip.c
209
static void print_verbage(const char *, const char *, off_t, off_t);
usr.bin/gzip/gzip.c
216
static off_t unbzip2(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
221
static off_t zuncompress(FILE *, FILE *, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
225
static off_t unpack(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
509
static off_t
usr.bin/gzip/gzip.c
510
gz_compress(int in, int out, off_t *gsizep, const char *origname, uint32_t mtime)
usr.bin/gzip/gzip.c
514
off_t in_tot = 0, out_tot = 0;
usr.bin/gzip/gzip.c
680
static off_t
usr.bin/gzip/gzip.c
681
gz_uncompress(int in, int out, char *pre, size_t prelen, off_t *gsizep,
usr.bin/gzip/gzip.c
686
off_t out_tot = -1, in_tot = 0;
usr.bin/gzip/unbzip2.c
35
static off_t
usr.bin/gzip/unbzip2.c
36
unbzip2(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unbzip2.c
39
off_t bytes_out = 0;
usr.bin/gzip/unpack.c
134
accepted_bytes(off_t *bytes_in, off_t newbytes)
usr.bin/gzip/unpack.c
148
unpack_parse_header(int in, int out, char *pre, size_t prelen, off_t *bytes_in,
usr.bin/gzip/unpack.c
249
unpack_decode(const unpack_descriptor_t *unpackd, off_t *bytes_in)
usr.bin/gzip/unpack.c
253
off_t bytes_out = 0;
usr.bin/gzip/unpack.c
310
static off_t
usr.bin/gzip/unpack.c
311
unpack(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unpack.c
84
off_t uncompressed_size; /* Uncompressed size */
usr.bin/gzip/zuncompress.c
130
static off_t
usr.bin/gzip/zuncompress.c
132
off_t *compressed_bytes)
usr.bin/gzip/zuncompress.c
134
off_t bin, bout = 0;
usr.bin/gzip/zuncompress.c
149
if (tflag == 0 && (off_t)fwrite(buf, 1, bin, out) != bin) {
usr.bin/gzip/zuncompress.c
80
off_t total_compressed_bytes;
usr.bin/hexdump/display.c
157
off_t saveaddress;
usr.bin/hexdump/display.c
46
static off_t address; /* address/offset in stream */
usr.bin/hexdump/display.c
47
static off_t eaddress; /* end address */
usr.bin/hexdump/hexdump.h
74
extern off_t skip; /* amount of data to skip at start */
usr.bin/hexdump/hexsyntax.c
44
off_t skip; /* bytes to skip */
usr.bin/last/last.c
325
off_t bl;
usr.bin/lastcomm/lastcomm.c
71
off_t size = 0;
usr.bin/locate/locate/locate.c
272
off_t len;
usr.bin/locate/locate/locate.c
283
fd, (off_t)0)) == MAP_FAILED)
usr.bin/look/look.c
146
if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED)
usr.bin/mail/collect.c
539
FILE *nf = run_editor(fp, (off_t)-1, c, 0);
usr.bin/mail/collect.c
542
fseeko(nf, (off_t)0, SEEK_END);
usr.bin/mail/collect.c
588
fseeko(nf, (off_t)0, SEEK_END);
usr.bin/mail/def.h
274
ftruncate(fileno(stream), (off_t)ftell(stream)); \
usr.bin/mail/def.h
99
#define positionof(block, offset) ((off_t)(block) * 4096 + (offset))
usr.bin/mail/edit.c
129
run_editor(FILE *fp, off_t size, int type, int readonly)
usr.bin/mail/edit.c
72
off_t size;
usr.bin/mail/edit.c
99
fseeko(otf, (off_t)0, SEEK_END);
usr.bin/mail/extern.h
127
off_t fsize(FILE *);
usr.bin/mail/extern.h
216
void setptr(FILE *, off_t);
usr.bin/mail/extern.h
61
FILE *run_editor(FILE *, off_t, int, int);
usr.bin/mail/fio.c
232
lseek(fileno(f), (off_t)sizeof(*message), 0);
usr.bin/mail/fio.c
298
off_t
usr.bin/mail/fio.c
55
setptr(FILE *ibuf, off_t offset)
usr.bin/mail/fio.c
82
fseeko(otf, (off_t)0, SEEK_END);
usr.bin/mail/glob.h
62
EXTERN off_t mailsize; /* Size of system mailbox */
usr.bin/mail/lex.c
164
off_t newsize;
usr.bin/msgs/msgs.c
398
truncate(fname, (off_t)0);
usr.bin/msgs/msgs.c
693
off_t oldpos = ftell(f);
usr.bin/msgs/msgs.c
718
off_t oldpos;
usr.bin/msgs/msgs.c
802
off_t frompos;
usr.bin/patch/inp.c
403
if (lseek(tifd, (off_t) (baseline / lines_per_buf *
usr.bin/patch/pch.c
1457
off_t beginning_of_this_line;
usr.bin/patch/pch.c
269
off_t this_line = 0, previous_line;
usr.bin/patch/pch.c
270
off_t first_command_line = -1;
usr.bin/patch/pch.c
470
next_intuit_at(off_t file_pos, LINENUM file_line)
usr.bin/patch/pch.c
480
skip_to(off_t file_pos, LINENUM file_line)
usr.bin/patch/pch.c
49
static off_t p_filesize; /* size of the patch file */
usr.bin/patch/pch.c
539
off_t line_beginning; /* file pos of the current line */
usr.bin/patch/pch.c
547
off_t repl_backtrack_position; /* file pos of first repl line */
usr.bin/patch/pch.c
63
static off_t p_base; /* where to intuit this time */
usr.bin/patch/pch.c
65
static off_t p_start; /* where intuit found a patch */
usr.bin/patch/pch.c
77
static void next_intuit_at(off_t, LINENUM);
usr.bin/patch/pch.c
78
static void skip_to(off_t, LINENUM);
usr.bin/pkill/pkill.c
382
(off_t)strlen(mstr))
usr.bin/quota/quota.c
537
lseek(fd, (off_t)(id * sizeof(struct ufs_dqblk)), L_SET);
usr.bin/script/script.c
358
consume(FILE *fp, off_t len, char *buf, int reg)
usr.bin/script/script.c
392
off_t nread, save_len;
usr.bin/script/script.c
78
static void consume(FILE *, off_t, char *, int);
usr.bin/sort/sort.c
962
off_t size;
usr.bin/split/split.c
171
off_t bcnt;
usr.bin/strfile/strfile.c
105
static off_t *Seekpts;
usr.bin/strfile/strfile.c
113
static void add_offset(FILE *, off_t);
usr.bin/strfile/strfile.c
135
off_t last_off, pos, *p;
usr.bin/strfile/strfile.c
314
add_offset(FILE *fp, off_t off)
usr.bin/strfile/strfile.c
316
off_t beoff;
usr.bin/strfile/strfile.c
336
off_t *lp;
usr.bin/strfile/strfile.c
428
off_t tmp;
usr.bin/strfile/strfile.c
429
off_t *sp;
usr.bin/strfile/strfile.c
90
off_t pos;
usr.bin/tail/extern.h
46
off_t mapoff;
usr.bin/tail/extern.h
47
off_t maxoff;
usr.bin/tail/extern.h
63
void follow(file_info_t *, enum STYLE, off_t);
usr.bin/tail/extern.h
64
void forward(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
65
void reverse(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
67
int display_bytes(FILE *, const char *, off_t);
usr.bin/tail/extern.h
68
int display_lines(FILE *, const char *, off_t);
usr.bin/tail/extern.h
72
int mapprint(struct mapinfo *, off_t, off_t);
usr.bin/tail/extern.h
73
int maparound(struct mapinfo *, off_t);
usr.bin/tail/forward.c
197
rlines(FILE *fp, const char *fn, off_t off, struct stat *sbp)
usr.bin/tail/forward.c
200
off_t curoff, size;
usr.bin/tail/forward.c
313
follow(file_info_t *files, enum STYLE style, off_t off)
usr.bin/tail/forward.c
56
static void rlines(FILE *, const char *, off_t, struct stat *);
usr.bin/tail/forward.c
93
forward(FILE *fp, const char *fn, enum STYLE style, off_t off,
usr.bin/tail/misc.c
100
if ((off_t)mip->maplen > mip->maxoff - mip->mapoff)
usr.bin/tail/misc.c
66
mapprint(struct mapinfo *mip, off_t startoff, off_t len)
usr.bin/tail/misc.c
72
startoff >= mip->mapoff + (off_t)mip->maplen) {
usr.bin/tail/misc.c
92
maparound(struct mapinfo *mip, off_t offset)
usr.bin/tail/misc.c
98
mip->mapoff = rounddown2(offset, (off_t)TAILMAPLEN);
usr.bin/tail/read.c
129
display_lines(FILE *fp, const char *fn, off_t off)
usr.bin/tail/read.c
59
display_bytes(FILE *fp, const char *fn, off_t off)
usr.bin/tail/reverse.c
101
r_reg(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/reverse.c
104
off_t curoff, size, lineend;
usr.bin/tail/reverse.c
123
curoff >= map.mapoff + (off_t)map.maplen) {
usr.bin/tail/reverse.c
188
off_t enomem = 0;
usr.bin/tail/reverse.c
51
static void r_reg(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/reverse.c
72
reverse(FILE *fp, const char *fn, enum STYLE style, off_t off,
usr.bin/tail/tail.c
247
enum STYLE *style, int *style_set, off_t *off)
usr.bin/tail/tail.c
50
static void getarg(int, enum STYLE, enum STYLE, enum STYLE *, int *, off_t *);
usr.bin/tail/tail.c
59
off_t off;
usr.bin/truncate/truncate.c
148
static off_t
usr.bin/truncate/truncate.c
149
parselength(char *ls, off_t *sz)
usr.bin/truncate/truncate.c
151
off_t length, oflow;
usr.bin/truncate/truncate.c
39
static off_t parselength(char *, off_t *);
usr.bin/truncate/truncate.c
52
off_t oflow, rsize, sz, tsize;
usr.bin/truss/syscall.h
47
char *get_string(int, off_t, size_t);
usr.bin/truss/syscalls.c
128
get_struct(int procfd, off_t offset, void *buf, int len) {
usr.bin/truss/syscalls.c
147
get_string(int procfd, off_t offset, size_t max) {
usr.bin/truss/syscalls.c
196
tmp2 = get_string(fd, (off_t)args[sc->offset], 0);
usr.bin/truss/syscalls.c
241
if (get_struct(fd, (off_t)args[sc->offset], &ss,
usr.bin/truss/syscalls.c
246
if (get_struct(fd, (off_t)args[sc->offset], &ss,
usr.bin/truss/syscalls.c
251
if (get_struct(fd, (off_t)args[sc->offset], &ss,
usr.bin/unstr/unstr.c
111
off_t pos;
usr.bin/xinstall/xinstall.c
1000
const char *to_name, off_t size)
usr.bin/xinstall/xinstall.c
1009
if (lseek(from_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
1011
if (lseek(to_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
1022
from_fd, (off_t)0)) != (char *)MAP_FAILED) {
usr.bin/xinstall/xinstall.c
889
from_fd, (off_t)0);
usr.bin/xinstall/xinstall.c
89
static void copy(int, const char *, int, const char *, off_t);
usr.bin/xinstall/xinstall.c
893
to_fd, (off_t)0);
usr.bin/xstr/xstr.c
224
static off_t
usr.bin/xstr/xstr.c
334
off_t hpt;
usr.bin/xstr/xstr.c
340
static off_t
usr.bin/xstr/xstr.c
399
found(int new, off_t off, char *str)
usr.bin/xstr/xstr.c
55
static off_t tellpt;
usr.bin/xstr/xstr.c
57
static off_t mesgpt;
usr.bin/xstr/xstr.c
72
static off_t hashit(char *, int);
usr.bin/xstr/xstr.c
73
static off_t yankstr(char **);
usr.bin/xstr/xstr.c
78
static void found(int, off_t, char *);
usr.sbin/ckdist/ckdist.c
227
off_t size;
usr.sbin/ckdist/ckdist.c
322
off_t len;
usr.sbin/ckdist/ckdist.c
350
else if (sb.st_size != (off_t)sumlen)
usr.sbin/ckdist/ckdist.c
46
extern int crc(int fd, uint32_t *cval, off_t *clen);
usr.sbin/clog/clog.c
202
if (ftruncate(fd,(off_t)0)==-1) {
usr.sbin/clog/clog.c
221
if (lseek(fd,-(off_t)(sizeof(struct clog_footer)),SEEK_END)==-1) {
usr.sbin/config/main.c
462
p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0);
usr.sbin/config/main.c
468
q = mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, (off_t)0);
usr.sbin/dconschat/dconschat.c
127
dread(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
139
dwrite(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
173
off_t addr;
usr.sbin/dconschat/dconschat.c
216
dc->paddr = ((off_t)hi << 24) | lo;
usr.sbin/dconschat/dconschat.c
281
off_t newbuf;
usr.sbin/dconschat/dconschat.c
95
off_t paddr;
usr.sbin/edquota/edquota.c
170
btodb((off_t)qup->dqblk.dqb_bsoftlimit * 1024);
usr.sbin/edquota/edquota.c
172
btodb((off_t)qup->dqblk.dqb_bhardlimit * 1024);
usr.sbin/edquota/edquota.c
535
dqblk.dqb_curblocks = btodb((off_t)curblocks * 1024);
usr.sbin/edquota/edquota.c
536
dqblk.dqb_bsoftlimit = btodb((off_t)bsoftlimit * 1024);
usr.sbin/edquota/edquota.c
537
dqblk.dqb_bhardlimit = btodb((off_t)bhardlimit * 1024);
usr.sbin/efidp/efidp.c
65
off_t off;
usr.sbin/efidp/efidp.c
76
if (off == (off_t)len)
usr.sbin/fstyp/exfat.c
135
read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
141
read_sect(FILE *fp, off_t sect, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
264
off_t rootdir_sect;
usr.sbin/fstyp/fstyp.c
91
read_buf(FILE *fp, off_t off, size_t len)
usr.sbin/fstyp/fstyp.h
51
void *read_buf(FILE *fp, off_t off, size_t len);
usr.sbin/fstyp/ntfs.c
133
off_t voloff;
usr.sbin/lpr/lpd/printjob.c
145
off_t pidoff;
usr.sbin/lpr/lpr/lpr.c
498
lseek(tfd, (off_t)0, 0) == 0 &&
usr.sbin/lpr/lpr/lpr.c
865
lseek(fd, (off_t)0, 0);
usr.sbin/makefs/cd9660.h
307
int cd9660_copy_file(iso9660_disk *, FILE *, off_t, const char *);
usr.sbin/makefs/cd9660.h
317
void debug_dump_to_xml_path_table(FILE *, off_t, int, int);
usr.sbin/makefs/cd9660/cd9660_debug.c
193
debug_dump_to_xml_path_table(FILE *fd, off_t sector, int size, int mode)
usr.sbin/makefs/cd9660/cd9660_debug.c
225
off_t sector;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
549
cd9660_write_mbr_partition_entry(FILE *fd, int idx, off_t sector_start,
usr.sbin/makefs/cd9660/cd9660_eltorito.c
550
off_t nsectors, int type)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
555
if (fseeko(fd, (off_t)(idx) * 16 + 0x1be, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
585
off_t sector_start, off_t nsectors, off_t sector_size,
usr.sbin/makefs/cd9660/cd9660_eltorito.c
594
if (fseeko(fd, (off_t)(idx + 1) * sector_size, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
639
if (fseeko(fd, (off_t)diskStructure->boot_catalog_sector *
usr.sbin/makefs/cd9660/cd9660_write.c
164
cd9660_write_path_table(iso9660_disk *diskStructure, FILE *fd, off_t sector,
usr.sbin/makefs/cd9660/cd9660_write.c
266
off_t working_sector;
usr.sbin/makefs/cd9660/cd9660_write.c
391
cd9660_write_filedata(iso9660_disk *diskStructure, FILE *fd, off_t sector,
usr.sbin/makefs/cd9660/cd9660_write.c
394
off_t curpos;
usr.sbin/makefs/cd9660/cd9660_write.c
414
cd9660_write_buffered(FILE *fd, off_t offset, int buff_len,
usr.sbin/makefs/cd9660/cd9660_write.c
425
cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector,
usr.sbin/makefs/cd9660/cd9660_write.c
44
static int cd9660_write_path_table(iso9660_disk *, FILE *, off_t, int);
usr.sbin/makefs/cd9660/cd9660_write.c
47
static int cd9660_write_filedata(iso9660_disk *, FILE *, off_t,
usr.sbin/makefs/cd9660/cd9660_write.c
471
off_t offset, off_t sector)
usr.sbin/makefs/cd9660/cd9660_write.c
491
if (fseeko(fd, ((off_t)diskStructure->
usr.sbin/makefs/cd9660/cd9660_write.c
50
static int cd9660_write_buffered(FILE *, off_t, int, const unsigned char *);
usr.sbin/makefs/cd9660/cd9660_write.c
52
static void cd9660_write_rr(iso9660_disk *, FILE *, cd9660node *, off_t, off_t);
usr.sbin/makefs/ffs.c
512
off_t bufrem;
usr.sbin/makefs/ffs.c
603
if (fs->fs_cstotal.cs_nifree + (off_t)UFS_ROOTINO < fsopts->inodes) {
usr.sbin/makefs/ffs.c
939
off_t bufleft, chunk, offset;
usr.sbin/makefs/ffs/buf.c
130
off_t offset;
usr.sbin/makefs/ffs/buf.c
137
offset = (off_t)bp->b_blkno * fs->sectorsize + fs->offset;
usr.sbin/makefs/ffs/buf.c
63
off_t offset;
usr.sbin/makefs/ffs/buf.c
73
offset = (off_t)(*bpp)->b_blkno * fs->sectorsize + fs->offset;
usr.sbin/makefs/ffs/ffs_balloc.c
335
ffs_balloc_ufs2(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp)
usr.sbin/makefs/ffs/ffs_balloc.c
57
static int ffs_balloc_ufs1(struct inode *, off_t, int, struct m_buf **);
usr.sbin/makefs/ffs/ffs_balloc.c
59
static int ffs_balloc_ufs2(struct inode *, off_t, int, struct m_buf **);
usr.sbin/makefs/ffs/ffs_balloc.c
71
ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp)
usr.sbin/makefs/ffs/ffs_balloc.c
82
ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp)
usr.sbin/makefs/ffs/ffs_extern.h
64
int ffs_balloc(struct inode *, off_t, int, struct m_buf **);
usr.sbin/makefs/ffs/mkfs.c
875
off_t offset;
usr.sbin/makefs/ffs/mkfs.c
877
offset = (off_t)bno * fsopts->sectorsize + fsopts->offset;
usr.sbin/makefs/ffs/mkfs.c
899
off_t offset;
usr.sbin/makefs/ffs/mkfs.c
901
offset = (off_t)bno * fsopts->sectorsize + fsopts->offset;
usr.sbin/makefs/hammer2.c
1237
off_t offset;
usr.sbin/makefs/hammer2.c
2159
off_t offset = 0;
usr.sbin/makefs/hammer2.c
2231
off_t offset;
usr.sbin/makefs/hammer2.c
866
off_t bufrem;
usr.sbin/makefs/hammer2.c
940
static off_t
usr.sbin/makefs/hammer2.c
941
hammer2_phys_size(off_t size)
usr.sbin/makefs/hammer2.c
943
off_t radix_size, phys_size = 0;
usr.sbin/makefs/hammer2/hammer2.h
1699
char *hammer2_io_data(hammer2_io_t *dio, off_t lbase);
usr.sbin/makefs/hammer2/hammer2.h
1706
int hammer2_io_new(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
usr.sbin/makefs/hammer2/hammer2.h
1708
int hammer2_io_newnz(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
usr.sbin/makefs/hammer2/hammer2.h
1710
int _hammer2_io_bread(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
usr.sbin/makefs/hammer2/hammer2.h
1714
hammer2_io_t *_hammer2_io_getblk(hammer2_dev_t *hmp, int btype, off_t lbase,
usr.sbin/makefs/hammer2/hammer2.h
1716
hammer2_io_t *_hammer2_io_getquick(hammer2_dev_t *hmp, off_t lbase,
usr.sbin/makefs/hammer2/hammer2.h
1940
int hammer2_vfs_enospace(hammer2_inode_t *ip, off_t bytes, struct ucred *cred);
usr.sbin/makefs/hammer2/hammer2.h
2037
int hammer2_readdir(struct m_vnode *vp, void *buf, size_t size, off_t *offsetp,
usr.sbin/makefs/hammer2/hammer2.h
2040
int hammer2_read(struct m_vnode *vp, void *buf, size_t size, off_t offset);
usr.sbin/makefs/hammer2/hammer2.h
2041
int hammer2_write(struct m_vnode *vp, void *buf, size_t size, off_t offset);
usr.sbin/makefs/hammer2/hammer2.h
2056
struct m_buf *getblkx(struct m_vnode *vp, off_t loffset, int size, int blkflags,
usr.sbin/makefs/hammer2/hammer2.h
2058
int breadx(struct m_vnode *vp, off_t loffset, int size, struct m_buf **bpp);
usr.sbin/makefs/hammer2/hammer2.h
2059
int bread_kvabio(struct m_vnode *vp, off_t loffset, int size, struct m_buf **bpp);
usr.sbin/makefs/hammer2/hammer2.h
313
off_t dbase; /* offset of devvp within volumes */
usr.sbin/makefs/hammer2/hammer2.h
314
off_t pbase;
usr.sbin/makefs/hammer2/hammer2_buf.c
107
bread_kvabio(struct m_vnode *vp, off_t loffset, int size, struct m_buf **bpp)
usr.sbin/makefs/hammer2/hammer2_buf.c
42
getblkx(struct m_vnode *vp, off_t loffset, int size, int blkflags, int slptimeo)
usr.sbin/makefs/hammer2/hammer2_buf.c
62
breadx(struct m_vnode *vp, off_t loffset, int size, struct m_buf **bpp)
usr.sbin/makefs/hammer2/hammer2_compat.h
163
off_t bio_offset;
usr.sbin/makefs/hammer2/hammer2_compat.h
258
off_t **a_cookies;
usr.sbin/makefs/hammer2/hammer2_compat.h
278
off_t a_loffset;
usr.sbin/makefs/hammer2/hammer2_compat.h
279
off_t *a_doffsetp;
usr.sbin/makefs/hammer2/hammer2_compat.h
462
off_t uio_offset;
usr.sbin/makefs/hammer2/hammer2_compat.h
554
vinitvmio(struct m_vnode *vp, off_t filesize, int blksize, int boff)
usr.sbin/makefs/hammer2/hammer2_compat.h
684
nvtruncbuf(struct m_vnode *vp, off_t length, int blksize, int boff, int flags)
usr.sbin/makefs/hammer2/hammer2_compat.h
691
nvextendbuf(struct m_vnode *vp, off_t olength, off_t nlength, int oblksize,
usr.sbin/makefs/hammer2/hammer2_io.c
180
_hammer2_io_getblk(hammer2_dev_t *hmp, int btype, off_t lbase,
usr.sbin/makefs/hammer2/hammer2_io.c
404
off_t pbase;
usr.sbin/makefs/hammer2/hammer2_io.c
572
hammer2_io_data(hammer2_io_t *dio, off_t lbase)
usr.sbin/makefs/hammer2/hammer2_io.c
587
hammer2_io_new(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
usr.sbin/makefs/hammer2/hammer2_io.c
595
hammer2_io_newnz(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
usr.sbin/makefs/hammer2/hammer2_io.c
603
_hammer2_io_bread(hammer2_dev_t *hmp, int btype, off_t lbase, int lsize,
usr.sbin/makefs/hammer2/hammer2_io.c
624
_hammer2_io_getquick(hammer2_dev_t *hmp, off_t lbase,
usr.sbin/makefs/hammer2/hammer2_ioctl.c
180
error = vn_bmap_seekhole(ip->vp, com, (off_t *)data,
usr.sbin/makefs/hammer2/hammer2_ondisk.c
480
off_t blkoff;
usr.sbin/makefs/hammer2/hammer2_ondisk.c
493
blkoff = (off_t)i * HAMMER2_ZONE_BYTES64;
usr.sbin/makefs/hammer2/hammer2_ondisk.c
494
if (blkoff >= (off_t)size)
usr.sbin/makefs/hammer2/hammer2_vfsops.c
3050
hammer2_vfs_enospace(hammer2_inode_t *ip, off_t bytes, struct ucred *cred)
usr.sbin/makefs/hammer2/hammer2_vnops.c
1052
hammer2_write(struct m_vnode *vp, void *buf, size_t size, off_t offset)
usr.sbin/makefs/hammer2/hammer2_vnops.c
2856
off_t off;
usr.sbin/makefs/hammer2/hammer2_vnops.c
648
off_t *cookies;
usr.sbin/makefs/hammer2/hammer2_vnops.c
649
off_t saveoff;
usr.sbin/makefs/hammer2/hammer2_vnops.c
671
cookies = kmalloc(ncookies * sizeof(off_t), M_TEMP, M_WAITOK);
usr.sbin/makefs/hammer2/hammer2_vnops.c
825
hammer2_readdir(struct m_vnode *vp, void *buf, size_t size, off_t *offsetp,
usr.sbin/makefs/hammer2/hammer2_vnops.c
945
hammer2_read(struct m_vnode *vp, void *buf, size_t size, off_t offset)
usr.sbin/makefs/makefs.h
142
off_t size; /* total size */
usr.sbin/makefs/makefs.h
143
off_t inodes; /* number of inodes */
usr.sbin/makefs/makefs.h
153
off_t minsize; /* minimum size image should be */
usr.sbin/makefs/makefs.h
154
off_t maxsize; /* maximum size image can be */
usr.sbin/makefs/makefs.h
155
off_t freefiles; /* free file entries to leave */
usr.sbin/makefs/makefs.h
156
off_t freeblocks; /* free blocks to leave */
usr.sbin/makefs/makefs.h
157
off_t offset; /* offset from start of file */
usr.sbin/makefs/makefs.h
158
off_t roundup; /* round image size up to this value */
usr.sbin/mfiutil/mfi_flash.c
90
off_t offset;
usr.sbin/mptable/mptable.c
848
if ( lseek( pfd, (off_t)addr, SEEK_SET ) < 0 )
usr.sbin/mtree/hash.c
63
off_t size;
usr.sbin/mtree/mtree.h
45
off_t st_size; /* size */
usr.sbin/mtree/spec.c
614
ip->st_size = (off_t)strtoll(val, &ep, 10);
usr.sbin/pflogd/pflogd.c
379
scan_dump(FILE *fp, off_t size)
usr.sbin/pflogd/pflogd.c
383
off_t pos;
usr.sbin/pflogd/pflogd.c
411
off_t len = fread((char *)&ph, 1, sizeof(ph), fp);
usr.sbin/pflogd/pflogd.c
464
off_t pos = ftello(f);
usr.sbin/pflogd/pflogd.c
491
off_t offset;
usr.sbin/pflogd/pflogd.c
498
if (offset == (off_t)-1) {
usr.sbin/pflogd/pflogd.c
84
int scan_dump(FILE *, off_t);
usr.sbin/quot/quot.c
118
if (lseek(fd, (off_t)ino_to_fsba(super, last) << super->fs_fshift, 0) < (off_t)0
usr.sbin/quot/quot.c
135
off_t nblk, sz;
usr.sbin/repquota/repquota.c
56
((off_t)(db) >> (10-DEV_BSHIFT))
usr.sbin/repquota/repquota.c
59
((off_t)(db) << (DEV_BSHIFT-10))
usr.sbin/rmt/rmt.c
116
rval = lseek(tape, (off_t)atol(count), atoi(pos));
usr.sbin/rpc.statd/file.c
100
off_t desired_size;
usr.sbin/rpc.statd/file.c
170
if ((status_file_len < (off_t)HEADER_LEN) || (status_file_len
usr.sbin/rpc.statd/file.c
171
< (off_t)(HEADER_LEN + sizeof(HostInfo) * status_info->noOfHosts)) )
usr.sbin/rpc.statd/file.c
49
static off_t status_file_len; /* Current on-disc length of file */
usr.sbin/trpt/trpt.c
153
klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET);
usr.sbin/trpt/trpt.c
157
klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET);
usr.sbin/trpt/trpt.c
281
klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET);
usr.sbin/trpt/trpt.c
286
klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET);
usr.sbin/trpt/trpt.c
454
klseek(int fd, off_t base, int off)
usr.sbin/trpt/trpt.c
86
void klseek(int, off_t, int);
usr.sbin/uefisign/child.c
82
digest_range(struct executable *x, EVP_MD_CTX *mdctx, off_t off, size_t len)
usr.sbin/uefisign/pe.c
143
range_check(const struct executable *x, off_t off, size_t len,
usr.sbin/uefisign/pe.c
151
if (off >= (off_t)x->x_len) {
usr.sbin/uefisign/pe.c
226
parse_section_table(struct executable *x, off_t off, int number_of_sections)
usr.sbin/uefisign/pe.c
262
parse_directory(struct executable *x, off_t off,
usr.sbin/uefisign/pe.c
348
parse_optional_32_plus(struct executable *x, off_t off,
usr.sbin/uefisign/pe.c
398
parse_optional_32(struct executable *x, off_t off, int number_of_sections)
usr.sbin/uefisign/pe.c
447
parse_optional(struct executable *x, off_t off, int number_of_sections)
usr.sbin/uefisign/pe.c
468
parse_pe(struct executable *x, off_t off)
usr.sbin/uefisign/pe.c
500
static off_t
usr.sbin/uefisign/pe.c
503
off_t off;
usr.sbin/uefisign/pe.c
524
off_t pc_off;
usr.sbin/uefisign/uefisign.h
55
off_t x_checksum_off;
usr.sbin/uefisign/uefisign.h
58
off_t x_certificate_entry_off;
usr.sbin/uefisign/uefisign.h
62
off_t x_section_off[MAX_SECTIONS];
usr.sbin/uefisign/uefisign.h
91
off_t off, size_t len, const char *name);
usr.sbin/vnconfig/vnconfig.c
397
st.st_size -= (off_t)n;