bin/cp/utils.c
125
MAP_FILE|MAP_SHARED, from_fd, (off_t)0)) == MAP_FAILED) {
bin/csh/csh.c
1270
static off_t
bin/csh/csh.c
1271
seekf(void *oreo, off_t off, int whence)
bin/csh/csh.c
156
static off_t seekf(void *, off_t, int);
bin/csh/csh.h
196
off_t Bfseekp; /* Seek pointer */
bin/csh/csh.h
197
off_t Bfbobp; /* Seekp of beginning of buffers */
bin/csh/csh.h
198
off_t Bfeobp; /* Seekp of end of buffers */
bin/csh/csh.h
213
off_t _f_seek;
bin/csh/dol.c
861
(void) lseek(STDIN_FILENO, (off_t) 0, SEEK_SET);
bin/csh/lex.c
1539
(void) lseek(SHIN, (off_t) 0, SEEK_END);
bin/csh/lex.c
1556
if (lseek(SHIN, (off_t) 0, SEEK_CUR) == -1 || errno == ESPIPE)
bin/csh/lex.c
1561
fseekp = fbobp = feobp = lseek(SHIN, (off_t) 0, SEEK_CUR);
bin/dd/args.c
405
static off_t
bin/dd/args.c
408
off_t num, t;
bin/dd/args.c
64
static off_t get_off(char *);
bin/dd/dd.c
277
lseek(in.fd, (off_t)in.dbsz, SEEK_CUR))
bin/dd/dd.h
55
off_t offset; /* # of blocks to skip */
bin/dd/dd.h
70
off_t bytes; /* # of bytes written */
bin/dd/position.c
118
off_t cnt;
bin/dd/position.c
62
off_t cnt;
bin/df/df.c
50
int bread(int, off_t, void *, int);
bin/df/df.c
507
bread(int rfd, off_t off, void *buf, int cnt)
bin/df/ext2fs_df.c
49
extern int bread(int, off_t, void *, int);
bin/df/ext2fs_df.c
65
if (bread(rfd, (off_t)SBOFF, &sblock, SBSIZE) == 0) {
bin/df/ffs_df.c
46
extern int bread(int, off_t, void *, int);
bin/df/ffs_df.c
60
if (!((bread(rfd, (off_t)SBLOCK_UFS1, &sblock, SBSIZE) == 1 &&
bin/df/ffs_df.c
62
(bread(rfd, (off_t)SBLOCK_UFS2, &sblock, SBSIZE) == 1 &&
bin/ed/buf.c
43
static off_t sfseek; /* scratch file position */
bin/ed/ed.h
56
off_t seek; /* address of line in scratch buffer */
bin/ksh/shf.c
295
lseek(shf->fd, (off_t) -shf->rnleft, SEEK_CUR);
bin/ls/ls.c
434
off_t maxsize;
bin/ls/print.c
376
printsize(int width, off_t bytes)
bin/ls/print.c
57
static void printsize(int, off_t);
bin/md5/crc.c
113
off_t len = ctx->len;
bin/md5/crc.h
24
off_t len;
bin/mv/cp.c
469
MAP_FILE|MAP_SHARED, from_fd, (off_t)0)) == MAP_FAILED) {
bin/pax/ar_io.c
446
off_t cpos;
bin/pax/ar_io.c
592
off_t cpos;
bin/pax/ar_io.c
710
off_t cpos;
bin/pax/ar_io.c
711
off_t mpos;
bin/pax/ar_io.c
793
ar_fow(off_t sksz, off_t *skipped)
bin/pax/ar_io.c
795
off_t cpos;
bin/pax/ar_io.c
796
off_t mpos;
bin/pax/ar_io.c
852
ar_rev(off_t sksz)
bin/pax/ar_io.c
854
off_t cpos;
bin/pax/ar_subs.c
216
off_t cnt;
bin/pax/ar_subs.c
411
off_t cnt;
bin/pax/ar_subs.c
628
off_t tlen;
bin/pax/ar_subs.c
99
off_t cnt;
bin/pax/buf_subs.c
207
appnd_start(off_t skcnt)
bin/pax/buf_subs.c
210
off_t cnt;
bin/pax/buf_subs.c
389
rd_skip(off_t skcnt)
bin/pax/buf_subs.c
391
off_t res;
bin/pax/buf_subs.c
392
off_t cnt;
bin/pax/buf_subs.c
393
off_t skipped = 0;
bin/pax/buf_subs.c
563
wr_skip(off_t skcnt)
bin/pax/buf_subs.c
601
wr_rdfile(ARCHD *arcn, int ifd, off_t *left)
bin/pax/buf_subs.c
605
off_t size = arcn->sb.st_size;
bin/pax/buf_subs.c
662
rd_wrfile(ARCHD *arcn, int ofd, off_t *left)
bin/pax/buf_subs.c
665
off_t size = arcn->sb.st_size;
bin/pax/buf_subs.c
70
off_t wrlimit; /* # of bytes written per archive vol */
bin/pax/buf_subs.c
71
off_t wrcnt; /* # of bytes written on current vol */
bin/pax/buf_subs.c
72
off_t rdcnt; /* # of bytes read on current vol */
bin/pax/buf_subs.c
755
off_t cpcnt = 0;
bin/pax/buf_subs.c
768
if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >= arcn->sb.st_size)
bin/pax/cpio.c
212
(arcn->sb.st_size >= (off_t)sizeof(arcn->ln_name))) {
bin/pax/cpio.c
302
arcn->sb.st_size = (off_t)asc_ull(hd->c_filesize,sizeof(hd->c_filesize),
bin/pax/cpio.c
344
off_t
bin/pax/cpio.c
569
arcn->sb.st_size = (off_t)asc_ull(hd->c_filesize,
bin/pax/cpio.c
631
off_t
bin/pax/cpio.c
855
arcn->sb.st_size = (off_t)(RSHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
857
((off_t)(RSHRT_EXT(hd->h_filesize_2)));
bin/pax/cpio.c
870
arcn->sb.st_size = (off_t)(SHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
872
((off_t)(SHRT_EXT(hd->h_filesize_2)));
bin/pax/cpio.c
925
off_t
bin/pax/cpio.c
949
off_t t_offt;
bin/pax/cpio.c
977
t_offt = (off_t)(SHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
978
t_offt = (t_offt<<16) | ((off_t)(SHRT_EXT(hd->h_filesize_2)));
bin/pax/extern.h
104
off_t cpio_endrd(void);
bin/pax/extern.h
111
off_t vcpio_endrd(void);
bin/pax/extern.h
116
off_t bcpio_endrd(void);
bin/pax/extern.h
278
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
1086
off_t cpcnt = 0;
bin/pax/options.c
140
static off_t str_offt(char *);
bin/pax/options.c
1606
static off_t
bin/pax/options.c
1610
off_t num, t;
bin/pax/pax.h
109
off_t pad; /* bytes of padding after file xfer */
bin/pax/pax.h
110
off_t skip; /* bytes of real data after header */
bin/pax/pax.h
187
off_t (*end_rd)(void); /* read cleanup. Allows format to clean up */
bin/pax/tables.c
109
off_t seek; /* location in scratch file */
bin/pax/tar.c
112
off_t
bin/pax/tar.c
1609
rd_size(off_t *size, const char *keyword, char *p)
bin/pax/tar.c
1624
rd_xheader(ARCHD *arcn, int global, off_t size)
bin/pax/tar.c
424
arcn->sb.st_size = (off_t)asc_ull(hd->size, sizeof(hd->size), OCT);
bin/pax/tar.c
74
static int rd_xheader(ARCHD *, int, off_t);
bin/pax/tar.c
742
arcn->sb.st_size = (off_t)-1;
bin/pax/tar.c
747
(off_t)asc_ull(hd->size, sizeof(hd->size), OCT)) < 0)
bin/pax/tar.c
797
if (arcn->sb.st_size == (off_t)-1) {
bin/pax/tar.c
799
(off_t)asc_ull(hd->size, sizeof(hd->size), OCT);
bin/rm/rm.c
345
pass(int fd, off_t len, char *buf, size_t bsize)
bin/rm/rm.c
59
int pass(int, off_t, char *, size_t);
distrib/special/more/more.c
108
off_t file_pos, file_size;
distrib/special/more/more.c
117
off_t Currline; /* Line we are currently at */
distrib/special/more/more.c
1173
off_t startline = Ftell(file);
distrib/special/more/more.c
1174
off_t line1 = startline;
distrib/special/more/more.c
1175
off_t line2 = startline;
distrib/special/more/more.c
1176
off_t line3 = startline;
distrib/special/more/more.c
1177
off_t saveln;
distrib/special/more/more.c
157
off_t chrctr, line;
distrib/special/more/more.c
202
volatile off_t initline;
distrib/special/more/more.c
476
if (fseeko(f, (off_t)0, SEEK_SET))
distrib/special/more/more.c
494
(void)fseeko(f, (off_t)0, SEEK_SET); /* rewind() not necessary */
distrib/special/more/more.c
933
initline = Currline - (off_t)dlines * (nlines + 1);
distrib/special/more/more.c
938
Fseek(f, (off_t)0);
games/fortune/fortune/fortune.c
857
(off_t) (sizeof fp->tbl + fp->pos * sizeof Seekpts[0]), 0);
games/hack/hack.save.c
201
(void) lseek(fd, (off_t)0, SEEK_SET);
games/hangman/extern.c
70
off_t Dict_size;
games/hangman/extern.c
74
off_t symoffs, symsize;
games/hangman/hangman.h
78
extern off_t Dict_size;
games/hangman/hangman.h
82
extern off_t symoffs, symsize;
games/hangman/ksyms.c
143
if (symsize > (off_t)sh.sh_size)
games/hangman/ksyms.c
146
symoffs = (off_t)sh.sh_offset;
games/hangman/ksyms.c
147
symsize = (off_t)sh.sh_size;
games/hangman/ksyms.c
37
off_t pos;
include/kvm.h
58
int kvm_dump_mkheader(kvm_t *, off_t);
include/md5.h
42
char *MD5FileChunk(const char *, char *, off_t, off_t)
include/regex.h
45
typedef off_t regoff_t;
include/rmd160.h
53
char *RMD160FileChunk(const char *, char *, off_t, off_t)
include/sha1.h
36
char *SHA1FileChunk(const char *, char *, off_t, off_t)
include/sha2.h
115
char *SHA384FileChunk(const char *, char *, off_t, off_t)
include/sha2.h
132
char *SHA512FileChunk(const char *, char *, off_t, off_t)
include/sha2.h
149
char *SHA512_256FileChunk(const char *, char *, off_t, off_t)
include/sha2.h
81
char *SHA224FileChunk(const char *, char *, off_t, off_t)
include/sha2.h
98
char *SHA256FileChunk(const char *, char *, off_t, off_t)
include/stdio.h
148
int fseeko(FILE *, off_t, int);
include/stdio.h
151
off_t ftello(FILE *);
include/stdio.h
296
off_t (*)(void *, off_t, int),
include/stdio.h
61
typedef off_t fpos_t; /* stdio file position type */
include/unistd.h
358
off_t lseek(int, off_t, int);
include/unistd.h
397
int ftruncate(int, off_t);
include/unistd.h
422
int truncate(const char *, off_t);
include/unistd.h
434
ssize_t pread(int, void *, size_t, off_t)
include/unistd.h
436
ssize_t pwrite(int, const void *, size_t, off_t)
include/unistd.h
453
int lockf(int, int, off_t);
lib/libc/db/hash/hash_page.c
527
if ((rsize = pread(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
lib/libc/db/hash/hash_page.c
591
if ((wsize = pwrite(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
lib/libc/db/mpool/mpool.c
174
off_t off;
lib/libc/db/mpool/mpool.c
386
off_t off;
lib/libc/db/recno/rec_close.c
104
off_t off;
lib/libc/gen/getcap.c
670
off_t pos;
lib/libc/gen/lockf.c
38
lockf(int filedes, int function, off_t size)
lib/libc/gen/sysconf.c
349
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
361
sizeof(off_t) * CHAR_BIT == 64)
lib/libc/gen/sysconf.c
373
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
387
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
399
sizeof(off_t) * CHAR_BIT == 64)
lib/libc/gen/sysconf.c
411
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/telldir.h
46
off_t dd_curpos; /* current cookie */
lib/libc/gen/telldir.h
47
off_t dd_bufpos; /* cookie of the first entry in dd_buf */
lib/libc/hash/helper.c
60
HASHFileChunk(const char *filename, char *buf, off_t off, off_t len)
lib/libc/rpc/xdr_rec.c
322
off_t pos;
lib/libc/stdio/fseek.c
49
fseeko(FILE *fp, off_t offset, int whence)
lib/libc/stdio/ftell.c
42
off_t
lib/libc/stdio/ftell.c
92
off_t offset = ftello(fp);
lib/libc/stdio/funopen.c
41
off_t (*seekfn)(void *, off_t, int), int (*closefn)(void *))
lib/libc/stdio/stdio.c
72
off_t ret;
lib/libc/sys/w_pread.c
22
pread(int fd, void *buf, size_t nbyte, off_t offset)
lib/libc/sys/w_preadv.c
23
preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset)
lib/libc/sys/w_pwrite.c
22
pwrite(int fd, const void *buf, size_t nbyte, off_t offset)
lib/libc/sys/w_pwritev.c
23
pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset)
lib/libcrypto/arc4random/getentropy_aix.c
288
off_t off;
lib/libcrypto/arc4random/getentropy_aix.c
311
(off_t)0), mm[m].p);
lib/libcrypto/arc4random/getentropy_aix.c
360
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_hpux.c
282
off_t off;
lib/libcrypto/arc4random/getentropy_hpux.c
305
(off_t)0), mm[m].p);
lib/libcrypto/arc4random/getentropy_hpux.c
354
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_linux.c
388
off_t off;
lib/libcrypto/arc4random/getentropy_linux.c
411
(off_t)0), mm[m].p);
lib/libcrypto/arc4random/getentropy_linux.c
464
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_osx.c
302
off_t off;
lib/libcrypto/arc4random/getentropy_osx.c
325
(off_t)0), mm[m].p);
lib/libcrypto/arc4random/getentropy_osx.c
374
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_solaris.c
308
off_t off;
lib/libcrypto/arc4random/getentropy_solaris.c
331
(off_t)0), mm[m].p);
lib/libcrypto/arc4random/getentropy_solaris.c
380
HX((off = lseek(0, (off_t)0,
lib/libcurses/tinfo/read_termcap.c
327
(void) lseek(fd, (off_t) 0, SEEK_SET);
lib/libedit/readline.c
1194
off_t off;
lib/libedit/readline.c
1220
if (fseeko(fp, (off_t)sizeof(buf) * count, SEEK_SET) ==
lib/libedit/readline.c
1221
(off_t)-1) {
lib/libedit/readline.c
1266
if (fseeko(tp, (off_t)sizeof(buf) * count, SEEK_SET) == -1) {
lib/libedit/readline.c
1284
if (fseeko(fp, 0, SEEK_SET) == (off_t)-1) {
lib/libedit/readline.c
1289
if (fseeko(tp, (off_t)sizeof(buf) * count + (cp - buf), SEEK_SET) ==
lib/libedit/readline.c
1290
(off_t)-1) {
lib/libedit/vi.c
1017
lseek(fd, (off_t)0, SEEK_SET);
lib/libelf/_libelf.h
107
off_t e_next; /* set by elf_rand()/elf_next() */
lib/libelf/_libelf.h
93
off_t e_rawsize; /* size of uninterpreted bytes */
lib/libelf/elf_getbase.c
34
off_t
lib/libelf/elf_getbase.c
39
return ((off_t) -1);
lib/libelf/elf_getbase.c
43
return ((off_t) 0);
lib/libelf/elf_getbase.c
45
return ((off_t) ((uintptr_t) e->e_rawfile -
lib/libelf/elf_next.c
38
off_t next;
lib/libelf/elf_next.c
53
next = e->e_rawfile - parent->e_rawfile + (off_t) e->e_rawsize;
lib/libelf/elf_next.c
60
parent->e_u.e_ar.e_next = (next >= (off_t) parent->e_rawsize) ?
lib/libelf/elf_next.c
61
(off_t) 0 : next;
lib/libelf/elf_next.c
72
if (next > (off_t) parent->e_rawsize) {
lib/libelf/elf_rand.c
35
off_t
lib/libelf/elf_rand.c
36
elf_rand(Elf *ar, off_t offset)
lib/libelf/elf_rand.c
39
off_t offset_of_member;
lib/libelf/elf_rand.c
48
offset_of_member = offset + (off_t) sizeof(struct ar_hdr);
lib/libelf/elf_update.c
1008
return ((off_t) -1);
lib/libelf/elf_update.c
1011
return ((off_t) (ex->ex_start + nscn * fsz));
lib/libelf/elf_update.c
1031
static off_t
lib/libelf/elf_update.c
1032
_libelf_write_elf(Elf *e, off_t newsize, struct _Elf_Extent_List *extents)
lib/libelf/elf_update.c
1034
off_t nrc, rc;
lib/libelf/elf_update.c
1045
return ((off_t) -1);
lib/libelf/elf_update.c
1095
if (ftruncate(e->e_fd, (off_t) 0) < 0 ||
lib/libelf/elf_update.c
1096
lseek(e->e_fd, (off_t) 0, SEEK_SET)) {
lib/libelf/elf_update.c
110
_libelf_compute_section_extents(Elf *e, Elf_Scn *s, off_t rc)
lib/libelf/elf_update.c
1138
PROT_READ, MAP_PRIVATE, e->e_fd, (off_t) 0)) ==
lib/libelf/elf_update.c
1189
return ((off_t) -1);
lib/libelf/elf_update.c
1196
off_t
lib/libelf/elf_update.c
1200
off_t rc;
lib/libelf/elf_update.c
1203
rc = (off_t) -1;
lib/libelf/elf_update.c
1233
rc = (off_t) -1;
lib/libelf/elf_update.c
447
static off_t
lib/libelf/elf_update.c
448
_libelf_resync_sections(Elf *e, off_t rc, struct _Elf_Extent_List *extents)
lib/libelf/elf_update.c
470
return ((off_t) -1);
lib/libelf/elf_update.c
477
return ((off_t) -1);
lib/libelf/elf_update.c
480
rc = (off_t) (s->s_offset + s->s_size);
lib/libelf/elf_update.c
508
static off_t
lib/libelf/elf_update.c
515
off_t rc, phoff, shoff;
lib/libelf/elf_update.c
530
return ((off_t) -1);
lib/libelf/elf_update.c
538
phoff = (off_t) eh32->e_phoff;
lib/libelf/elf_update.c
539
shoff = (off_t) eh32->e_shoff;
lib/libelf/elf_update.c
544
phoff = (off_t) eh64->e_phoff;
lib/libelf/elf_update.c
545
shoff = (off_t) eh64->e_shoff;
lib/libelf/elf_update.c
551
return ((off_t) -1);
lib/libelf/elf_update.c
559
return ((off_t) -1);
lib/libelf/elf_update.c
564
return ((off_t) -1);
lib/libelf/elf_update.c
569
return ((off_t) -1);
lib/libelf/elf_update.c
601
rc += (off_t) _libelf_fsize(ELF_T_EHDR, ec, eh_version, (size_t) 1);
lib/libelf/elf_update.c
605
return ((off_t) -1);
lib/libelf/elf_update.c
622
return ((off_t) -1);
lib/libelf/elf_update.c
625
if (phoff % (off_t) align) {
lib/libelf/elf_update.c
627
return ((off_t) -1);
lib/libelf/elf_update.c
631
phoff = roundup(rc, (off_t) align);
lib/libelf/elf_update.c
633
rc = phoff + (off_t) fsz;
lib/libelf/elf_update.c
639
return ((off_t) -1);
lib/libelf/elf_update.c
651
return ((off_t) -1);
lib/libelf/elf_update.c
654
return ((off_t) -1);
lib/libelf/elf_update.c
673
if (shoff % (off_t) align) {
lib/libelf/elf_update.c
675
return ((off_t) -1);
lib/libelf/elf_update.c
678
shoff = roundup(rc, (off_t) align);
lib/libelf/elf_update.c
680
if (shoff + (off_t) fsz > rc)
lib/libelf/elf_update.c
681
rc = shoff + (off_t) fsz;
lib/libelf/elf_update.c
685
return ((off_t) -1);
lib/libelf/elf_update.c
717
static off_t
lib/libelf/elf_update.c
720
off_t rc;
lib/libelf/elf_update.c
733
rc = (off_t) ex->ex_start;
lib/libelf/elf_update.c
769
return ((off_t) -1);
lib/libelf/elf_update.c
780
rc = (off_t) (sh_off + d->d_off);
lib/libelf/elf_update.c
790
rc += (off_t) d->d_size;
lib/libelf/elf_update.c
809
return ((off_t) -1);
lib/libelf/elf_update.c
816
rc = (off_t) (sh_off + d->d_off);
lib/libelf/elf_update.c
832
return ((off_t) -1);
lib/libelf/elf_update.c
834
rc += (off_t) fsz;
lib/libelf/elf_update.c
844
static off_t
lib/libelf/elf_update.c
862
return ((off_t) -1);
lib/libelf/elf_update.c
879
return ((off_t) -1);
lib/libelf/elf_update.c
881
return ((off_t) fsz);
lib/libelf/elf_update.c
888
static off_t
lib/libelf/elf_update.c
927
return ((off_t) -1);
lib/libelf/elf_update.c
941
return ((off_t) -1);
lib/libelf/elf_update.c
943
return ((off_t) (phoff + fsz));
lib/libelf/elf_update.c
950
static off_t
lib/libelf/elf_update.c
989
return ((off_t) -1);
lib/libelf/libelf.h
260
off_t as_off; /* byte offset to member's header */
lib/libelf/libelf.h
319
off_t elf_getbase(Elf *_elf);
lib/libelf/libelf.h
339
off_t elf_rand(Elf *_elf, off_t _off);
lib/libelf/libelf.h
344
off_t elf_update(Elf *_elf, Elf_Cmd _cmd);
lib/libelf/libelf_ar.c
212
off_t next, end;
lib/libelf/libelf_ar.c
224
if (next == (off_t) 0)
lib/libelf/libelf_ar.c
233
end = next + (off_t) sizeof(struct ar_hdr);
lib/libelf/libelf_ar.c
235
end > (off_t) elf->e_rawsize) {
lib/libelf/libelf_ar.c
255
end += (off_t) sz;
lib/libelf/libelf_ar.c
257
end > (off_t) elf->e_rawsize) {
lib/libelf/libelf_ar.c
378
(off_t) fileoffset >= e->e_rawsize)
lib/libelf/libelf_ar.c
386
sym->as_off = (off_t) fileoffset;
lib/libelf/libelf_ar.c
394
sym->as_off = (off_t) 0;
lib/libelf/libelf_ar.c
472
sym->as_off = (off_t) off;
lib/libelf/libelf_ar.c
486
sym->as_off = (off_t) 0;
lib/libelf/libelf_ar_util.c
239
e->e_u.e_ar.e_next = (off_t) -1;
lib/libelf/libelf_ar_util.c
348
e->e_u.e_ar.e_next = (off_t) (s - e->e_rawfile);
lib/libelf/libelf_ehdr.c
146
if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < (off_t) fsz) {
lib/libelf/libelf_memory.c
57
e->e_rawsize = (off_t) sz;
lib/libelf/libelf_open.c
194
m = mmap(NULL, fsize, PROT_READ, MAP_PRIVATE, fd, (off_t) 0);
lib/libfuse/fuse.h
47
off_t);
lib/libfuse/fuse.h
70
int (*truncate)(const char *, off_t);
lib/libfuse/fuse.h
73
int (*read)(const char *, char *, size_t, off_t,
lib/libfuse/fuse.h
75
int (*write)(const char *, const char *, size_t, off_t,
lib/libfuse/fuse.h
87
int (*readdir)(const char *, void *, fuse_fill_dir_t, off_t,
lib/libfuse/fuse.h
95
int (*ftruncate)(const char *, off_t, struct fuse_file_info *);
lib/libfuse/fuse_lowlevel.c
160
fuse_reply_buf(fuse_req_t req, const char *buf, off_t size)
lib/libfuse/fuse_lowlevel.c
264
const char *name, const struct stat *stbuf, off_t off)
lib/libfuse/fuse_lowlevel.h
112
const struct stat *, off_t);
lib/libfuse/fuse_lowlevel.h
141
int fuse_reply_buf(fuse_req_t, const char *, off_t);
lib/libfuse/fuse_lowlevel.h
72
void (*read)(fuse_req_t, fuse_ino_t, size_t, off_t,
lib/libfuse/fuse_lowlevel.h
74
void (*write)(fuse_req_t, fuse_ino_t, const char *, size_t, off_t,
lib/libfuse/fuse_lowlevel.h
80
void (*readdir)(fuse_req_t, fuse_ino_t, size_t, off_t,
lib/libfuse/fuse_ops.c
215
off_t off)
lib/libfuse/fuse_ops.c
293
off_t offset, struct fuse_file_info *ffi)
lib/libfuse/fuse_ops.c
479
ifuse_ops_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset,
lib/libfuse/fuse_ops.c
517
size_t size, off_t offset, struct fuse_file_info *ffi)
lib/libkvm/kvm.c
102
_kvm_pwrite(kvm_t *kd, int fd, const void *buf, size_t nbytes, off_t offset)
lib/libkvm/kvm.c
343
sz = _kvm_pread(kd, kd->pmfd, &kcore_hdr, sizeof(kcore_hdr), (off_t)0);
lib/libkvm/kvm.c
376
sz = _kvm_pread(kd, kd->pmfd, &cpu_hdr, sizeof(cpu_hdr), (off_t)offset);
lib/libkvm/kvm.c
395
(off_t)offset);
lib/libkvm/kvm.c
405
sz = _kvm_pread(kd, kd->pmfd, &mem_hdr, sizeof(mem_hdr), (off_t)offset);
lib/libkvm/kvm.c
439
kvm_dump_mkheader(kvm_t *kd, off_t dump_off)
lib/libkvm/kvm.c
457
sz = _kvm_pread(kd, kd->pmfd, &cpu_hdr, sizeof(cpu_hdr), (off_t)dump_off);
lib/libkvm/kvm.c
477
(off_t)dump_off+hdr_size);
lib/libkvm/kvm.c
840
(off_t)_kvm_pa2off(kd, pa)) != sizeof(x)) {
lib/libkvm/kvm.c
858
cc = _kvm_pread(kd, kd->vmfd, buf, len, (off_t)kva);
lib/libkvm/kvm.c
86
_kvm_pread(kvm_t *kd, int fd, void *buf, size_t nbytes, off_t offset)
lib/libkvm/kvm.c
881
(off_t)_kvm_pa2off(kd, pa));
lib/libkvm/kvm.c
913
cc = _kvm_pwrite(kd, kd->vmfd, buf, len, (off_t)kva);
lib/libkvm/kvm_alpha.c
134
(off_t)_kvm_pa2off(kd, pteoff)) != sizeof(pte)) {
lib/libkvm/kvm_alpha.c
147
(off_t)_kvm_pa2off(kd, pteoff)) != sizeof(pte)) {
lib/libkvm/kvm_alpha.c
160
(off_t)_kvm_pa2off(kd, pteoff)) != sizeof(pte)) {
lib/libkvm/kvm_alpha.c
189
off_t
lib/libkvm/kvm_alpha.c
194
off_t off;
lib/libkvm/kvm_alpha.c
98
off_t pteoff;
lib/libkvm/kvm_amd64.c
186
off_t
lib/libkvm/kvm_amd64.c
191
off_t off;
lib/libkvm/kvm_arm.c
112
off_t
lib/libkvm/kvm_arm.c
117
off_t off = 0;
lib/libkvm/kvm_arm.c
123
(off_t)(pa - (paddr_t)mp->start));
lib/libkvm/kvm_arm.c
124
off += (off_t)mp->size;
lib/libkvm/kvm_arm64.c
112
off_t
lib/libkvm/kvm_arm64.c
117
off_t off = 0;
lib/libkvm/kvm_arm64.c
123
(off_t)(pa - (paddr_t)mp->start));
lib/libkvm/kvm_arm64.c
124
off += (off_t)mp->size;
lib/libkvm/kvm_hppa.c
70
off_t
lib/libkvm/kvm_i386.c
231
off_t
lib/libkvm/kvm_i386.c
234
return ((off_t)(kd->dump_off + pa));
lib/libkvm/kvm_m88k.c
70
off_t
lib/libkvm/kvm_mips64.c
149
return((off_t)0);
lib/libkvm/kvm_mips64.c
183
(off_t)addr) < 0)
lib/libkvm/kvm_mips64.c
195
off_t
lib/libkvm/kvm_powerpc.c
76
off_t
lib/libkvm/kvm_powerpc64.c
68
off_t
lib/libkvm/kvm_private.h
107
off_t _kvm_pa2off(kvm_t *, paddr_t);
lib/libkvm/kvm_private.h
111
ssize_t _kvm_pread(kvm_t *, int, void *, size_t, off_t);
lib/libkvm/kvm_private.h
112
ssize_t _kvm_pwrite(kvm_t *, int, const void *, size_t, off_t);
lib/libkvm/kvm_private.h
74
off_t dump_off; /* Where the actual dump starts */
lib/libkvm/kvm_proc.c
237
(off_t)(anon.an_swslot * kd->nbpg)) != kd->nbpg)
lib/libkvm/kvm_riscv64.c
112
off_t
lib/libkvm/kvm_riscv64.c
117
off_t off = 0;
lib/libkvm/kvm_riscv64.c
123
(off_t)(pa - (paddr_t)mp->start));
lib/libkvm/kvm_riscv64.c
124
off += (off_t)mp->size;
lib/libkvm/kvm_sh.c
145
off_t
lib/libkvm/kvm_sh.c
150
off_t off = kd->dump_off;
lib/libkvm/kvm_sh.c
68
off_t pteoffset;
lib/libkvm/kvm_sparc64.c
190
off_t
lib/libkvm/kvm_sparc64.c
195
off_t off;
lib/librthread/rthread_sem.c
358
if (sb.st_size != (off_t)SEM_MMAP_SIZE) {
lib/librthread/rthread_sem_compat.c
373
if (sb.st_size != (off_t)SEM_MMAP_SIZE) {
lib/libtls/tls_client.c
239
off_t offset;
lib/libutil/ber.c
711
off_t *pos;
lib/libutil/ber.c
807
pos = va_arg(ap, off_t *);
lib/libutil/ber.c
934
off_t
lib/libutil/ber.h
139
off_t ober_getpos(struct ber_element *);
lib/libutil/ber.h
33
off_t be_offs;
lib/libutil/ber.h
49
off_t br_offs;
lib/libutil/login.c
47
off_t pos;
lib/libutil/login.c
57
pos = (off_t)tty * sizeof(struct utmp);
lib/libutil/logout.c
59
(void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
lib/libutil/uucplock.c
207
ftruncate(fd, (off_t)len);
lib/libz/zconf.h
493
# define z_off_t off_t
libexec/comsat/comsat.c
221
off_t offset;
libexec/comsat/comsat.c
245
notify(struct utmp *utp, off_t offset)
libexec/comsat/comsat.c
289
jkfprintf(FILE *tp, char name[], off_t offset)
libexec/comsat/comsat.c
67
void jkfprintf(FILE *, char[], off_t);
libexec/comsat/comsat.c
69
void notify(struct utmp *, off_t);
libexec/ftpd/ftpcmd.y
100
off_t o;
libexec/ftpd/ftpcmd.y
1517
off_t count;
libexec/ftpd/ftpcmd.y
86
off_t restart_point;
libexec/ftpd/ftpd.c
106
extern off_t restart_point;
libexec/ftpd/ftpd.c
1143
off_t i, n;
libexec/ftpd/ftpd.c
1219
off_t i, n;
libexec/ftpd/ftpd.c
1333
dataconn(const char *name, off_t size, char *mode)
libexec/ftpd/ftpd.c
144
off_t file_size;
libexec/ftpd/ftpd.c
145
off_t byte_count;
libexec/ftpd/ftpd.c
1499
send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg)
libexec/ftpd/ftpd.c
198
static FILE *dataconn(const char *, off_t, char *);
libexec/ftpd/ftpd.c
209
static int send_data(FILE *, FILE *, off_t, off_t, int);
libexec/ftpd/ftpd.c
215
void logxfer(const char *, off_t, time_t);
libexec/ftpd/ftpd.c
2731
logxfer(const char *name, off_t size, time_t start)
libexec/ftpd/logutmp.c
121
(void)lseek(fd, -(off_t)sizeof(struct utmp), SEEK_CUR);
libexec/ftpd/logutmp.c
79
(void)lseek(fd, (off_t)topslot * sizeof(struct utmp), SEEK_SET);
libexec/ftpd/logutmp.c
85
(void)lseek(fd, -(off_t)sizeof(struct utmp),
libexec/ftpd/logutmp.c
91
(void)lseek(fd, (off_t)topslot * sizeof(struct utmp),
libexec/ld.so/library_mquery.c
247
off_t foff;
libexec/ld.so/malloc.c
70
MAP_ANON | MAP_PRIVATE, -1, (off_t) 0)
libexec/ld.so/malloc.c
73
MAP_ANON | MAP_PRIVATE, -1, (off_t) 0)
libexec/ld.so/syscall.h
50
void *_dl_mmap(void *, size_t, int, int, int, off_t);
libexec/ld.so/syscall.h
52
void *_dl_mquery(void *, size_t, int, int, int, off_t);
libexec/mail.local/mail.local.c
161
off_t curoff;
libexec/mail.local/mail.local.c
240
if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
libexec/rpc.rquotad/rquotad.c
250
if (lseek(fd, (off_t)(id * sizeof(struct dqblk)), SEEK_SET) ==
libexec/rpc.rquotad/rquotad.c
251
(off_t)-1) {
regress/lib/libc/db/dbtest.c
686
if (sb.st_size > (off_t)INT_MAX)
regress/lib/libc/open_memstream/open_memstreamtest.c
36
off_t off;
regress/lib/libc/orientation/orientation_test.c
117
off_t off;
regress/lib/libc/stdio/test_fflush.c
193
off_t pos;
regress/lib/libc/sys/t_msync.c
46
static const off_t off = 512;
regress/lib/libc/sys/t_recvmmsg.c
84
off_t off;
regress/lib/libc/sys/t_sendmmsg.c
88
off_t off;
regress/lib/libc/sys/t_write.c
149
ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == (off_t)(i + 1));
regress/lib/libz/minigzip.c
313
off_t buf_len; /* length of the input file */
regress/lib/libz/minigzip.c
322
buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
regress/misc/c++abi/nm1.C
30
D(off_t)
regress/sys/arch/amd64/vmm/vcpu.c
99
off_t off, reset = 0xFFFFFFF0, stack = 0x800;
regress/sys/fileops/fileops.c
115
c_lseek(off_t offset, int whence)
regress/sys/fileops/fileops.c
117
off_t ret = lseek(fd, offset, whence);
regress/sys/fileops/fileops.c
33
static off_t curpos = 0;
regress/sys/kern/flock/lockf.c
69
off_t len = 16;
regress/sys/kern/flock/util.c
35
make_file(off_t size)
regress/sys/kern/flock/util.h
39
int make_file(off_t size);
regress/sys/kern/mmap/mmaptest.c
48
off_t sz;
regress/sys/kern/sosplice/perf/relay.c
101
off_t len;
regress/sys/kern/sosplice/perf/relay.c
71
off_t len;
regress/sys/uvm/mmap_4g/mmap_4g.c
24
off_t offset;
regress/sys/uvm/mmap_size/mmap_size.c
19
MAP_ANON|MAP_PRIVATE, -1, (off_t)0);
regress/usr.sbin/vmd/diskfmt/vioscribble.c
83
off_t len, off, qcsz, rawsz;
sbin/clri/clri.c
70
off_t offset;
sbin/clri/clri.c
88
offset = (off_t)(sblock_try[i]);
sbin/dump/main.c
447
(off_t)sblock_try[i]);
sbin/dump/traverse.c
290
off_t filesize;
sbin/dump/traverse.c
317
filesize = (off_t)DIP(dp, di_size);
sbin/dump/traverse.c
360
dirindir(ino_t ino, daddr_t blkno, int ind_level, off_t *filesize,
sbin/dump/traverse.c
403
searchdir(ino_t ino, daddr_t blkno, long size, off_t filesize,
sbin/dump/traverse.c
473
off_t size;
sbin/dump/traverse.c
581
dmpindir(ino_t ino, daddr_t blk, int ind_level, off_t *size)
sbin/dump/traverse.c
67
static int dirindir(ino_t, daddr_t, int, off_t *, int64_t *, int);
sbin/dump/traverse.c
68
static void dmpindir(ino_t, daddr_t, int, off_t *);
sbin/dump/traverse.c
69
static int searchdir(ino_t, daddr_t, long, off_t, int64_t *, int);
sbin/dump/traverse.c
70
void fs_mapinodes(ino_t maxino, off_t *tapesize, int *anydirskipped);
sbin/dump/traverse.c
776
off_t offset;
sbin/dumpfs/dumpfs.c
137
n = pread(fd, &afs, SBLOCKSIZE, (off_t)sbtry[i]);
sbin/dumpfs/dumpfs.c
163
off_t off;
sbin/dumpfs/dumpfs.c
303
off = (off_t)(fsbtodb(&afs, (afs.fs_csaddr + j *
sbin/dumpfs/dumpfs.c
337
off_t cur;
sbin/dumpfs/dumpfs.c
342
cur = (off_t)fsbtodb(&afs, cgtod(&afs, c)) * DEV_BSIZE;
sbin/fdisk/disk.c
124
off_t off, where;
sbin/fdisk/disk.c
165
off_t off, where;
sbin/fdisk/part.c
946
off_t off;
sbin/fsck_ext2fs/setup.c
72
off_t sizepb;
sbin/fsck_ext2fs/utilities.c
286
off_t offset;
sbin/fsck_ext2fs/utilities.c
317
off_t offset;
sbin/fsck_ffs/inode.c
151
iblock(struct inodesc *idesc, long ilevel, off_t isize)
sbin/fsck_ffs/inode.c
155
off_t sizepb;
sbin/fsck_ffs/inode.c
56
static int iblock(struct inodesc *, long, off_t);
sbin/fsck_ffs/inode.c
63
off_t sizepb, remsize;
sbin/fsck_ffs/pass1.c
179
off_t kernmaxfilesize;
sbin/fsck_ffs/setup.c
85
off_t sizepb;
sbin/fsck_ffs/utilities.c
381
off_t offset;
sbin/fsck_ffs/utilities.c
412
off_t offset;
sbin/fsck_msdos/boot.c
308
off_t o;
sbin/fsck_msdos/boot.c
47
off_t o;
sbin/fsck_msdos/dir.c
285
off_t off;
sbin/fsck_msdos/dir.c
417
off_t off;
sbin/fsck_msdos/dir.c
893
static off_t lfoff;
sbin/fsck_msdos/fat.c
436
off_t off;
sbin/fsck_msdos/fat.c
81
off_t off;
sbin/fsirand/fsirand.c
193
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
264
if (lseek(devfd, (off_t)dblk * bsize,
sbin/fsirand/fsirand.c
280
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
309
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) {
sbin/growfs/growfs.c
1384
if (lseek(fsi, (off_t)bno * DEV_BSIZE, SEEK_SET) == -1) {
sbin/growfs/growfs.c
1404
if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) == -1)
sbin/iked/config.c
853
off_t offset = 0;
sbin/iked/config.c
911
off_t offset = 0;
sbin/iked/dh.c
612
off_t xoff, yoff;
sbin/iked/iked.h
1363
void print_hex(const uint8_t *, off_t, size_t);
sbin/iked/iked.h
1364
void print_hexval(const uint8_t *, off_t, size_t);
sbin/iked/ikev2_msg.c
580
off_t ivoff, encroff, integroff;
sbin/iked/ikev2_msg.c
66
off_t off;
sbin/iked/util.c
469
print_hex(const uint8_t *buf, off_t offset, size_t length)
sbin/iked/util.c
489
print_hexval(const uint8_t *buf, off_t offset, size_t length)
sbin/isakmpd/dh.c
523
off_t xoff, yoff;
sbin/ncheck_ffs/ncheck_ffs.c
116
void dirindir(ufsino_t, daddr_t, int, off_t *, const char *);
sbin/ncheck_ffs/ncheck_ffs.c
117
void searchdir(ufsino_t, daddr_t, long, off_t, const char *);
sbin/ncheck_ffs/ncheck_ffs.c
272
off_t offset;
sbin/ncheck_ffs/ncheck_ffs.c
348
off_t filesize;
sbin/ncheck_ffs/ncheck_ffs.c
353
filesize = (off_t)DIP(dp, di_size);
sbin/ncheck_ffs/ncheck_ffs.c
373
dirindir(ufsino_t ino, daddr_t blkno, int ind_level, off_t *filesizep,
sbin/ncheck_ffs/ncheck_ffs.c
414
searchdir(ufsino_t ino, daddr_t blkno, long size, off_t filesize,
sbin/ncheck_ffs/ncheck_ffs.c
599
n = pread(diskfd, sblock, SBLOCKSIZE, (off_t)sblock_try[i]);
sbin/newfs/mkfs.c
1022
n = pread(fsi, bf, size, (off_t)bno * DEV_BSIZE);
sbin/newfs/mkfs.c
1042
n = pwrite(fso, bf, size, (off_t)bno * DEV_BSIZE);
sbin/newfs/mkfs.c
192
MAP_ANON|MAP_PRIVATE, -1, (off_t)0);
sbin/newfs_ext2fs/mke2fs.c
1365
off_t offset;
sbin/newfs_ext2fs/mke2fs.c
1381
off_t offset;
sbin/newfs_ext2fs/newfs_ext2fs.c
307
&& ftruncate(fd, (off_t)fssize * sectorsize) == -1)
sbin/newfs_ext2fs/newfs_ext2fs.c
313
off_t bufrem;
sbin/pflogd/pflogd.c
410
scan_dump(FILE *fp, off_t size)
sbin/pflogd/pflogd.c
414
off_t pos;
sbin/pflogd/pflogd.c
442
off_t len = fread((char *)&ph, 1, sizeof(ph), fp);
sbin/pflogd/pflogd.c
489
off_t pos = ftello(f);
sbin/pflogd/pflogd.c
516
off_t offset;
sbin/pflogd/pflogd.c
523
if (offset == (off_t)-1) {
sbin/pflogd/pflogd.c
80
int scan_dump(FILE *, off_t);
sbin/quotacheck/quotacheck.c
463
(off_t)((highid[type] + 1) * sizeof(struct dqblk)));
sbin/restore/dirs.c
545
(off_t)0, SEEK_CUR) - dirp->dd_size + dirp->dd_loc);
sbin/restore/restore.h
121
off_t size; /* size of file */
sbin/restore/tape.c
695
volatile off_t size = spcl.c_size;
sbin/restore/tape.c
715
((off_t)curblk - 1) * TP_BSIZE + size);
sbin/restore/tape.c
722
((off_t)curblk - 1) * TP_BSIZE + size);
sbin/restore/tape.c
743
(*fill)((char *)buf, ((off_t)curblk * TP_BSIZE) + size);
sbin/restore/tape.c
769
if (lseek(ofile, (off_t)size, SEEK_CUR) == -1)
sbin/restore/tape.c
919
seek_failed = (lseek(mt, i, SEEK_CUR) == (off_t)-1);
sbin/savecore/savecore.c
252
dumpoff = (off_t)dumplo * DEV_BSIZE;
sbin/savecore/savecore.c
621
off_t minfree, spacefree, kernelsize, needed;
sbin/savecore/savecore.c
638
spacefree = ((off_t)fsbuf.f_bavail * fsbuf.f_bsize) / 1024;
sbin/savecore/savecore.c
95
off_t dumpoff; /* where dump starts on dumpdev (in bytes) */
sbin/savecore/zopen.c
333
info->total_in = (off_t)zs->zs_in_count;
sbin/savecore/zopen.c
334
info->total_out = (off_t)zs->zs_bytes_out;
sbin/scan_ffs/scan_ffs.c
105
off_t size = (off_t)sb->fs_ffs1_size *
sbin/scan_ffs/scan_ffs.c
55
((off_t)sb->fs_ffs1_size * sb->fs_fsize / 512), at,
sbin/scan_ffs/scan_ffs.c
63
(long long)(off_t) sb->fs_ffs1_size * sb->fs_fsize,
sbin/scan_ffs/scan_ffs.c
67
(long long)(off_t) sb->fs_ffs1_size * sb->fs_fsize,
sbin/scan_ffs/scan_ffs.c
86
if (lseek(fd, (off_t)blk * 512, SEEK_SET) == -1)
sbin/tunefs/tunefs.c
308
if ((pread(fi, buffer, cnt, (off_t)blk * DEV_BSIZE)) != cnt)
sbin/tunefs/tunefs.c
66
off_t sblockloc;
sbin/tunefs/tunefs.c
68
static off_t sblock_try[] = SBLOCKSEARCH;
sys/arch/alpha/alpha/mem.c
208
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/alpha/alpha/process_machdep.c
169
uio.uio_offset = (off_t)addr;
sys/arch/alpha/alpha/process_machdep.c
187
uio.uio_offset = (off_t)addr;
sys/arch/alpha/dev/bus_dma.c
602
_bus_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/alpha/include/bus.h
599
int, off_t, int, int);
sys/arch/alpha/include/bus.h
700
int nsegs, off_t off, int prot, int flags);
sys/arch/alpha/stand/installboot.c
311
if (pread(fd, buf, size, dbtob((off_t)blk)) != (ssize_t)size)
sys/arch/amd64/amd64/bus_dma.c
682
_bus_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/amd64/amd64/bus_space.c
1050
x86_bus_space_io_mmap(bus_addr_t addr, off_t off, int prot, int flags)
sys/arch/amd64/amd64/bus_space.c
150
paddr_t x86_bus_space_io_mmap(bus_addr_t, off_t, int, int);
sys/arch/amd64/amd64/bus_space.c
1527
x86_bus_space_mem_mmap(bus_addr_t addr, off_t off, int prot, int flags)
sys/arch/amd64/amd64/bus_space.c
275
paddr_t x86_bus_space_mem_mmap(bus_addr_t, off_t, int, int);
sys/arch/amd64/amd64/efifb.c
331
efifb_mmap(void *v, off_t off, int prot)
sys/arch/amd64/amd64/efifb.c
97
paddr_t efifb_mmap(void *, off_t, int);
sys/arch/amd64/amd64/kexec.c
286
kexec_read(struct kexec_args *kargs, void *buf, size_t size, off_t off)
sys/arch/amd64/amd64/kexec.c
38
int kexec_read(struct kexec_args *, void *, size_t, off_t);
sys/arch/amd64/amd64/mem.c
196
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/amd64/amd64/nvram.c
94
off_t pos = uio->uio_offset;
sys/arch/amd64/amd64/sev_bus_space.c
30
paddr_t x86_bus_space_io_mmap(bus_addr_t, off_t, int, int);
sys/arch/amd64/amd64/sev_bus_space.c
32
paddr_t x86_bus_space_mem_mmap(bus_addr_t, off_t, int, int);
sys/arch/amd64/include/bus.h
463
paddr_t (*mmap)(bus_addr_t, off_t, int, int);
sys/arch/amd64/include/bus.h
610
int, off_t, int, int);
sys/arch/amd64/include/bus.h
699
int nsegs, off_t off, int prot, int flags);
sys/arch/amd64/stand/efiboot/efidev.c
858
off_t
sys/arch/amd64/stand/efiboot/efidev.c
859
esp_seek(struct open_file *f, off_t offset, int where)
sys/arch/amd64/stand/efiboot/efidev.c
870
return ((off_t)-1);
sys/arch/amd64/stand/efiboot/efidev.c
883
return ((off_t)-1);
sys/arch/amd64/stand/efiboot/efidev.c
889
return ((off_t)-1);
sys/arch/amd64/stand/efiboot/efidev.h
44
off_t esp_seek(struct open_file *, off_t, int);
sys/arch/amd64/stand/efiboot/efipxe.c
113
off_t inbufoff;
sys/arch/amd64/stand/efiboot/efipxe.c
209
off_t
sys/arch/amd64/stand/efiboot/efipxe.c
210
tftp_seek(struct open_file *f, off_t offset, int where)
sys/arch/amd64/stand/efiboot/efipxe.c
236
return((off_t)-1);
sys/arch/amd64/stand/rdboot/rdboot.c
174
off_t pos;
sys/arch/arm/arm/bus_dma.c
860
off_t off, int prot, int flags)
sys/arch/arm/arm/mem.c
223
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/arm/include/bus.h
114
paddr_t (*bs_mmap) (void *, bus_addr_t, off_t, int, int);
sys/arch/arm/include/bus.h
402
paddr_t __bs_c(f,_bs_mmap) (void *, bus_addr_t, off_t, int, int);
sys/arch/arm/include/bus.h
712
int, off_t, int, int);
sys/arch/arm/include/bus.h
812
int nsegs, off_t off, int prot, int flags);
sys/arch/arm64/arm64/bus_dma.c
548
_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/arm64/arm64/bus_space.c
248
generic_space_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off,
sys/arch/arm64/arm64/mem.c
225
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/arm64/dev/acpipci.c
109
paddr_t acpipci_bs_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/arm64/dev/acpipci.c
723
acpipci_bs_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off,
sys/arch/arm64/dev/simplebus.c
335
simplebus_bs_mmap(bus_space_tag_t t, bus_addr_t bpa, off_t off,
sys/arch/arm64/dev/simplebus.c
37
paddr_t simplebus_bs_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/arm64/include/bus.h
414
int, off_t, int, int);
sys/arch/arm64/include/bus.h
475
paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/arm64/include/bus.h
510
paddr_t generic_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/arm64/include/bus.h
85
paddr_t (*_space_mmap)(bus_space_tag_t, bus_addr_t, off_t,
sys/arch/arm64/stand/efiboot/efidev.c
650
off_t
sys/arch/arm64/stand/efiboot/efidev.c
651
esp_seek(struct open_file *f, off_t offset, int where)
sys/arch/arm64/stand/efiboot/efidev.c
662
return ((off_t)-1);
sys/arch/arm64/stand/efiboot/efidev.c
675
return ((off_t)-1);
sys/arch/arm64/stand/efiboot/efidev.c
681
return ((off_t)-1);
sys/arch/arm64/stand/efiboot/efidev.h
42
off_t esp_seek(struct open_file *, off_t, int);
sys/arch/arm64/stand/efiboot/efipxe.c
140
off_t inbufoff;
sys/arch/arm64/stand/efiboot/efipxe.c
236
off_t
sys/arch/arm64/stand/efiboot/efipxe.c
237
mtftp_seek(struct open_file *f, off_t offset, int where)
sys/arch/arm64/stand/efiboot/efipxe.c
263
return((off_t)-1);
sys/arch/arm64/stand/efiboot/efipxe.h
26
off_t mtftp_seek(struct open_file *, off_t, int);
sys/arch/armv7/exynos/exdisplay.c
234
exdisplay_wsmmap(void *v, off_t off, int prot)
sys/arch/armv7/exynos/exdisplay.c
67
paddr_t exdisplay_wsmmap(void *, off_t, int);
sys/arch/armv7/omap/amdisplay.c
632
amdisplay_mmap(void *sconf, off_t off, int prot)
sys/arch/armv7/omap/amdisplay.c
97
paddr_t amdisplay_mmap(void *, off_t, int);
sys/arch/armv7/omap/omdisplay.c
1299
omdisplay_mmap(void *v, off_t offset, int prot)
sys/arch/armv7/omap/omdisplay.c
449
paddr_t omdisplay_mmap(void *v, off_t offset, int prot);
sys/arch/armv7/stand/efiboot/efipxe.c
140
off_t inbufoff;
sys/arch/armv7/stand/efiboot/efipxe.c
236
off_t
sys/arch/armv7/stand/efiboot/efipxe.c
237
mtftp_seek(struct open_file *f, off_t offset, int where)
sys/arch/armv7/stand/efiboot/efipxe.c
263
return((off_t)-1);
sys/arch/armv7/stand/efiboot/efipxe.h
26
off_t mtftp_seek(struct open_file *, off_t, int);
sys/arch/hppa/dev/astro.c
185
paddr_t iommu_dvmamem_mmap(void *, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/hppa/dev/astro.c
564
iommu_dvmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/hppa/dev/dino.c
1627
dino_dmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/hppa/dev/dino.c
284
paddr_t dino_dmamem_mmap(void *, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/hppa/dev/elroy.c
1089
int nsegs, off_t off, int prot, int flags);
sys/arch/hppa/dev/elroy.c
1199
elroy_dmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/hppa/hppa/mainbus.c
1098
mbus_dmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/hppa/hppa/mainbus.c
721
off_t off, int prot, int flags);
sys/arch/hppa/hppa/mem.c
406
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/hppa/hppa/trap.c
671
uio.uio_offset = (off_t)addr;
sys/arch/hppa/hppa/trap.c
689
uio.uio_offset = (off_t)addr;
sys/arch/hppa/include/bus.h
370
int, off_t, int, int);
sys/arch/hppa/stand/libsa/libsa.h
67
off_t lif_seek(struct open_file *f, off_t offset, int where);
sys/arch/hppa/stand/libsa/lif.c
207
off_t
sys/arch/hppa/stand/libsa/lif.c
210
off_t offset;
sys/arch/hppa/stand/libsa/lif.c
41
off_t f_seek; /* seek pointer for file read */
sys/arch/i386/i386/bus_dma.c
494
_bus_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/i386/i386/bus_space.c
129
paddr_t i386_bus_space_io_mmap(bus_addr_t, off_t, int, int);
sys/arch/i386/i386/bus_space.c
223
paddr_t i386_bus_space_mem_mmap(bus_addr_t, off_t, int, int);
sys/arch/i386/i386/bus_space.c
587
i386_bus_space_io_mmap(bus_addr_t addr, off_t off, int prot, int flags)
sys/arch/i386/i386/bus_space.c
903
i386_bus_space_mem_mmap(bus_addr_t addr, off_t off, int prot, int flags)
sys/arch/i386/i386/machdep.c
3871
bus_space_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off, int prot, int flags)
sys/arch/i386/i386/mem.c
203
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/i386/i386/nvram.c
94
off_t pos = uio->uio_offset;
sys/arch/i386/include/bus.h
610
int, off_t, int, int);
sys/arch/i386/include/bus.h
694
int nsegs, off_t off, int prot, int flags);
sys/arch/i386/include/bus.h
99
paddr_t bus_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/landisk/include/bus.h
512
int, off_t, int, int);
sys/arch/landisk/include/bus.h
592
int nsegs, off_t off, int prot, int flags);
sys/arch/landisk/landisk/bus_dma.c
607
off_t off, int prot, int flags)
sys/arch/landisk/stand/xxboot/ufs12.c
725
off_t
sys/arch/landisk/stand/xxboot/ufs12.c
726
ufs12_seek(struct open_file *f, off_t offset, int where)
sys/arch/landisk/stand/xxboot/ufs12.c
82
off_t f_seekp; /* seek pointer */
sys/arch/landisk/stand/xxboot/ufs12.h
41
off_t ufs12_seek(struct open_file *f, off_t offset, int where);
sys/arch/loongson/dev/htb.c
413
htb_mem_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off, int prot,
sys/arch/loongson/dev/htb.c
72
paddr_t htb_mem_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/loongson/dev/radeonfb.c
131
paddr_t radeonfb_mmap(void *, off_t, int);
sys/arch/loongson/dev/radeonfb.c
345
radeonfb_mmap(void *v, off_t off, int prot)
sys/arch/loongson/dev/sisfb.c
339
sisfb_mmap(void *v, off_t offset, int prot)
sys/arch/loongson/dev/sisfb.c
92
paddr_t sisfb_mmap(void *, off_t, int);
sys/arch/loongson/dev/smfb.c
118
paddr_t smfb_mmap(void *, off_t, int);
sys/arch/loongson/dev/smfb.c
306
smfb_mmap(void *v, off_t offset, int prot)
sys/arch/loongson/include/bus.h
321
paddr_t generic_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/loongson/include/bus.h
424
int, off_t, int, int);
sys/arch/loongson/include/bus.h
484
paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/loongson/include/bus.h
85
paddr_t (*_space_mmap)(bus_space_tag_t, bus_addr_t, off_t,
sys/arch/loongson/loongson/bus_dma.c
523
_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/loongson/loongson/bus_space.c
190
generic_space_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off, int prot,
sys/arch/loongson/stand/boot/dev.c
62
off_t partoff;
sys/arch/loongson/stand/boot/dev.c
63
off_t curpos;
sys/arch/loongson/stand/boot/dev.c
73
off_t offs, pos;
sys/arch/loongson/stand/boot/libsa.h
62
off_t rdfs_seek(struct open_file *f, off_t offset, int where);
sys/arch/loongson/stand/boot/rd.c
111
off_t
sys/arch/loongson/stand/boot/rd.c
112
rdfs_seek(struct open_file *f, off_t offset, int whence)
sys/arch/loongson/stand/boot/rd.c
24
static off_t rdoffs;
sys/arch/luna88k/cbus/pcex.c
107
pcexmmap(dev_t dev, off_t offset, int prot)
sys/arch/luna88k/dev/lunafb.c
132
paddr_t omfbmmap(void *, off_t, int);
sys/arch/luna88k/dev/lunafb.c
295
omfbmmap(void *v, off_t offset, int prot)
sys/arch/luna88k/dev/xp.c
237
xpmmap(dev_t dev, off_t offset, int prot)
sys/arch/m88k/m88k/mem.c
162
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/m88k/m88k/trap.c
1389
uio.uio_offset = (off_t)addr;
sys/arch/m88k/m88k/trap.c
1407
uio.uio_offset = (off_t)addr;
sys/arch/macppc/include/bus.h
559
int, off_t, int, int);
sys/arch/macppc/include/bus.h
616
paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/macppc/include/bus.h
77
paddr_t bus_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/macppc/macppc/mem.c
304
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/macppc/pci/vgafb.c
322
vgafb_mmap(void *v, off_t off, int prot)
sys/arch/macppc/pci/vgafb.c
67
paddr_t vgafb_mmap(void *, off_t, int);
sys/arch/macppc/stand/hfs.c
89
off_t
sys/arch/macppc/stand/hfs.c
90
hfs_seek(struct open_file *f, off_t offset, int where)
sys/arch/macppc/stand/hfs.h
8
off_t hfs_seek(struct open_file *, off_t, int);
sys/arch/mips64/mips64/mem.c
194
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/mips64/mips64/trap.c
1008
uio.uio_offset = (off_t)va;
sys/arch/mips64/mips64/trap.c
990
uio.uio_offset = (off_t)va;
sys/arch/octeon/dev/amdcf.c
194
void amdcf_disk_read(struct amdcf_softc *, struct buf *, off_t);
sys/arch/octeon/dev/amdcf.c
195
void amdcf_disk_write(struct amdcf_softc *, struct buf *, off_t);
sys/arch/octeon/dev/amdcf.c
607
off_t off;
sys/arch/octeon/dev/amdcf.c
652
amdcf_disk_read(struct amdcf_softc *sc, struct buf *bp, off_t off)
sys/arch/octeon/dev/amdcf.c
674
amdcf_disk_write(struct amdcf_softc *sc, struct buf *bp, off_t off)
sys/arch/octeon/dev/octboot.c
360
off_t off)
sys/arch/octeon/dev/octboot.c
38
int octboot_read(struct octboot_kexec_args *, void *, size_t, off_t);
sys/arch/octeon/dev/octcrypto.c
954
off_t authskip = 0;
sys/arch/octeon/dev/octcrypto.c
955
off_t encskip = 0;
sys/arch/octeon/include/bus.h
390
int, off_t, int, int);
sys/arch/octeon/include/bus.h
450
paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/octeon/include/octeonvar.h
383
octeon_lmtdma_write_8(off_t offset, uint64_t value)
sys/arch/octeon/octeon/bus_dma.c
560
_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/octeon/stand/rdboot/rdboot.c
176
off_t pos;
sys/arch/powerpc/powerpc/bus_dma.c
576
_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/powerpc/powerpc/bus_space.c
127
bus_space_mmap(bus_space_tag_t t, bus_addr_t bpa, off_t off, int prot,
sys/arch/powerpc64/dev/astfb.c
233
astfb_wsmmap(void *v, off_t off, int prot)
sys/arch/powerpc64/dev/astfb.c
54
paddr_t astfb_wsmmap(void *, off_t, int);
sys/arch/powerpc64/dev/kexec.c
253
kexec_read(struct kexec_args *kargs, void *buf, size_t size, off_t off)
sys/arch/powerpc64/dev/kexec.c
36
int kexec_read(struct kexec_args *, void *, size_t, off_t);
sys/arch/powerpc64/dev/phb.c
132
paddr_t phb_bs_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/powerpc64/dev/phb.c
751
phb_bs_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off,
sys/arch/powerpc64/include/bus.h
403
int, off_t, int, int);
sys/arch/powerpc64/include/bus.h
461
paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/powerpc64/include/bus.h
496
paddr_t generic_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/powerpc64/include/bus.h
80
paddr_t (*_space_mmap)(bus_space_tag_t, bus_addr_t, off_t,
sys/arch/powerpc64/powerpc64/bus_dma.c
469
_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/powerpc64/powerpc64/bus_space.c
222
generic_space_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off,
sys/arch/powerpc64/powerpc64/mem.c
176
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/powerpc64/stand/rdboot/rdboot.c
172
off_t pos;
sys/arch/riscv64/include/bus.h
422
int, off_t, int, int);
sys/arch/riscv64/include/bus.h
483
paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
sys/arch/riscv64/include/bus.h
518
paddr_t generic_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/arch/riscv64/include/bus.h
86
paddr_t (*_space_mmap)(bus_space_tag_t, bus_addr_t, off_t,
sys/arch/riscv64/riscv64/bus_dma.c
556
_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
sys/arch/riscv64/riscv64/bus_space.c
267
generic_space_mmap(bus_space_tag_t t, bus_addr_t addr, off_t off,
sys/arch/riscv64/riscv64/mem.c
221
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/riscv64/stand/efiboot/efipxe.c
140
off_t inbufoff;
sys/arch/riscv64/stand/efiboot/efipxe.c
236
off_t
sys/arch/riscv64/stand/efiboot/efipxe.c
237
mtftp_seek(struct open_file *f, off_t offset, int where)
sys/arch/riscv64/stand/efiboot/efipxe.c
263
return((off_t)-1);
sys/arch/riscv64/stand/efiboot/efipxe.h
26
off_t mtftp_seek(struct open_file *, off_t, int);
sys/arch/sh/sh/mem.c
212
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/sparc64/dev/creator.c
484
creator_mmap(void *vsc, off_t off, int prot)
sys/arch/sparc64/dev/creator.c
52
paddr_t creator_mmap(void *, off_t, int);
sys/arch/sparc64/dev/ebus.c
475
off_t off, int prot, int flags)
sys/arch/sparc64/dev/ebus.c
95
off_t, int, int);
sys/arch/sparc64/dev/gfxp.c
127
paddr_t gfxp_mmap(void *, off_t, int);
sys/arch/sparc64/dev/gfxp.c
323
gfxp_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/ifb.c
291
paddr_t ifb_mmap(void *, off_t, int);
sys/arch/sparc64/dev/ifb.c
730
ifb_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/machfb.c
194
paddr_t machfb_mmap(void *, off_t, int);
sys/arch/sparc64/dev/machfb.c
387
machfb_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/pcons.c
477
paddr_t pcons_mmap(void *, off_t, int);
sys/arch/sparc64/dev/pcons.c
559
pcons_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/psycho.c
102
paddr_t psycho_bus_mmap(bus_space_tag_t, bus_space_tag_t, bus_addr_t, off_t,
sys/arch/sparc64/dev/psycho.c
1046
off_t off, int prot, int flags)
sys/arch/sparc64/dev/pyro.c
125
paddr_t pyro_bus_mmap(bus_space_tag_t, bus_space_tag_t, bus_addr_t, off_t,
sys/arch/sparc64/dev/pyro.c
655
off_t off, int prot, int flags)
sys/arch/sparc64/dev/radeonfb.c
121
paddr_t radeonfb_mmap(void *, off_t, int);
sys/arch/sparc64/dev/radeonfb.c
317
radeonfb_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/raptor.c
133
paddr_t raptor_mmap(void *, off_t, int);
sys/arch/sparc64/dev/raptor.c
297
raptor_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/schizo.c
707
off_t off, int prot, int flags)
sys/arch/sparc64/dev/schizo.c
98
paddr_t schizo_bus_mmap(bus_space_tag_t, bus_space_tag_t, bus_addr_t, off_t,
sys/arch/sparc64/dev/upa.c
210
off_t off, int prot, int flags)
sys/arch/sparc64/dev/upa.c
79
bus_addr_t, off_t, int, int);
sys/arch/sparc64/dev/vgafb.c
325
vgafb_mmap(void *v, off_t off, int prot)
sys/arch/sparc64/dev/vgafb.c
79
paddr_t vgafb_mmap(void *, off_t, int);
sys/arch/sparc64/dev/vpci.c
131
paddr_t vpci_bus_mmap(bus_space_tag_t, bus_space_tag_t, bus_addr_t, off_t,
sys/arch/sparc64/dev/vpci.c
580
off_t off, int prot, int flags)
sys/arch/sparc64/include/bus.h
202
bus_addr_t, off_t, int, int);
sys/arch/sparc64/include/bus.h
267
off_t, /*offset*/
sys/arch/sparc64/include/bus.h
472
bus_dma_segment_t *, int, off_t, int, int);
sys/arch/sparc64/include/bus.h
601
bus_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *sg, int n, off_t o, int p,
sys/arch/sparc64/include/sparc64.h
48
int prom_map_phys(paddr_t paddr, off_t size, vaddr_t vaddr, int mode);
sys/arch/sparc64/sparc64/machdep.c
1385
int nsegs, off_t off, int prot, int flags)
sys/arch/sparc64/sparc64/machdep.c
140
bus_dma_segment_t *segs, int nsegs, off_t off, int prot, int flags);
sys/arch/sparc64/sparc64/machdep.c
1444
paddr_t sparc_bus_mmap(bus_space_tag_t, bus_space_tag_t, bus_addr_t, off_t,
sys/arch/sparc64/sparc64/machdep.c
1630
off_t off, int prot, int flags)
sys/arch/sparc64/sparc64/machdep.c
1872
bus_space_mmap(bus_space_tag_t t, bus_addr_t a, off_t o, int p, int f)
sys/arch/sparc64/sparc64/mem.c
191
mmmmap(dev_t dev, off_t off, int prot)
sys/arch/sparc64/sparc64/ofw_machdep.c
318
prom_map_phys(paddr_t paddr, off_t size, vaddr_t vaddr, int mode)
sys/arch/sparc64/stand/ofwboot/Locore.c
442
OF_map_phys(paddr_t paddr, off_t size, vaddr_t vaddr, int mode)
sys/arch/sparc64/stand/ofwboot/Locore.c
49
static int OF_map_phys(paddr_t paddr, off_t size, vaddr_t vaddr, int mode);
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
194
(void)lseek(fd, (off_t)elf->e_shoff, SEEK_SET);
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
203
if (lseek(fd, (off_t)shp[elf->e_shstrndx].sh_offset, SEEK_SET) == -1) {
sys/ddb/db_dwarf.c
456
if (st.st_size < (off_t)sizeof(Elf_Ehdr))
sys/dev/acpi/acpidmar.c
1114
off_t off, int prot, int flags)
sys/dev/acpi/acpidmar.c
404
static paddr_t dmar_dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t,
sys/dev/fdt/dwpcie.c
1724
dwpcie_atu_write(struct dwpcie_softc *sc, int index, off_t reg,
sys/dev/fdt/dwpcie.c
1742
dwpcie_atu_read(struct dwpcie_softc *sc, int index, off_t reg)
sys/dev/fdt/pciecam.c
117
paddr_t pciecam_bs_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int);
sys/dev/fdt/pciecam.c
496
pciecam_bs_mmap(bus_space_tag_t t, bus_addr_t bpa, off_t off,
sys/dev/fdt/qcscm.c
401
off_t reqoff, respoff;
sys/dev/fdt/qcscm.c
507
off_t reqoff, respoff;
sys/dev/fdt/qcscm.c
588
off_t reqoff, respoff;
sys/dev/fdt/rkdrm.c
201
paddr_t rkdrm_wsmmap(void *, off_t, int);
sys/dev/fdt/rkdrm.c
283
rkdrm_wsmmap(void *v, off_t off, int prot)
sys/dev/fdt/simplefb.c
303
simplefb_wsmmap(void *v, off_t off, int prot)
sys/dev/fdt/simplefb.c
97
paddr_t simplefb_wsmmap(void *, off_t, int);
sys/dev/fdt/ssdfb.c
129
paddr_t ssdfb_mmap(void *, off_t, int);
sys/dev/fdt/ssdfb.c
683
ssdfb_mmap(void *v, off_t off, int prot)
sys/dev/ic/cac.c
844
bv->bv_size = (off_t)blks * CAC_GET2(dinfo.secsize);
sys/dev/ic/sti.c
1246
sti_mmap(void *v, off_t offset, int prot)
sys/dev/ic/sti.c
82
paddr_t sti_mmap(void *, off_t, int);
sys/dev/ic/vga.c
245
paddr_t vga_mmap(void *, off_t, int);
sys/dev/ic/vga.c
528
bus_space_tag_t memt, int type, paddr_t (*map)(void *, off_t, int))
sys/dev/ic/vga.c
659
vga_mmap(void *v, off_t offset, int prot)
sys/dev/ic/vgavar.h
188
int, paddr_t (*)(void *, off_t, int));
sys/dev/ic/vgavar.h
75
paddr_t (*vc_mmap)(void *, off_t, int);
sys/dev/isa/pcdisplay.c
109
static paddr_t pcdisplay_mmap(void *, off_t, int);
sys/dev/isa/pcdisplay.c
331
pcdisplay_mmap(void *v, off_t offset, int prot)
sys/dev/kcov.c
412
kcovmmap(dev_t dev, off_t offset, int prot)
sys/dev/microcode/cyclades/cyzfirm2h.c
58
off_t in_len;
sys/dev/microcode/cyclades/cyzfirm2h.c
91
if (in_len == (off_t) -1)
sys/dev/microcode/cyclades/cyzfirm2h.c
95
i, (off_t) 0);
sys/dev/pci/agp.c
396
agp_mmap(struct agp_softc *sc, off_t off, int prot)
sys/dev/pci/agpvar.h
125
paddr_t agp_mmap(struct agp_softc *, off_t, int);
sys/dev/pci/bktr/bktr_os.c
106
paddr_t bktr_mmap(dev_t, off_t, int);
sys/dev/pci/bktr/bktr_os.c
455
bktr_mmap(dev_t dev, off_t offset, int nprot)
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
3587
paddr_t amdgpu_wsmmap(void *, off_t, int);
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
3682
amdgpu_wsmmap(void *v, off_t off, int prot)
sys/dev/pci/drm/apple/apldrm.c
178
apldrm_wsmmap(void *v, off_t off, int prot)
sys/dev/pci/drm/drm_drv.c
2098
drmmmap(dev_t kdev, off_t offset, int prot)
sys/dev/pci/drm/drm_fb_helper.c
661
static void drm_fb_helper_memory_range_to_clip(struct fb_info *info, off_t off, size_t len,
sys/dev/pci/drm/drm_fb_helper.c
666
off_t end = off + len;
sys/dev/pci/drm/drm_fb_helper.c
683
off_t bit_off = (off % line_length) * 8;
sys/dev/pci/drm/drm_fb_helper.c
684
off_t bit_end = (end % line_length) * 8;
sys/dev/pci/drm/drm_fb_helper.c
694
void drm_fb_helper_damage_range(struct fb_info *info, off_t off, size_t len)
sys/dev/pci/drm/drm_gem_dma_helper.c
187
off_t offset, vaddr_t vaddr, vm_page_t *pps, int npages, int centeridx,
sys/dev/pci/drm/drm_linux.c
2624
dmabuf_seek(struct file *fp, off_t *offset, int whence, struct proc *p)
sys/dev/pci/drm/drm_linux.c
2627
off_t newoff;
sys/dev/pci/drm/drm_linux.c
3214
syncfile_seek(struct file *fp, off_t *offset, int whence, struct proc *p)
sys/dev/pci/drm/drm_linux.c
3216
off_t newoff;
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
917
off_t offset, vaddr_t vaddr, vm_page_t *pps, int npages, int centeridx,
sys/dev/pci/drm/i915/gem/i915_gem_mman.h
42
off_t offset, vaddr_t vaddr, vm_page_t *pps, int npages,
sys/dev/pci/drm/i915/i915_driver.c
1918
paddr_t inteldrm_wsmmap(void *, off_t, int);
sys/dev/pci/drm/i915/i915_driver.c
2026
inteldrm_wsmmap(void *v, off_t off, int prot)
sys/dev/pci/drm/include/drm/drm_drv.h
404
struct uvm_faultinfo *, off_t, vaddr_t,
sys/dev/pci/drm/include/drm/drm_fb_helper.h
271
void drm_fb_helper_damage_range(struct fb_info *info, off_t off, size_t len);
sys/dev/pci/drm/include/drm/drm_gem_dma_helper.h
19
off_t, vaddr_t, vm_page_t *, int, int, vm_prot_t, int);
sys/dev/pci/drm/include/linux/types.h
44
typedef off_t loff_t;
sys/dev/pci/drm/radeon/radeon_drv.c
737
paddr_t radeondrm_wsmmap(void *, off_t, int);
sys/dev/pci/drm/radeon/radeon_drv.c
818
radeondrm_wsmmap(void *v, off_t off, int prot)
sys/dev/pci/tga.c
688
tga_mmap(void *v, off_t offset, int prot)
sys/dev/pci/tga.c
89
paddr_t tga_mmap(void *, off_t, int);
sys/dev/pci/yds.c
400
off_t cb;
sys/dev/pci/ydsreg.h
381
off_t ptbloff;
sys/dev/pci/ydsreg.h
384
off_t rbankoff;
sys/dev/pci/ydsreg.h
388
off_t pbankoff;
sys/dev/pcmcia/cfxga.c
114
paddr_t cfxga_mmap(void *, off_t, int);
sys/dev/pcmcia/cfxga.c
647
cfxga_mmap(void *v, off_t off, int prot)
sys/dev/pv/viogpu.c
59
paddr_t viogpu_wsmmap(void *, off_t, int);
sys/dev/pv/viogpu.c
638
viogpu_wsmmap(void *v, off_t off, int prot)
sys/dev/sbus/agten.c
108
paddr_t agten_mmap(void *, off_t, int);
sys/dev/sbus/agten.c
168
(off_t)getpropint(node, "i128_fb_physaddr", 0x8000000);
sys/dev/sbus/agten.c
286
agten_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/agten.c
97
off_t sc_physoffset; /* offset for frame buffer */
sys/dev/sbus/bwtwo.c
107
paddr_t bwtwo_mmap(void *, off_t, int);
sys/dev/sbus/bwtwo.c
248
bwtwo_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/cgsix.c
494
off_t mo_uaddr;
sys/dev/sbus/cgsix.c
500
cgsix_mmap(void *v, off_t off, int prot)
sys/dev/sbus/cgsix.c
56
paddr_t cgsix_mmap(void *, off_t, int);
sys/dev/sbus/cgthree.c
131
paddr_t cgthree_mmap(void *, off_t, int);
sys/dev/sbus/cgthree.c
328
cgthree_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/cgtwelve.c
425
cgtwelve_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/cgtwelve.c
93
paddr_t cgtwelve_mmap(void *, off_t, int);
sys/dev/sbus/mgx.c
133
paddr_t mgx_mmap(void *, off_t, int);
sys/dev/sbus/mgx.c
396
mgx_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/rfx.c
125
paddr_t rfx_mmap(void *, off_t, int);
sys/dev/sbus/rfx.c
358
rfx_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/tvtwo.c
129
paddr_t tvtwo_mmap(void *, off_t, int);
sys/dev/sbus/tvtwo.c
362
tvtwo_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/vigra.c
188
paddr_t vigra_mmap(void *, off_t, int);
sys/dev/sbus/vigra.c
380
vigra_mmap(void *v, off_t offset, int prot)
sys/dev/sbus/zx.c
124
paddr_t zx_mmap(void *, off_t, int);
sys/dev/sbus/zx.c
366
zx_mmap(void *v, off_t offset, int prot)
sys/dev/sdmmc/if_bwfm_sdio.c
1208
off_t off;
sys/dev/sdmmc/if_bwfm_sdio.c
1322
off_t off;
sys/dev/usb/udl.c
582
udl_mmap(void *v, off_t off, int prot)
sys/dev/usb/udl.c
79
paddr_t udl_mmap(void *, off_t, int);
sys/dev/usb/utvfu.c
1409
utvfu_mappage(void *v, off_t off, int prot)
sys/dev/usb/utvfu.c
773
caddr_t utvfu_mappage(void *, off_t, int);
sys/dev/usb/uvideo.c
264
caddr_t uvideo_mappage(void *, off_t, int);
sys/dev/usb/uvideo.c
4387
uvideo_mappage(void *v, off_t off, int prot)
sys/dev/video.c
437
videommap(dev_t dev, off_t off, int prot)
sys/dev/video_if.h
58
caddr_t (*mappage)(void *, off_t, int);
sys/dev/vnd.c
275
off_t off;
sys/dev/vndioctl.h
55
off_t vnd_size; /* (returned) size of disk */
sys/dev/wscons/wsdisplay.c
1404
wsdisplaymmap(dev_t dev, off_t offset, int prot)
sys/dev/wscons/wsdisplayvar.h
138
paddr_t (*mmap)(void *v, off_t off, int prot);
sys/isofs/cd9660/cd9660_lookup.c
186
(error = cd9660_bufatoff(dp, (off_t)dp->i_offset, NULL,
sys/isofs/cd9660/cd9660_lookup.c
204
error = cd9660_bufatoff(dp, (off_t)dp->i_offset,
sys/isofs/cd9660/cd9660_lookup.c
306
(off_t)saveoffset, NULL, &bp)) != 0)
sys/isofs/cd9660/cd9660_lookup.c
425
cd9660_bufatoff(struct iso_node *ip, off_t offset, char **res,
sys/isofs/cd9660/cd9660_node.c
257
cd9660_bufatoff(inop, (off_t)-(off << imp->im_bshift), NULL,
sys/isofs/cd9660/cd9660_node.c
307
cd9660_bufatoff(inop, (off_t)-(off << imp->im_bshift), NULL,
sys/isofs/cd9660/cd9660_node.h
118
int cd9660_bufatoff(struct iso_node *, off_t, char **, struct buf **);
sys/isofs/cd9660/cd9660_vfsops.c
803
if ((error = cd9660_bufatoff(ip, (off_t)0, NULL, &bp)) != 0) {
sys/isofs/cd9660/cd9660_vfsops.c
825
cd9660_bufatoff(ip, (off_t)-(off << imp->im_bshift),
sys/isofs/cd9660/cd9660_vnops.c
225
off_t diff;
sys/isofs/cd9660/cd9660_vnops.c
242
diff = (off_t)ip->i_size - uio->uio_offset;
sys/isofs/cd9660/cd9660_vnops.c
313
iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off)
sys/isofs/cd9660/cd9660_vnops.c
438
(error = cd9660_bufatoff(dp, (off_t)idp->curroff, NULL, &bp))) {
sys/isofs/cd9660/cd9660_vnops.c
453
error = cd9660_bufatoff(dp, (off_t)idp->curroff,
sys/isofs/cd9660/cd9660_vnops.c
77
off_t saveoff;
sys/isofs/cd9660/cd9660_vnops.c
78
off_t assocoff;
sys/isofs/cd9660/cd9660_vnops.c
79
off_t curroff;
sys/isofs/cd9660/cd9660_vnops.c
81
off_t uio_off;
sys/isofs/cd9660/cd9660_vnops.c
85
int iso_uiodir(struct isoreaddir *, struct dirent *, off_t);
sys/isofs/cd9660/iso_rrip.h
63
off_t iso_ce_off; /* offset of continuation area */
sys/isofs/udf/udf_extern.h
56
int udf_readatoffset(struct unode *, int *, off_t, struct buf **,
sys/isofs/udf/udf_vnops.c
1217
udf_readatoffset(struct unode *up, int *size, off_t offset,
sys/isofs/udf/udf_vnops.c
1272
udf_bmap_internal(struct unode *up, off_t offset, daddr_t *sector,
sys/isofs/udf/udf_vnops.c
451
off_t fsize, offset;
sys/isofs/udf/udf_vnops.c
58
int udf_bmap_internal(struct unode *, off_t, daddr_t *, uint32_t *);
sys/isofs/udf/udf_vnops.c
746
off_t last_off;
sys/kern/exec_elf.c
1135
off_t notestart;
sys/kern/exec_elf.c
1136
off_t secstart;
sys/kern/exec_elf.c
1137
off_t secoff;
sys/kern/exec_elf.c
1159
off_t offset;
sys/kern/exec_elf.c
431
off_t uoff;
sys/kern/kern_acct.c
246
(off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT|IO_NOLIMIT,
sys/kern/kern_descrip.c
536
off_t offset = foffset(fp);
sys/kern/kern_descrip.c
605
off_t offset = foffset(fp);
sys/kern/kern_sig.c
1881
off_t io_offset;
sys/kern/kern_sig.c
2026
off_t coffset = 0;
sys/kern/kern_sysctl.c
2218
uio.uio_offset = (off_t)ps_strings;
sys/kern/kern_sysctl.c
2276
uio.uio_offset = (off_t)(vaddr_t)vargv;
sys/kern/kern_sysctl.c
2298
uio.uio_offset = (off_t)(vaddr_t)varg;
sys/kern/kern_xxx.c
175
error, *(off_t *)retval);
sys/kern/spec_vnops.c
665
return (lf_advlock(&vp->v_speclockf, (off_t)0, ap->a_id,
sys/kern/sys_process.c
685
uio.uio_offset = (off_t)(vaddr_t)addr;
sys/kern/sys_process.c
704
uio.uio_offset = (off_t)(vaddr_t)piod->piod_offs;
sys/kern/sys_process.c
736
if (uio.uio_offset < (off_t)tr->ps_strings)
sys/kern/sys_process.c
739
if (uio.uio_offset > (off_t)tr->ps_strings)
sys/kern/sys_process.c
742
(off_t)tr->ps_strings)
sys/kern/sys_process.c
743
uio.uio_resid = (off_t)tr->ps_strings -
sys/kern/uipc_socket.c
1309
sosplice(struct socket *so, int fd, off_t max, struct timeval *tv)
sys/kern/uipc_socket.c
2184
off_t len;
sys/kern/uipc_socket.c
2186
m->m_len = sizeof(off_t);
sys/kern/uipc_socket.c
2190
memcpy(mtod(m, off_t *), &len, sizeof(off_t));
sys/kern/uipc_socket.c
63
int sosplice(struct socket *, int, off_t, struct timeval *);
sys/kern/vfs_getcwd.c
57
off_t off;
sys/kern/vfs_lockf.c
215
lf_advlock(struct lockf_state **state, off_t size, caddr_t id, int op,
sys/kern/vfs_lockf.c
221
off_t start, end;
sys/kern/vfs_lockf.c
58
off_t lf_start; /* The byte # of the start of the lock */
sys/kern/vfs_lockf.c
59
off_t lf_end; /* The byte # of the end of the lock (-1=EOF)*/
sys/kern/vfs_lockf.c
648
off_t start, end;
sys/kern/vfs_syscalls.c
1944
syscallarg(off_t) offset;
sys/kern/vfs_syscalls.c
1949
off_t offset;
sys/kern/vfs_syscalls.c
1964
*(off_t *)retval = offset;
sys/kern/vfs_syscalls.c
2869
dotruncate(struct proc *p, struct vnode *vp, off_t len)
sys/kern/vfs_syscalls.c
2902
syscallarg(off_t) length;
sys/kern/vfs_syscalls.c
2929
syscallarg(off_t) length;
sys/kern/vfs_syscalls.c
3322
syscallarg(off_t) offset;
sys/kern/vfs_syscalls.c
3350
syscallarg(off_t) offset;
sys/kern/vfs_syscalls.c
3382
syscallarg(off_t) offset;
sys/kern/vfs_syscalls.c
3410
syscallarg(off_t) offset;
sys/kern/vfs_vnops.c
307
vn_rdwr(enum uio_rw rw, struct vnode *vp, caddr_t base, int len, off_t offset,
sys/kern/vfs_vnops.c
352
off_t offset;
sys/kern/vfs_vnops.c
62
int vn_seek(struct file *, off_t *, int, struct proc *);
sys/kern/vfs_vnops.c
638
vn_seek(struct file *fp, off_t *offset, int whence, struct proc *p)
sys/kern/vfs_vnops.c
643
off_t newoff;
sys/kern/vfs_vnops.c
667
newoff = *offset + (off_t)vattr.va_size;
sys/lib/libsa/cd9660.c
340
off_t
sys/lib/libsa/cd9660.c
341
cd9660_seek(struct open_file *f, off_t offset, int where)
sys/lib/libsa/cd9660.c
52
off_t off; /* Current offset within file */
sys/lib/libsa/cd9660.c
54
off_t size; /* Size of file */
sys/lib/libsa/cd9660.h
41
off_t cd9660_seek(struct open_file *f, off_t offset, int where);
sys/lib/libsa/cread.c
358
off_t
sys/lib/libsa/cread.c
359
lseek(int fd, off_t offset, int where)
sys/lib/libsa/cread.c
376
off_t res = olseek(fd, offset, where);
sys/lib/libsa/cread.c
377
if (res != (off_t)-1) {
sys/lib/libsa/cread.c
392
off_t res;
sys/lib/libsa/cread.c
396
if (res == (off_t)-1)
sys/lib/libsa/cread.c
414
off_t toskip = offset - s->stream.total_out;
sys/lib/libsa/cread.c
428
return((off_t)-1);
sys/lib/libsa/cread.c
444
return((off_t)-1);
sys/lib/libsa/loadfile_elf.c
142
if (lseek(fd, (off_t)phdr[i].p_offset, SEEK_SET) == -1) {
sys/lib/libsa/loadfile_elf.c
190
if (lseek(fd, (off_t)elf->e_shoff, SEEK_SET) == -1) {
sys/lib/libsa/loadfile_elf.c
208
if (lseek(fd, (off_t)shp[elf->e_shstrndx].sh_offset, SEEK_SET) == -1) {
sys/lib/libsa/loadfile_elf.c
240
if (lseek(fd, (off_t)shp[i].sh_offset,
sys/lib/libsa/loadfile_elf.c
88
if (lseek(fd, (off_t)elf->e_phoff, SEEK_SET) == -1) {
sys/lib/libsa/lseek.c
66
off_t
sys/lib/libsa/lseek.c
68
lseek(int fd, off_t offset, int where)
sys/lib/libsa/lseek.c
70
olseek(int fd, off_t offset, int where)
sys/lib/libsa/nfs.c
271
nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len)
sys/lib/libsa/nfs.c
564
off_t
sys/lib/libsa/nfs.c
565
nfs_seek(struct open_file *f, off_t offset, int where)
sys/lib/libsa/nfs.c
92
off_t off;
sys/lib/libsa/nfs.h
39
off_t nfs_seek(struct open_file *f, off_t offset, int where);
sys/lib/libsa/nullfs.c
93
off_t
sys/lib/libsa/nullfs.c
94
null_seek(struct open_file *f, off_t offset, int where)
sys/lib/libsa/sha2.h
115
char *SHA384FileChunk(const char *, char *, off_t, off_t)
sys/lib/libsa/sha2.h
132
char *SHA512FileChunk(const char *, char *, off_t, off_t)
sys/lib/libsa/sha2.h
149
char *SHA512_256FileChunk(const char *, char *, off_t, off_t)
sys/lib/libsa/sha2.h
81
char *SHA224FileChunk(const char *, char *, off_t, off_t)
sys/lib/libsa/sha2.h
98
char *SHA256FileChunk(const char *, char *, off_t, off_t)
sys/lib/libsa/stand.h
103
off_t f_offset; /* current file offset (F_RAW) */
sys/lib/libsa/stand.h
173
off_t lseek(int, off_t, int);
sys/lib/libsa/stand.h
185
off_t null_seek(struct open_file *f, off_t offset, int where);
sys/lib/libsa/stand.h
209
off_t olseek(int, off_t, int);
sys/lib/libsa/stand.h
67
off_t (*seek)(struct open_file *f, off_t offset, int where);
sys/lib/libsa/tftp.c
395
off_t
sys/lib/libsa/tftp.c
396
tftp_seek(struct open_file *f, off_t offset, int where)
sys/lib/libsa/tftp.h
110
off_t tftp_seek(struct open_file *, off_t, int);
sys/lib/libsa/ufs.c
655
off_t
sys/lib/libsa/ufs.c
656
ufs_seek(struct open_file *f, off_t offset, int where)
sys/lib/libsa/ufs.c
81
off_t f_seekp; /* seek pointer */
sys/lib/libsa/ufs.h
41
off_t ufs_seek(struct open_file *f, off_t offset, int where);
sys/lib/libsa/ufs2.c
651
off_t
sys/lib/libsa/ufs2.c
652
ufs2_seek(struct open_file *f, off_t offset, int where)
sys/lib/libsa/ufs2.c
80
off_t f_seekp; /* seek pointer */
sys/lib/libsa/ufs2.h
38
off_t ufs2_seek(struct open_file *, off_t, int);
sys/lib/libz/zconf.h
501
# define z_off_t off_t
sys/miscfs/fuse/fusefs_node.h
51
off_t filesize;
sys/msdosfs/msdosfs_vnops.c
1428
off_t offset, wlast = -1;
sys/nfs/nfs_bio.c
181
if (offdiff < (off_t)n)
sys/nfs/nfs_bio.c
556
uiop->uio_offset = ((off_t)bp->b_blkno) << DEV_BSHIFT;
sys/nfs/nfs_bio.c
577
uiop->uio_offset = ((off_t)bp->b_blkno) << DEV_BSHIFT;
sys/nfs/nfs_bio.c
592
len = np->n_size - ((((off_t)bp->b_blkno) << DEV_BSHIFT)
sys/nfs/nfs_bio.c
610
uiop->uio_offset = (off_t)0;
sys/nfs/nfs_bio.c
627
uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE
sys/nfs/nfs_bio.c
77
off_t offdiff;
sys/nfs/nfs_serv.c
2470
io.uio_offset = (off_t)off;
sys/nfs/nfs_serv.c
2480
off = (off_t)io.uio_offset;
sys/nfs/nfs_serv.c
2692
io.uio_offset = (off_t)off;
sys/nfs/nfs_serv.c
647
off_t off;
sys/nfs/nfs_serv.c
672
off = (off_t)fxdr_unsigned(u_int32_t, *tl);
sys/nfs/nfs_serv.c
835
off_t off;
sys/nfs/nfs_serv.c
866
off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
sys/nfs/nfs_subs.c
1217
off_t lo, hi;
sys/nfs/nfs_subs.c
1221
lo = (off_t)bp->b_blkno * DEV_BSIZE;
sys/nfs/nfs_subs.c
1231
off_t lo, hi;
sys/nfs/nfs_subs.c
1235
lo = (off_t)bp->b_blkno * DEV_BSIZE;
sys/nfs/nfs_subs.c
1245
off_t lo, hi;
sys/nfs/nfs_subs.c
1247
lo = (off_t)bp->b_blkno * DEV_BSIZE;
sys/nfs/nfs_subs.c
1266
off_t lo, hi;
sys/nfs/nfs_subs.c
1271
lo = (off_t)bp->b_blkno * DEV_BSIZE;
sys/nfs/nfs_subs.c
1297
off_t lo, hi;
sys/nfs/nfs_subs.c
1299
lo = (off_t)bp->b_blkno * DEV_BSIZE;
sys/nfs/nfs_subs.c
1318
off_t lo, hi;
sys/nfs/nfs_subs.c
1323
lo = (off_t)bp->b_blkno * DEV_BSIZE;
sys/nfs/nfs_vnops.c
3326
off_t off;
sys/nfs/nfsnode.h
100
off_t n_pushhi; /* Last block in range */
sys/nfs/nfsnode.h
84
off_t nd_direof; /* Dir. EOF offset cache */
sys/nfs/nfsnode.h
97
off_t n_pushedlo; /* 1st blk in committed range */
sys/nfs/nfsnode.h
98
off_t n_pushedhi; /* Last block in range */
sys/nfs/nfsnode.h
99
off_t n_pushlo; /* 1st block in commit range */
sys/ntfs/ntfs.h
296
#define ntfs_cntob(cn) (off_t)((cn) * (ntmp)->ntm_spc * (ntmp)->ntm_bps)
sys/ntfs/ntfs.h
299
#define ntfs_btocnoff(off) (off_t)((off) % ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
sys/ntfs/ntfs.h
37
#define BBOFF ((off_t)(0))
sys/ntfs/ntfs_subr.c
1345
struct ntvattr *vap, off_t roff, size_t rsize, void *rdata, size_t *initp,
sys/ntfs/ntfs_subr.c
1349
off_t off;
sys/ntfs/ntfs_subr.c
1473
u_int32_t attrnum, char *attrname, off_t roff, size_t rsize, void *rdata,
sys/ntfs/ntfs_subr.c
1478
off_t off = roff;
sys/ntfs/ntfs_subr.c
1519
char *attrname, off_t roff, size_t rsize, void *rdata, struct uio *uio)
sys/ntfs/ntfs_subr.c
1542
off_t off = roff;
sys/ntfs/ntfs_subr.h
77
int ntfs_readntvattr_plain( struct ntfsmount *, struct ntnode *, struct ntvattr *, off_t, size_t, void *,size_t *, struct uio *);
sys/ntfs/ntfs_subr.h
78
int ntfs_readattr_plain( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *,size_t *, struct uio *);
sys/ntfs/ntfs_subr.h
79
int ntfs_readattr( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *, struct uio *);
sys/ntfs/ntfs_vnops.c
422
off_t off;
sys/sys/buf.h
141
off_t b_poffs; /* Offset within object */
sys/sys/conf.h
144
paddr_t (*d_mmap)(dev_t, off_t, int);
sys/sys/conf.h
159
#define dev_type_mmap(n) paddr_t n(dev_t, off_t, int)
sys/sys/fcntl.h
192
off_t l_start; /* starting offset */
sys/sys/fcntl.h
193
off_t l_len; /* len = 0 means until end of file */
sys/sys/file.h
122
static inline off_t
sys/sys/file.h
125
off_t offset;
sys/sys/file.h
72
int (*fo_seek)(struct file *, off_t *, int, struct proc *);
sys/sys/file.h
96
off_t f_offset; /* [f,v] offset */
sys/sys/fusebuf.h
46
off_t fi_off; /* offset for the io */
sys/sys/lockf.h
43
off_t, caddr_t, int, struct flock *, int);
sys/sys/mman.h
151
void * mmap(void *, size_t, int, int, int, off_t);
sys/sys/mman.h
163
void * mquery(void *, size_t, int, int, int, off_t);
sys/sys/mount.h
234
off_t ta_size_max;
sys/sys/socket.h
146
off_t sp_max; /* if set, maximum bytes to splice */
sys/sys/socketvar.h
72
off_t ssp_len; /* [mr] number of bytes spliced */
sys/sys/socketvar.h
73
off_t ssp_max; /* [I] maximum number of bytes */
sys/sys/stat.h
65
off_t st_size; /* file size, in bytes */
sys/sys/syscallargs.h
234
syscallarg(off_t) pos;
sys/sys/syscallargs.h
381
syscallarg(off_t) pos;
sys/sys/syscallargs.h
776
syscallarg(off_t) offset;
sys/sys/syscallargs.h
782
syscallarg(off_t) length;
sys/sys/syscallargs.h
787
syscallarg(off_t) length;
sys/sys/syscallargs.h
794
syscallarg(off_t) offset;
sys/sys/syscallargs.h
801
syscallarg(off_t) offset;
sys/sys/syscallargs.h
808
syscallarg(off_t) offset;
sys/sys/syscallargs.h
815
syscallarg(off_t) offset;
sys/sys/types.h
207
off_t lseek(int, off_t, int);
sys/sys/types.h
208
int ftruncate(int, off_t);
sys/sys/types.h
209
int truncate(const char *, off_t);
sys/sys/uio.h
70
off_t uio_offset; /* offset into file this uio corresponds to */
sys/sys/vnode.h
625
int vn_rdwr(enum uio_rw, struct vnode *, caddr_t, int, off_t,
sys/sys/vnode.h
644
void uvm_vnp_setsize(struct vnode *, off_t);
sys/tmpfs/tmpfs.h
111
off_t tn_size;
sys/tmpfs/tmpfs.h
283
tmpfs_dirent_t *tmpfs_dir_lookupbyseq(tmpfs_node_t *, off_t);
sys/tmpfs/tmpfs.h
286
int tmpfs_reg_resize(struct vnode *, off_t);
sys/tmpfs/tmpfs.h
287
int tmpfs_truncate(struct vnode *, off_t);
sys/tmpfs/tmpfs_subr.c
1157
tmpfs_truncate(struct vnode *vp, off_t length)
sys/tmpfs/tmpfs_subr.c
681
tmpfs_dir_lookupbyseq(tmpfs_node_t *node, off_t seq)
sys/tmpfs/tmpfs_subr.c
712
off_t next = 0;
sys/tmpfs/tmpfs_subr.c
869
tmpfs_reg_resize(struct vnode *vp, off_t newsize)
sys/tmpfs/tmpfs_subr.c
875
off_t oldsize;
sys/tmpfs/tmpfs_vnops.c
588
off_t oldsize;
sys/tmpfs/tmpfs_vnops.c
663
off_t a_offlo;
sys/tmpfs/tmpfs_vnops.c
664
off_t a_offhi;
sys/ufs/ext2fs/ext2fs.h
220
off_t e2fs_maxfilesize; /* depends on LARGE/HUGE flags */
sys/ufs/ext2fs/ext2fs.h
225
e2fs_overflow(struct m_ext2fs *fs, off_t lower, off_t value)
sys/ufs/ext2fs/ext2fs.h
56
#define BBOFF ((off_t)(0))
sys/ufs/ext2fs/ext2fs.h
57
#define SBOFF ((off_t)(BBOFF + BBSIZE))
sys/ufs/ext2fs/ext2fs_extern.h
80
int ext2fs_truncate(struct inode *, off_t, int, struct ucred *);
sys/ufs/ext2fs/ext2fs_extern.h
93
int ext2fs_bufatoff(struct inode *, off_t, char **, struct buf **);
sys/ufs/ext2fs/ext2fs_inode.c
123
error = ext2fs_truncate(ip, (off_t)0, 0, NOCRED);
sys/ufs/ext2fs/ext2fs_inode.c
207
ext2fs_truncate(struct inode *oip, off_t length, int flags, struct ucred *cred)
sys/ufs/ext2fs/ext2fs_inode.c
219
off_t osize;
sys/ufs/ext2fs/ext2fs_lookup.c
1047
sizeof (struct ext2fs_dirtemplate), (off_t)0,
sys/ufs/ext2fs/ext2fs_lookup.c
142
off_t off = uio->uio_offset;
sys/ufs/ext2fs/ext2fs_lookup.c
321
(error = ext2fs_bufatoff(dp, (off_t)dp->i_offset,
sys/ufs/ext2fs/ext2fs_lookup.c
338
error = ext2fs_bufatoff(dp, (off_t)dp->i_offset, NULL, &bp);
sys/ufs/ext2fs/ext2fs_lookup.c
828
if ((error = ext2fs_bufatoff(dp, (off_t)dp->i_offset, &dirbuf, &bp))
sys/ufs/ext2fs/ext2fs_lookup.c
882
error = ext2fs_truncate(dp, (off_t)dp->i_endoff, IO_SYNC,
sys/ufs/ext2fs/ext2fs_lookup.c
912
error = ext2fs_bufatoff(dp, (off_t)dp->i_offset, (char **)&ep,
sys/ufs/ext2fs/ext2fs_lookup.c
924
error = ext2fs_bufatoff(dp, (off_t)(dp->i_offset - dp->i_count),
sys/ufs/ext2fs/ext2fs_lookup.c
947
error = ext2fs_bufatoff(dp, (off_t)dp->i_offset, (char **)&ep, &bp);
sys/ufs/ext2fs/ext2fs_lookup.c
974
off_t off;
sys/ufs/ext2fs/ext2fs_readwrite.c
166
off_t bytesinfile;
sys/ufs/ext2fs/ext2fs_readwrite.c
243
off_t osize;
sys/ufs/ext2fs/ext2fs_readwrite.c
88
off_t bytesinfile;
sys/ufs/ext2fs/ext2fs_subr.c
60
ext2fs_bufatoff(struct inode *ip, off_t offset, char **res, struct buf **bpp)
sys/ufs/ext2fs/ext2fs_vfsops.c
337
static off_t
sys/ufs/ext2fs/ext2fs_vfsops.c
341
off_t b = fs->e2fs_bsize / 4;
sys/ufs/ext2fs/ext2fs_vfsops.c
342
off_t physically, logically;
sys/ufs/ext2fs/ext2fs_vnops.c
1027
error = ext2fs_truncate(ip, (off_t)0, IO_SYNC, cnp->cn_cred);
sys/ufs/ext2fs/ext2fs_vnops.c
1062
error = vn_rdwr(UIO_WRITE, vp, ap->a_target, len, (off_t)0,
sys/ufs/ext2fs/ext2fs_vnops.c
749
error = ext2fs_truncate(xp, (off_t)0, IO_SYNC,
sys/ufs/ext2fs/ext2fs_vnops.c
801
sizeof (struct ext2fs_dirtemplate), (off_t)0,
sys/ufs/ext2fs/ext2fs_vnops.c
816
(off_t)0, UIO_SYSSPACE,
sys/ufs/ext2fs/ext2fs_vnops.c
926
sizeof (dirtemplate), (off_t)0, UIO_SYSSPACE,
sys/ufs/ffs/ffs_balloc.c
404
ffs2_balloc(struct inode *ip, off_t off, int size, struct ucred *cred,
sys/ufs/ffs/ffs_balloc.c
59
int ffs1_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **);
sys/ufs/ffs/ffs_balloc.c
61
int ffs2_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **);
sys/ufs/ffs/ffs_balloc.c
70
ffs1_balloc(struct inode *ip, off_t startoffset, int size, struct ucred *cred,
sys/ufs/ffs/ffs_balloc.c
827
ffs_balloc(struct inode *ip, off_t off, int size, struct ucred *cred,
sys/ufs/ffs/ffs_extern.h
118
int ffs_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **);
sys/ufs/ffs/ffs_extern.h
123
int ffs_truncate(struct inode *, off_t, int, struct ucred *);
sys/ufs/ffs/ffs_extern.h
126
int ffs_bufatoff(struct inode *, off_t, char **, struct buf **);
sys/ufs/ffs/ffs_inode.c
127
ffs_truncate(struct inode *oip, off_t length, int flags, struct ucred *cred)
sys/ufs/ffs/ffs_inode.c
138
off_t osize;
sys/ufs/ffs/ffs_subr.c
57
ffs_bufatoff(struct inode *ip, off_t offset, char **res, struct buf **bpp)
sys/ufs/ffs/ffs_vnops.c
190
off_t bytesinfile;
sys/ufs/ffs/ffs_vnops.c
281
off_t osize;
sys/ufs/ffs/fs.h
521
((off_t)(blk) << (fs)->fs_bshift)
sys/ufs/ffs/fs.h
61
#define BBOFF ((off_t)(0))
sys/ufs/ffs/fs.h
62
#define SBOFF ((off_t)(BBOFF + BBSIZE))
sys/ufs/ufs/inode.h
133
int (* iv_truncate)(struct inode *, off_t, int,
sys/ufs/ufs/inode.h
139
int (* iv_buf_alloc)(struct inode *, off_t, int, struct ucred *,
sys/ufs/ufs/inode.h
141
int (* iv_bufatoff)(struct inode *, off_t offset, char **res,
sys/ufs/ufs/ufs_dirhash.c
208
if (UFS_BUFATOFF(ip, (off_t)pos, NULL, &bp) != 0)
sys/ufs/ufs/ufs_dirhash.c
403
if (UFS_BUFATOFF(ip, (off_t)blkoff, NULL, &bp) != 0)
sys/ufs/ufs/ufs_dirhash.c
511
error = UFS_BUFATOFF(ip, (off_t)pos, (char **)&dp, &bp);
sys/ufs/ufs/ufs_inode.c
84
error = UFS_TRUNCATE(ip, (off_t)0, 0, NOCRED);
sys/ufs/ufs/ufs_lookup.c
1040
sizeof (struct dirtemplate), (off_t)0, UIO_SYSSPACE,
sys/ufs/ufs/ufs_lookup.c
239
(error = UFS_BUFATOFF(dp, (off_t)dp->i_offset, NULL, &bp)))
sys/ufs/ufs/ufs_lookup.c
256
error = UFS_BUFATOFF(dp, (off_t)dp->i_offset, NULL,
sys/ufs/ufs/ufs_lookup.c
704
if ((error = UFS_BUF_ALLOC(dp, (off_t)dp->i_offset, DIRBLKSIZ,
sys/ufs/ufs/ufs_lookup.c
753
if ((error = UFS_BUFATOFF(dp, (off_t)dp->i_offset, &dirbuf, &bp))
sys/ufs/ufs/ufs_lookup.c
847
error = UFS_TRUNCATE(dp, (off_t)dp->i_endoff, IO_SYNC, cr);
sys/ufs/ufs/ufs_lookup.c
881
(off_t)(dp->i_offset - dp->i_count), (char **)&ep, &bp)) != 0)
sys/ufs/ufs/ufs_lookup.c
939
error = UFS_BUFATOFF(dp, (off_t)dp->i_offset, (char **)&ep, &bp);
sys/ufs/ufs/ufs_lookup.c
969
off_t off, m;
sys/ufs/ufs/ufs_quota.c
1004
auio.uio_offset = (off_t)(dq->dq_id * sizeof (struct dqblk));
sys/ufs/ufs/ufs_quota.c
910
auio.uio_offset = (off_t)(id * sizeof (struct dqblk));
sys/ufs/ufs/ufs_vnops.c
1153
if ((error = UFS_BUF_ALLOC(ip, (off_t)0, DIRBLKSIZ, cnp->cn_cred,
sys/ufs/ufs/ufs_vnops.c
1265
error = UFS_TRUNCATE(ip, (off_t)0, DOINGASYNC(vp) ? 0 : IO_SYNC,
sys/ufs/ufs/ufs_vnops.c
1309
error = vn_rdwr(UIO_WRITE, vp, ap->a_target, len, (off_t)0,
sys/ufs/ufs/ufs_vnops.c
1332
off_t off = uio->uio_offset;
sys/ufs/ufs/ufs_vnops.c
989
if ((error = UFS_TRUNCATE(VTOI(tvp), (off_t)0, IO_SYNC,
sys/uvm/uvm_device.c
105
mapfn == (paddr_t (*)(dev_t, off_t, int)) enodev ||
sys/uvm/uvm_device.c
106
mapfn == (paddr_t (*)(dev_t, off_t, int)) nullop)
sys/uvm/uvm_device.c
319
off_t curr_offset;
sys/uvm/uvm_device.c
323
paddr_t (*mapfn)(dev_t, off_t, int);
sys/uvm/uvm_device.c
95
paddr_t (*mapfn)(dev_t, off_t, int);
sys/uvm/uvm_extern.h
66
typedef off_t voff_t; /* XXX: offset within a uvm_object */
sys/uvm/uvm_mmap.c
126
syscallarg(off_t) pos;
sys/uvm/uvm_mmap.c
217
syscallarg(off_t) pos;
sys/uvm/uvm_mmap.c
221
off_t pos;
sys/uvm/uvm_object.c
196
off_t offset;
sys/uvm/uvm_swap.c
1149
off_t byteoff;
sys/uvm/uvm_vnode.c
1134
off_t file_offset;
sys/uvm/uvm_vnode.c
1408
uvm_vnp_setsize(struct vnode *vp, off_t newsize)
usr.bin/aucat/afile.c
714
off_t maxread;
usr.bin/aucat/afile.c
740
off_t maxwrite;
usr.bin/aucat/afile.c
766
afile_seek(struct afile *f, off_t pos)
usr.bin/aucat/afile.h
42
off_t curpos; /* read/write position (bytes) */
usr.bin/aucat/afile.h
43
off_t startpos; /* where payload starts */
usr.bin/aucat/afile.h
44
off_t endpos; /* where payload ends */
usr.bin/aucat/afile.h
45
off_t maxpos; /* max allowed pos (.wav limitation) */
usr.bin/aucat/afile.h
52
int afile_seek(struct afile *, off_t);
usr.bin/cdio/cdio.c
579
off_t availblk, needblk = 0;
usr.bin/cdio/extern.h
34
off_t sz;
usr.bin/cdio/extern.h
35
off_t off;
usr.bin/cdio/extern.h
86
extern int get_disc_size(off_t *);
usr.bin/cdio/mmc.c
576
get_disc_size(off_t *availblk)
usr.bin/cmp/cmp.c
128
static off_t
usr.bin/cmp/cmp.c
131
off_t skip;
usr.bin/cmp/cmp.c
49
static off_t get_skip(const char *, const char *);
usr.bin/cmp/cmp.c
56
off_t skip1, skip2;
usr.bin/cmp/extern.h
38
void c_regular(int, char *, off_t, off_t, int, char *, off_t, off_t);
usr.bin/cmp/extern.h
39
void c_special(int, char *, off_t, int, char *, off_t);
usr.bin/cmp/extern.h
40
void diffmsg(char *, char *, off_t, off_t);
usr.bin/cmp/misc.c
51
diffmsg(char *file1, char *file2, off_t byte, off_t line)
usr.bin/cmp/regular.c
47
c_regular(int fd1, char *file1, off_t skip1, off_t len1,
usr.bin/cmp/regular.c
48
int fd2, char *file2, off_t skip2, off_t len2)
usr.bin/cmp/regular.c
51
off_t byte, length, line;
usr.bin/cmp/special.c
43
c_special(int fd1, char *file1, off_t skip1, int fd2, char *file2, off_t skip2)
usr.bin/cmp/special.c
46
off_t byte, line;
usr.bin/compress/main.c
139
static void verbose_info(const char *, off_t, off_t, u_int32_t);
usr.bin/compress/main.c
907
static off_t compressed_total, uncompressed_total, header_total;
usr.bin/compress/main.c
953
verbose_info(const char *file, off_t compressed, off_t uncompressed,
usr.bin/compress/nullopen.c
101
info->total_in = (off_t) s->total_in;
usr.bin/compress/nullopen.c
102
info->total_out = (off_t) s->total_out;
usr.bin/compress/nullopen.c
39
off_t total_in;
usr.bin/compress/nullopen.c
40
off_t total_out;
usr.bin/compress/zopen.c
334
info->total_in = (off_t)zs->zs_in_count;
usr.bin/compress/zopen.c
335
info->total_out = (off_t)zs->zs_bytes_out;
usr.bin/csplit/csplit.c
324
if (ftello(ofp) < (off_t)sizeof(buf))
usr.bin/csplit/csplit.c
327
fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR);
usr.bin/csplit/csplit.c
332
if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0)
usr.bin/csplit/csplit.c
340
if (fseeko(ofp, (off_t)(nread - i + 1), SEEK_CUR) != 0)
usr.bin/csplit/csplit.c
90
off_t truncofs; /* Offset this file should be truncated at */
usr.bin/cvs/diff_internals.c
183
static void prepare(int, FILE *, off_t, int);
usr.bin/cvs/diff_internals.c
203
static char *preadline(int, size_t, off_t);
usr.bin/cvs/diff_internals.c
450
prepare(int i, FILE *fd, off_t filesize, int flags)
usr.bin/cvs/diff_internals.c
864
preadline(int fd, size_t rlen, off_t off)
usr.bin/cvs/file.c
1044
MAP_FILE, fd1, (off_t)0)) == MAP_FAILED)
usr.bin/cvs/file.c
1048
MAP_FILE, fd2, (off_t)0)) == MAP_FAILED)
usr.bin/cvs/file.c
1102
MAP_FILE, src, (off_t)0)) == MAP_FAILED) {
usr.bin/cvs/remote.c
167
off_t total;
usr.bin/diff/diffreg.c
187
static void prepare(int, FILE *, off_t, int);
usr.bin/diff/diffreg.c
206
static char *preadline(int, size_t, off_t);
usr.bin/diff/diffreg.c
477
lseek(ofd, (off_t)0, SEEK_SET);
usr.bin/diff/diffreg.c
499
prepare(int i, FILE *fd, off_t filesize, int flags)
usr.bin/diff/diffreg.c
931
preadline(int fd, size_t rlen, off_t off)
usr.bin/dig/lib/isc/include/isc/log.h
125
off_t maximum_size;
usr.bin/find/find.h
72
off_t _o_data; /* file size */
usr.bin/find/function.c
1466
off_t size;
usr.bin/finger/util.c
199
pread(fd, &ll, sizeof(ll), (off_t)pn->uid * sizeof(ll)) !=
usr.bin/ftp/cmds.c
1479
off_t nrestart_point;
usr.bin/ftp/cmds.c
1571
off_t size;
usr.bin/ftp/cmds.c
1629
off_t orestart_point;
usr.bin/ftp/cmds.c
302
off_t ret;
usr.bin/ftp/cmds.c
336
off_t ret;
usr.bin/ftp/cmds.c
421
off_t ret;
usr.bin/ftp/extern.h
103
off_t remotesize(const char *, int);
usr.bin/ftp/extern.h
140
extern off_t restart_point;
usr.bin/ftp/fetch.c
189
off_t hashbytes;
usr.bin/ftp/fetch.c
321
off_t hashbytes;
usr.bin/ftp/ftp.c
583
volatile off_t hashbytes;
usr.bin/ftp/ftp.c
877
volatile off_t hashbytes;
usr.bin/ftp/ftp.c
99
off_t restart_point = 0;
usr.bin/ftp/ftp_var.h
166
extern off_t bytes; /* current # of bytes read */
usr.bin/ftp/ftp_var.h
167
extern off_t filesize; /* size of file being transferred */
usr.bin/ftp/main.c
152
off_t bytes;
usr.bin/ftp/main.c
153
off_t filesize;
usr.bin/ftp/util.c
568
off_t
usr.bin/ftp/util.c
572
off_t size;
usr.bin/ftp/util.c
759
static off_t lastsize;
usr.bin/ftp/util.c
762
off_t cursize, abbrevsize;
usr.bin/ftp/util.c
925
off_t bs;
usr.bin/gprof/elf.c
79
h.e_shoff + (off_t)h.e_shnum * sizeof(Elf_Shdr) > s.st_size)
usr.bin/grep/grep.h
48
off_t off;
usr.bin/grep/mmfile.c
53
mmf->base = mmap(NULL, mmf->len, PROT_READ, MAP_PRIVATE, mmf->fd, (off_t)0);
usr.bin/hexdump/display.c
329
off_t cnt;
usr.bin/hexdump/display.c
49
static off_t address; /* address/offset in stream */
usr.bin/hexdump/display.c
50
static off_t eaddress; /* end address */
usr.bin/hexdump/display.c
65
off_t saveaddress;
usr.bin/hexdump/hexdump.h
80
extern off_t skip; /* bytes to skip */
usr.bin/hexdump/hexsyntax.c
44
off_t skip; /* bytes to skip */
usr.bin/hexdump/hexsyntax.c
92
if ((skip = (off_t)strtoll(optarg, &p, 0)) < 0 ||
usr.bin/kdump/kdump.c
528
off_t padtest_two;
usr.bin/last/last.c
254
off_t bl;
usr.bin/lastcomm/lastcomm.c
65
off_t size;
usr.bin/less/brac.c
32
off_t pos;
usr.bin/less/ch.c
146
off_t pos;
usr.bin/less/ch.c
147
off_t len;
usr.bin/less/ch.c
229
if (lseek(ch_file, (off_t)pos, SEEK_SET) == (off_t)-1) {
usr.bin/less/ch.c
26
typedef off_t BLOCKNUM;
usr.bin/less/ch.c
429
ch_seek(off_t pos)
usr.bin/less/ch.c
432
off_t len;
usr.bin/less/ch.c
468
off_t len;
usr.bin/less/ch.c
525
off_t
usr.bin/less/ch.c
540
off_t
usr.bin/less/ch.c
60
off_t fpos;
usr.bin/less/ch.c
64
off_t fsize;
usr.bin/less/ch.c
646
if (lseek(ch_file, (off_t)0, SEEK_SET) == (off_t)-1) {
usr.bin/less/ch.c
719
return (lseek(f, (off_t)1, SEEK_SET) != (off_t)-1);
usr.bin/less/cmdbuf.c
1130
off_t
usr.bin/less/cmdbuf.c
1134
off_t n = 0;
usr.bin/less/command.c
1246
jump_line_loc((off_t) number, jump_sline);
usr.bin/less/command.c
1470
off_t pos = tagsearch();
usr.bin/less/command.c
1485
off_t pos = tagsearch();
usr.bin/less/command.c
36
extern off_t highest_hilite;
usr.bin/less/command.c
53
static off_t number; /* The number typed by the user */
usr.bin/less/command.c
59
static off_t bottompos;
usr.bin/less/command.c
879
off_t curr_len;
usr.bin/less/decode.c
623
off_t len;
usr.bin/less/decode.c
658
if (lseek(f, (off_t)0, SEEK_SET) == (off_t)-1) {
usr.bin/less/edit.c
650
if (lseek(logfile, (off_t)0, SEEK_END) == (off_t)-1) {
usr.bin/less/filename.c
360
if (lseek(f, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/less/filename.c
493
off_t
usr.bin/less/forwback.c
116
forw(int n, off_t pos, int force, int only_last, int nblank)
usr.bin/less/forwback.c
241
back(int n, off_t pos, int force, int only_last)
usr.bin/less/forwback.c
289
off_t pos;
usr.bin/less/forwback.c
333
off_t pos;
usr.bin/less/forwback.c
53
off_t pos;
usr.bin/less/forwback.c
80
off_t pos;
usr.bin/less/funcs.h
127
off_t filesize(int);
usr.bin/less/funcs.h
132
void forw(int, off_t, int, int, int);
usr.bin/less/funcs.h
133
void back(int, off_t, int, int);
usr.bin/less/funcs.h
153
off_t forw_line(off_t);
usr.bin/less/funcs.h
154
off_t back_line(off_t);
usr.bin/less/funcs.h
155
void set_attnpos(off_t);
usr.bin/less/funcs.h
157
void jump_back(off_t);
usr.bin/less/funcs.h
160
void jump_line_loc(off_t, int);
usr.bin/less/funcs.h
161
void jump_loc(off_t, int);
usr.bin/less/funcs.h
164
void plinenum(off_t);
usr.bin/less/funcs.h
167
int pappend(char, off_t);
usr.bin/less/funcs.h
173
off_t forw_raw_line(off_t, char **, int *);
usr.bin/less/funcs.h
174
off_t back_raw_line(off_t, char **, int *);
usr.bin/less/funcs.h
176
void add_lnum(off_t, off_t);
usr.bin/less/funcs.h
177
off_t find_linenum(off_t);
usr.bin/less/funcs.h
178
off_t find_pos(off_t);
usr.bin/less/funcs.h
179
off_t currline(int);
usr.bin/less/funcs.h
187
off_t markpos(int);
usr.bin/less/funcs.h
222
int percentage(off_t, off_t);
usr.bin/less/funcs.h
223
off_t percent_pos(off_t, int, long);
usr.bin/less/funcs.h
236
off_t position(int);
usr.bin/less/funcs.h
237
void add_forw_pos(off_t);
usr.bin/less/funcs.h
238
void add_back_pos(off_t);
usr.bin/less/funcs.h
241
int onscreen(off_t);
usr.bin/less/funcs.h
256
int is_filtered(off_t);
usr.bin/less/funcs.h
257
int is_hilited(off_t, off_t, int, int *);
usr.bin/less/funcs.h
261
void prep_hilite(off_t, off_t, int);
usr.bin/less/funcs.h
269
off_t tagsearch(void);
usr.bin/less/funcs.h
44
int ch_seek(off_t);
usr.bin/less/funcs.h
47
off_t ch_length(void);
usr.bin/less/funcs.h
48
off_t ch_tell(void);
usr.bin/less/funcs.h
76
off_t cmd_int(long *);
usr.bin/less/input.c
220
off_t
usr.bin/less/input.c
221
back_line(off_t curr_pos)
usr.bin/less/input.c
223
off_t new_pos, begin_new_pos, base_pos;
usr.bin/less/input.c
30
extern off_t start_attnpos;
usr.bin/less/input.c
31
extern off_t end_attnpos;
usr.bin/less/input.c
378
set_attnpos(off_t pos)
usr.bin/less/input.c
42
off_t
usr.bin/less/input.c
43
forw_line(off_t curr_pos)
usr.bin/less/input.c
45
off_t base_pos;
usr.bin/less/input.c
46
off_t new_pos;
usr.bin/less/jump.c
113
off_t pos, len;
usr.bin/less/jump.c
140
jump_line_loc(off_t pos, int sline)
usr.bin/less/jump.c
165
jump_loc(off_t pos, int sline)
usr.bin/less/jump.c
168
off_t tpos;
usr.bin/less/jump.c
169
off_t bpos;
usr.bin/less/jump.c
32
off_t pos;
usr.bin/less/jump.c
33
off_t end_pos;
usr.bin/less/jump.c
66
jump_back(off_t linenum)
usr.bin/less/jump.c
68
off_t pos;
usr.bin/less/less.h
185
void postoa(off_t, char *, size_t);
usr.bin/less/less.h
74
off_t pos;
usr.bin/less/less.h
81
off_t p_linenum;
usr.bin/less/line.c
1023
off_t
usr.bin/less/line.c
1024
forw_raw_line(off_t curr_pos, char **linep, int *line_lenp)
usr.bin/less/line.c
1028
off_t new_pos;
usr.bin/less/line.c
1065
off_t
usr.bin/less/line.c
1066
back_raw_line(off_t curr_pos, char **linep, int *line_lenp)
usr.bin/less/line.c
1070
off_t new_pos;
usr.bin/less/line.c
141
plinenum(off_t pos)
usr.bin/less/line.c
143
off_t linenum = 0;
usr.bin/less/line.c
33
off_t highest_hilite; /* Pos of last hilite in file found so far */
usr.bin/less/line.c
41
static off_t pendpos;
usr.bin/less/line.c
47
static int do_append(LWCHAR, char *, off_t);
usr.bin/less/line.c
488
store_char(LWCHAR ch, char a, char *rep, off_t pos)
usr.bin/less/line.c
573
store_tab(int attr, off_t pos)
usr.bin/less/line.c
600
store_prchar(char c, off_t pos)
usr.bin/less/line.c
62
extern off_t start_attnpos;
usr.bin/less/line.c
625
flush_mbc_buf(off_t pos)
usr.bin/less/line.c
63
extern off_t end_attnpos;
usr.bin/less/line.c
642
pappend(char c, off_t pos)
usr.bin/less/line.c
67
static off_t mbc_pos;
usr.bin/less/line.c
736
do_append(LWCHAR ch, char *rep, off_t pos)
usr.bin/less/linenum.c
126
add_lnum(off_t linenum, off_t pos)
usr.bin/less/linenum.c
132
off_t mingap;
usr.bin/less/linenum.c
253
off_t
usr.bin/less/linenum.c
254
find_linenum(off_t pos)
usr.bin/less/linenum.c
257
off_t linenum;
usr.bin/less/linenum.c
258
off_t cpos;
usr.bin/less/linenum.c
361
off_t
usr.bin/less/linenum.c
362
find_pos(off_t linenum)
usr.bin/less/linenum.c
365
off_t cpos;
usr.bin/less/linenum.c
366
off_t clinenum;
usr.bin/less/linenum.c
433
off_t
usr.bin/less/linenum.c
436
off_t pos;
usr.bin/less/linenum.c
437
off_t len;
usr.bin/less/linenum.c
438
off_t linenum;
usr.bin/less/linenum.c
49
off_t pos; /* File position */
usr.bin/less/linenum.c
50
off_t gap; /* Gap between prev and next */
usr.bin/less/linenum.c
51
off_t line; /* Line number */
usr.bin/less/lsystem.c
155
off_t mpos, tpos, bpos;
usr.bin/less/lsystem.c
185
pipe_data(char *cmd, off_t spos, off_t epos)
usr.bin/less/lsystem.c
25
static int pipe_data(char *cmd, off_t spos, off_t epos);
usr.bin/less/main.c
30
off_t start_attnpos = -1;
usr.bin/less/main.c
31
off_t end_attnpos = -1;
usr.bin/less/mark.c
218
off_t
usr.bin/less/optfunc.c
249
off_t pos;
usr.bin/less/os.c
65
static off_t
usr.bin/less/os.c
66
muldiv(off_t val, off_t num, off_t den)
usr.bin/less/os.c
69
return ((off_t)(v + 0.5));
usr.bin/less/os.c
77
percentage(off_t num, off_t den)
usr.bin/less/os.c
79
return ((int)muldiv(num, (off_t)100, den));
usr.bin/less/os.c
85
off_t
usr.bin/less/os.c
86
percent_pos(off_t pos, int percent, long fraction)
usr.bin/less/os.c
92
off_t perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
usr.bin/less/os.c
96
return (muldiv(pos, perden, (off_t)NUM_FRAC_DENOM));
usr.bin/less/output.c
150
TYPE_TO_A_FUNC(postoa, off_t)
usr.bin/less/output.c
170
iprint_linenum(off_t num)
usr.bin/less/position.c
119
table = ecalloc(sc_height, sizeof (off_t));
usr.bin/less/position.c
132
onscreen(off_t pos)
usr.bin/less/position.c
25
static off_t *table = NULL; /* The position table */
usr.bin/less/position.c
39
off_t
usr.bin/less/position.c
59
add_forw_pos(off_t pos)
usr.bin/less/position.c
75
add_back_pos(off_t pos)
usr.bin/less/prompt.c
119
ap_pos(off_t pos)
usr.bin/less/prompt.c
151
static off_t
usr.bin/less/prompt.c
154
off_t pos;
usr.bin/less/prompt.c
173
off_t len;
usr.bin/less/prompt.c
222
off_t pos;
usr.bin/less/prompt.c
223
off_t len;
usr.bin/less/prompt.c
225
off_t linenum;
usr.bin/less/prompt.c
226
off_t last_linenum;
usr.bin/less/search.c
193
off_t pos;
usr.bin/less/search.c
231
off_t old_start_attnpos;
usr.bin/less/search.c
232
off_t old_end_attnpos;
usr.bin/less/search.c
233
off_t pos;
usr.bin/less/search.c
234
off_t epos;
usr.bin/less/search.c
314
is_hilited_range(off_t pos, off_t epos)
usr.bin/less/search.c
33
extern off_t start_attnpos;
usr.bin/less/search.c
333
is_filtered(off_t pos)
usr.bin/less/search.c
34
extern off_t end_attnpos;
usr.bin/less/search.c
356
is_hilited(off_t pos, off_t epos, int nohide, int *p_matches)
usr.bin/less/search.c
42
static off_t prep_startpos;
usr.bin/less/search.c
43
static off_t prep_endpos;
usr.bin/less/search.c
439
create_hilites(off_t linepos, int start_index, int end_index, int *chpos)
usr.bin/less/search.c
475
hilite_line(off_t linepos, char *line, int line_len, int *chpos,
usr.bin/less/search.c
49
off_t hl_startpos;
usr.bin/less/search.c
50
off_t hl_endpos;
usr.bin/less/search.c
572
static off_t
usr.bin/less/search.c
575
off_t pos;
usr.bin/less/search.c
657
search_range(off_t pos, off_t endpos, int search_type, int matches,
usr.bin/less/search.c
658
int maxlines, off_t *plinepos, off_t *pendpos)
usr.bin/less/search.c
663
off_t linenum;
usr.bin/less/search.c
669
off_t linepos, oldpos;
usr.bin/less/search.c
856
off_t pos;
usr.bin/less/search.c
967
prep_hilite(off_t spos, off_t epos, int maxlines)
usr.bin/less/search.c
969
off_t nprep_startpos = prep_startpos;
usr.bin/less/search.c
970
off_t nprep_endpos = prep_endpos;
usr.bin/less/search.c
971
off_t new_epos;
usr.bin/less/search.c
972
off_t max_epos;
usr.bin/less/tags.c
134
off_t
usr.bin/less/tags.c
198
off_t taglinenum;
usr.bin/less/tags.c
321
static off_t
usr.bin/less/tags.c
324
off_t pos, linepos;
usr.bin/less/tags.c
325
off_t linenum;
usr.bin/less/tags.c
34
static off_t ctagsearch(void);
usr.bin/less/tags.c
48
off_t tag_linenum; /* Appropriate line number in source file */
usr.bin/less/tags.c
91
maketagent(char *file, off_t linenum, char *pattern, int endline)
usr.bin/locate/locate/locate.c
201
off_t len;
usr.bin/locate/locate/locate.c
213
fd, (off_t)0)) == MAP_FAILED)
usr.bin/login/failedlogin.c
129
(void)lseek(fd, (off_t)uid * sizeof(failedlogin),
usr.bin/login/failedlogin.c
59
(void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET);
usr.bin/login/failedlogin.c
66
(void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET);
usr.bin/login/failedlogin.c
99
(void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET);
usr.bin/login/login.c
841
off_t pos;
usr.bin/login/login.c
845
pos = (off_t)pwd->pw_uid * sizeof(ll);
usr.bin/look/look.c
127
(size_t)sb.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0)) == MAP_FAILED)
usr.bin/mail/collect.c
440
nf = run_editor(fp, (off_t)-1, c, 0);
usr.bin/mail/def.h
100
#define positionof(block, offset) ((off_t)(block) * 4096 + (offset))
usr.bin/mail/def.h
262
(void)ftruncate(fileno(stream), (off_t)ftell(stream)); \
usr.bin/mail/edit.c
107
fp = run_editor(setinput(mp), (off_t)mp->m_size, type, readonly);
usr.bin/mail/edit.c
148
run_editor(FILE *fp, off_t size, int type, int readonly)
usr.bin/mail/edit.c
84
off_t size;
usr.bin/mail/extern.h
131
off_t fsize(FILE *);
usr.bin/mail/extern.h
224
void setptr(FILE *, off_t);
usr.bin/mail/extern.h
67
FILE *run_editor(FILE *, off_t, int, int);
usr.bin/mail/fio.c
289
(void)lseek(fileno(f), (off_t)sizeof(*message), SEEK_SET);
usr.bin/mail/fio.c
324
return(truncate(name, (off_t)0));
usr.bin/mail/fio.c
389
off_t
usr.bin/mail/fio.c
66
setptr(FILE *ibuf, off_t offset)
usr.bin/mail/fio.c
92
(void)fseeko(otf, (off_t)0, SEEK_END);
usr.bin/mail/glob.h
59
extern off_t mailsize; /* Size of system mailbox */
usr.bin/mail/lex.c
133
setptr(ibuf, (off_t)0);
usr.bin/mail/main.c
57
off_t mailsize; /* Size of system mailbox */
usr.bin/make/arch.c
400
off_t size; /* Size of archive member */
usr.bin/make/arch.c
427
size = (off_t) field2long(arHeader.ar_size,
usr.bin/make/arch.c
738
off_t size; /* Size of archive member */
usr.bin/make/arch.c
766
size = (off_t) field2long(arHeaderPtr->ar_size,
usr.bin/mandoc/mandocdb.c
2183
off_t i;
usr.bin/newsyslog/newsyslog.c
1027
off_t osize;
usr.bin/newsyslog/newsyslog.c
122
off_t size; /* Size cutoff to trigger trimming the log */
usr.bin/newsyslog/newsyslog.c
162
off_t sizefile(struct stat *);
usr.bin/newsyslog/newsyslog.c
283
off_t size;
usr.bin/newsyslog/newsyslog.c
957
off_t
usr.bin/nm/elf.c
121
static int elf_symloadx(const char *_name, FILE *, off_t, Elf_Ehdr *,
usr.bin/nm/elf.c
151
elf_load_shdrs(const char *name, FILE *fp, off_t foff, Elf_Ehdr *head)
usr.bin/nm/elf.c
421
elf_symloadx(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh,
usr.bin/nm/elf.c
510
elf_symload(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh,
usr.bin/nm/elfuncs.h
31
Elf32_Shdr*elf32_load_shdrs(const char *, FILE *, off_t, Elf32_Ehdr *);
usr.bin/nm/elfuncs.h
33
int elf32_symload(const char *, FILE *, off_t, Elf32_Ehdr *, Elf32_Shdr *,
usr.bin/nm/elfuncs.h
36
Elf64_Shdr*elf64_load_shdrs(const char *, FILE *, off_t, Elf64_Ehdr *);
usr.bin/nm/elfuncs.h
38
int elf64_symload(const char *, FILE *, off_t, Elf64_Ehdr *, Elf64_Shdr *,
usr.bin/nm/nm.c
102
int show_file(int, int, const char *, FILE *fp, off_t, union hdr *);
usr.bin/nm/nm.c
363
show_symtab(off_t off, u_long len, const char *name, FILE *fp)
usr.bin/nm/nm.c
370
off_t restore;
usr.bin/nm/nm.c
423
show_symdef(off_t off, u_long len, const char *name, FILE *fp)
usr.bin/nm/nm.c
489
off_t last_ar_off, foff, symtaboff;
usr.bin/nm/nm.c
634
show_file(int count, int warn_fmt, const char *name, FILE *fp, off_t foff, union hdr *head)
usr.bin/nm/nm.c
90
int show_symtab(off_t, u_long, const char *, FILE *);
usr.bin/nm/nm.c
91
int show_symdef(off_t, u_long, const char *, FILE *);
usr.bin/nohup/nohup.c
126
(void)lseek(fd, (off_t)0, SEEK_END);
usr.bin/patch/ed.c
231
off_t linepos;
usr.bin/patch/ed.c
318
create_line(off_t seek)
usr.bin/patch/ed.c
48
static struct ed_line *create_line(off_t);
usr.bin/patch/ed.c
60
off_t seek;
usr.bin/patch/ed.c
72
off_t linepos;
usr.bin/patch/inp.c
135
off_t i;
usr.bin/patch/inp.c
396
if (lseek(tifd, (off_t) (baseline / lines_per_buf *
usr.bin/patch/inp.c
49
static off_t i_size; /* size of the input file */
usr.bin/patch/pch.c
1026
off_t line_beginning = ftello(pfp);
usr.bin/patch/pch.c
248
off_t this_line = 0, previous_line;
usr.bin/patch/pch.c
249
off_t first_command_line = -1;
usr.bin/patch/pch.c
424
next_intuit_at(off_t file_pos, LINENUM file_line)
usr.bin/patch/pch.c
434
skip_to(off_t file_pos, LINENUM file_line)
usr.bin/patch/pch.c
493
off_t line_beginning; /* file pos of the current line */
usr.bin/patch/pch.c
50
static off_t p_filesize; /* size of the patch file */
usr.bin/patch/pch.c
501
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
74
static void skip_to(off_t, LINENUM);
usr.bin/patch/pch.c
860
off_t line_beginning = ftello(pfp); /* file pos of the current line */
usr.bin/patch/pch.h
46
void next_intuit_at(off_t, LINENUM);
usr.bin/quota/quota.c
540
(void)lseek(fd, (off_t)(id * sizeof(struct dqblk)), SEEK_SET);
usr.bin/rcs/diff.c
183
static void prepare(int, FILE *, off_t, int);
usr.bin/rcs/diff.c
201
static char *preadline(int, size_t, off_t);
usr.bin/rcs/diff.c
432
prepare(int i, FILE *fd, off_t filesize, int flags)
usr.bin/rcs/diff.c
846
preadline(int fd, size_t rlen, off_t off)
usr.bin/rdist/client.c
384
off_t i;
usr.bin/rdist/client.c
427
off_t amt = BUFSIZ;
usr.bin/rdist/client.c
773
off_t size;
usr.bin/rdist/client.c
879
size = (off_t) strtoll(cp, (char **)&cp, 10);
usr.bin/rdistd/server.c
1103
recvlink(char *new, opt_t opts, int mode, off_t size)
usr.bin/rdistd/server.c
1109
off_t i;
usr.bin/rdistd/server.c
1344
off_t size;
usr.bin/rdistd/server.c
1373
size = (off_t) strtoll(cp, &cp, 10);
usr.bin/rdistd/server.c
73
static void recvfile(char *, opt_t, int, char *, char *, time_t, time_t, off_t);
usr.bin/rdistd/server.c
732
time_t mtime, time_t atime, off_t size)
usr.bin/rdistd/server.c
735
off_t i;
usr.bin/rdistd/server.c
75
static void recvlink(char *, opt_t, int, off_t);
usr.bin/rdistd/server.c
755
off_t amt = BUFSIZ;
usr.bin/rsync/blocks.c
147
off_t remain, osz;
usr.bin/rsync/blocks.c
155
osz = MINIMUM(remain, (off_t)blks->len);
usr.bin/rsync/blocks.c
252
off_t last, end = 0, sz;
usr.bin/rsync/blocks.c
361
off_t offs = 0;
usr.bin/rsync/downloader.c
62
off_t downloaded; /* total downloaded */
usr.bin/rsync/downloader.c
63
off_t total; /* total in file */
usr.bin/rsync/extern.h
113
off_t size; /* size */
usr.bin/rsync/extern.h
155
off_t max_size; /* --max-size */
usr.bin/rsync/extern.h
156
off_t min_size; /* --min-size */
usr.bin/rsync/extern.h
185
off_t offs; /* offset in file */
usr.bin/rsync/extern.h
206
off_t offs; /* position in sender file */
usr.bin/rsync/extern.h
207
off_t total; /* total amount processed */
usr.bin/rsync/extern.h
208
off_t dirty; /* total amount sent */
usr.bin/rsync/extern.h
214
off_t curpos; /* sending: position in file to send */
usr.bin/rsync/extern.h
215
off_t curlen; /* sending: length of send */
usr.bin/rsync/extern.h
228
off_t size; /* file size */
usr.bin/rsync/sender.c
107
off_t sz;
usr.bin/rsync/uploader.c
112
init_blkset(struct blkset *p, off_t sz)
usr.bin/rsync/uploader.c
149
init_blk(struct blk *p, const struct blkset *set, off_t offs,
usr.bin/rsync/uploader.c
698
pre_file(const struct upload *p, int *filefd, off_t *size,
usr.bin/rsync/uploader.c
874
off_t offs, filesize;
usr.bin/sendbug/sendbug.c
195
off_t offset = -1;
usr.bin/sendbug/sendbug.c
205
off_t o;
usr.bin/snmp/snmp.c
483
off_t secparamsoffset;
usr.bin/snmp/snmp.h
126
int (*parseparams)(struct snmp_agent *, char *, size_t, off_t, char *,
usr.bin/snmp/usm.c
339
off_t secparamsoffset, char *buf, size_t buflen, uint8_t level,
usr.bin/snmp/usm.c
348
off_t digestoffset;
usr.bin/snmp/usm.c
71
static int usm_parseparams(struct snmp_agent *, char *, size_t, off_t, char *,
usr.bin/spell/spellprog.c
290
MAP_PRIVATE, wlists[i].fd, (off_t)0);
usr.bin/ssh/progressmeter.c
107
format_size(off_t bytes)
usr.bin/ssh/progressmeter.c
125
off_t transferred;
usr.bin/ssh/progressmeter.c
128
off_t bytes_left;
usr.bin/ssh/progressmeter.c
192
format_rate((off_t)bytes_per_second));
usr.bin/ssh/progressmeter.c
246
start_progress_meter(const char *f, off_t filesize, off_t *ctr)
usr.bin/ssh/progressmeter.c
63
static off_t start_pos; /* initial position of transfer */
usr.bin/ssh/progressmeter.c
64
static off_t end_pos; /* ending position of transfer */
usr.bin/ssh/progressmeter.c
65
static off_t cur_pos; /* transfer position as of last refresh */
usr.bin/ssh/progressmeter.c
66
static volatile off_t *counter; /* progress counter */
usr.bin/ssh/progressmeter.c
86
format_rate(off_t bytes)
usr.bin/ssh/progressmeter.h
26
void start_progress_meter(const char *, off_t, off_t *);
usr.bin/ssh/scp.c
1345
off_t i, statbytes;
usr.bin/ssh/scp.c
1415
if (i + (off_t)amt > stb.st_size)
usr.bin/ssh/scp.c
1619
off_t i;
usr.bin/ssh/scp.c
1623
off_t size, statbytes;
usr.bin/ssh/scp.c
1635
if (TYPE_OVERFLOW(time_t, 0) || TYPE_OVERFLOW(off_t, 0))
usr.bin/ssh/scp.c
1758
if (TYPE_OVERFLOW(off_t, ull))
usr.bin/ssh/scp.c
1760
size = (off_t)ull;
usr.bin/ssh/scp.c
665
off_t *cnt = (off_t *)_cnt;
usr.bin/ssh/sftp-client.c
1583
off_t progress_counter;
usr.bin/ssh/sftp-client.c
2010
off_t offset, progress_counter;
usr.bin/ssh/sftp-client.c
2055
if ((off_t)c.size >= sb.st_size) {
usr.bin/ssh/sftp-client.c
2062
if (lseek(local_fd, (off_t)c.size, SEEK_SET) == -1) {
usr.bin/ssh/sftp-client.c
2439
off_t progress_counter;
usr.bin/ssh/sshbuf-io.c
64
st.st_size != (off_t)sshbuf_len(blob)) {
usr.bin/ssh/sshlogin.c
183
lseek(fd, (off_t)uid * sizeof(ll), SEEK_SET);
usr.bin/ssh/sshlogin.c
79
off_t pos, r;
usr.bin/ssh/sshlogin.c
88
pos = (off_t)uid * sizeof(ll);
usr.bin/systat/main.c
204
lseek(ut, (off_t)0, SEEK_SET);
usr.bin/tail/extern.h
47
void forward(struct tailfile *, int, enum STYLE, off_t);
usr.bin/tail/extern.h
48
void reverse(struct tailfile *, int, enum STYLE, off_t);
usr.bin/tail/extern.h
50
int bytes(struct tailfile *, off_t);
usr.bin/tail/extern.h
51
int lines(struct tailfile *, off_t);
usr.bin/tail/forward.c
156
if (fseeko(tf[i].fp, (off_t)0,
usr.bin/tail/forward.c
241
rlines(struct tailfile *tf, off_t off)
usr.bin/tail/forward.c
243
off_t pos;
usr.bin/tail/forward.c
49
static int rlines(struct tailfile *, off_t);
usr.bin/tail/forward.c
79
forward(struct tailfile *tf, int nfiles, enum STYLE style, off_t origoff)
usr.bin/tail/forward.c
95
off_t off = origoff;
usr.bin/tail/read.c
138
lines(struct tailfile *tf, off_t off)
usr.bin/tail/read.c
62
bytes(struct tailfile *tf, off_t off)
usr.bin/tail/reverse.c
114
r_reg(struct tailfile *tf, enum STYLE style, off_t off)
usr.bin/tail/reverse.c
116
off_t start, pos, end;
usr.bin/tail/reverse.c
185
off_t enomem;
usr.bin/tail/reverse.c
46
static int r_reg(struct tailfile *, enum STYLE, off_t);
usr.bin/tail/reverse.c
79
reverse(struct tailfile *tf, int nfiles, enum STYLE style, off_t off)
usr.bin/tail/tail.c
184
if (lseek(fileno(tf[0].fp), (off_t)0, SEEK_CUR) == -1 &&
usr.bin/tail/tail.c
56
off_t off = 0;
usr.bin/tftp/tftp.c
445
off_t fsize = 0;
usr.bin/tmux/popup.c
898
off_t len = 0;
usr.bin/vacation/vacation.c
146
if (iflag == 1 || (stat(VDB, &sb) == 0 && sb.st_size == (off_t)0))
usr.bin/vi/common/exf.c
982
off_t off;
usr.bin/vi/common/recover.c
783
(void)lseek(fd, (off_t)((p - buf) + 1), SEEK_SET);
usr.bin/vi/ex/ex_tag.c
1009
MAP_PRIVATE, fd, (off_t)0)) == MAP_FAILED) {
usr.bin/xinstall/xinstall.c
270
((off_t)from_sb.st_blocks * S_BLKSIZE < from_sb.st_size));
usr.bin/xinstall/xinstall.c
402
copy(int from_fd, char *from_name, int to_fd, char *to_name, off_t size,
usr.bin/xinstall/xinstall.c
413
if (lseek(from_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
415
if (lseek(to_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
427
from_fd, (off_t)0)) == MAP_FAILED) {
usr.bin/xinstall/xinstall.c
482
compare(int from_fd, const char *from_name, off_t from_len, int to_fd,
usr.bin/xinstall/xinstall.c
483
const char *to_name, off_t to_len)
usr.bin/xinstall/xinstall.c
487
off_t from_off, to_off, remainder;
usr.bin/xinstall/xinstall.c
500
from_off = to_off = (off_t)0;
usr.bin/xinstall/xinstall.c
71
void copy(int, char *, int, char *, off_t, int);
usr.bin/xinstall/xinstall.c
72
int compare(int, const char *, off_t, int, const char *, off_t);
usr.bin/xinstall/xinstall.c
736
if (lseek(fd, (off_t)wcnt, SEEK_CUR) == -1) {
usr.bin/xinstall/xinstall.c
782
if (lseek(fd, (off_t)-1, SEEK_CUR) == -1) {
usr.sbin/config/exec_elf.c
109
elf_size = lseek(fd, (off_t)0, SEEK_END);
usr.sbin/config/exec_elf.c
110
(void)lseek(fd, (off_t)0, SEEK_SET);
usr.sbin/config/exec_elf.c
49
off_t elf_size;
usr.sbin/edquota/edquota.c
282
lseek(fd, (off_t)(id * sizeof(struct dqblk)), SEEK_SET);
usr.sbin/edquota/edquota.c
333
lseek(fd, (off_t)(id * sizeof (struct dqblk)), SEEK_SET);
usr.sbin/fdformat/fdformat.c
121
if (lseek (fd, (off_t) track*tracksize, SEEK_SET) == -1)
usr.sbin/httpd/httpd.h
299
off_t start;
usr.sbin/httpd/httpd.h
300
off_t end;
usr.sbin/httpd/httpd.h
307
off_t range_toread;
usr.sbin/httpd/httpd.h
339
off_t clt_toread;
usr.sbin/httpd/httpd.h
536
off_t return_uri_len;
usr.sbin/httpd/httpd.h
689
struct media_type *, off_t, time_t);
usr.sbin/httpd/patterns.c
528
sm->sm_so = (off_t)(s - ms->src_init);
usr.sbin/httpd/patterns.c
529
sm->sm_eo = (off_t)(e - s) + sm->sm_so;
usr.sbin/httpd/patterns.c
581
struct str_find *sm, size_t nsm, off_t init)
usr.sbin/httpd/patterns.c
592
else if (init > (off_t)ls)
usr.sbin/httpd/patterns.h
29
off_t sm_so; /* start offset of match */
usr.sbin/httpd/patterns.h
30
off_t sm_eo; /* end offset of match */
usr.sbin/httpd/server_http.c
1565
struct media_type *media, off_t size, time_t mtime)
usr.sbin/httpd/server_http.c
527
if ((off_t)size > clt->clt_toread) {
usr.sbin/httpd/server_http.c
578
if ((off_t)size > clt->clt_toread) {
usr.sbin/httpd/server_http.c
691
if ((off_t)size > r->range_toread) {
usr.sbin/installboot/efi_installboot.c
483
off_t off;
usr.sbin/installboot/i386_installboot.c
234
if (pread(devfd, secbuf, dl->d_secsize, (off_t)start *
usr.sbin/installboot/i386_installboot.c
238
if (pwrite(devfd, secbuf, dl->d_secsize, (off_t)start *
usr.sbin/installboot/i386_installboot.c
522
if (pread(devfd, secbuf, dl->d_secsize, (off_t)mbroff * dl->d_secsize)
usr.sbin/installboot/i386_installboot.c
614
off_t off;
usr.sbin/installboot/i386_installboot.c
777
if (pread(fd, buf, size, dbtob((off_t)blk)) != (ssize_t)size)
usr.sbin/installboot/i386_nlist.c
111
if (pread(fd, &ehdr, sizeof(Elf_Ehdr), (off_t)0) != sizeof(Elf_Ehdr) ||
usr.sbin/installboot/i386_nlist.c
127
MAP_SHARED|MAP_FILE, fd, (off_t) ehdr.e_shoff);
usr.sbin/installboot/i386_nlist.c
133
if (pread(fd, shdr, shdr_size, (off_t)ehdr.e_shoff) !=
usr.sbin/installboot/i386_nlist.c
204
if (pread(fd, strtab, symstrsize, (off_t)symstroff) !=
usr.sbin/installboot/i386_nlist.c
211
MAP_SHARED|MAP_FILE, fd, (off_t) symstroff);
usr.sbin/installboot/i386_nlist.c
218
if (pread(fd, sbuf, cc, (off_t)symoff) != cc)
usr.sbin/kvm_mkdb/nlist.c
64
off_t symstroff, symoff;
usr.sbin/kvm_mkdb/nlist.c
81
if (fseek(fp, (off_t)0, SEEK_SET) == -1 ||
usr.sbin/ldapd/btree.c
1006
off_t size;
usr.sbin/ldapd/btree.c
214
off_t size; /* current file size */
usr.sbin/ldapd/btree.c
611
if ((rc = pread(bt->fd, page, bt->head.psize, (off_t)pgno*bt->head.psize)) == 0) {
usr.sbin/ldapd/btree.c
733
off_t size;
usr.sbin/ldomctl/ldomctl.c
376
if (ftruncate(fd, (off_t)imgsize) == -1) {
usr.sbin/lldp/lldp.c
473
off_t len = ftello(scratch);
usr.sbin/lldp/lldp.c
481
off_t len = scratch_len();
usr.sbin/lpd/lp.c
875
off_t req, avail, minfree;
usr.sbin/lpr/common_source/displayq.c
73
static off_t totsize; /* total print job size in bytes */
usr.sbin/lpr/lpd/printjob.c
135
off_t pidoff;
usr.sbin/lpr/lpr/lpr.c
368
lseek(tfd, (off_t)0, SEEK_SET) == 0 &&
usr.sbin/lpr/lpr/lpr.c
690
(void)lseek(fd, (off_t)0, SEEK_SET);
usr.sbin/makefs/cd9660.h
296
int cd9660_copy_file(iso9660_disk *, FILE *, off_t, const char *);
usr.sbin/makefs/cd9660.h
306
void debug_dump_to_xml_path_table(FILE *, off_t, int, int);
usr.sbin/makefs/cd9660/cd9660_debug.c
186
debug_dump_to_xml_path_table(FILE *fd, off_t sector, int size, int mode)
usr.sbin/makefs/cd9660/cd9660_debug.c
218
off_t sector;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
482
cd9660_write_mbr_partition_entry(FILE *fd, int idx, off_t sector_start,
usr.sbin/makefs/cd9660/cd9660_eltorito.c
483
off_t nsectors, int type)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
488
if (fseeko(fd, (off_t)(idx) * 16 + 0x1be, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
518
off_t sector_start, off_t nsectors, off_t sector_size,
usr.sbin/makefs/cd9660/cd9660_eltorito.c
527
if (fseeko(fd, (off_t)(idx + 1) * sector_size, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
572
if (fseeko(fd, (off_t)diskStructure->boot_catalog_sector *
usr.sbin/makefs/cd9660/cd9660_write.c
140
cd9660_write_path_table(iso9660_disk *diskStructure, FILE *fd, off_t sector,
usr.sbin/makefs/cd9660/cd9660_write.c
238
off_t working_sector;
usr.sbin/makefs/cd9660/cd9660_write.c
353
cd9660_write_filedata(iso9660_disk *diskStructure, FILE *fd, off_t sector,
usr.sbin/makefs/cd9660/cd9660_write.c
356
off_t curpos;
usr.sbin/makefs/cd9660/cd9660_write.c
376
cd9660_write_buffered(FILE *fd, off_t offset, int buff_len,
usr.sbin/makefs/cd9660/cd9660_write.c
387
cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector,
usr.sbin/makefs/cd9660/cd9660_write.c
392
off_t sector = start_sector;
usr.sbin/makefs/cd9660/cd9660_write.c
40
static int cd9660_write_path_table(iso9660_disk *, FILE *, off_t, int);
usr.sbin/makefs/cd9660/cd9660_write.c
43
static int cd9660_write_filedata(iso9660_disk *, FILE *, off_t,
usr.sbin/makefs/cd9660/cd9660_write.c
432
off_t offset, off_t sector)
usr.sbin/makefs/cd9660/cd9660_write.c
452
if (fseeko(fd, ((off_t)diskStructure->
usr.sbin/makefs/cd9660/cd9660_write.c
46
static int cd9660_write_buffered(FILE *, off_t, int, const unsigned char *);
usr.sbin/makefs/cd9660/cd9660_write.c
48
static void cd9660_write_rr(iso9660_disk *, FILE *, cd9660node *, off_t, off_t);
usr.sbin/makefs/cd9660/iso_rrip.h
65
off_t iso_ce_off; /* offset of continuation area */
usr.sbin/makefs/ffs.c
479
off_t bufrem;
usr.sbin/makefs/ffs.c
528
if ((off_t)(fs->fs_cstotal.cs_nifree + ROOTINO) < fsopts->inodes) {
usr.sbin/makefs/ffs.c
783
off_t bufleft, chunk, offset;
usr.sbin/makefs/ffs/buf.c
112
off_t offset;
usr.sbin/makefs/ffs/buf.c
57
off_t offset;
usr.sbin/makefs/ffs/ffs_balloc.c
319
ffs_balloc_ufs2(struct inode *ip, off_t offset, int bufsize, struct mkfsbuf **bpp)
usr.sbin/makefs/ffs/ffs_balloc.c
48
static int ffs_balloc_ufs1(struct inode *, off_t, int, struct mkfsbuf **);
usr.sbin/makefs/ffs/ffs_balloc.c
49
static int ffs_balloc_ufs2(struct inode *, off_t, int, struct mkfsbuf **);
usr.sbin/makefs/ffs/ffs_balloc.c
60
ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct mkfsbuf **bpp)
usr.sbin/makefs/ffs/ffs_balloc.c
69
ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize, struct mkfsbuf **bpp)
usr.sbin/makefs/ffs/ffs_extern.h
56
int ffs_balloc(struct inode *, off_t, int, struct mkfsbuf **);
usr.sbin/makefs/ffs/mkfs.c
752
off_t offset;
usr.sbin/makefs/ffs/mkfs.c
775
off_t offset;
usr.sbin/makefs/makefs.h
135
off_t size; /* total size */
usr.sbin/makefs/makefs.h
136
off_t inodes; /* number of inodes */
usr.sbin/makefs/makefs.h
144
off_t minsize; /* minimum size image should be */
usr.sbin/makefs/makefs.h
145
off_t maxsize; /* maximum size image can be */
usr.sbin/makefs/makefs.h
146
off_t freefiles; /* free file entries to leave */
usr.sbin/makefs/makefs.h
147
off_t freeblocks; /* free blocks to leave */
usr.sbin/makefs/makefs.h
148
off_t offset; /* offset from start of file */
usr.sbin/makefs/msdos/denode.h
314
int msdosfs_gop_alloc(struct mkfsvnode *, off_t, off_t, int);
usr.sbin/makefs/msdos/mkfs_msdos.h
40
AOPT(off_t, create_size, 0) \
usr.sbin/makefs/msdos/mkfs_msdos.h
50
AOPT(off_t, offset, 0) \
usr.sbin/mksuncd/mksuncd.c
117
int expand_file(int, off_t);
usr.sbin/mksuncd/mksuncd.c
122
off_t cylindersize(int, struct sun_disklabel *);
usr.sbin/mksuncd/mksuncd.c
123
int adjust_label(int, struct sun_disklabel *, int, off_t, off_t);
usr.sbin/mksuncd/mksuncd.c
126
expand_file(int f, off_t len)
usr.sbin/mksuncd/mksuncd.c
129
off_t i;
usr.sbin/mksuncd/mksuncd.c
156
off_t sz;
usr.sbin/mksuncd/mksuncd.c
164
sz = ((off_t)slp->sl_nsectors) *
usr.sbin/mksuncd/mksuncd.c
165
((off_t)slp->sl_ntracks) * ((off_t)512);
usr.sbin/mksuncd/mksuncd.c
201
off_t cylstart, cylsize;
usr.sbin/mksuncd/mksuncd.c
260
adjust_label(int f, struct sun_disklabel *slp, int part, off_t start, off_t size)
usr.sbin/mksuncd/mksuncd.c
313
off_t
usr.sbin/mksuncd/mksuncd.c
317
off_t sz, r;
usr.sbin/mksuncd/mksuncd.c
322
sz = ((off_t)slp->sl_nsectors) *
usr.sbin/mksuncd/mksuncd.c
323
((off_t)slp->sl_ntracks) * ((off_t)512);
usr.sbin/mkuboot/copy_elf.c
134
letoh16(ehdr.e_phentsize), SEEK_SET) == (off_t)-1)
usr.sbin/mkuboot/copy_elf.c
192
SEEK_SET) == (off_t)-1)
usr.sbin/mkuboot/copy_elf.c
202
(off_t)-1)
usr.sbin/mkuboot/copy_elf.c
210
SEEK_SET) == (off_t)-1)
usr.sbin/mkuboot/copy_elf.c
68
if (lseek(ifd, (off_t)elfoff2h(elf.e_shoff), SEEK_SET) == -1)
usr.sbin/mkuboot/copy_elf.c
85
letoh16(ehdr.e_phentsize), SEEK_SET) == (off_t)-1)
usr.sbin/mopd/common/common.h
112
off_t a_lseek; /* Keep track of pos in newfile */
usr.sbin/mopd/common/common.h
86
off_t lseek; /* Seek before last read */
usr.sbin/mopd/common/common.h
94
off_t s_foff; /* file offset of section */
usr.sbin/mopd/common/file.c
1190
SEEK_SET) == (off_t) -1)
usr.sbin/mopd/common/file.c
203
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
475
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
507
(void)lseek(dl->ldfd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
571
if (lseek(dl->ldfd, (off_t) e_phoff + (i * e_phentsize),
usr.sbin/mopd/common/file.c
572
SEEK_SET) == (off_t) -1)
usr.sbin/mopd/common/file.c
698
(void)lseek(dl->ldfd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
762
if (lseek(dl->ldfd, (off_t) e_phoff + (i * e_phentsize),
usr.sbin/mopd/common/file.c
763
SEEK_SET) == (off_t) -1)
usr.sbin/mopd/common/file.c
893
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
898
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
927
(void)lseek(dl->ldfd, (off_t) 0, SEEK_SET);
usr.sbin/mtree/mtree.h
50
off_t st_size; /* size */
usr.sbin/nsd/namedb.h
362
off_t diff_pos;
usr.sbin/nsd/options.c
443
zone_list_free_insert(struct nsd_options* opt, int linesize, off_t off)
usr.sbin/nsd/options.c
464
const char* patnm, int linesize, off_t off, const char* mem_idnm,
usr.sbin/nsd/options.c
866
off_t off;
usr.sbin/nsd/options.h
371
off_t off;
usr.sbin/nsd/options.h
475
off_t off;
usr.sbin/nsd/options.h
64
off_t zonelist_off;
usr.sbin/nsd/region-allocator.c
29
#define ALIGNMENT (sizeof(off_t))
usr.sbin/nsd/server.c
603
if(lseek(nsd->zonestatfd[0], (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/server.c
613
if(lseek(nsd->zonestatfd[1], (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/server.c
692
if(lseek(nsd->zonestatfd[idx], (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/server.c
754
if(lseek(nsd->statfd, (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/udb.c
153
fsz = (uint64_t)lseek(fd, (off_t)0, SEEK_END);
usr.sbin/nsd/udb.c
154
(void)lseek(fd, (off_t)0, SEEK_SET);
usr.sbin/nsd/udb.c
178
(int)udb->fd, (off_t)0);
usr.sbin/nsd/udb.c
283
if(lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
usr.sbin/nsd/udb.c
289
if(ftruncate(fd, (off_t)g.fsize) < 0) {
usr.sbin/nsd/udb.c
309
if(ftruncate(udb->fd, (off_t)nsize) != 0) {
usr.sbin/nsd/udb.c
539
(int)MAP_SHARED, (int)udb->fd, (off_t)0);
usr.sbin/nsd/udb.c
545
(int)MAP_SHARED, (int)udb->fd, (off_t)0);
usr.sbin/nsd/udb.c
591
if((w=pwrite(udb->fd, &z, sizeof(z), (off_t)(nsize-1))) == -1) {
usr.sbin/nsd/udb.c
593
if(lseek(udb->fd, (off_t)(nsize-1), SEEK_SET) == -1) {
usr.sbin/nsd/udb.c
672
off_t realsize;
usr.sbin/nsd/udb.c
674
realsize = lseek(udb->fd, (off_t)0, SEEK_END);
usr.sbin/nsd/udb.c
675
if(realsize == (off_t)-1) {
usr.sbin/pppd/auth.c
743
(void)pwrite(fd, &ll, sizeof(ll), (off_t)pw->pw_uid *
usr.sbin/pwd_mkdb/pwd_mkdb.c
189
if (st.st_size > (off_t)100*1024)
usr.sbin/pwd_mkdb/pwd_mkdb.c
190
openinfo.cachesize = MINIMUM(st.st_size * 20, (off_t)12*1024*1024);
usr.sbin/quot/quot.c
104
(off_t)cgtod(super, cg) << super->fs_fshift)
usr.sbin/quot/quot.c
115
if (lseek(fd, (off_t)ino_to_fsba(super, last)
usr.sbin/quot/quot.c
137
off_t nblk, sz;
usr.sbin/quot/quot.c
61
#define SIZE(n) (howmany(((off_t)(n)) * DEV_BSIZE, blocksize))
usr.sbin/rbootd/rmpproto.c
447
if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) == -1) {
usr.sbin/rdate/ntpleaps.c
166
lseek(fd, (off_t)m3, SEEK_CUR);
usr.sbin/rdsetroot/rdsetroot.c
217
off_t *pmmap_off, size_t *pmmap_size)
usr.sbin/rdsetroot/rdsetroot.c
32
int find_rd_root_image(uint64_t *, uint64_t *, off_t *, size_t *);
usr.sbin/rdsetroot/rdsetroot.c
46
off_t mmap_off, rd_root_size_val;
usr.sbin/relayd/ca.c
108
off_t len;
usr.sbin/relayd/config.c
1057
if ((off_t)(IMSG_DATA_SIZE(imsg) - s) <
usr.sbin/relayd/relay.c
2151
off_t len = 0, calen = 0, ocsplen = 0;
usr.sbin/relayd/relay.c
990
off_t len;
usr.sbin/relayd/relay_http.c
633
if ((off_t)size > cre->toread) {
usr.sbin/relayd/relay_http.c
694
if ((off_t)size > cre->toread) {
usr.sbin/relayd/relayd.c
1309
relay_load_fd(int fd, off_t *len)
usr.sbin/relayd/relayd.c
1313
off_t size;
usr.sbin/relayd/relayd.c
557
purge_key(char **key, off_t len)
usr.sbin/relayd/relayd.h
1176
void print_hex(uint8_t *, off_t, size_t);
usr.sbin/relayd/relayd.h
1292
char *ssl_load_key(struct relayd *, const char *, off_t *, char *);
usr.sbin/relayd/relayd.h
1295
int ssl_load_pkey(char *, off_t, X509 **, EVP_PKEY **);
usr.sbin/relayd/relayd.h
1324
char *relay_load_fd(int, off_t *);
usr.sbin/relayd/relayd.h
1329
void purge_key(char **, off_t);
usr.sbin/relayd/relayd.h
221
off_t splicelen;
usr.sbin/relayd/relayd.h
222
off_t toread;
usr.sbin/relayd/relayd.h
814
off_t tls_cakey_len;
usr.sbin/relayd/ssl.c
178
ssl_load_pkey(char *buf, off_t len, X509 **x509ptr, EVP_PKEY **pkeyptr)
usr.sbin/relayd/ssl.c
50
ssl_load_key(struct relayd *env, const char *name, off_t *len, char *pass)
usr.sbin/relayd/ssl.c
85
*len = (off_t)size;
usr.sbin/relayd/util.c
332
print_hex(uint8_t *buf, off_t offset, size_t length)
usr.sbin/rmt/rmt.c
75
off_t orval;
usr.sbin/smtpd/crypto.c
133
off_t sz;
usr.sbin/smtpd/crypto.c
141
if (sb.st_size <= (off_t) (sizeof version + sizeof tag + sizeof iv))
usr.sbin/smtpd/crypto.c
217
off_t sz;
usr.sbin/smtpd/mta_session.c
307
if (sb.st_size > (off_t)s->ext_size) {
usr.sbin/smtpd/queue_ram.c
111
else if ((off_t)n != sb.st_size)
usr.sbin/smtpd/ssl.c
112
ssl_load_key(const char *name, off_t *len, char *pass, mode_t perm, const char *pkiname)
usr.sbin/smtpd/ssl.c
171
*len = (off_t)size + 1;
usr.sbin/smtpd/ssl.c
249
ssl_pubkey_hash(const char *buf, off_t len)
usr.sbin/smtpd/ssl.c
34
ssl_load_file(const char *name, off_t *len, mode_t perm)
usr.sbin/smtpd/ssl.c
37
off_t size;
usr.sbin/smtpd/ssl.h
23
off_t pki_cert_len;
usr.sbin/smtpd/ssl.h
27
off_t pki_key_len;
usr.sbin/smtpd/ssl.h
37
off_t ca_cert_len;
usr.sbin/smtpd/ssl.h
46
char *ssl_pubkey_hash(const char *, off_t);
usr.sbin/snmpd/usm.c
266
off_t offs, offs2;
usr.sbin/snmpd/usm.c
47
int usm_valid_digest(struct snmp_message *, off_t, char *,
usr.sbin/snmpd/usm.c
553
usm_valid_digest(struct snmp_message *msg, off_t offs,
usr.sbin/unbound/testcode/memstats.c
178
static off_t
usr.sbin/unbound/testcode/memstats.c
192
off_t total = get_file_size(fname);
usr.sbin/unbound/testcode/memstats.c
193
off_t done = (off_t)0;
usr.sbin/unbound/testcode/memstats.c
202
done += (off_t)strlen(buf);
usr.sbin/unbound/testcode/replay.c
140
off_t pos;
usr.sbin/vmctl/main.c
614
off_t size;
usr.sbin/vmctl/main.c
621
off_t off;
usr.sbin/vmctl/main.c
675
len = MIN((off_t)buflen, src.size - off);
usr.sbin/vmctl/vmctl.c
822
struct virtio_backing *file, off_t *sz)
usr.sbin/vmctl/vmctl.h
97
struct virtio_backing *, off_t *);
usr.sbin/vmd/loadfile_elf.c
622
if (gzseek(fp, (off_t)elf->e_phoff, SEEK_SET) == -1) {
usr.sbin/vmd/loadfile_elf.c
667
if (gzseek(fp, (off_t)phdr[i].p_offset,
usr.sbin/vmd/loadfile_elf.c
710
if (gzseek(fp, (off_t)elf->e_shoff, SEEK_SET) == -1) {
usr.sbin/vmd/loadfile_elf.c
727
if (gzseek(fp, (off_t)shp[elf->e_shstrndx].sh_offset,
usr.sbin/vmd/loadfile_elf.c
756
if (gzseek(fp, (off_t)shp[i].sh_offset,
usr.sbin/vmd/loadfile_elf.c
840
if (gzseek(fp, (off_t)elf->e_phoff, SEEK_SET) == -1) {
usr.sbin/vmd/loadfile_elf.c
885
if (gzseek(fp, (off_t)phdr[i].p_offset,
usr.sbin/vmd/loadfile_elf.c
928
if (gzseek(fp, (off_t)elf->e_shoff, SEEK_SET) == -1) {
usr.sbin/vmd/loadfile_elf.c
945
if (gzseek(fp, (off_t)shp[elf->e_shstrndx].sh_offset,
usr.sbin/vmd/loadfile_elf.c
973
if (gzseek(fp, (off_t)shp[i].sh_offset,
usr.sbin/vmd/vioblk.c
254
off_t offset;
usr.sbin/vmd/vioblk.c
46
off_t, struct vring_desc *, struct vring_desc **);
usr.sbin/vmd/vioblk.c
642
off_t offset, struct vring_desc *desc_tbl, struct vring_desc **desc)
usr.sbin/vmd/vioblk.c
69
off_t szp = 0;
usr.sbin/vmd/vioqcow2.c
101
static ssize_t qc2_pread(void *, char *, size_t, off_t);
usr.sbin/vmd/vioqcow2.c
102
static ssize_t qc2_preadv(void *, struct iovec *, int, off_t);
usr.sbin/vmd/vioqcow2.c
103
static ssize_t qc2_pwrite(void *, char *, size_t, off_t);
usr.sbin/vmd/vioqcow2.c
104
static ssize_t qc2_pwritev(void *, struct iovec *, int, off_t);
usr.sbin/vmd/vioqcow2.c
114
virtio_qcow2_init(struct virtio_backing *file, off_t *szp, int *fd, size_t nfd)
usr.sbin/vmd/vioqcow2.c
213
off_t i;
usr.sbin/vmd/vioqcow2.c
305
qc2_preadv(void *p, struct iovec *iov, int cnt, off_t offset)
usr.sbin/vmd/vioqcow2.c
308
off_t pos = offset;
usr.sbin/vmd/vioqcow2.c
323
qc2_pread(void *p, char *buf, size_t len, off_t off)
usr.sbin/vmd/vioqcow2.c
326
off_t phys_off, end, cluster_off;
usr.sbin/vmd/vioqcow2.c
378
qc2_pwritev(void *p, struct iovec *iov, int cnt, off_t offset)
usr.sbin/vmd/vioqcow2.c
381
off_t pos = offset;
usr.sbin/vmd/vioqcow2.c
396
qc2_pwrite(void *p, char *buf, size_t len, off_t off)
usr.sbin/vmd/vioqcow2.c
399
off_t phys_off, cluster_off, end;
usr.sbin/vmd/vioqcow2.c
466
static off_t
usr.sbin/vmd/vioqcow2.c
467
xlate(struct qcdisk *disk, off_t off, int *inplace)
usr.sbin/vmd/vioqcow2.c
469
off_t l2sz, l1off, l2tab, l2off, cluster, clusteroff;
usr.sbin/vmd/vioqcow2.c
521
static off_t
usr.sbin/vmd/vioqcow2.c
522
mkcluster(struct qcdisk *disk, struct qcdisk *base, off_t off, off_t src_phys)
usr.sbin/vmd/vioqcow2.c
524
off_t l2sz, l1off, l2tab, l2off, cluster, clusteroff, orig;
usr.sbin/vmd/vioqcow2.c
583
copy_cluster(struct qcdisk *disk, struct qcdisk *base, off_t dst, off_t src)
usr.sbin/vmd/vioqcow2.c
600
inc_refs(struct qcdisk *disk, off_t off, int newcluster)
usr.sbin/vmd/vioqcow2.c
602
off_t l1off, l1idx, l2idx, l2cluster;
usr.sbin/vmd/vioqcow2.c
726
if (ftruncate(fd, (off_t)initsz + clustersz) == -1)
usr.sbin/vmd/vioqcow2.c
75
off_t end;
usr.sbin/vmd/vioqcow2.c
76
off_t clustersz;
usr.sbin/vmd/vioqcow2.c
77
off_t disksz; /* In bytes */
usr.sbin/vmd/vioqcow2.c
81
off_t l1off;
usr.sbin/vmd/vioqcow2.c
83
off_t refoff;
usr.sbin/vmd/vioqcow2.c
84
off_t refsz;
usr.sbin/vmd/vioqcow2.c
87
off_t snapoff;
usr.sbin/vmd/vioqcow2.c
96
static off_t xlate(struct qcdisk *, off_t, int *);
usr.sbin/vmd/vioqcow2.c
97
static void copy_cluster(struct qcdisk *, struct qcdisk *, off_t, off_t);
usr.sbin/vmd/vioqcow2.c
98
static void inc_refs(struct qcdisk *, off_t, int);
usr.sbin/vmd/vioqcow2.c
99
static off_t mkcluster(struct qcdisk *, struct qcdisk *, off_t, off_t);
usr.sbin/vmd/vioraw.c
117
if (ftruncate(fd, (off_t)imgsize) == -1) {
usr.sbin/vmd/vioraw.c
29
raw_pread(void *file, char *buf, size_t len, off_t off)
usr.sbin/vmd/vioraw.c
35
raw_preadv(void *file, struct iovec *iov, int cnt, off_t offset)
usr.sbin/vmd/vioraw.c
41
raw_pwrite(void *file, char *buf, size_t len, off_t off)
usr.sbin/vmd/vioraw.c
47
raw_pwritev(void *file, struct iovec *iov, int cnt, off_t offset)
usr.sbin/vmd/vioraw.c
65
virtio_raw_init(struct virtio_backing *file, off_t *szp, int *fd, size_t nfd)
usr.sbin/vmd/vioraw.c
67
off_t sz;
usr.sbin/vmd/vioscsi.c
1391
off_t chunk_offset;
usr.sbin/vmd/vioscsi.c
348
vioscsi_start_read(struct virtio_dev *dev, off_t block, size_t n_blocks)
usr.sbin/vmd/virtio.h
166
ssize_t (*pread)(void *, char *, size_t, off_t);
usr.sbin/vmd/virtio.h
167
ssize_t (*preadv)(void *, struct iovec *, int, off_t);
usr.sbin/vmd/virtio.h
168
ssize_t (*pwrite)(void *, char *, size_t, off_t);
usr.sbin/vmd/virtio.h
169
ssize_t (*pwritev)(void *, struct iovec *, int, off_t);
usr.sbin/vmd/virtio.h
334
off_t offset;
usr.sbin/vmd/virtio.h
401
int virtio_qcow2_init(struct virtio_backing *, off_t *, int*, size_t);
usr.sbin/vmd/virtio.h
403
int virtio_raw_init(struct virtio_backing *, off_t *, int*, size_t);
usr.sbin/vmd/x86_vm.c
287
loadfile_bios(gzFile fp, off_t size, struct vcpu_reg_state *vrs)
usr.sbin/vmd/x86_vm.c
289
off_t off = 0;
usr.sbin/vmd/x86_vm.c
303
if (size > (off_t)MB(4)) {
usr.sbin/vmd/x86_vm.c
329
lower_sz = MIN((off_t)lower_sz, size);
usr.sbin/vmd/x86_vm.c
53
static int loadfile_bios(gzFile, off_t, struct vcpu_reg_state *);