Symbol: off_t
bin/cp/utils.c
106
off_t wtotal;
bin/dd/args.c
537
static off_t
bin/dd/args.c
71
static off_t get_off_t(const char *);
bin/dd/dd.c
334
if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
bin/dd/dd.c
439
lseek(in.fd, (off_t)in.dbsz, SEEK_CUR))
bin/dd/dd.c
72
static off_t pending = 0; /* pending seek if sparse */
bin/dd/dd.h
54
off_t offset; /* # of blocks to skip */
bin/dd/dd.h
55
off_t seek_offset; /* offset of last seek past output hole */
bin/dd/position.c
154
off_t cnt;
bin/dd/position.c
49
static off_t
bin/dd/position.c
52
off_t n;
bin/dd/position.c
74
return ((off_t)( (uint64_t)n * sz ));
bin/dd/position.c
86
off_t cnt;
bin/ed/buf.c
103
if (fseeko(sfp, (off_t)0, SEEK_END) < 0) {
bin/ed/buf.c
39
static off_t sfseek; /* scratch file position */
bin/ed/ed.h
67
off_t seek; /* address of line in scratch buffer */
bin/ls/ls.c
752
off_t maxsize;
bin/ls/print.c
66
static void printsize(size_t, off_t);
bin/ls/print.c
750
printsize(size_t width, off_t bytes)
bin/pax/ar_io.c
177
else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
bin/pax/ar_io.c
442
off_t cpos;
bin/pax/ar_io.c
460
if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) ||
bin/pax/ar_io.c
588
off_t cpos;
bin/pax/ar_io.c
619
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
bin/pax/ar_io.c
621
cpos -= (off_t)res;
bin/pax/ar_io.c
706
off_t cpos;
bin/pax/ar_io.c
707
off_t mpos;
bin/pax/ar_io.c
755
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
bin/pax/ar_io.c
757
mpos = fsbz - (cpos % (off_t)fsbz);
bin/pax/ar_io.c
789
ar_fow(off_t sksz, off_t *skipped)
bin/pax/ar_io.c
791
off_t cpos;
bin/pax/ar_io.c
792
off_t mpos;
bin/pax/ar_io.c
816
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) >= 0) {
bin/pax/ar_io.c
848
ar_rev(off_t sksz)
bin/pax/ar_io.c
850
off_t cpos;
bin/pax/ar_io.c
884
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) {
bin/pax/ar_io.c
898
if ((cpos -= sksz) < (off_t)0L) {
bin/pax/ar_io.c
907
cpos = (off_t)0L;
bin/pax/ar_subs.c
148
off_t cnt;
bin/pax/ar_subs.c
355
off_t cnt;
bin/pax/ar_subs.c
563
off_t tlen;
bin/pax/buf_subs.c
202
appnd_start(off_t skcnt)
bin/pax/buf_subs.c
205
off_t cnt;
bin/pax/buf_subs.c
236
if (ar_rev((off_t)cnt) < 0)
bin/pax/buf_subs.c
258
if (ar_rev((off_t)(bufpt - buf)) < 0)
bin/pax/buf_subs.c
385
rd_skip(off_t skcnt)
bin/pax/buf_subs.c
387
off_t res;
bin/pax/buf_subs.c
388
off_t cnt;
bin/pax/buf_subs.c
389
off_t skipped = 0;
bin/pax/buf_subs.c
559
wr_skip(off_t skcnt)
bin/pax/buf_subs.c
597
wr_rdfile(ARCHD *arcn, int ifd, off_t *left)
bin/pax/buf_subs.c
601
off_t size = arcn->sb.st_size;
bin/pax/buf_subs.c
65
off_t wrlimit; /* # of bytes written per archive vol */
bin/pax/buf_subs.c
658
rd_wrfile(ARCHD *arcn, int ofd, off_t *left)
bin/pax/buf_subs.c
66
off_t wrcnt; /* # of bytes written on current vol */
bin/pax/buf_subs.c
661
off_t size = arcn->sb.st_size;
bin/pax/buf_subs.c
67
off_t rdcnt; /* # of bytes read on current vol */
bin/pax/buf_subs.c
749
off_t cpcnt = 0L;
bin/pax/buf_subs.c
762
if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >= arcn->sb.st_size)
bin/pax/cpio.c
1072
(wr_skip((off_t)(BCPIO_PAD(sizeof(HD_BCPIO) + nsz))) < 0)) {
bin/pax/cpio.c
1094
(wr_skip((off_t)(BCPIO_PAD(arcn->ln_nlen))) < 0)) {
bin/pax/cpio.c
295
arcn->sb.st_size = (off_t)asc_uqd(hd->c_filesize,sizeof(hd->c_filesize),
bin/pax/cpio.c
335
off_t
bin/pax/cpio.c
338
return((off_t)(sizeof(HD_CPIO) + sizeof(TRAILER)));
bin/pax/cpio.c
568
arcn->sb.st_size = (off_t)asc_uqd(hd->c_filesize,
bin/pax/cpio.c
593
if (rd_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)
bin/pax/cpio.c
612
(rd_skip((off_t)(VCPIO_PAD(arcn->sb.st_size))) < 0))
bin/pax/cpio.c
628
off_t
bin/pax/cpio.c
631
return((off_t)(sizeof(HD_VCPIO) + sizeof(TRAILER) +
bin/pax/cpio.c
761
(wr_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)) {
bin/pax/cpio.c
783
(wr_skip((off_t)(VCPIO_PAD(arcn->ln_nlen))) < 0)) {
bin/pax/cpio.c
866
arcn->sb.st_size = (off_t)(RSHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
868
((off_t)(RSHRT_EXT(hd->h_filesize_2)));
bin/pax/cpio.c
881
arcn->sb.st_size = (off_t)(SHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
883
((off_t)(SHRT_EXT(hd->h_filesize_2)));
bin/pax/cpio.c
901
if (rd_skip((off_t)(BCPIO_PAD(sizeof(HD_BCPIO) + nsz))) < 0)
bin/pax/cpio.c
917
(rd_skip((off_t)(BCPIO_PAD(arcn->sb.st_size))) < 0))
bin/pax/cpio.c
933
off_t
bin/pax/cpio.c
936
return((off_t)(sizeof(HD_BCPIO) + sizeof(TRAILER) +
bin/pax/cpio.c
957
off_t t_offt;
bin/pax/cpio.c
985
t_offt = (off_t)(SHRT_EXT(hd->h_filesize_1));
bin/pax/cpio.c
986
t_offt = (t_offt<<16) | ((off_t)(SHRT_EXT(hd->h_filesize_2)));
bin/pax/extern.h
116
off_t cpio_endrd(void);
bin/pax/extern.h
123
off_t vcpio_endrd(void);
bin/pax/extern.h
128
off_t bcpio_endrd(void);
bin/pax/extern.h
275
off_t tar_endrd(void);
bin/pax/extern.h
55
int ar_fow(off_t, off_t *);
bin/pax/extern.h
56
int ar_rev(off_t );
bin/pax/extern.h
76
extern off_t wrlimit;
bin/pax/extern.h
77
extern off_t rdcnt;
bin/pax/extern.h
78
extern off_t wrcnt;
bin/pax/extern.h
82
int appnd_start(off_t);
bin/pax/extern.h
85
int rd_skip(off_t);
bin/pax/extern.h
89
int wr_skip(off_t);
bin/pax/extern.h
90
int wr_rdfile(ARCHD *, int, off_t *);
bin/pax/extern.h
91
int rd_wrfile(ARCHD *, int, off_t *);
bin/pax/file_subs.c
794
if (lseek(fd, (off_t)wcnt, SEEK_CUR) < 0) {
bin/pax/file_subs.c
842
if (lseek(fd, (off_t)-1, SEEK_CUR) < 0) {
bin/pax/file_subs.c
893
off_t cpcnt = 0L;
bin/pax/file_subs.c
932
else if (lseek(fd, (off_t)0L, SEEK_SET) < 0)
bin/pax/options.c
1423
static off_t
bin/pax/options.c
1427
off_t num, t;
bin/pax/options.c
63
static off_t str_offt(char *);
bin/pax/pax.h
129
off_t (*end_rd)(void); /* read cleanup. Allows format to clean up */
bin/pax/pax.h
155
int (*rd_data)(ARCHD *, int, off_t *);
bin/pax/pax.h
157
int (*wr_data)(ARCHD *, int, off_t *);
bin/pax/pax.h
198
off_t pad; /* bytes of padding after file xfer */
bin/pax/pax.h
199
off_t skip; /* bytes of real data after header */
bin/pax/tables.c
1175
if (lseek(dirfd, -((off_t)sizeof(dblk)), SEEK_CUR) < 0)
bin/pax/tables.c
442
if ((pt->seek = lseek(ffd, (off_t)0, SEEK_END)) >= 0) {
bin/pax/tables.h
163
off_t npos; /* position in file where this dir name starts */
bin/pax/tables.h
78
off_t seek; /* location in scratch file */
bin/pax/tar.c
1004
if (wr_skip((off_t)(BLKMULT - sizeof(HD_USTAR))) < 0)
bin/pax/tar.c
390
arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
bin/pax/tar.c
616
if (wr_skip((off_t)(BLKMULT - sizeof(HD_TAR))) < 0)
bin/pax/tar.c
70
return(wr_skip((off_t)(NULLCNT*BLKMULT)));
bin/pax/tar.c
750
arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
bin/pax/tar.c
80
off_t
bin/pax/tar.c
83
return((off_t)(NULLCNT*BLKMULT));
bin/pkill/pkill.c
406
(off_t)strlen(mstr))
bin/sh/miscbltin.c
115
off_t residue;
bin/sh/miscbltin.c
83
off_t cur;
bin/test/test.c
406
return s.st_size > (off_t)0;
crypto/heimdal/appl/ftp/ftp/extern.h
163
extern off_t restart_point;
crypto/heimdal/appl/ftp/ftp/ftp.c
48
off_t restart_point = 0;
crypto/heimdal/appl/ftp/ftpd/extern.h
135
extern off_t file_size;
crypto/heimdal/appl/ftp/ftpd/extern.h
136
extern off_t byte_count;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
1773
restart_point = (off_t) 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2438
restart_point = (off_t) 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
247
off_t restart_point;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
134
restart_point = (off_t) 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
48
off_t restart_point;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
655
restart_point = (off_t) 0;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1040
off_t i, n;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1131
off_t i, n;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1158
din = dataconn(name, (off_t)-1, "r");
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1244
dataconn(const char *name, off_t size, const char *mode)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
128
if (cnt == (off_t)-1) \
crypto/heimdal/appl/ftp/ftpd/ftpd.c
141
static FILE *dataconn (const char *, off_t, const char *);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1942
if (file_size != (off_t) -1)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2268
dout = dataconn("file list", (off_t)-1, "w");
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2304
dout = dataconn("file list", (off_t)-1, "w");
crypto/heimdal/appl/ftp/ftpd/ftpd.c
45
extern off_t restart_point;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
82
off_t file_size;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
83
off_t byte_count;
crypto/heimdal/appl/rcp/rcp.c
282
off_t i;
crypto/heimdal/appl/rcp/rcp.c
283
off_t amt;
crypto/heimdal/appl/rcp/rcp.c
420
off_t i, j, size;
crypto/heimdal/kadmin/rpc.c
724
off_t off;
crypto/heimdal/lib/hdb/mkey.c
295
off_t len;
crypto/heimdal/lib/kadm5/iprop-log.c
121
off_t end = krb5_storage_seek(sp, 0, SEEK_CUR) + len;
crypto/heimdal/lib/kadm5/ipropd_master.c
509
off_t right, left;
crypto/heimdal/lib/kadm5/ipropd_slave.c
184
off_t left, right;
crypto/heimdal/lib/kadm5/ipropd_slave.c
236
off_t cur, cur2;
crypto/heimdal/lib/kadm5/log.c
320
off_t off;
crypto/heimdal/lib/kadm5/log.c
321
off_t len;
crypto/heimdal/lib/kadm5/log.c
394
off_t off;
crypto/heimdal/lib/kadm5/log.c
395
off_t len;
crypto/heimdal/lib/kadm5/log.c
463
off_t off;
crypto/heimdal/lib/kadm5/log.c
864
off_t off, oldoff;
crypto/heimdal/lib/krb5/fcache.c
216
off_t pos;
crypto/heimdal/lib/krb5/fcache.c
226
ssize_t tmp = write(fd, buf, min((off_t)sizeof(buf), pos));
crypto/heimdal/lib/krb5/keytab_file.c
446
off_t *start,
crypto/heimdal/lib/krb5/keytab_file.c
447
off_t *end)
crypto/heimdal/lib/krb5/keytab_file.c
455
off_t pos, curpos;
crypto/heimdal/lib/krb5/keytab_file.c
733
off_t pos_start, pos_end;
crypto/heimdal/lib/krb5/keytab_keyfile.c
245
off_t pos;
crypto/heimdal/lib/krb5/krb5-protos.h
3972
KRB5_LIB_FUNCTION off_t KRB5_LIB_CALL
crypto/heimdal/lib/krb5/krb5-protos.h
3975
off_t /*offset*/,
crypto/heimdal/lib/krb5/krb5-protos.h
4006
off_t /*offset*/);
crypto/heimdal/lib/krb5/store-int.h
41
off_t (*seek)(struct krb5_storage_data*, off_t, int);
crypto/heimdal/lib/krb5/store-int.h
42
int (*trunc)(struct krb5_storage_data*, off_t);
crypto/heimdal/lib/krb5/store.c
170
KRB5_LIB_FUNCTION off_t KRB5_LIB_CALL
crypto/heimdal/lib/krb5/store.c
171
krb5_storage_seek(krb5_storage *sp, off_t offset, int whence)
crypto/heimdal/lib/krb5/store.c
188
krb5_storage_truncate(krb5_storage *sp, off_t offset)
crypto/heimdal/lib/krb5/store.c
294
off_t pos, size;
crypto/heimdal/lib/krb5/store_emem.c
106
emem_trunc(krb5_storage *sp, off_t offset)
crypto/heimdal/lib/krb5/store_emem.c
78
static off_t
crypto/heimdal/lib/krb5/store_emem.c
79
emem_seek(krb5_storage *sp, off_t offset, int whence)
crypto/heimdal/lib/krb5/store_fd.c
55
static off_t
crypto/heimdal/lib/krb5/store_fd.c
56
fd_seek(krb5_storage * sp, off_t offset, int whence)
crypto/heimdal/lib/krb5/store_fd.c
62
fd_trunc(krb5_storage * sp, off_t offset)
crypto/heimdal/lib/krb5/store_mem.c
107
mem_no_trunc(krb5_storage *sp, off_t offset)
crypto/heimdal/lib/krb5/store_mem.c
71
static off_t
crypto/heimdal/lib/krb5/store_mem.c
72
mem_seek(krb5_storage *sp, off_t offset, int whence)
crypto/heimdal/lib/krb5/store_mem.c
95
mem_trunc(krb5_storage *sp, off_t offset)
crypto/heimdal/lib/roken/getcap.c
285
(void)lseek(fd, (off_t)0, SEEK_SET);
crypto/krb5/src/kprop/kprop.c
338
open_database(krb5_context context, char *data_fn, off_t *size)
crypto/krb5/src/kprop/kprop.c
412
off_t in_database_size)
crypto/krb5/src/kprop/kprop.c
74
static int open_database(krb5_context context, char *data_fn, off_t *size);
crypto/krb5/src/kprop/kprop.c
78
int fd, int database_fd, off_t in_database_size);
crypto/krb5/src/kprop/kprop.c
94
off_t database_size;
crypto/krb5/src/lib/kdb/kdb_log.c
171
off_t current_offset;
crypto/krb5/src/lib/kdb/kdb_log.c
181
while (current_offset < (off_t)new_size) {
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1044
off_t start_offset;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
136
if (sizeof(off_t) > sizeof(size_t) && sb.st_size > (off_t)SIZE_MAX)
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
105
write_record(int fd, off_t offset, const uint8_t tag[TAG_LEN],
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
142
off_t table_offset = -1, nrecords = 0, avail_offset = -1, record_offset;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
49
next_table(off_t *offset, off_t *nrecords)
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
74
read_records(int fd, off_t offset, uint8_t tag1_out[TAG_LEN],
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
623
off_t pos;
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
176
off_t off;
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
392
off_t off;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
115
off_t off;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
138
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
179
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
128
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
177
(off_t)0)) == (caddr_t)-1)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
771
if (sb.st_size > (off_t)SIZE_T_MAX)
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
432
off_t pos;
crypto/openssh/loginrec.c
1194
if (lseek(fd, -(off_t)sizeof(struct utmp), SEEK_END) == -1) {
crypto/openssh/loginrec.c
1229
if (lseek(fd, -(off_t)(2 * sizeof(struct utmp)), SEEK_CUR) == -1) {
crypto/openssh/loginrec.c
1359
if (lseek(fd, -(off_t)sizeof(struct utmpx), SEEK_END) == -1 ) {
crypto/openssh/loginrec.c
1390
if (lseek(fd, -(off_t)(2 * sizeof(struct utmpx)), SEEK_CUR) == -1) {
crypto/openssh/loginrec.c
1527
off_t offset;
crypto/openssh/loginrec.c
1556
offset = (off_t) ((u_long)li->uid * sizeof(struct lastlog));
crypto/openssh/loginrec.c
863
off_t pos, ret;
crypto/openssh/loginrec.c
865
pos = (off_t)tty * sizeof(struct utmp);
crypto/openssh/openbsd-compat/bsd-misc.c
272
int truncate(const char *path, off_t length)
crypto/openssh/openbsd-compat/bsd-misc.h
93
int truncate (const char *, off_t);
crypto/openssh/openbsd-compat/bsd-sha2.h
107
char *SHA256FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/openbsd-compat/bsd-sha2.h
126
char *SHA384FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/openbsd-compat/bsd-sha2.h
145
char *SHA512FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/openbsd-compat/bsd-sha2.h
164
char *SHA512_256FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/openbsd-compat/bsd-sha2.h
88
char *SHA224FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/openbsd-compat/md5.h
43
char *MD5FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/openbsd-compat/openbsd-compat.h
77
int ftruncate(int filedes, off_t length);
crypto/openssh/openbsd-compat/sha1.h
37
char *SHA1FileChunk(const char *, char *, off_t, off_t)
crypto/openssh/progressmeter.c
109
format_size(off_t bytes)
crypto/openssh/progressmeter.c
127
off_t transferred;
crypto/openssh/progressmeter.c
130
off_t bytes_left;
crypto/openssh/progressmeter.c
194
format_rate((off_t)bytes_per_second));
crypto/openssh/progressmeter.c
248
start_progress_meter(const char *f, off_t filesize, off_t *ctr)
crypto/openssh/progressmeter.c
65
static off_t start_pos; /* initial position of transfer */
crypto/openssh/progressmeter.c
66
static off_t end_pos; /* ending position of transfer */
crypto/openssh/progressmeter.c
67
static off_t cur_pos; /* transfer position as of last refresh */
crypto/openssh/progressmeter.c
68
static volatile off_t *counter; /* progress counter */
crypto/openssh/progressmeter.c
88
format_rate(off_t bytes)
crypto/openssh/progressmeter.h
26
void start_progress_meter(const char *, off_t, off_t *);
crypto/openssh/scp.c
1386
off_t i, statbytes;
crypto/openssh/scp.c
1456
if (i + (off_t)amt > stb.st_size)
crypto/openssh/scp.c
1660
off_t i;
crypto/openssh/scp.c
1664
off_t size, statbytes;
crypto/openssh/scp.c
1676
if (TYPE_OVERFLOW(time_t, 0) || TYPE_OVERFLOW(off_t, 0))
crypto/openssh/scp.c
1799
if (TYPE_OVERFLOW(off_t, ull))
crypto/openssh/scp.c
1801
size = (off_t)ull;
crypto/openssh/scp.c
706
off_t *cnt = (off_t *)_cnt;
crypto/openssh/sftp-client.c
1592
off_t progress_counter;
crypto/openssh/sftp-client.c
2028
off_t offset, progress_counter;
crypto/openssh/sftp-client.c
2073
if ((off_t)c.size >= sb.st_size) {
crypto/openssh/sftp-client.c
2080
if (lseek(local_fd, (off_t)c.size, SEEK_SET) == -1) {
crypto/openssh/sftp-client.c
2458
off_t progress_counter;
crypto/openssh/sshbuf-io.c
65
st.st_size != (off_t)sshbuf_len(blob)) {
crypto/openssl/apps/s_server.c
3638
off_t offset = 0;
crypto/openssl/include/internal/ktls.h
204
static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off,
crypto/openssl/include/internal/ktls.h
207
off_t sbytes = 0;
crypto/openssl/include/internal/ktls.h
377
static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, size_t size, int flags)
crypto/openssl/include/openssl/ssl.h
2013
__owur ossl_ssize_t SSL_sendfile(SSL *s, int fd, off_t offset, size_t size,
crypto/openssl/ssl/ssl_lib.c
2580
ossl_ssize_t SSL_sendfile(SSL *s, int fd, off_t offset, size_t size, int flags)
crypto/openssl/test/sslapitest.c
1320
off_t chunk_off = 0;
include/dirent.h
112
ssize_t getdirentries(int, char *, size_t, off_t *);
include/ssp/uio.h
44
(int fd, const struct iovec *iov, int iovcnt, off_t offset))
include/ssp/unistd.h
70
off_t __offset), (__fd, __buf, __len, __offset));
include/unistd.h
359
off_t lseek(int, off_t, int);
include/unistd.h
402
int ftruncate(int, off_t);
include/unistd.h
427
ssize_t pread(int, void *, size_t, off_t);
include/unistd.h
428
ssize_t pwrite(int, const void *, size_t, off_t);
include/unistd.h
433
int truncate(const char *, off_t);
include/unistd.h
464
int lockf(int, int, off_t);
include/unistd.h
507
ssize_t copy_file_range(int, off_t *, int, off_t *, size_t, unsigned int);
include/unistd.h
597
off_t __syscall(quad_t, ...);
lib/geom/eli/geom_eli.c
1047
off_t mediasize;
lib/geom/eli/geom_eli.c
1557
off_t mediasize;
lib/geom/eli/geom_eli.c
1590
eli_trash_metadata(struct gctl_req *req, const char *prov, int fd, off_t offset)
lib/geom/eli/geom_eli.c
1636
off_t offset;
lib/geom/eli/geom_eli.c
1784
off_t mediasize;
lib/geom/eli/geom_eli.c
1826
off_t mediasize, oldsize;
lib/geom/eli/geom_eli.c
731
off_t mediasize;
lib/geom/journal/geom_journal_ufs.c
67
off_t psize, fssize;
lib/geom/mirror/geom_mirror.c
184
off_t mediasize;
lib/geom/mirror/geom_mirror.c
229
off_t msize;
lib/geom/mirror/geom_mirror.c
438
off_t size;
lib/geom/multipath/geom_multipath.c
150
off_t disksize = 0, msize;
lib/geom/part/geom_part.c
1154
off_t bsize;
lib/geom/part/geom_part.c
265
find_provider(struct ggeom *gp, off_t minsector)
lib/geom/part/geom_part.c
269
off_t sector, bestsector;
lib/geom/part/geom_part.c
275
sector = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
317
off_t last, size, start, new_size;
lib/geom/part/geom_part.c
318
off_t lba, new_lba, alignment, offset;
lib/geom/part/geom_part.c
380
last = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
392
start = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
394
lba = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
413
new_lba = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
440
off_t first, last, a_first;
lib/geom/part/geom_part.c
441
off_t size, start, a_lba;
lib/geom/part/geom_part.c
442
off_t lba, len, alignment, offset;
lib/geom/part/geom_part.c
533
first = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
538
last = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
546
lba = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
572
first = (off_t)strtoimax(s, NULL, 0) + 1;
lib/geom/part/geom_part.c
618
off_t first, last, sector, end;
lib/geom/part/geom_part.c
619
off_t length, secsz;
lib/geom/part/geom_part.c
631
first = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
636
last = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
665
sector = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
668
end = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
81
static struct gprovider *find_provider(struct ggeom *, off_t);
lib/geom/part/geom_part.c
819
off_t sector, end;
lib/geom/part/geom_part.c
820
off_t length;
lib/geom/part/geom_part.c
863
sector = (off_t)strtoimax(s, NULL, 0);
lib/geom/part/geom_part.c
866
end = (off_t)strtoimax(s, NULL, 0);
lib/geom/raid3/geom_raid3.c
147
off_t mediasize, msize;
lib/geom/shsec/geom_shsec.c
106
off_t compsize, msize;
lib/geom/stripe/geom_stripe.c
124
off_t compsize, msize;
lib/geom/virstor/geom_virstor.c
152
off_t msize;
lib/geom/virstor/geom_virstor.c
189
md.md_virsize = (off_t)gctl_get_intmax(req, "vir_size");
lib/geom/virstor/geom_virstor.c
230
off_t chunk_count = md.md_virsize / md.md_chunk_size;
lib/geom/virstor/geom_virstor.c
246
md.md_virsize = (off_t)total_chunks * (off_t)md.md_chunk_size;
lib/geom/virstor/geom_virstor.c
260
if ((off_t)md.md_virsize < msize)
lib/geom/virstor/geom_virstor.c
282
if (msize < (off_t) MAX(md.md_chunk_size*4, map_size))
lib/geom/virstor/geom_virstor.c
396
if ((off_t)(md.chunk_count * md.md_chunk_size) > (off_t)(msize-ssize))
lib/libc/db/hash/hash.c
495
if ((wsize = pwrite(fp, whdrp, sizeof(HASHHDR), (off_t)0)) == -1)
lib/libc/db/hash/hash_page.c
531
if ((rsize = pread(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
lib/libc/db/hash/hash_page.c
600
if ((wsize = pwrite(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
lib/libc/db/mpool/mpool.c
179
off_t off;
lib/libc/db/mpool/mpool.c
396
off_t off;
lib/libc/db/recno/rec_close.c
108
off_t off;
lib/libc/db/recno/rec_close.c
131
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
lib/libc/db/recno/rec_close.c
172
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
lib/libc/db/recno/rec_open.c
117
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
lib/libc/db/recno/rec_open.c
166
(off_t)0)) == MAP_FAILED)
lib/libc/db/test/dbtest.c
682
if (sb.st_size > (off_t)SIZE_T_MAX)
lib/libc/gen/confstr.c
81
sizeof(off_t) > sizeof(long))
lib/libc/gen/confstr.c
93
sizeof(off_t) >= sizeof(long))
lib/libc/gen/gen-private.h
50
off_t dd_seek; /* magic cookie returned by getdirentries */
lib/libc/gen/getcap.c
236
(void)lseek(fd, (off_t)0, SEEK_SET);
lib/libc/gen/getgrent.c
1322
off_t pos;
lib/libc/gen/getgrent.c
848
off_t pos;
lib/libc/gen/nlist.c
156
(off_t)ehdr.e_shoff);
lib/libc/gen/nlist.c
218
MAP_PRIVATE, fd, (off_t)stroff);
lib/libc/gen/nlist.c
236
elf_scan_symtab(Elf_Shdr *shdr, int shnum, int fd, off_t symoff, size_t symsize,
lib/libc/gen/nlist.c
89
static int elf_scan_symtab(Elf_Shdr *, int, int, off_t, size_t, char *, size_t,
lib/libc/gen/opendir2.c
90
off_t pos;
lib/libc/gen/pututxline.c
113
partial -= (off_t)sizeof(fe);
lib/libc/gen/pututxline.c
162
if (fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR) == -1)
lib/libc/gen/pututxline.c
219
ret = fseeko(fp, -(off_t)sizeof fe, SEEK_CUR);
lib/libc/gen/pututxline.c
73
off_t partial;
lib/libc/gen/pututxline.c
98
ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR);
lib/libc/gen/readdir.c
51
off_t initial_seek;
lib/libc/gen/sysconf.c
463
sizeof(void *) == sizeof(off_t))
lib/libc/gen/sysconf.c
475
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/sysconf.c
487
sizeof(void *) == sizeof(off_t))
lib/libc/gen/sysconf.c
499
sizeof(off_t) * CHAR_BIT >= 64)
lib/libc/gen/telldir.c
120
off_t loc_seek;
lib/libc/gen/telldir.c
153
(void) lseek(dirp->dd_fd, (off_t)loc_seek, SEEK_SET);
lib/libc/gen/telldir.c
174
_fixtelldir(DIR *dirp, off_t oldseek, size_t oldloc)
lib/libc/gen/telldir.c
62
if (dirp->dd_seek < (off_t)(1l << DD_SEEK_BITS) &&
lib/libc/gen/telldir.h
105
void _fixtelldir(DIR *dirp, off_t oldseek, size_t oldloc);
lib/libc/gen/telldir.h
50
off_t loc_seek; /* magic cookie returned by getdirentries */
lib/libc/iconv/citrus_mmap.c
75
fd, (off_t)0);
lib/libc/powerpc64/gen/syncicache.c
76
off_t l, off;
lib/libc/stdio/freopen.c
113
(void) ftruncate(fp->_file, (off_t)0);
lib/libc/stdio/fseek.c
194
if ((off_t)target < 0) {
lib/libc/stdio/fseek.c
198
if (ltest && (off_t)target > LONG_MAX) {
lib/libc/stdio/fseek.c
60
ret = _fseeko(fp, (off_t)offset, whence, 1);
lib/libc/stdio/fseek.c
68
fseeko(FILE *fp, off_t offset, int whence)
lib/libc/stdio/fseek.c
90
_fseeko(FILE *fp, off_t offset, int whence, int ltest)
lib/libc/stdio/fsetpos.c
44
return (fseeko(iop, (off_t)*pos, SEEK_SET));
lib/libc/stdio/ftell.c
50
off_t rv;
lib/libc/stdio/ftell.c
63
off_t
lib/libc/stdio/local.h
58
extern int _fseeko(FILE *, off_t, int, int);
lib/libc/stdio/rewind.c
52
if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0)
lib/libc/stdio/stdio.c
69
return (lseek(fp->_file, (off_t)offset, whence));
lib/libc/sys/lockf.c
41
lockf(int filedes, int function, off_t size)
lib/libc/tests/stdio/open_memstream2_test.c
55
off_t eob;
lib/libc/tests/stdio/open_wmemstream_test.c
55
off_t eob;
lib/libc/tests/sys/sendfile_test.c
264
static off_t
lib/libc/tests/sys/sendfile_test.c
280
verify_source_and_dest(const char* dest_filename, int src_fd, off_t offset,
lib/libc/tests/sys/sendfile_test.c
284
off_t dest_file_size, src_file_size;
lib/libc/tests/sys/sendfile_test.c
334
off_t offset;
lib/libc/tests/sys/sendfile_test.c
406
off_t offset;
lib/libc/tests/sys/sendfile_test.c
536
off_t offset;
lib/libc/tests/sys/sendfile_test.c
679
off_t offset;
lib/libc/tests/sys/sendfile_test.c
907
off_t sbytes;
lib/libc/tests/sys/sendfile_test.c
963
off_t *sbytes_p = (off_t*)-1;
lib/libfetch/fetch.h
47
off_t offset;
lib/libfetch/fetch.h
54
off_t size;
lib/libfetch/ftp.c
617
int mode, off_t offset, const char *flags)
lib/libfetch/http.c
1571
off_t offset, clength, length, size;
lib/libfetch/http.c
884
http_parse_length(const char *p, off_t *length)
lib/libfetch/http.c
886
off_t len;
lib/libfetch/http.c
901
http_parse_range(const char *p, off_t *offset, off_t *length, off_t *size)
lib/libfetch/http.c
903
off_t first, last, len;
lib/libgeom/geom_stats.c
70
off_t mediasize;
lib/libgeom/geom_util.c
116
off_t
lib/libgeom/geom_util.c
119
off_t stripesize;
lib/libgeom/geom_util.c
129
off_t
lib/libgeom/geom_util.c
132
off_t stripeoffset;
lib/libgeom/geom_util.c
166
g_delete(int fd, off_t offset, off_t length)
lib/libgeom/geom_util.c
168
off_t arg[2];
lib/libgeom/geom_util.c
90
off_t
lib/libgeom/geom_util.c
93
off_t mediasize;
lib/libgeom/libgeom.h
129
off_t lg_mediasize;
lib/libgeom/libgeom.h
131
off_t lg_stripeoffset;
lib/libgeom/libgeom.h
132
off_t lg_stripesize;
lib/libgeom/libgeom.h
160
off_t g_mediasize(int);
lib/libgeom/libgeom.h
162
off_t g_stripeoffset(int);
lib/libgeom/libgeom.h
163
off_t g_stripesize(int);
lib/libgeom/libgeom.h
165
int g_delete(int, off_t, off_t);
lib/libkldelf/elf.c
169
elf_read_raw_data(struct elf_file *efile, off_t offset, void *dst, size_t len)
lib/libkldelf/elf.c
182
elf_read_raw_data_alloc(struct elf_file *efile, off_t offset, size_t len,
lib/libkldelf/elf.c
201
elf_read_raw_string(struct elf_file *efile, off_t offset, char *dst, size_t len)
lib/libkldelf/elf.c
219
elf_read_data(struct elf_file *efile, Elf_Type type, off_t offset, size_t len,
lib/libkldelf/kldelf.h
182
int elf_read_data(struct elf_file *efile, Elf_Type type, off_t offset,
lib/libkldelf/kldelf.h
186
int elf_read_raw_data(struct elf_file *efile, off_t offset, void *dst,
lib/libkldelf/kldelf.h
193
int elf_read_raw_data_alloc(struct elf_file *efile, off_t offset,
lib/libkldelf/kldelf.h
197
int elf_read_raw_string(struct elf_file *efile, off_t offset, char *dst,
lib/libkvm/kvm.c
371
off_t pa;
lib/libkvm/kvm.c
380
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
431
off_t pa;
lib/libkvm/kvm.c
445
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.h
86
off_t kp_offset;
lib/libkvm/kvm_amd64.c
193
_amd64_vatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_amd64.c
209
off_t ofs;
lib/libkvm/kvm_amd64.c
331
_amd64_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_amd64.c
66
_kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs)
lib/libkvm/kvm_arm.c
193
_arm_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_arm.c
199
off_t pte_off;
lib/libkvm/kvm_arm.c
65
_kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs, size_t pgsz)
lib/libkvm/kvm_i386.c
212
_i386_vatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_i386.c
223
off_t ofs;
lib/libkvm/kvm_i386.c
302
_i386_vatop_pae(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_i386.c
313
off_t ofs;
lib/libkvm/kvm_i386.c
393
_i386_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_i386.c
71
_kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs)
lib/libkvm/kvm_minidump_aarch64.c
173
_aarch64_minidump_vatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_aarch64.c
180
off_t ofs;
lib/libkvm/kvm_minidump_aarch64.c
230
_aarch64_minidump_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_aarch64.c
86
off_t off, dump_avail_off, sparse_off;
lib/libkvm/kvm_minidump_amd64.c
124
off_t off, dump_avail_off, sparse_off;
lib/libkvm/kvm_minidump_amd64.c
184
_amd64_minidump_vatop_v1(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_amd64.c
191
off_t ofs;
lib/libkvm/kvm_minidump_amd64.c
240
_amd64_minidump_vatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_amd64.c
250
off_t ofs;
lib/libkvm/kvm_minidump_amd64.c
328
_amd64_minidump_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_arm.c
150
_arm_minidump_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_arm.c
156
off_t ofs;
lib/libkvm/kvm_minidump_arm.c
87
off_t off, dump_avail_off, sparse_off;
lib/libkvm/kvm_minidump_i386.c
146
_i386_minidump_vatop_pae(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_i386.c
153
off_t ofs;
lib/libkvm/kvm_minidump_i386.c
191
_i386_minidump_vatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_i386.c
198
off_t ofs;
lib/libkvm/kvm_minidump_i386.c
236
_i386_minidump_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_i386.c
92
off_t off, dump_avail_off, sparse_off;
lib/libkvm/kvm_minidump_powerpc64.c
168
_powerpc64_minidump_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_powerpc64.c
68
off_t dump_avail_off, bitmap_off, pmap_off, sparse_off;
lib/libkvm/kvm_minidump_powerpc64_hpt.c
443
ppc64mmu_hpt_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_powerpc64_hpt.c
449
off_t ptoff;
lib/libkvm/kvm_minidump_riscv.c
143
_riscv_minidump_vatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_riscv.c
150
off_t ofs;
lib/libkvm/kvm_minidump_riscv.c
200
_riscv_minidump_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa)
lib/libkvm/kvm_minidump_riscv.c
84
off_t off, dump_avail_off, sparse_off;
lib/libkvm/kvm_powerpc.c
147
powerpc_va2off(kvm_t *kd, kvaddr_t va, off_t *ofs)
lib/libkvm/kvm_powerpc.c
203
_powerpc_kvatop(kvm_t *kd, kvaddr_t va, off_t *ofs)
lib/libkvm/kvm_powerpc64.c
150
powerpc64_va2off(kvm_t *kd, kvaddr_t va, off_t *ofs)
lib/libkvm/kvm_powerpc64.c
216
_powerpc64_kvatop(kvm_t *kd, kvaddr_t va, off_t *ofs)
lib/libkvm/kvm_powerpc64.h
61
int (*kvatop)(kvm_t *, kvaddr_t, off_t *);
lib/libkvm/kvm_private.c
268
if ((off_t)off >= kd->pt_sparse_off)
lib/libkvm/kvm_private.c
276
off_t off;
lib/libkvm/kvm_private.c
290
_kvm_pt_init(kvm_t *kd, size_t dump_avail_size, off_t dump_avail_off,
lib/libkvm/kvm_private.c
291
size_t map_len, off_t map_off, off_t sparse_off, int page_size)
lib/libkvm/kvm_private.c
388
_kvm_pmap_init(kvm_t *kd, uint32_t pmap_size, off_t pmap_off)
lib/libkvm/kvm_private.c
465
off_t
lib/libkvm/kvm_private.h
108
off_t pt_sparse_off;
lib/libkvm/kvm_private.h
116
off_t page_map_off;
lib/libkvm/kvm_private.h
189
int _kvm_pt_init(kvm_t *, size_t, off_t, size_t, off_t, off_t, int);
lib/libkvm/kvm_private.h
190
off_t _kvm_pt_find(kvm_t *, uint64_t, unsigned int);
lib/libkvm/kvm_private.h
193
int _kvm_pmap_init(kvm_t *, uint32_t, off_t);
lib/libkvm/kvm_private.h
44
int (*ka_kvatop)(kvm_t *, kvaddr_t, off_t *);
lib/libmd/mdXhl.c
50
MDXFdChunk(int fd, char *buf, off_t ofs, off_t len)
lib/libmd/mdXhl.c
56
off_t remain;
lib/libmd/mdXhl.c
97
MDXFileChunk(const char *filename, char *buf, off_t ofs, off_t len)
lib/libmd/ripemd.h
126
char *RIPEMD160_FdChunk(int, char *, off_t, off_t);
lib/libmd/ripemd.h
128
char *RIPEMD160_FileChunk(const char *, char *, off_t, off_t);
lib/libmd/sha.h
154
char *SHA_FdChunk(int, char *, off_t, off_t);
lib/libmd/sha.h
156
char *SHA_FileChunk(const char *, char *, off_t, off_t);
lib/libmd/sha.h
164
char *SHA1_FdChunk(int, char *, off_t, off_t);
lib/libmd/sha.h
166
char *SHA1_FileChunk(const char *, char *, off_t, off_t);
lib/libnetmap/nmport.c
191
off_t mapsize;
lib/libpmc/pmclog.c
572
ps->ps_offset = (off_t) 0;
lib/libpmc/pmclog.h
170
off_t pl_offset; /* byte offset in stream */
lib/libpmc/pmclog.h
215
off_t ps_offset; /* stream byte offset */
lib/libprocstat/core.c
118
static bool core_offset(struct procstat_core *core, off_t offset);
lib/libprocstat/core.c
213
off_t offset, eoffset;
lib/libprocstat/core.c
308
core_offset(struct procstat_core *core, off_t offset)
lib/libprocstat/core.c
344
off_t offset;
lib/libprocstat/core.c
468
off_t offset, eoffset;
lib/libprocstat/libprocstat.c
383
int refcount, off_t offset, char *path, cap_rights_t *cap_rightsp)
lib/libprocstat/libprocstat.c
862
off_t offset;
lib/libprocstat/libprocstat.h
125
off_t fs_offset; /* Seek location. */
lib/libprocstat/libprocstat.h
184
off_t start;
lib/libprocstat/libprocstat.h
185
off_t len; /* len == 0 till the EOF */
lib/libsecureboot/h/libsecureboot.h
76
int verify_fd(int, const char *, off_t, struct stat *);
lib/libsecureboot/h/verify_file.h
45
int verify_prep(int, const char *, off_t, struct stat *, const char *);
lib/libsecureboot/h/verify_file.h
56
int verify_file(int, const char *, off_t, int, const char *);
lib/libsecureboot/h/verify_file.h
63
struct vectx* vectx_open(int, const char *, int, off_t, struct stat *, int *, const char *);
lib/libsecureboot/h/verify_file.h
65
off_t vectx_lseek(struct vectx *, off_t, int);
lib/libsecureboot/tests/tvo.c
167
off_t off;
lib/libsecureboot/vectx.c
309
off_t
lib/libsecureboot/vectx.c
310
vectx_lseek(struct vectx *ctx, off_t off, int whence)
lib/libsecureboot/vectx.c
56
off_t vec_off; /* current offset */
lib/libsecureboot/vectx.c
57
off_t vec_hashed; /* where we have hashed to */
lib/libsecureboot/vectx.c
58
off_t vec_size; /* size of path */
lib/libsecureboot/vectx.c
98
off_t off, struct stat *stp,
lib/libsecureboot/veopen.c
348
verify_fingerprint(int fd, const char *path, const char *cp, off_t off)
lib/libsecureboot/veopen.c
416
verify_fd(int fd, const char *path, off_t off, struct stat *stp)
lib/libsecureboot/verify_file.c
304
verify_tweak(int fd, off_t off, struct stat *stp,
lib/libsecureboot/verify_file.c
453
verify_prep(int fd, const char *filename, off_t off, struct stat *stp,
lib/libsecureboot/verify_file.c
518
verify_file(int fd, const char *filename, off_t off, int severity,
lib/libsys/_libsys.h
221
typedef ssize_t (__sys_preadv_t)(int, struct iovec *, u_int, off_t);
lib/libsys/_libsys.h
222
typedef ssize_t (__sys_pwritev_t)(int, struct iovec *, u_int, off_t);
lib/libsys/_libsys.h
293
typedef int (__sys_sendfile_t)(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
lib/libsys/_libsys.h
359
typedef ssize_t (__sys_pread_t)(int, void *, size_t, off_t);
lib/libsys/_libsys.h
360
typedef ssize_t (__sys_pwrite_t)(int, const void *, size_t, off_t);
lib/libsys/_libsys.h
361
typedef void * (__sys_mmap_t)(void *, size_t, int, int, int, off_t);
lib/libsys/_libsys.h
362
typedef off_t (__sys_lseek_t)(int, off_t, int);
lib/libsys/_libsys.h
363
typedef int (__sys_truncate_t)(const char *, off_t);
lib/libsys/_libsys.h
364
typedef int (__sys_ftruncate_t)(int, off_t);
lib/libsys/_libsys.h
407
typedef int (__sys_posix_fallocate_t)(int, off_t, off_t);
lib/libsys/_libsys.h
408
typedef int (__sys_posix_fadvise_t)(int, off_t, off_t, int);
lib/libsys/_libsys.h
429
typedef ssize_t (__sys_getdirentries_t)(int, char *, size_t, off_t *);
lib/libsys/_libsys.h
444
typedef ssize_t (__sys_copy_file_range_t)(int, off_t *, int, off_t *, size_t, unsigned int);
lib/libsys/_libsys.h
633
ssize_t __sys_preadv(int fd, struct iovec * iovp, u_int iovcnt, off_t offset);
lib/libsys/_libsys.h
634
ssize_t __sys_pwritev(int fd, struct iovec * iovp, u_int iovcnt, off_t offset);
lib/libsys/_libsys.h
705
int __sys_sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr * hdtr, off_t * sbytes, int flags);
lib/libsys/_libsys.h
771
ssize_t __sys_pread(int fd, void * buf, size_t nbyte, off_t offset);
lib/libsys/_libsys.h
772
ssize_t __sys_pwrite(int fd, const void * buf, size_t nbyte, off_t offset);
lib/libsys/_libsys.h
773
void * __sys_mmap(void * addr, size_t len, int prot, int flags, int fd, off_t pos);
lib/libsys/_libsys.h
774
off_t __sys_lseek(int fd, off_t offset, int whence);
lib/libsys/_libsys.h
775
int __sys_truncate(const char * path, off_t length);
lib/libsys/_libsys.h
776
int __sys_ftruncate(int fd, off_t length);
lib/libsys/_libsys.h
819
int __sys_posix_fallocate(int fd, off_t offset, off_t len);
lib/libsys/_libsys.h
820
int __sys_posix_fadvise(int fd, off_t offset, off_t len, int advice);
lib/libsys/_libsys.h
841
ssize_t __sys_getdirentries(int fd, char * buf, size_t count, off_t * basep);
lib/libsys/_libsys.h
856
ssize_t __sys_copy_file_range(int infd, off_t * inoffp, int outfd, off_t * outoffp, size_t len, unsigned int flags);
lib/libsys/libsys.h
23
off_t __sys___syscall(int64_t number, ...);
lib/libufs/block.c
110
cnt = pwrite(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize));
lib/libufs/block.c
129
off_t ioarg[2];
lib/libufs/block.c
142
off_t offset, zero_chunk_size, pwrite_size;
lib/libufs/block.c
64
cnt = pread(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize));
lib/libufs/libufs.h
129
int (*)(void *, off_t, void **, int));
lib/libufs/libufs.h
131
int ffs_sbget(void *, struct fs **, off_t, int, char *,
lib/libufs/libufs.h
132
int (*)(void *, off_t, void **, int));
lib/libufs/libufs.h
133
int ffs_sbput(void *, struct fs *, off_t,
lib/libufs/libufs.h
134
int (*)(void *, off_t, void *, int));
lib/libufs/libufs.h
171
int sbget(int, struct fs **, off_t, int);
lib/libufs/libufs.h
67
off_t d_sblockloc; /* where to look for the superblock */
lib/libufs/sblock.c
178
static int use_pread(void *devfd, off_t loc, void **bufp, int size);
lib/libufs/sblock.c
179
static int use_pwrite(void *devfd, off_t loc, void *buf, int size);
lib/libufs/sblock.c
196
sbget(int devfd, struct fs **fsp, off_t sblockloc, int flags)
lib/libufs/sblock.c
225
use_pread(void *devfd, off_t loc, void **bufp, int size)
lib/libufs/sblock.c
250
off_t savedactualloc;
lib/libufs/sblock.c
283
use_pwrite(void *devfd, off_t loc, void *buf, int size)
lib/libutil/quotafile.c
284
off_t off;
lib/libutil/quotafile.c
312
off_t off;
lib/libutil/quotafile.c
363
off_t off;
lib/libutil/quotafile.c
386
off_t off;
lib/libutil/tests/expand_number_test.c
257
off_t off;
lib/libutil/uucplock.c
137
lseek(fd, (off_t)0, SEEK_SET);
libexec/atrun/atrun.c
133
off_t size;
libexec/atrun/atrun.c
282
if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0)
libexec/comsat/comsat.c
114
off_t offset;
libexec/comsat/comsat.c
140
notify(struct utmpx *utp, char file[], off_t offset, int folder)
libexec/comsat/comsat.c
204
jkfprintf(FILE *tp, char file[], off_t offset)
libexec/comsat/comsat.c
62
static void jkfprintf(FILE *, char[], off_t);
libexec/comsat/comsat.c
64
static void notify(struct utmpx *, char[], off_t, int);
libexec/flua/modules/lposix.c
504
off_t offset;
libexec/phttpget/phttpget.c
252
copybytes(int sd, int fd, off_t copylen, char * resbuf, int * resbuflen,
libexec/phttpget/phttpget.c
315
off_t contentlength; /* Value from Content-Length header */
libexec/phttpget/phttpget.c
317
off_t clen; /* Chunk length */
libexec/pkg-serve/pkg-serve.c
163
if ((off_t)toread > remaining)
libexec/pkg-serve/pkg-serve.c
47
off_t remaining;
libexec/rbootd/rmpproto.c
441
if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) < 0) {
libexec/rtld-elf/map_object.c
392
if (sbp != NULL && sbp->st_size < (off_t)sizeof(Elf_Ehdr)) {
libexec/tftpd/tftp-file.c
214
off_t
libexec/tftpd/tftp-file.c
222
seek_file(off_t offset)
libexec/tftpd/tftp-file.h
36
int seek_file(off_t offset);
libexec/tftpd/tftp-file.h
37
off_t tell_file(void);
libexec/tftpd/tftp-transfer.c
50
off_t offset;
sbin/bsdlabel/bsdlabel.c
1182
off_t size;
sbin/bsdlabel/bsdlabel.c
463
if (mediasize > (off_t)0xffffffff * secsize)
sbin/bsdlabel/bsdlabel.c
466
(void)lseek(f, (off_t)0, SEEK_SET);
sbin/bsdlabel/bsdlabel.c
94
static off_t mediasize;
sbin/camcontrol/fwdownload.c
576
off_t img_size;
sbin/dump/cache.c
104
mask = ~(off_t)(BlockSize - 1);
sbin/dump/cache.c
130
blk->b_Offset = (off_t)-1;
sbin/dump/cache.c
37
off_t b_Offset;
sbin/dump/cache.c
71
base[i].b_Offset = (off_t)-1;
sbin/dump/cache.c
79
cread(int fd, void *buf, size_t nbytes, off_t offset)
sbin/dump/cache.c
86
off_t mask;
sbin/dump/dump.h
107
ssize_t cread(int fd, void *buf, size_t nbytes, off_t offset);
sbin/dump/traverse.c
451
off_t size;
sbin/dump/traverse.c
570
off_t *size)
sbin/dump/traverse.c
70
off_t *size);
sbin/dump/traverse.c
764
off_t size;
sbin/dump/traverse.c
903
off_t offset;
sbin/dump/traverse.c
988
((off_t)blkno << dev_bshift))) == dev_bsize)
sbin/dumpfs/dumpfs.c
336
off_t cur;
sbin/dumpfs/dumpfs.c
499
pblklist(void *vp, int max, off_t offset, int fflag)
sbin/dumpfs/dumpfs.c
78
static void pblklist(void *, int, off_t, int);
sbin/dumpon/dumpon.c
201
off_t mediasize;
sbin/fdisk/fdisk.c
249
static ssize_t read_disk(off_t sector, void *buf);
sbin/fdisk/fdisk.c
250
static int write_disk(off_t sector, void *buf);
sbin/fdisk/fdisk.c
750
read_disk(off_t sector, void *buf)
sbin/fdisk/fdisk.c
794
write_disk(off_t sector, void *buf)
sbin/fdisk/fdisk.c
81
off_t bootinst_size;
sbin/fdisk/fdisk.c
819
off_t o;
sbin/fsck_ffs/fsck.h
258
off_t id_filesize; /* for DATA nodes, the size of the directory */
sbin/fsck_ffs/fsck.h
341
extern off_t bflag; /* location of alternate super block */
sbin/fsck_ffs/fsutil.c
1210
kernmaxfilesize = (off_t)0x40000000 * sblock.fs_bsize - 1;
sbin/fsck_ffs/fsutil.c
865
off_t offset;
sbin/fsck_ffs/fsutil.c
915
off_t offset;
sbin/fsck_ffs/fsutil.c
938
off_t ioarg[2];
sbin/fsck_ffs/fsutil.c
957
off_t offset, len;
sbin/fsck_ffs/globs.c
69
off_t bflag; /* location of alternate super block */
sbin/fsck_ffs/inode.c
166
iblock(struct inodesc *idesc, off_t isize, int type)
sbin/fsck_ffs/inode.c
171
off_t sizepb;
sbin/fsck_ffs/inode.c
51
static int iblock(struct inodesc *, off_t isize, int type);
sbin/fsck_ffs/inode.c
61
off_t remsize, sizepb;
sbin/fsck_ffs/inode.c
615
if (DIP(dp, di_size) < (off_t)sblock.fs_maxsymlinklen) {
sbin/fsck_ffs/pass1.c
329
if (DIP(dp, di_size) < (off_t)sblock.fs_maxsymlinklen) {
sbin/fsck_ffs/suj.c
1278
ino_trunc(ino_t ino, off_t size)
sbin/fsck_ffs/suj.c
1291
off_t cursize;
sbin/fsck_ffs/suj.c
1292
off_t off;
sbin/fsck_ffs/suj.c
130
static void ino_trunc(ino_t, off_t);
sbin/fsck_ffs/suj.c
1755
ino_dup_ref(struct suj_ino *sino, struct jrefrec *refrec, off_t diroff)
sbin/fsck_ffs/suj.c
1784
off_t diroff;
sbin/fsck_ffs/suj.c
552
ino_clrat(ino_t parent, off_t diroff, ino_t child)
sbin/fsck_ffs/suj.c
596
ino_isat(ino_t parent, off_t diroff, ino_t child, int *mode, int *isdot)
sbin/fsck_ffs/suj.c
845
off_t isize;
sbin/fsck_ffs/suj.c
846
off_t size;
sbin/fsck_ffs/suj.c
993
off_t diroff;
sbin/fsck_msdosfs/dir.c
1083
static off_t lfoff;
sbin/fsck_msdosfs/dir.c
300
off_t off;
sbin/fsck_msdosfs/dir.c
478
off_t off;
sbin/fsck_msdosfs/dir.c
552
off_t off;
sbin/fsck_msdosfs/fat.c
1154
off_t dst_off, src_off;
sbin/fsck_msdosfs/fat.c
1203
off_t dst_base;
sbin/fsck_msdosfs/fat.c
155
off_t addr; /* offset */
sbin/fsck_msdosfs/fat.c
181
off_t fat32_offset;
sbin/fsck_msdosfs/fat.c
182
off_t fat32_lastaddr;
sbin/fsck_msdosfs/fat.c
347
fat_get_iosize(struct fat_descriptor *fat, off_t address)
sbin/fsck_msdosfs/fat.c
351
return (fat->fatsize & ((off_t)fat32_cache_chunk_size - 1));
sbin/fsck_msdosfs/fat.c
362
off_t fat_addr;
sbin/fsck_msdosfs/fat.c
384
fat_get_fat32_cache_entry(struct fat_descriptor *fat, off_t addr,
sbin/fsck_msdosfs/fat.c
389
off_t fat_addr;
sbin/fsck_msdosfs/fat.c
443
off_t addr, off;
sbin/fsck_msdosfs/fat.c
582
off_t off;
sbin/fsck_msdosfs/fat.c
649
off_t off;
sbin/fsck_msdosfs/fat.c
697
off_t off;
sbin/fsdb/fsdb.c
1038
off_t size;
sbin/fsirand/fsirand.c
180
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
211
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/geom/misc/subr.c
121
g_parse_lba(const char *lbastr, unsigned int sectorsize, off_t *sectors)
sbin/geom/misc/subr.c
123
off_t number, mult, unit;
sbin/geom/misc/subr.c
130
number = (off_t)strtoimax(lbastr, &s, 0);
sbin/geom/misc/subr.c
189
off_t
sbin/geom/misc/subr.c
192
off_t mediasize;
sbin/geom/misc/subr.c
228
off_t mediasize;
sbin/geom/misc/subr.c
285
off_t mediasize;
sbin/geom/misc/subr.c
331
off_t mediasize;
sbin/geom/misc/subr.h
35
int g_parse_lba(const char *lbastr, unsigned int sectorsize, off_t *sectors);
sbin/geom/misc/subr.h
37
off_t g_get_mediasize(const char *name);
sbin/ggate/ggatec/ggatec.c
68
static off_t mediasize;
sbin/ggate/ggated/ggated.c
65
off_t c_mediasize;
sbin/ggate/shared/ggate.c
131
off_t
sbin/ggate/shared/ggate.c
134
off_t mediasize;
sbin/ggate/shared/ggate.h
104
off_t g_gate_mediasize(int fd);
sbin/growfs/growfs.c
1077
if (lseek(fsi, (off_t)bno * DEV_BSIZE, 0) < 0)
sbin/growfs/growfs.c
1102
if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) < 0)
sbin/growfs/growfs.c
1306
off_t mediasize;
sbin/growfs/growfs.c
1319
size = (off_t)strtoumax(optarg, &p, 0);
sbin/hastd/activemap.c
106
static __inline off_t
sbin/hastd/activemap.c
109
off_t offset;
sbin/hastd/activemap.c
112
offset = ((off_t)extent << amp->am_extentshift);
sbin/hastd/activemap.c
124
off_t left;
sbin/hastd/activemap.c
294
activemap_write_start(struct activemap *amp, off_t offset, off_t length)
sbin/hastd/activemap.c
297
off_t end;
sbin/hastd/activemap.c
330
activemap_write_complete(struct activemap *amp, off_t offset, off_t length)
sbin/hastd/activemap.c
333
off_t end;
sbin/hastd/activemap.c
53
off_t am_mediasize; /* Media size in bytes. */
sbin/hastd/activemap.c
582
off_t
sbin/hastd/activemap.c
583
activemap_sync_offset(struct activemap *amp, off_t *lengthp, int *syncextp)
sbin/hastd/activemap.c
585
off_t syncoff, left;
sbin/hastd/activemap.c
653
activemap_need_sync(struct activemap *amp, off_t offset, off_t length)
sbin/hastd/activemap.c
656
off_t end;
sbin/hastd/activemap.c
66
off_t am_syncoff; /* Next synchronization offset. */
sbin/hastd/activemap.c
96
off2ext(const struct activemap *amp, off_t offset)
sbin/hastd/activemap.h
43
bool activemap_write_start(struct activemap *amp, off_t offset, off_t length);
sbin/hastd/activemap.h
44
bool activemap_write_complete(struct activemap *amp, off_t offset,
sbin/hastd/activemap.h
45
off_t length);
sbin/hastd/activemap.h
62
off_t activemap_sync_offset(struct activemap *amp, off_t *lengthp,
sbin/hastd/activemap.h
64
bool activemap_need_sync(struct activemap *amp, off_t offset, off_t length);
sbin/hastd/hast.h
172
off_t hr_localoff;
sbin/hastd/hast.h
174
off_t hr_datasize;
sbin/hastd/hast.h
176
off_t hr_local_mediasize;
sbin/hastd/primary.c
1961
off_t offset, length, synced;
sbin/hastd/rangelock.c
111
rangelock_del(struct rangelocks *rls, off_t offset, off_t length)
sbin/hastd/rangelock.c
127
rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length)
sbin/hastd/rangelock.c
130
off_t end;
sbin/hastd/rangelock.c
54
off_t rl_start;
sbin/hastd/rangelock.c
55
off_t rl_end;
sbin/hastd/rangelock.c
95
rangelock_add(struct rangelocks *rls, off_t offset, off_t length)
sbin/hastd/rangelock.h
41
int rangelock_add(struct rangelocks *rls, off_t offset, off_t length);
sbin/hastd/rangelock.h
42
void rangelock_del(struct rangelocks *rls, off_t offset, off_t length);
sbin/hastd/rangelock.h
43
bool rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length);
sbin/ipf/ipfs/ipfs.c
153
off_t pos;
sbin/ipf/ipfs/ipfs.c
90
off_t pos;
sbin/ipf/ipsend/sock.c
100
off_t offset = (u_long)pos;
sbin/mdconfig/mdconfig.c
232
mdio.md_mediasize = (off_t)strtoumax(optarg, &p, 0);
sbin/newfs/mkfs.c
702
off_t savedactualloc;
sbin/newfs/newfs.c
87
off_t mediasize; /* device size */
sbin/newfs/newfs.h
91
extern off_t mediasize; /* device size */
sbin/newfs_msdos/mkfs_msdos.c
908
off_t ms;
sbin/newfs_msdos/mkfs_msdos.c
929
off_t hs = 0;
sbin/newfs_msdos/mkfs_msdos.c
931
off_t ms;
sbin/newfs_msdos/mkfs_msdos.h
37
AOPT('@', off_t, offset, 0, "Offset in device") \
sbin/newfs_msdos/mkfs_msdos.h
40
AOPT('C', off_t, create_size, 0, "Create file") \
sbin/newfs_msdos/newfs_msdos.c
208
static off_t
sbin/newfs_msdos/newfs_msdos.c
212
off_t x;
sbin/newfs_msdos/newfs_msdos.c
48
static off_t argtooff(const char *, const char *);
sbin/quotacheck/quotacheck.c
484
sb.st_size > (off_t)((highid + 2) * sizeof(struct dqblk)))
sbin/quotacheck/quotacheck.c
486
(((off_t)highid + 2) * sizeof(struct dqblk)));
sbin/quotacheck/quotacheck.c
664
if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0 ||
sbin/recoverdisk/recoverdisk.c
399
i = pwrite(fd, buf, length, (off_t)where);
sbin/recoverdisk/recoverdisk.c
541
off_t mediasize;
sbin/recoverdisk/recoverdisk.c
567
off_t stripesize;
sbin/recoverdisk/recoverdisk.c
820
if (ftruncate(write_fd, (off_t)total_size) < 0)
sbin/restore/dirs.c
525
(off_t)0, SEEK_CUR) - dirp->dd_size + dirp->dd_loc);
sbin/restore/restore.h
118
off_t size; /* size of file */
sbin/restore/tape.c
1208
seek_failed = (lseek(mt, i, SEEK_CUR) == (off_t)-1);
sbin/restore/tape.c
871
volatile off_t size;
sbin/savecore/savecore.c
348
static off_t
sbin/savecore/savecore.c
359
static off_t
sbin/savecore/savecore.c
363
off_t dumpsize;
sbin/savecore/savecore.c
431
check_space(const char *savedir, int savedirfd, off_t dumpsize, int bounds)
sbin/savecore/savecore.c
436
off_t available, minfree, spacefree, totfree, needed;
sbin/savecore/savecore.c
442
spacefree = ((off_t) fsbuf.f_bavail * fsbuf.f_bsize) / 1024;
sbin/savecore/savecore.c
443
totfree = ((off_t) fsbuf.f_bfree * fsbuf.f_bsize) / 1024;
sbin/savecore/savecore.c
615
DoRegularFile(int fd, off_t dumpsize, u_int sectorsize, bool sparse,
sbin/savecore/savecore.c
621
off_t dmpcnt, origsize;
sbin/savecore/savecore.c
702
DoTextdumpFile(int fd, off_t dumpsize, off_t lasthd, char *buf,
sbin/savecore/savecore.c
706
off_t dmpcnt, totsize;
sbin/savecore/savecore.c
754
off_t dumplength;
sbin/savecore/savecore.c
805
if (lseek(fdcore, -(off_t)sizeof(kdhl), SEEK_END) == -1) {
sbin/savecore/savecore.c
933
off_t mediasize, dumpextent, dumplength, firsthd, lasthd;
sbin/swapon/swapon.c
708
off_t ioarg[2], sz;
sbin/tunefs/tunefs.c
682
if ((off_t)dp.dp1->di_size >= lblktosize(&sblock, UFS_NDADDR)) {
sbin/tunefs/tunefs.c
690
sblksize(&sblock, (off_t)dp.dp1->di_size, i))) != 0)
sbin/tunefs/tunefs.c
694
if ((off_t)dp.dp2->di_size >= lblktosize(&sblock, UFS_NDADDR)) {
sbin/tunefs/tunefs.c
702
sblksize(&sblock, (off_t)dp.dp2->di_size, i))) != 0)
sbin/tunefs/tunefs.c
711
dir_clear_block(dirblock *block, off_t off)
sbin/tunefs/tunefs.c
730
dir_insert(ufs2_daddr_t blk, off_t off, ino_t ino)
sbin/tunefs/tunefs.c
761
dir_extend(ufs2_daddr_t blk, ufs2_daddr_t nblk, off_t size, ino_t ino)
sbin/tunefs/tunefs.c
815
size = sblksize(&sblock, (off_t)dp.dp1->di_size, lbn);
sbin/tunefs/tunefs.c
820
size = sblksize(&sblock, (off_t)dp.dp2->di_size, lbn);
share/examples/scsi_target/scsi_cmds.c
552
if (((off_t)(blkno + count)) > volume_size) {
share/examples/scsi_target/scsi_cmds.c
560
a_descr->base_off = ((off_t)blkno) * sector_size;
share/examples/scsi_target/scsi_target.c
108
off_t user_size;
share/examples/scsi_target/scsi_target.c
242
off_t mediasize;
share/examples/scsi_target/scsi_target.c
66
off_t volume_size;
share/examples/scsi_target/scsi_target.h
120
extern off_t volume_size;
share/examples/scsi_target/scsi_target.h
53
off_t base_off; /* Base offset for ATIO */
share/examples/scsi_target/scsi_target.h
74
off_t offset; /* Position in transfer (for file, */
stand/common/bootstrap.h
76
int kern_pread(readin_handle_t fd, vm_offset_t dest, size_t len, off_t off);
stand/common/bootstrap.h
77
void *alloc_pread(readin_handle_t fd, off_t off, size_t len);
stand/common/gfx_fb.c
490
off_t off;
stand/common/gfx_fb.c
571
off_t off;
stand/common/gfx_fb.c
671
off_t off;
stand/common/gfx_fb.c
775
off_t off;
stand/common/load_elf.c
805
if (VECTX_LSEEK(VECTX_HANDLE(ef), (off_t)shdr[i].sh_offset, SEEK_SET) == -1) {
stand/common/load_elf_obj.c
233
shdr = alloc_pread(VECTX_HANDLE(ef), (off_t)hdr->e_shoff, shdrbytes);
stand/common/load_elf_obj.c
355
cshdr->sh_size, (off_t)cshdr->sh_offset) != 0) {
stand/common/misc.c
116
kern_pread(readin_handle_t fd, vm_offset_t dest, size_t len, off_t off)
stand/common/misc.c
140
alloc_pread(readin_handle_t fd, off_t off, size_t len)
stand/efi/boot1/zfs_module.c
53
vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes)
stand/efi/libefi/efihttp.c
64
static off_t efihttp_fs_seek(struct open_file *f, off_t offset, int where);
stand/efi/libefi/efihttp.c
695
static off_t
stand/efi/libefi/efihttp.c
696
efihttp_fs_seek(struct open_file *f, off_t offset, int where)
stand/efi/libefi/efihttp.c
77
off_t offset;
stand/ficl/loader.c
600
off_t off, ptr;
stand/i386/gptboot/gptboot.c
105
static int vdev_read(void *vdev __unused, void *priv, off_t off, void *buf,
stand/i386/gptboot/gptboot.c
625
vdev_read(void *vdev __unused, void *priv, off_t off, void *buf, size_t bytes)
stand/kboot/include/host_syscall.h
172
void *host_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off);
stand/kboot/kboot/hostfs.c
122
static off_t
stand/kboot/kboot/hostfs.c
123
hostfs_seek(struct open_file *f, off_t offset, int whence)
stand/kboot/libkboot/dfk.c
245
lseek(ef.fd, (off_t)phdr[i].p_offset + addr - phdr[i].p_vaddr,
stand/kboot/libkboot/host_syscalls.c
96
host_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off)
stand/libsa/bzipfs.c
308
static off_t
stand/libsa/bzipfs.c
309
bzf_seek(struct open_file *f, off_t offset, int where)
stand/libsa/bzipfs.c
312
off_t target;
stand/libsa/bzipfs.c
65
static off_t bzf_seek(struct open_file *f, off_t offset, int where);
stand/libsa/cd9660.c
112
off_t f_off; /* Current offset within file */
stand/libsa/cd9660.c
114
off_t f_size; /* Size of file */
stand/libsa/cd9660.c
640
static off_t
stand/libsa/cd9660.c
641
cd9660_seek(struct open_file *f, off_t offset, int where)
stand/libsa/cd9660.c
67
static off_t cd9660_seek(struct open_file *f, off_t offset, int where);
stand/libsa/cd9660read.c
317
off_t byte_off;
stand/libsa/dosfs.c
181
static off_t fsize(DOS_FS *, DOS_DE *);
stand/libsa/dosfs.c
408
off_t size;
stand/libsa/dosfs.c
471
static off_t
stand/libsa/dosfs.c
472
dos_seek(struct open_file *fd, off_t offset, int whence)
stand/libsa/dosfs.c
474
off_t off;
stand/libsa/dosfs.c
56
static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
stand/libsa/dosfs.c
878
static off_t
stand/libsa/ext2fs.c
302
off_t f_seekp; /* seek pointer */
stand/libsa/ext2fs.c
846
static off_t
stand/libsa/ext2fs.c
847
ext2fs_seek(struct open_file *f, off_t offset, int where)
stand/libsa/ext2fs.c
98
static off_t ext2fs_seek(struct open_file *f, off_t offset, int where);
stand/libsa/geli/geliboot.c
135
off_t alignsector;
stand/libsa/geli/geliboot.c
311
geli_io(struct geli_dev *gdev, geli_op_t enc, off_t offset, u_char *buf,
stand/libsa/geli/geliboot.c
317
off_t dstoff;
stand/libsa/geli/geliboot.h
76
typedef int (*geli_readfunc)(void *vdev, void *readpriv, off_t offbytes,
stand/libsa/geli/geliboot.h
81
int geli_io(struct geli_dev *gdev, geli_op_t, off_t offset, u_char *buf,
stand/libsa/geli/geliboot_internal.h
59
off_t part_end;
stand/libsa/geli/gelidev.c
113
off_t alnend, alnstart, reqend, reqstart;
stand/libsa/geli/gelidev.c
85
diskdev_read(void *vdev, void *readpriv, off_t offbytes,
stand/libsa/gzipfs.c
288
static off_t
stand/libsa/gzipfs.c
289
zf_seek(struct open_file *f, off_t offset, int where)
stand/libsa/gzipfs.c
292
off_t target;
stand/libsa/gzipfs.c
38
off_t zf_dataoffset;
stand/libsa/gzipfs.c
48
static off_t zf_seek(struct open_file *f, off_t offset, int where);
stand/libsa/gzipfs.c
93
get_byte(struct z_file *zf, off_t *curoffp)
stand/libsa/lseek.c
63
off_t
stand/libsa/lseek.c
64
lseek(int fd, off_t offset, int where)
stand/libsa/lseek.c
66
off_t bufpos, filepos, target;
stand/libsa/nfs.c
112
off_t off;
stand/libsa/nfs.c
126
static off_t nfs_seek(struct open_file *f, off_t offset, int where);
stand/libsa/nfs.c
391
nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len)
stand/libsa/nfs.c
717
off_t
stand/libsa/nfs.c
718
nfs_seek(struct open_file *f, off_t offset, int where)
stand/libsa/nullfs.c
86
off_t null_seek (struct open_file *f, off_t offset, int where)
stand/libsa/pkgfs.c
106
off_t tf_ofs;
stand/libsa/pkgfs.c
107
off_t tf_size;
stand/libsa/pkgfs.c
108
off_t tf_fp;
stand/libsa/pkgfs.c
117
off_t pkg_ofs;
stand/libsa/pkgfs.c
289
off_t fp;
stand/libsa/pkgfs.c
343
static off_t
stand/libsa/pkgfs.c
344
pkg_seek(struct open_file *f, off_t ofs, int whence)
stand/libsa/pkgfs.c
348
off_t delta;
stand/libsa/pkgfs.c
349
off_t nofs;
stand/libsa/pkgfs.c
37
static off_t pkg_seek(struct open_file *, off_t, int);
stand/libsa/pkgfs.c
40
static off_t pkg_atol(const char *, unsigned);
stand/libsa/pkgfs.c
419
sb->st_dev = (off_t)((uintptr_t)tf->tf_pkg);
stand/libsa/pkgfs.c
449
get_byte(struct package *pkg, off_t *op)
stand/libsa/pkgfs.c
571
static off_t
stand/libsa/pkgfs.c
638
static off_t
stand/libsa/pkgfs.c
668
off_t ofs;
stand/libsa/pkgfs.c
760
off_t ofs;
stand/libsa/splitfs.c
232
static off_t
stand/libsa/splitfs.c
233
splitfs_seek(struct open_file *f, off_t offset, int where)
stand/libsa/splitfs.c
237
off_t new_pos, seek_by;
stand/libsa/splitfs.c
40
off_t tot_pos; /* Offset from the beginning of the sequence */
stand/libsa/splitfs.c
41
off_t file_pos; /* Offset from the beginning of the slice */
stand/libsa/splitfs.c
48
static off_t splitfs_seek(struct open_file *f, off_t offset, int where);
stand/libsa/stand.h
116
off_t (*fo_seek)(struct open_file *f, off_t offset, int where);
stand/libsa/stand.h
208
off_t f_offset; /* current file offset */
stand/libsa/stand.h
211
off_t f_raoffset; /* consumer offset in readahead buffer */
stand/libsa/stand.h
432
extern off_t null_seek(struct open_file *f, off_t offset, int where);
stand/libsa/tftp.c
708
static off_t
stand/libsa/tftp.c
709
tftp_seek(struct open_file *f, off_t offset, int where)
stand/libsa/tftp.c
73
static off_t tftp_seek(struct open_file *, off_t, int);
stand/libsa/ufs.c
112
off_t f_seekp; /* seek pointer */
stand/libsa/ufs.c
146
static int ufs_use_sa_read(void *, off_t, void **, int);
stand/libsa/ufs.c
149
int ffs_sbget(void *devfd, struct fs **fsp, off_t sblock, int flags,
stand/libsa/ufs.c
151
int (*readfunc)(void *devfd, off_t loc, void **bufp, int size));
stand/libsa/ufs.c
153
int (*)(void *, off_t, void **, int));
stand/libsa/ufs.c
704
ufs_use_sa_read(void *devfd, off_t loc, void **bufp, int size)
stand/libsa/ufs.c
825
static off_t
stand/libsa/ufs.c
826
ufs_seek(struct open_file *f, off_t offset, int where)
stand/libsa/ufs.c
88
static off_t ufs_seek(struct open_file *f, off_t offset, int where);
stand/libsa/ufsread.c
301
n = sblksize(&fs, (off_t)size, lbn) - (off & ~VBLKMASK);
stand/libsa/xzfs.c
262
static off_t
stand/libsa/xzfs.c
263
xzf_seek(struct open_file *f, off_t offset, int where)
stand/libsa/xzfs.c
266
off_t target;
stand/libsa/xzfs.c
48
off_t xzf_total_out;
stand/libsa/xzfs.c
55
static off_t xzf_seek(struct open_file *f, off_t offset, int where);
stand/libsa/zfs/zfs.c
181
static off_t
stand/libsa/zfs/zfs.c
182
zfs_seek(struct open_file *f, off_t offset, int where)
stand/libsa/zfs/zfs.c
458
vdev_read(vdev_t *vdev, void *priv, off_t offset, void *buf, size_t bytes)
stand/libsa/zfs/zfs.c
463
off_t start_sec;
stand/libsa/zfs/zfs.c
53
static off_t zfs_seek(struct open_file *f, off_t offset, int where);
stand/libsa/zfs/zfs.c
580
vdev_write(vdev_t *vdev, off_t offset, void *buf, size_t bytes)
stand/libsa/zfs/zfs.c
585
off_t start_sec;
stand/libsa/zfs/zfs.c
86
off_t f_seekp; /* seek pointer */
stand/libsa/zfs/zfsimpl.c
154
static int dnode_read(const spa_t *, const dnode_phys_t *, off_t, void *,
stand/libsa/zfs/zfsimpl.c
156
static int vdev_indirect_read(vdev_t *, const blkptr_t *, void *, off_t,
stand/libsa/zfs/zfsimpl.c
158
static int vdev_mirror_read(vdev_t *, const blkptr_t *, void *, off_t, size_t);
stand/libsa/zfs/zfsimpl.c
1652
off_t off;
stand/libsa/zfs/zfsimpl.c
1710
off_t off;
stand/libsa/zfs/zfsimpl.c
231
off_t offset, size_t size)
stand/libsa/zfs/zfsimpl.c
2390
off_t offset;
stand/libsa/zfs/zfsimpl.c
2452
dnode_read(const spa_t *spa, const dnode_phys_t *dnode, off_t offset,
stand/libsa/zfs/zfsimpl.c
255
vdev_write_phys(vdev_t *vdev, void *buf, off_t offset, size_t size)
stand/libsa/zfs/zfsimpl.c
2948
off_t off = ((off_t)(i + 1)) << zl.l_bs;
stand/libsa/zfs/zfsimpl.c
3041
off_t offset;
stand/libsa/zfs/zfsimpl.c
3124
off_t off = ((off_t)(i + 1)) << zl.l_bs;
stand/libsa/zfs/zfsimpl.c
387
off_t offset = 0;
stand/libsa/zfs/zfsimpl.c
695
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
783
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
792
void *buf __unused, off_t offset __unused, size_t bytes __unused)
stand/libsa/zfs/zfsimpl.c
800
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
819
off_t offset, size_t bytes)
stand/libsa/zstdfs.c
261
static off_t
stand/libsa/zstdfs.c
262
zstdf_seek(struct open_file *f, off_t offset, int where)
stand/libsa/zstdfs.c
265
off_t target;
stand/libsa/zstdfs.c
50
off_t zstdf_total_out;
stand/libsa/zstdfs.c
57
static off_t zstdf_seek(struct open_file *f, off_t offset, int where);
stand/uboot/uboot_disk.c
62
off_t blocks; /* block count */
stand/usb/tools/sysinit.c
170
off_t off;
stand/userboot/test/test.c
416
*(off_t *)data = sb.st_size;
stand/userboot/userboot/host.c
74
static off_t
stand/userboot/userboot/host.c
75
host_seek(struct open_file *f, off_t offset, int where)
stand/userboot/userboot/userboot_disk.c
82
off_t mediasize;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
614
bcmfb_set_win_org(video_adapter_t *adp, off_t offset)
sys/arm/ti/am335x/am335x_lcd_syscons.c
524
am335x_syscons_set_win_org(video_adapter_t *adp, off_t offset)
sys/arm64/arm64/cmn600.c
326
cmn600_create_node(struct cmn600_softc *sc, off_t node_offset,
sys/arm64/arm64/cmn600.c
330
off_t child_offset;
sys/arm64/arm64/cmn600.c
542
pmu_cmn600_rd4(void *arg, int nodeid, int node_type, off_t reg)
sys/arm64/arm64/cmn600.c
556
pmu_cmn600_wr4(void *arg, int nodeid, int node_type, off_t reg, uint32_t val)
sys/arm64/arm64/cmn600.c
571
pmu_cmn600_rd8(void *arg, int nodeid, int node_type, off_t reg)
sys/arm64/arm64/cmn600.c
585
pmu_cmn600_wr8(void *arg, int nodeid, int node_type, off_t reg, uint64_t val)
sys/arm64/arm64/cmn600.c
600
pmu_cmn600_set8(void *arg, int nodeid, int node_type, off_t reg, uint64_t val)
sys/arm64/arm64/cmn600.c
615
pmu_cmn600_clr8(void *arg, int nodeid, int node_type, off_t reg, uint64_t val)
sys/arm64/arm64/cmn600.c
630
pmu_cmn600_md8(void *arg, int nodeid, int node_type, off_t reg, uint64_t mask,
sys/arm64/arm64/cmn600.c
78
off_t nd_offset;
sys/arm64/include/cmn600_reg.h
54
uint32_t pmu_cmn600_rd4(void *arg, int nodeid, int node_type, off_t reg);
sys/arm64/include/cmn600_reg.h
55
int pmu_cmn600_wr4(void *arg, int nodeid, int node_type, off_t reg,
sys/arm64/include/cmn600_reg.h
57
uint64_t pmu_cmn600_rd8(void *arg, int nodeid, int node_type, off_t reg);
sys/arm64/include/cmn600_reg.h
58
int pmu_cmn600_wr8(void *arg, int nodeid, int node_type, off_t reg,
sys/arm64/include/cmn600_reg.h
60
int pmu_cmn600_set8(void *arg, int nodeid, int node_type, off_t reg,
sys/arm64/include/cmn600_reg.h
62
int pmu_cmn600_clr8(void *arg, int nodeid, int node_type, off_t reg,
sys/arm64/include/cmn600_reg.h
64
int pmu_cmn600_md8(void *arg, int nodeid, int node_type, off_t reg,
sys/cam/ata/ata_da.c
1121
adadump(void *arg, void *virtual, off_t offset, size_t length)
sys/cam/ata/ata_da.c
3191
off_t entries_offset, max_entries;
sys/cam/ata/ata_da.c
3601
softc->disk->d_mediasize = (off_t)softc->params.sectors *
sys/cam/ata/ata_xpt.c
1714
off_t amt;
sys/cam/cam_ccb.h
1359
off_t bufsiz; /* IN: Size of external buffer */
sys/cam/cam_ccb.h
1361
off_t provsiz; /* OUT: Size required/used */
sys/cam/cam_ccb.h
1371
off_t async_arg_size;
sys/cam/cam_iosched.c
1670
off_t len;
sys/cam/ctl/ctl_backend_block.c
1068
off_t roff, off;
sys/cam/ctl/ctl_backend_block.c
1081
off = roff = ((off_t)lbalen->lba) * be_lun->cbe_lun.blocksize;
sys/cam/ctl/ctl_backend_block.c
1237
off_t cur_offset;
sys/cam/ctl/ctl_backend_block.c
2218
off_t ps, pss, po, pos, us, uss, uo, uos;
sys/cam/ctl/ctl_backend_block.c
2329
off_t ps, pss, po, pos, us, uss, uo, uos, otmp;
sys/cam/ctl/ctl_backend_block.c
816
off_t roff, off;
sys/cam/ctl/ctl_backend_block.c
823
off = roff = ((off_t)lbalen->lba) * be_lun->cbe_lun.blocksize;
sys/cam/ctl/ctl_backend_block.c
887
off_t off, len;
sys/cam/ctl/ctl_backend_block.c
907
off = (off_t)scsi_8btou64(buf->lba) *
sys/cam/ctl/ctl_backend_block.c
909
len = (off_t)scsi_4btoul(buf->length) *
sys/cam/ctl/ctl_backend_ramdisk.c
210
ctl_backend_ramdisk_getpage(struct ctl_be_ramdisk_lun *be_lun, off_t pn,
sys/cam/ctl/ctl_backend_ramdisk.c
214
off_t i;
sys/cam/ctl/ctl_backend_ramdisk.c
272
ctl_backend_ramdisk_unmappage(struct ctl_be_ramdisk_lun *be_lun, off_t pn)
sys/cam/ctl/ctl_backend_ramdisk.c
275
off_t i;
sys/cam/ctl/ctl_backend_ramdisk.c
302
ctl_backend_ramdisk_anchorpage(struct ctl_be_ramdisk_lun *be_lun, off_t pn)
sys/cam/ctl/ctl_backend_ramdisk.c
305
off_t i;
sys/cam/ctl/ctl_backend_ramdisk.c
692
ctl_backend_ramdisk_delete(struct ctl_be_lun *cbe_lun, off_t lba, off_t len,
sys/cam/ctl/ctl_tpc.c
1100
static off_t
sys/cam/ctl/ctl_tpc.c
1103
off_t length = 0;
sys/cam/ctl/ctl_tpc.c
1151
tpc_skip_ranges(struct scsi_range_desc *range, int nrange, off_t skip,
sys/cam/ctl/ctl_tpc.c
1152
int *srange, off_t *soffset)
sys/cam/ctl/ctl_tpc.c
1154
off_t off;
sys/cam/ctl/ctl_tpc.c
1177
off_t doffset, soffset;
sys/cam/ctl/ctl_tpc.c
1178
off_t srclba, dstlba, numbytes, donebytes, roundbytes;
sys/cam/ctl/ctl_tpc.c
125
off_t offset_into_rod;
sys/cam/ctl/ctl_tpc.c
128
off_t cursectors;
sys/cam/ctl/ctl_tpc.c
129
off_t curbytes;
sys/cam/ctl/ctl_tpc.c
132
off_t segsectors;
sys/cam/ctl/ctl_tpc.c
133
off_t segbytes;
sys/cam/ctl/ctl_tpc.c
1970
tpc_create_token(struct ctl_lun *lun, struct ctl_port *port, off_t len,
sys/cam/ctl/ctl_tpc.c
2149
list->curbytes = (off_t)list->cursectors * lun->be_lun->blocksize;
sys/cam/ctl/ctl_tpc.c
822
off_t srclba, dstlba, numbytes, donebytes, roundbytes;
sys/cam/ctl/ctl_tpc.c
872
numbytes = (off_t)numlba * dstblock;
sys/cam/ctl/ctl_tpc.c
874
numbytes = (off_t)numlba * srcblock;
sys/cam/mmc/mmc_da.c
146
off_t enh_base; /* Enhanced user data area slice base ... */
sys/cam/mmc/mmc_da.c
147
off_t enh_size; /* ... and size [bytes] */
sys/cam/mmc/mmc_da.c
1491
u_int cnt, off_t media_size, bool ro)
sys/cam/mmc/mmc_da.c
1609
off_t erase_size, sector_size, size, wp_size;
sys/cam/mmc/mmc_da.c
1990
sddadump(void *arg, void *virtual, off_t offset, size_t length)
sys/cam/mmc/mmc_da.c
206
const char *name, u_int cnt, off_t media_size, bool ro);
sys/cam/mmc/mmc_xpt.c
333
off_t amt;
sys/cam/nvme/nvme_da.c
312
disk->d_mediasize = (off_t)(disk->d_sectorsize * nsd->nsze);
sys/cam/nvme/nvme_da.c
579
ndadump(void *arg, void *virtual, off_t offset, size_t length)
sys/cam/nvme/nvme_da.c
763
off_t mediasize;
sys/cam/nvme/nvme_xpt.c
656
off_t amt;
sys/cam/scsi/scsi_cd.c
1494
(off_t)softc->params.blksize *
sys/cam/scsi/scsi_cd.c
1659
(off_t)softc->params.blksize *
sys/cam/scsi/scsi_da.c
1509
static off_t dadeletemaxsize(struct da_softc *softc,
sys/cam/scsi/scsi_da.c
1960
dadump(void *arg, void *virtual, off_t offset, size_t length)
sys/cam/scsi/scsi_da.c
2578
static off_t
sys/cam/scsi/scsi_da.c
2581
off_t sectors;
sys/cam/scsi/scsi_da.c
2585
sectors = (off_t)softc->unmap_max_lba;
sys/cam/scsi/scsi_da.c
2588
sectors = (off_t)ATA_DSM_RANGE_MAX * softc->trim_max_ranges;
sys/cam/scsi/scsi_da.c
2601
return (off_t)softc->params.secsize *
sys/cam/scsi/scsi_da.c
5273
(off_t)max_txfer_len * softc->params.secsize);
sys/cam/scsi/scsi_da.c
5838
off_t entries_offset, max_entries;
sys/cam/scsi/scsi_da.c
6529
softc->disk->d_mediasize = softc->params.secsize * (off_t)softc->params.sectors;
sys/cam/scsi/scsi_sa.c
347
off_t offset;
sys/cam/scsi/scsi_xpt.c
2590
off_t amt;
sys/cddl/boot/zfs/zfsimpl.h
1901
typedef int vdev_phys_read_t(struct vdev *, void *, off_t, void *, size_t);
sys/cddl/boot/zfs/zfsimpl.h
1902
typedef int vdev_phys_write_t(struct vdev *, off_t, void *, size_t);
sys/cddl/boot/zfs/zfsimpl.h
1903
typedef int vdev_read_t(struct vdev *, const blkptr_t *, void *, off_t, size_t);
sys/cddl/boot/zfs/zfssubr.c
1207
vdev_raidz_map_alloc(void *data, off_t offset, size_t size, uint64_t unit_shift,
sys/cddl/boot/zfs/zfssubr.c
1421
void *data, off_t offset, uint64_t bytes, int total_errors, int data_errors)
sys/cddl/boot/zfs/zfssubr.c
1568
off_t offset, size_t bytes)
sys/compat/freebsd32/freebsd32.h
171
off_t st_size; /* file size, in bytes */
sys/compat/freebsd32/freebsd32.h
230
off_t st_size;
sys/compat/freebsd32/freebsd32.h
249
off_t st_size;
sys/compat/freebsd32/freebsd32_misc.c
1152
r.pc.pc_limit = PAIR32TO64(off_t, r32.pc.pc_limit);
sys/compat/freebsd32/freebsd32_misc.c
1341
error = kern_preadv(td, uap->fd, auio, PAIR32TO64(off_t,uap->offset));
sys/compat/freebsd32/freebsd32_misc.c
1355
error = kern_pwritev(td, uap->fd, auio, PAIR32TO64(off_t,uap->offset));
sys/compat/freebsd32/freebsd32_misc.c
2036
PAIR32TO64(off_t, uap->offset)));
sys/compat/freebsd32/freebsd32_misc.c
2044
PAIR32TO64(off_t, uap->offset)));
sys/compat/freebsd32/freebsd32_misc.c
2060
off_t pos;
sys/compat/freebsd32/freebsd32_misc.c
2062
error = kern_lseek(td, uap->fd, PAIR32TO64(off_t, uap->offset),
sys/compat/freebsd32/freebsd32_misc.c
2076
PAIR32TO64(off_t, uap->length)));
sys/compat/freebsd32/freebsd32_misc.c
2091
return (kern_ftruncate(td, uap->fd, PAIR32TO64(off_t, uap->length)));
sys/compat/freebsd32/freebsd32_misc.c
2151
PAIR32TO64(off_t, uap->offset)));
sys/compat/freebsd32/freebsd32_misc.c
2159
PAIR32TO64(off_t, uap->offset)));
sys/compat/freebsd32/freebsd32_misc.c
2166
off_t pos;
sys/compat/freebsd32/freebsd32_misc.c
2168
error = kern_lseek(td, uap->fd, PAIR32TO64(off_t, uap->offset),
sys/compat/freebsd32/freebsd32_misc.c
2171
pos = *(off_t *)(td->td_retval);
sys/compat/freebsd32/freebsd32_misc.c
2182
PAIR32TO64(off_t, uap->length)));
sys/compat/freebsd32/freebsd32_misc.c
2189
return (kern_ftruncate(td, uap->fd, PAIR32TO64(off_t, uap->length)));
sys/compat/freebsd32/freebsd32_misc.c
2210
off_t offset, sbytes;
sys/compat/freebsd32/freebsd32_misc.c
2213
offset = PAIR32TO64(off_t, uap->offset);
sys/compat/freebsd32/freebsd32_misc.c
2268
(void)copyout(&sbytes, uap->sbytes, sizeof(off_t));
sys/compat/freebsd32/freebsd32_misc.c
3869
PAIR32TO64(off_t, uap->offset), PAIR32TO64(off_t, uap->len));
sys/compat/freebsd32/freebsd32_misc.c
3879
error = kern_posix_fadvise(td, uap->fd, PAIR32TO64(off_t, uap->offset),
sys/compat/freebsd32/freebsd32_misc.c
3880
PAIR32TO64(off_t, uap->len), uap->advice);
sys/compat/freebsd32/freebsd32_misc.c
576
.mr_pos = PAIR32TO64(off_t, uap->pos),
sys/compat/freebsd32/freebsd32_misc.c
599
.mr_pos = PAIR32TO64(off_t, uap->pos),
sys/compat/freebsd32/freebsd32_proto.h
320
char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
sys/compat/freebsd32/freebsd32_proto.h
945
char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
sys/compat/lindebugfs/lindebugfs.c
123
off_t off;
sys/compat/linprocfs/linprocfs.c
2017
off_t buflen, resid;
sys/compat/linux/linux_file.c
1005
off_t nbytes, offset;
sys/compat/linux/linux_file.c
1008
nbytes = PAIR32TO64(off_t, uap->nbytes);
sys/compat/linux/linux_file.c
1009
offset = PAIR32TO64(off_t, uap->offset);
sys/compat/linux/linux_file.c
1029
off_t offset;
sys/compat/linux/linux_file.c
1033
offset = PAIR32TO64(off_t, uap->offset);
sys/compat/linux/linux_file.c
1054
off_t offset;
sys/compat/linux/linux_file.c
1057
offset = PAIR32TO64(off_t, uap->offset);
sys/compat/linux/linux_file.c
1068
static inline off_t
sys/compat/linux/linux_file.c
1072
return (((off_t)high << HALF_LONG_BITS) << HALF_LONG_BITS) | low;
sys/compat/linux/linux_file.c
1080
off_t offset;
sys/compat/linux/linux_file.c
1107
off_t offset;
sys/compat/linux/linux_file.c
1277
bsd_flock->l_start = (off_t)linux_flock->l_start;
sys/compat/linux/linux_file.c
1278
bsd_flock->l_len = (off_t)linux_flock->l_len;
sys/compat/linux/linux_file.c
1334
bsd_flock->l_start = (off_t)linux_flock->l_start;
sys/compat/linux/linux_file.c
1335
bsd_flock->l_len = (off_t)linux_flock->l_len;
sys/compat/linux/linux_file.c
1648
off_t offset;
sys/compat/linux/linux_file.c
1652
offset = PAIR32TO64(off_t, args->offset);
sys/compat/linux/linux_file.c
1667
off_t len, offset;
sys/compat/linux/linux_file.c
1671
len = PAIR32TO64(off_t, args->len);
sys/compat/linux/linux_file.c
1672
offset = PAIR32TO64(off_t, args->offset);
sys/compat/linux/linux_file.c
1755
off_t len, offset;
sys/compat/linux/linux_file.c
1765
len = PAIR32TO64(off_t, args->len);
sys/compat/linux/linux_file.c
1766
offset = PAIR32TO64(off_t, args->offset);
sys/compat/linux/linux_file.c
326
off_t off;
sys/compat/linux/linux_file.c
328
off = (args->olow) | (((off_t) args->ohigh) << 32);
sys/compat/linux/linux_file.c
334
error = copyout(td->td_retval, args->res, sizeof(off_t));
sys/compat/linux/linux_file.c
408
off_t *basep, int *lenp)
sys/compat/linux/linux_file.c
449
off_t base;
sys/compat/linux/linux_file.c
527
off_t base;
sys/compat/linux/linux_file.c
600
off_t base;
sys/compat/linux/linux_file.c
932
off_t length;
sys/compat/linux/linux_file.c
935
length = PAIR32TO64(off_t, args->length);
sys/compat/linux/linux_file.c
955
off_t length;
sys/compat/linux/linux_file.c
958
length = PAIR32TO64(off_t, args->length);
sys/compat/linux/linux_ioctl.c
184
off_t mediasize, bytespercyl;
sys/compat/linux/linux_ioctl.c
220
bytespercyl = (off_t) sectorsize * fwheads * fwsectors;
sys/compat/linux/linux_ioctl.c
263
off_t mediasize, stripesize;
sys/compat/linux/linux_mmap.c
79
int flags, int fd, off_t pos)
sys/compat/linux/linux_mmap.h
67
int, off_t);
sys/compat/linux/linux_socket.c
2708
off_t *offset, l_size_t count, off_t *sbytes)
sys/compat/linux/linux_socket.c
2710
off_t current_offset, out_offset, to_send;
sys/compat/linux/linux_socket.c
2796
off_t *offset, l_size_t count, off_t *sbytes)
sys/compat/linux/linux_socket.c
2798
off_t current_offset;
sys/compat/linux/linux_socket.c
2830
off_t *offset, l_size_t count)
sys/compat/linux/linux_socket.c
2833
off_t sbytes;
sys/compat/linux/linux_socket.c
2896
off_t offset64;
sys/compat/linux/linux_socket.c
2926
off_t offset;
sys/compat/linuxkpi/common/include/linux/fs.h
135
typedef int (*filldir_t)(void *, const char *, int, off_t, u64, unsigned);
sys/compat/linuxkpi/common/include/linux/fs.h
142
ssize_t (*read)(struct linux_file *, char __user *, size_t, off_t *);
sys/compat/linuxkpi/common/include/linux/fs.h
143
ssize_t (*write)(struct linux_file *, const char __user *, size_t, off_t *);
sys/compat/linuxkpi/common/include/linux/fs.h
156
off_t (*llseek)(struct linux_file *, off_t, int);
sys/compat/linuxkpi/common/include/linux/scatterlist.h
576
const void *buf, size_t buflen, off_t skip)
sys/compat/linuxkpi/common/include/linux/scatterlist.h
635
void *buf, size_t buflen, off_t offset)
sys/compat/linuxkpi/common/include/linux/seq_file.h
102
off_t seq_lseek(struct linux_file *file, off_t offset, int whence);
sys/compat/linuxkpi/common/include/linux/seq_file.h
84
void * (*start) (struct seq_file *m, off_t *pos);
sys/compat/linuxkpi/common/include/linux/seq_file.h
86
void * (*next) (struct seq_file *m, void *v, off_t *pos);
sys/compat/linuxkpi/common/include/linux/seq_file.h
90
ssize_t seq_read(struct linux_file *, char __user *, size_t, off_t *);
sys/compat/linuxkpi/common/include/linux/skbuff.h
127
off_t offset;
sys/compat/linuxkpi/common/include/linux/skbuff.h
511
off_t offset, size_t size, unsigned int truesize)
sys/compat/linuxkpi/common/include/linux/types.h
63
typedef off_t loff_t;
sys/compat/linuxkpi/common/src/linux_seq_file.c
153
off_t
sys/compat/linuxkpi/common/src/linux_seq_file.c
154
seq_lseek(struct linux_file *file, off_t offset, int whence)
sys/compat/linuxkpi/common/src/linux_seq_file.c
162
single_start(struct seq_file *p, off_t *pos)
sys/compat/linuxkpi/common/src/linux_seq_file.c
169
single_next(struct seq_file *p, void *v, off_t *pos)
sys/compat/linuxkpi/common/src/linux_seq_file.c
43
seq_read(struct linux_file *f, char __user *ubuf, size_t size, off_t *ppos)
sys/crypto/sha2/sha224.h
84
char *SHA224_FdChunk(int, char *, off_t, off_t);
sys/crypto/sha2/sha224.h
86
char *SHA224_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/sha2/sha256.h
87
char *SHA256_FdChunk(int, char *, off_t, off_t);
sys/crypto/sha2/sha256.h
89
char *SHA256_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/sha2/sha384.h
83
char *SHA384_FdChunk(int, char *, off_t, off_t);
sys/crypto/sha2/sha384.h
85
char *SHA384_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/sha2/sha512.h
86
char *SHA512_FdChunk(int, char *, off_t, off_t);
sys/crypto/sha2/sha512.h
88
char *SHA512_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/sha2/sha512t.h
114
char *SHA512_224_FdChunk(int, char *, off_t, off_t);
sys/crypto/sha2/sha512t.h
116
char *SHA512_224_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/sha2/sha512t.h
126
char *SHA512_256_FdChunk(int, char *, off_t, off_t);
sys/crypto/sha2/sha512t.h
128
char *SHA512_256_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/skein/skein_freebsd.h
75
char *SKEIN256_FdChunk(int, char *, off_t, off_t);
sys/crypto/skein/skein_freebsd.h
76
char *SKEIN512_FdChunk(int, char *, off_t, off_t);
sys/crypto/skein/skein_freebsd.h
77
char *SKEIN1024_FdChunk(int, char *, off_t, off_t);
sys/crypto/skein/skein_freebsd.h
81
char *SKEIN256_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/skein/skein_freebsd.h
82
char *SKEIN512_FileChunk(const char *, char *, off_t, off_t);
sys/crypto/skein/skein_freebsd.h
83
char *SKEIN1024_FileChunk(const char *, char *, off_t, off_t);
sys/ddb/db_textdump.c
176
static off_t textdump_offset; /* Offset of next sequential write. */
sys/ddb/db_textdump.c
240
textdump_writeblock(struct dumperinfo *di, off_t offset, char *buffer)
sys/ddb/db_textdump.c
266
textdump_saveoff(off_t *offsetp)
sys/ddb/db_textdump.c
273
textdump_restoreoff(off_t offset)
sys/ddb/db_textdump.c
333
off_t end_offset, tarhdr_offset;
sys/ddb/db_textdump.c
432
off_t dumplen, trailer_offset;
sys/ddb/ddb.h
336
void textdump_restoreoff(off_t offset);
sys/ddb/ddb.h
337
void textdump_saveoff(off_t *offsetp);
sys/dev/aac/aac_disk.c
233
aac_disk_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/dev/aac/aac_disk.c
411
sc->ad_disk->d_mediasize = (off_t)sc->ad_size * AAC_BLOCK_SIZE;
sys/dev/adlink/adlink.c
107
off_t mapvir;
sys/dev/agp/agp_nvidia.c
75
off_t pg_offset;
sys/dev/coreboot/coreboot_console.c
54
off_t offset;
sys/dev/dcons/dcons.h
84
off_t buf;
sys/dev/dcons/dcons_crom.c
109
static off_t idt_paddr;
sys/dev/dcons/dcons_crom.c
115
idt_paddr = (off_t)pmap_kextract((vm_offset_t)idt);
sys/dev/drm2/ttm/ttm_bo_api.h
721
size_t count, off_t *f_pos, bool write);
sys/dev/fb/fbreg.h
112
typedef int vi_set_win_org_t(video_adapter_t *adp, off_t offset);
sys/dev/fb/s3_pci.c
359
s3lfb_set_origin(video_adapter_t *adp, off_t offset)
sys/dev/fb/vesa.c
1542
vesa_get_origin(video_adapter_t *adp, off_t *offset)
sys/dev/fb/vesa.c
1561
vesa_set_origin(video_adapter_t *adp, off_t offset)
sys/dev/fb/vesa.c
1761
return (vesa_set_origin(adp, *(off_t *)arg) ? ENODEV : 0);
sys/dev/fb/vesa.c
230
static int vesa_get_origin(video_adapter_t *adp, off_t *offset);
sys/dev/fb/vga.c
2248
vga_set_origin(video_adapter_t *adp, off_t offset)
sys/dev/filemon/filemon_wrapper.c
66
auio.uio_offset = (off_t) -1;
sys/dev/flash/cqspi.c
389
cqspi_erase(device_t dev, device_t child, off_t offset)
sys/dev/flash/cqspi.c
410
off_t offset, caddr_t data, off_t count)
sys/dev/flash/cqspi.c
467
off_t offset, caddr_t data, off_t count)
sys/dev/flash/flexspi/flex_spi.c
115
static int flex_spi_read(struct flex_spi_softc *sc, off_t offset, caddr_t data,
sys/dev/flash/flexspi/flex_spi.c
117
static int flex_spi_write(struct flex_spi_softc *sc, off_t offset,
sys/dev/flash/flexspi/flex_spi.c
501
flex_spi_read(struct flex_spi_softc *sc, off_t offset, caddr_t data,
sys/dev/flash/flexspi/flex_spi.c
547
flex_spi_write(struct flex_spi_softc *sc, off_t offset, uint8_t *data,
sys/dev/flash/mx25l.c
242
mx25l_erase_cmd(struct mx25l_softc *sc, off_t sector)
sys/dev/flash/mx25l.c
286
mx25l_write(struct mx25l_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/mx25l.c
290
off_t bytes_to_write;
sys/dev/flash/mx25l.c
365
mx25l_read(struct mx25l_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/n25q.c
188
n25q_write(device_t dev, struct bio *bp, off_t offset, caddr_t data, off_t count)
sys/dev/flash/n25q.c
208
n25q_read(device_t dev, struct bio *bp, off_t offset, caddr_t data, off_t count)
sys/dev/flash/w25n.c
208
w25n_write(struct w25n_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/w25n.c
216
w25n_read(struct w25n_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/hwpmc/pmu_dmc620.c
75
pmu_dmc620_rd4(void *arg, u_int cntr, off_t reg)
sys/dev/hwpmc/pmu_dmc620.c
88
pmu_dmc620_wr4(void *arg, u_int cntr, off_t reg, uint32_t val)
sys/dev/hwpmc/pmu_dmc620_reg.h
76
uint32_t pmu_dmc620_rd4(void *arg, u_int cntr, off_t reg);
sys/dev/hwpmc/pmu_dmc620_reg.h
77
void pmu_dmc620_wr4(void *arg, u_int cntr, off_t reg, uint32_t val);
sys/dev/ida/ida_disk.c
126
idad_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/dev/ida/ida_disk.c
210
drv->disk->d_mediasize = (off_t)drv->secperunit * drv->secsize;
sys/dev/ips/ips_disk.c
162
dsc->ipsd_disk->d_mediasize = (off_t)totalsectors * IPS_BLKSIZE;
sys/dev/ips/ips_disk.c
185
ipsd_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/dev/ips/ips_disk.c
193
off_t off;
sys/dev/ips/ips_disk.c
40
static int ipsd_dump(void *arg, void *virtual, off_t offset, size_t length);
sys/dev/ksyms/ksyms.c
159
ksyms_emit(struct ksyms_softc *sc, void *buf, off_t off, size_t sz)
sys/dev/md/md.c
120
off_t md_mediasize; /* size of disk in bytes */
sys/dev/md/md.c
1362
off_t u;
sys/dev/md/md.c
138
off_t md_mediasize;
sys/dev/md/md.c
1381
off_t nsectors;
sys/dev/md/md.c
254
off_t mediasize;
sys/dev/md/md.c
353
dimension(off_t size)
sys/dev/md/md.c
355
off_t rcnt;
sys/dev/md/md.c
383
s_read(struct indir *ip, off_t offset)
sys/dev/md/md.c
410
s_write(struct indir *ip, off_t offset, uintptr_t ptr)
sys/dev/md/md.c
518
off_t *uc;
sys/dev/md/md.c
602
off_t *uc;
sys/dev/md/md.c
660
off_t secno, nsec, uc;
sys/dev/md/md.c
823
mdcopyto_vlist(void *src, bus_dma_segment_t *vlist, off_t offset, off_t len)
sys/dev/md/md.c
825
off_t seg_len;
sys/dev/md/md.c
844
mdcopyfrom_vlist(bus_dma_segment_t *vlist, off_t offset, void *dst, off_t len)
sys/dev/md/md.c
846
off_t seg_len;
sys/dev/md/md.c
904
off_t iolen, iostart, off, len;
sys/dev/mfi/mfi_disk.c
316
mfi_disk_dump(void *arg, void *virt, off_t offset, size_t len)
sys/dev/mfi/mfi_syspd.c
265
mfi_syspd_dump(void *arg, void *virt, off_t offset, size_t len)
sys/dev/mlx/mlx_disk.c
250
sc->mlxd_disk->d_mediasize = MLX_BLKSIZE * (off_t)sc->mlxd_drive->ms_size;
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
163
off_t of;
sys/dev/mlxfw/mlxfw_mfa2.c
454
off_t off, size_t size, u8 *buf)
sys/dev/mlxfw/mlxfw_mfa2.c
458
off_t curr_off = 0;
sys/dev/mlxfw/mlxfw_mfa2.c
566
off_t cb_offset;
sys/dev/mmc/mmcsd.c
133
off_t enh_base; /* Enhanced user data area slice base ... */
sys/dev/mmc/mmcsd.c
134
off_t enh_size; /* ... and size [bytes] */
sys/dev/mmc/mmcsd.c
1372
mmcsd_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/dev/mmc/mmcsd.c
168
static int mmcsd_dump(void *arg, void *virtual, off_t offset, size_t length);
sys/dev/mmc/mmcsd.c
180
const char *name, u_int cnt, off_t media_size, bool ro);
sys/dev/mmc/mmcsd.c
189
static uintmax_t mmcsd_pretty_size(off_t size, char *unit);
sys/dev/mmc/mmcsd.c
232
off_t erase_size, sector_size, size, wp_size;
sys/dev/mmc/mmcsd.c
433
mmcsd_pretty_size(off_t size, char *unit)
sys/dev/mmc/mmcsd.c
479
off_t media_size, bool ro)
sys/dev/nvd/nvd.c
284
nvd_dump(void *arg, void *virt, off_t offset, size_t len)
sys/dev/nvd/nvd.c
516
disk->d_mediasize = (off_t)nvme_ns_get_size(ns);
sys/dev/nvd/nvd.c
518
disk->d_delmaxsize = (off_t)nvme_ns_get_size(ns);
sys/dev/nvd/nvd.c
595
disk->d_mediasize = (off_t)nvme_ns_get_size(ns);
sys/dev/nvd/nvd.c
597
disk->d_delmaxsize = (off_t)nvme_ns_get_size(ns);
sys/dev/nvdimm/nvdimm.c
102
read_label_area(struct nvdimm_dev *nv, uint8_t *dest, off_t offset,
sys/dev/nvdimm/nvdimm.c
103
off_t length)
sys/dev/nvdimm/nvdimm.c
110
off_t to_read;
sys/dev/nvdimm/nvdimm.c
205
off_t offset;
sys/dev/nvdimm/nvdimm_spa.c
193
off_t off;
sys/dev/nvdimm/nvdimm_spa.c
254
*(off_t *)data = dev->spa_len;
sys/dev/nvme/nvme.h
1970
int nvme_ns_dump(struct nvme_namespace *ns, void *virt, off_t offset,
sys/dev/nvme/nvme_ns.c
97
*(off_t *)arg = (off_t)nvme_ns_get_size(ns);
sys/dev/nvme/nvme_ns_cmd.c
153
nvme_ns_dump(struct nvme_namespace *ns, void *virt, off_t offset, size_t len)
sys/dev/nvmf/host/nvmf_ns.c
285
*(off_t *)arg = ns->size;
sys/dev/ofw/ofw_disk.c
165
sc->ofwd_mediasize = (off_t)2 * 33554432;
sys/dev/ofw/ofw_disk.c
50
off_t ofwd_mediasize;
sys/dev/proto/proto_core.c
339
off_t ofs;
sys/dev/proto/proto_core.c
394
off_t ofs;
sys/dev/sfxge/sfxge_nvram.c
58
off_t off;
sys/dev/tcp_log/tcp_log_dev.h
77
off_t tldi_off;
sys/dev/virtio/block/virtio_blk.c
153
static int vtblk_dump(void *, void *, off_t, size_t);
sys/dev/virtio/block/virtio_blk.c
1699
vtblk_dump_write(struct vtblk_softc *sc, void *virtual, off_t offset,
sys/dev/virtio/block/virtio_blk.c
205
static int vtblk_dump_write(struct vtblk_softc *, void *, off_t, size_t);
sys/dev/virtio/block/virtio_blk.c
644
vtblk_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/dev/xen/blkback/blkback.c
1317
off_t sectors_sent;
sys/dev/xen/blkback/blkback.c
1337
off_t cur_sectors_sent;
sys/dev/xen/blkback/blkback.c
1976
off_t bio_offset;
sys/dev/xen/blkback/blkback.c
198
off_t starting_sector_number;
sys/dev/xen/blkback/blkback.c
1986
bio_offset = (off_t)reqlist->starting_sector_number
sys/dev/xen/blkback/blkback.c
204
off_t next_contig_sector;
sys/dev/xen/blkback/blkback.c
663
off_t media_size;
sys/dev/xen/blkfront/blkfront.c
598
xbd_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/fs/cd9660/cd9660_lookup.c
174
(error = cd9660_blkatoff(vdp, (off_t)i_offset, NULL, &bp)))
sys/fs/cd9660/cd9660_lookup.c
192
cd9660_blkatoff(vdp, (off_t)i_offset, NULL, &bp)) != 0)
sys/fs/cd9660/cd9660_lookup.c
294
(off_t)saveoffset, NULL, &bp)) != 0)
sys/fs/cd9660/cd9660_lookup.c
426
cd9660_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp)
sys/fs/cd9660/cd9660_node.c
122
cd9660_blkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL,
sys/fs/cd9660/cd9660_node.c
171
cd9660_blkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL,
sys/fs/cd9660/cd9660_node.h
100
int cd9660_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp);
sys/fs/cd9660/cd9660_vfsops.c
789
if ((error = cd9660_blkatoff(vp, (off_t)0, NULL, &bp)) != 0) {
sys/fs/cd9660/cd9660_vfsops.c
811
cd9660_blkatoff(vp, (off_t)-(off << imp->im_bshift), NULL,
sys/fs/cd9660/cd9660_vnops.c
279
off_t diff;
sys/fs/cd9660/cd9660_vnops.c
298
diff = (off_t)ip->i_size - uio->uio_offset;
sys/fs/cd9660/cd9660_vnops.c
307
error = cluster_read(vp, (off_t)ip->i_size,
sys/fs/cd9660/cd9660_vnops.c
338
off_t saveoff;
sys/fs/cd9660/cd9660_vnops.c
339
off_t assocoff;
sys/fs/cd9660/cd9660_vnops.c
340
off_t curroff;
sys/fs/cd9660/cd9660_vnops.c
342
off_t uio_off;
sys/fs/cd9660/cd9660_vnops.c
349
iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off)
sys/fs/cd9660/cd9660_vnops.c
478
(error = cd9660_blkatoff(vdp, (off_t)idp->curroff, NULL, &bp))) {
sys/fs/cd9660/cd9660_vnops.c
494
cd9660_blkatoff(vdp, (off_t)idp->curroff, NULL, &bp)) != 0)
sys/fs/cd9660/cd9660_vnops.c
70
static int iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off);
sys/fs/cd9660/iso_rrip.h
63
off_t iso_ce_off; /* offset of continuation area */
sys/fs/cuse/cuse.c
911
.uio_offset = (off_t)data_s,
sys/fs/cuse/cuse.c
930
.uio_offset = (off_t)data_d,
sys/fs/devfs/devfs_vnops.c
1482
off_t off;
sys/fs/devfs/devfs_vnops.c
1948
devfs_truncate_f(struct file *fp, off_t length, struct ucred *cred, struct thread *td)
sys/fs/ext2fs/ext2_bmap.c
327
ext2_bmap_seekdata(struct vnode *vp, off_t *offp)
sys/fs/ext2fs/ext2_bmap.c
336
off_t numblks;
sys/fs/ext2fs/ext2_extents.c
1686
ext4_ext_remove_space(struct inode *ip, off_t length, int flags,
sys/fs/ext2fs/ext2_extents.h
125
int ext4_ext_remove_space(struct inode *ip, off_t length, int flags,
sys/fs/ext2fs/ext2_extern.h
57
int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
sys/fs/ext2fs/ext2_extern.h
64
int ext2_bmap_seekdata(struct vnode *, off_t *);
sys/fs/ext2fs/ext2_extern.h
73
int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *);
sys/fs/ext2fs/ext2_inode.c
225
ext2_ind_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred,
sys/fs/ext2fs/ext2_inode.c
241
off_t osize;
sys/fs/ext2fs/ext2_inode.c
465
ext2_ext_truncate(struct vnode *vp, off_t length, int flags,
sys/fs/ext2fs/ext2_inode.c
475
off_t osize;
sys/fs/ext2fs/ext2_inode.c
555
ext2_truncate(struct vnode *vp, off_t length, int flags, struct ucred *cred,
sys/fs/ext2fs/ext2_inode.c
610
error = ext2_truncate(vp, (off_t)0, 0, NOCRED, td);
sys/fs/ext2fs/ext2_lookup.c
1006
if ((error = ext2_blkatoff(dvp, (off_t)dp->i_offset, &dirbuf,
sys/fs/ext2fs/ext2_lookup.c
1088
ext2_blkatoff(dvp, (off_t)dp->i_offset, (char **)&ep,
sys/fs/ext2fs/ext2_lookup.c
1100
if ((error = ext2_blkatoff(dvp, (off_t)(dp->i_offset - dp->i_count),
sys/fs/ext2fs/ext2_lookup.c
1133
if ((error = ext2_blkatoff(vdp, (off_t)dp->i_offset, (char **)&ep,
sys/fs/ext2fs/ext2_lookup.c
1160
off_t off;
sys/fs/ext2fs/ext2_lookup.c
1231
sizeof(struct dirtemplate), (off_t)0, UIO_SYSSPACE,
sys/fs/ext2fs/ext2_lookup.c
150
off_t offset, startoffset;
sys/fs/ext2fs/ext2_lookup.c
418
(error = ext2_blkatoff(vdp, (off_t)i_offset, NULL,
sys/fs/ext2fs/ext2_lookup.c
435
error = ext2_blkatoff(vdp, (off_t)i_offset, NULL, &bp);
sys/fs/ext2fs/ext2_lookup.c
964
error = ext2_truncate(dvp, (off_t)dp->i_endoff, IO_SYNC,
sys/fs/ext2fs/ext2_subr.c
64
ext2_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp)
sys/fs/ext2fs/ext2_vnops.c
1020
error = ext2_truncate(tvp, (off_t)0, IO_SYNC,
sys/fs/ext2fs/ext2_vnops.c
1078
ip->i_e2fs->e2fs_bsize, (off_t)0,
sys/fs/ext2fs/ext2_vnops.c
1111
(off_t)0, UIO_SYSSPACE,
sys/fs/ext2fs/ext2_vnops.c
1400
DIRBLKSIZ, (off_t)0, UIO_SYSSPACE,
sys/fs/ext2fs/ext2_vnops.c
1498
error = ext2_truncate(vp, (off_t)0, IO_SYNC, cnp->cn_cred,
sys/fs/ext2fs/ext2_vnops.c
1533
len, (off_t)0, UIO_SYSSPACE, IO_NODELOCKED | IO_NOMACCHECK,
sys/fs/ext2fs/ext2_vnops.c
2033
off_t bytesinfile;
sys/fs/ext2fs/ext2_vnops.c
2147
(off_t *)ap->a_data);
sys/fs/ext2fs/ext2_vnops.c
2155
(off_t *)ap->a_data, ap->a_cred));
sys/fs/ext2fs/ext2_vnops.c
2173
off_t osize;
sys/fs/ext2fs/ext2fs.h
178
off_t e2fs_maxfilesize;
sys/fs/fuse/fuse_internal.h
127
static inline off_t
sys/fs/fuse/fuse_internal.h
134
uio_setoffset(struct uio *uio, off_t offset)
sys/fs/fuse/fuse_io.c
135
off_t filesize;
sys/fs/fuse/fuse_io.c
160
if ((off_t)lbn * biosize >= filesize) {
sys/fs/fuse/fuse_io.c
162
} else if ((off_t)(lbn + 1) * biosize > filesize) {
sys/fs/fuse/fuse_io.c
163
bcount = filesize - (off_t)lbn *biosize;
sys/fs/fuse/fuse_io.c
295
struct ucred *cred, struct fuse_filehandle *fufh, off_t filesize,
sys/fs/fuse/fuse_io.c
306
off_t as_written_offset;
sys/fs/fuse/fuse_io.c
482
off_t filesize;
sys/fs/fuse/fuse_io.c
528
if ((off_t)(lbn + 1) * biosize < filesize) {
sys/fs/fuse/fuse_io.c
533
bcount = filesize - (off_t)lbn * biosize;
sys/fs/fuse/fuse_io.c
752
off_t filesize;
sys/fs/fuse/fuse_io.c
804
uiop->uio_offset = ((off_t)bp->b_lblkno) * biosize;
sys/fs/fuse/fuse_io.c
880
if ((off_t)bp->b_lblkno * biosize + bp->b_dirtyend > filesize)
sys/fs/fuse/fuse_io.c
882
(off_t)bp->b_lblkno * biosize;
sys/fs/fuse/fuse_io.c
887
uiop->uio_offset = (off_t)bp->b_lblkno * biosize
sys/fs/fuse/fuse_io.h
74
struct ucred *cred, struct fuse_filehandle *fufh, off_t filesize,
sys/fs/fuse/fuse_node.c
440
fuse_vnode_setsize(struct vnode *vp, off_t newsize, bool from_server)
sys/fs/fuse/fuse_node.c
444
off_t oldsize;
sys/fs/fuse/fuse_node.c
486
off_t newsize;
sys/fs/fuse/fuse_node.c
526
fuse_vnode_size(struct vnode *vp, off_t *filesize, struct ucred *cred,
sys/fs/fuse/fuse_node.h
261
int fuse_vnode_size(struct vnode *vp, off_t *filesize, struct ucred *cred,
sys/fs/fuse/fuse_node.h
275
int fuse_vnode_setsize(struct vnode *vp, off_t newsize, bool from_server);
sys/fs/fuse/fuse_vnops.c
1412
off_t *offp = ap->a_data;
sys/fs/fuse/fuse_vnops.c
1914
off_t offset = 0;
sys/fs/fuse/fuse_vnops.c
2679
off_t start, end, filesize;
sys/fs/fuse/fuse_vnops.c
2725
off_t filesize;
sys/fs/fuse/fuse_vnops.c
2733
} else if ((off_t)lbn * biosize >= filesize) {
sys/fs/fuse/fuse_vnops.c
2735
} else if ((off_t)(lbn + 1) * biosize > filesize) {
sys/fs/fuse/fuse_vnops.c
2736
*blksz = filesize - (off_t)lbn *biosize;
sys/fs/fuse/fuse_vnops.c
3198
off_t *len = ap->a_len;
sys/fs/fuse/fuse_vnops.c
3199
off_t *offset = ap->a_offset;
sys/fs/fuse/fuse_vnops.c
320
fuse_inval_buf_range(struct vnode *vp, off_t filesize, off_t start, off_t end,
sys/fs/fuse/fuse_vnops.c
3201
off_t filesize;
sys/fs/fuse/fuse_vnops.c
325
off_t new_filesize;
sys/fs/fuse/fuse_vnops.c
457
pid_t pid, off_t *offp, int whence)
sys/fs/fuse/fuse_vnops.c
565
off_t size, start;
sys/fs/fuse/fuse_vnops.c
673
off_t *len = ap->a_len;
sys/fs/fuse/fuse_vnops.c
674
off_t *offset = ap->a_offset;
sys/fs/fuse/fuse_vnops.c
683
off_t filesize;
sys/fs/fuse/fuse_vnops.c
784
off_t fsize = VNOVAL;
sys/fs/fuse/fuse_vnops.c
833
*runp = MIN(MAX(0, fsize / (off_t)biosize - lbn - 1),
sys/fs/fuse/fuse_vnops.c
980
off_t outfilesize;
sys/fs/msdosfs/msdosfs_denode.c
506
off_t eof_clusteroff;
sys/fs/msdosfs/msdosfs_vfsops.c
667
if ((off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec <
sys/fs/msdosfs/msdosfs_vfsops.c
669
(off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec >
sys/fs/msdosfs/msdosfs_vnops.c
1526
off_t offset, off;
sys/fs/nfs/nfs_var.h
515
int nfsrpc_advlock(vnode_t, off_t, int, struct flock *, int,
sys/fs/nfs/nfs_var.h
558
int nfsrpc_advise(vnode_t, off_t, uint64_t, int, struct ucred *, NFSPROC_T *);
sys/fs/nfs/nfs_var.h
564
int nfsrpc_allocate(vnode_t, off_t, off_t, struct nfsvattr *, int *,
sys/fs/nfs/nfs_var.h
566
int nfsrpc_deallocate(vnode_t, off_t, off_t, struct nfsvattr *, int *,
sys/fs/nfs/nfs_var.h
568
int nfsrpc_copy_file_range(vnode_t, off_t *, vnode_t, off_t *, size_t *,
sys/fs/nfs/nfs_var.h
571
int nfsrpc_clone(vnode_t, off_t *, vnode_t, off_t *, size_t *, bool,
sys/fs/nfs/nfs_var.h
573
int nfsrpc_seek(vnode_t, off_t *, bool *, int, struct ucred *,
sys/fs/nfs/nfs_var.h
713
int nfsvno_read(vnode_t, off_t, int, struct ucred *, int, NFSPROC_T *,
sys/fs/nfs/nfs_var.h
715
int nfsvno_write(vnode_t, off_t, int, int *, struct mbuf *, char *,
sys/fs/nfs/nfs_var.h
777
int nfsvno_seek(struct nfsrv_descript *, struct vnode *, u_long, off_t *, int,
sys/fs/nfs/nfs_var.h
779
int nfsvno_allocate(struct vnode *, off_t, off_t, struct ucred *, NFSPROC_T *);
sys/fs/nfs/nfs_var.h
780
int nfsvno_deallocate(struct vnode *, off_t, off_t, struct ucred *,
sys/fs/nfsclient/nfs_clbio.c
105
if ((off_t)lbn * biosize >= nsize)
sys/fs/nfsclient/nfs_clbio.c
1062
if ((off_t)lbn * biosize + bcount < np->n_size) {
sys/fs/nfsclient/nfs_clbio.c
1063
if ((off_t)(lbn + 1) * biosize < np->n_size)
sys/fs/nfsclient/nfs_clbio.c
1066
bcount = np->n_size - (off_t)lbn * biosize;
sys/fs/nfsclient/nfs_clbio.c
107
else if ((off_t)(lbn + 1) * biosize > nsize)
sys/fs/nfsclient/nfs_clbio.c
108
bcount = nsize - (off_t)lbn * biosize;
sys/fs/nfsclient/nfs_clbio.c
1587
uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE;
sys/fs/nfsclient/nfs_clbio.c
1622
uiop->uio_offset = (off_t)0;
sys/fs/nfsclient/nfs_clbio.c
1657
off_t off;
sys/fs/nfsclient/nfs_clbio.c
1678
if ((off_t)bp->b_blkno * DEV_BSIZE + bp->b_dirtyend > np->n_size)
sys/fs/nfsclient/nfs_clbio.c
1679
bp->b_dirtyend = np->n_size - (off_t)bp->b_blkno * DEV_BSIZE;
sys/fs/nfsclient/nfs_clbio.c
1685
uiop->uio_offset = (off_t)bp->b_blkno * DEV_BSIZE
sys/fs/nfsclient/nfs_clbio.c
268
off_t offset;
sys/fs/nfsclient/nfs_clbio.c
441
off_t tmp_off;
sys/fs/nfsclient/nfs_clbio.c
475
seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE);
sys/fs/nfsclient/nfs_clbio.c
503
(off_t)(lbn + 1 + nra) * biosize < nsize; nra++) {
sys/fs/nfsclient/nfs_clbio.c
533
if ((off_t)lbn * biosize >= nsize) {
sys/fs/nfsclient/nfs_clbio.c
535
} else if ((off_t)(lbn + 1) * biosize > nsize) {
sys/fs/nfsclient/nfs_clbio.c
536
bcount = nsize - (off_t)lbn * biosize;
sys/fs/nfsclient/nfs_clbio.c
844
off_t orig_size, tmp_off;
sys/fs/nfsclient/nfs_clrpcops.c
136
static int nfsrpc_deallocaterpc(vnode_t, off_t, off_t, nfsv4stateid_t *,
sys/fs/nfsclient/nfs_clrpcops.c
1850
off_t tmp_off;
sys/fs/nfsclient/nfs_clrpcops.c
199
static int nfsrpc_allocaterpc(vnode_t, off_t, off_t, nfsv4stateid_t *,
sys/fs/nfsclient/nfs_clrpcops.c
2249
nfsrpc_deallocate(vnode_t vp, off_t offs, off_t len, struct nfsvattr *nap,
sys/fs/nfsclient/nfs_clrpcops.c
229
static int nfsrpc_copyrpc(vnode_t, off_t, vnode_t, off_t, size_t *,
sys/fs/nfsclient/nfs_clrpcops.c
2313
nfsrpc_deallocaterpc(vnode_t vp, off_t offs, off_t len,
sys/fs/nfsclient/nfs_clrpcops.c
232
static int nfsrpc_clonerpc(vnode_t, off_t, vnode_t, off_t, size_t *, bool,
sys/fs/nfsclient/nfs_clrpcops.c
235
static int nfsrpc_seekrpc(vnode_t, off_t *, nfsv4stateid_t *, bool *,
sys/fs/nfsclient/nfs_clrpcops.c
3755
off_t savoff;
sys/fs/nfsclient/nfs_clrpcops.c
4229
off_t savoff;
sys/fs/nfsclient/nfs_clrpcops.c
4577
nfsrpc_advlock(vnode_t vp, off_t size, int op, struct flock *fl,
sys/fs/nfsclient/nfs_clrpcops.c
4586
off_t start, end;
sys/fs/nfsclient/nfs_clrpcops.c
6571
off_t offs = 0;
sys/fs/nfsclient/nfs_clrpcops.c
7771
nfsrpc_advise(vnode_t vp, off_t offset, uint64_t cnt, int advise,
sys/fs/nfsclient/nfs_clrpcops.c
7915
nfsrpc_allocate(vnode_t vp, off_t off, off_t len, struct nfsvattr *nap,
sys/fs/nfsclient/nfs_clrpcops.c
7923
off_t tmp_off;
sys/fs/nfsclient/nfs_clrpcops.c
7991
nfsrpc_allocaterpc(vnode_t vp, off_t off, off_t len, nfsv4stateid_t *stateidp,
sys/fs/nfsclient/nfs_clrpcops.c
9073
nfsrpc_copy_file_range(vnode_t invp, off_t *inoffp, vnode_t outvp,
sys/fs/nfsclient/nfs_clrpcops.c
9074
off_t *outoffp, size_t *lenp, unsigned int flags, int *inattrflagp,
sys/fs/nfsclient/nfs_clrpcops.c
9144
nfsrpc_copyrpc(vnode_t invp, off_t inoff, vnode_t outvp, off_t outoff,
sys/fs/nfsclient/nfs_clrpcops.c
9310
nfsrpc_clone(vnode_t invp, off_t *inoffp, vnode_t outvp,
sys/fs/nfsclient/nfs_clrpcops.c
9311
off_t *outoffp, size_t *lenp, bool toeof, int *inattrflagp,
sys/fs/nfsclient/nfs_clrpcops.c
9379
nfsrpc_clonerpc(vnode_t invp, off_t inoff, vnode_t outvp, off_t outoff,
sys/fs/nfsclient/nfs_clrpcops.c
9503
nfsrpc_seek(vnode_t vp, off_t *offp, bool *eofp, int content,
sys/fs/nfsclient/nfs_clrpcops.c
9556
nfsrpc_seekrpc(vnode_t vp, off_t *offp, nfsv4stateid_t *stateidp, bool *eofp,
sys/fs/nfsclient/nfs_clsubs.c
263
ncl_getcookie(struct nfsnode *np, off_t off, int add)
sys/fs/nfsclient/nfs_clvfsops.c
121
struct sockaddr_storage *, int *, off_t *,
sys/fs/nfsclient/nfs_clvfsops.c
2150
struct sockaddr_storage *sp, int *is_v3p, off_t *sizep,
sys/fs/nfsclient/nfs_clvnops.c
3238
off_t off, size;
sys/fs/nfsclient/nfs_clvnops.c
3830
off_t alen;
sys/fs/nfsclient/nfs_clvnops.c
3904
off_t tlen, mlen;
sys/fs/nfsclient/nfs_clvnops.c
3931
mlen = omin((off_t)np->n_size - *ap->a_offset, tlen);
sys/fs/nfsclient/nfs_clvnops.c
3956
*ap->a_offset += omin((off_t)
sys/fs/nfsclient/nfs_clvnops.c
4009
off_t inoff, outoff;
sys/fs/nfsclient/nfs_clvnops.c
4364
if (*((off_t *)ap->a_data) >= VTONFS(vp)->n_size)
sys/fs/nfsclient/nfs_clvnops.c
4378
error = nfsrpc_seek(vp, (off_t *)ap->a_data, &eof,
sys/fs/nfsclient/nfs_clvnops.c
4645
off_t off;
sys/fs/nfsclient/nfsnode.h
116
off_t nd_direof; /* Dir. EOF offset cache */
sys/fs/nfsclient/nfsnode.h
188
nfsuint64 *ncl_getcookie(struct nfsnode *, off_t, int);
sys/fs/nfsserver/nfs_fha_new.c
462
off_t offset1, offset2;
sys/fs/nfsserver/nfs_fha_new.h
89
off_t offset;
sys/fs/nfsserver/nfs_nfsdport.c
1147
nfsvno_read(struct vnode *vp, off_t off, int cnt, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
1271
nfsvno_write(struct vnode *vp, off_t off, int retlen, int *stable,
sys/fs/nfsserver/nfs_nfsdport.c
145
static int nfsrv_proxyds(struct vnode *, off_t, int, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
147
struct nfsvattr *, struct acl *, off_t *, int, bool *);
sys/fs/nfsserver/nfs_nfsdport.c
149
static int nfsrv_readdsrpc(fhandle_t *, off_t, int, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
152
static int nfsrv_writedsrpc(fhandle_t *, off_t, int, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
156
static int nfsrv_allocatedsrpc(fhandle_t *, off_t, off_t, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
158
static int nfsrv_deallocatedsrpc(fhandle_t *, off_t, off_t, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
172
static int nfsrv_seekdsrpc(fhandle_t *, off_t *, int, bool *, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
2936
io.uio_offset = (off_t)off;
sys/fs/nfsserver/nfs_nfsdport.c
3248
io.uio_offset = (off_t)off;
sys/fs/nfsserver/nfs_nfsdport.c
446
off_t nh_nextoff; /* next offset for sequential detection */
sys/fs/nfsserver/nfs_nfsdport.c
4592
fl.l_start = (off_t)first;
sys/fs/nfsserver/nfs_nfsdport.c
4597
fl.l_len = (off_t)tlen;
sys/fs/nfsserver/nfs_nfsdport.c
5820
nfsrv_proxyds(struct vnode *vp, off_t off, int cnt, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
5823
off_t *offp, int content, bool *eofp)
sys/fs/nfsserver/nfs_nfsdport.c
6413
off_t off;
sys/fs/nfsserver/nfs_nfsdport.c
6424
nfsrv_readdsdorpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
6541
nfsrv_readdsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
6662
off_t off;
sys/fs/nfsserver/nfs_nfsdport.c
6672
nfsrv_writedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, int len,
sys/fs/nfsserver/nfs_nfsdport.c
6799
nfsrv_writedsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
6928
off_t off;
sys/fs/nfsserver/nfs_nfsdport.c
6929
off_t len;
sys/fs/nfsserver/nfs_nfsdport.c
6937
nfsrv_allocatedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off,
sys/fs/nfsserver/nfs_nfsdport.c
6938
off_t len, struct nfsvattr *nap, struct ucred *cred, NFSPROC_T *p)
sys/fs/nfsserver/nfs_nfsdport.c
7008
nfsrv_allocatedsrpc(fhandle_t *fhp, off_t off, off_t len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
7089
off_t off;
sys/fs/nfsserver/nfs_nfsdport.c
7090
off_t len;
sys/fs/nfsserver/nfs_nfsdport.c
7098
nfsrv_deallocatedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off,
sys/fs/nfsserver/nfs_nfsdport.c
7099
off_t len, struct nfsvattr *nap, struct ucred *cred, NFSPROC_T *p)
sys/fs/nfsserver/nfs_nfsdport.c
7191
nfsrv_deallocatedsrpc(fhandle_t *fhp, off_t off, off_t len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
7781
nfsrv_seekdsrpc(fhandle_t *fhp, off_t *offp, int content, bool *eofp,
sys/fs/nfsserver/nfs_nfsdport.c
8075
off_t *offp, int content, bool *eofp, struct ucred *cred, NFSPROC_T *p)
sys/fs/nfsserver/nfs_nfsdport.c
8121
nfsvno_allocate(struct vnode *vp, off_t off, off_t len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
8125
off_t olen;
sys/fs/nfsserver/nfs_nfsdport.c
8159
nfsvno_deallocate(struct vnode *vp, off_t off, off_t len, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
8163
off_t olen;
sys/fs/nfsserver/nfs_nfsdserv.c
1113
off_t off;
sys/fs/nfsserver/nfs_nfsdserv.c
1128
off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
sys/fs/nfsserver/nfs_nfsdserv.c
5507
off_t offset, len;
sys/fs/nfsserver/nfs_nfsdserv.c
5705
off_t off, len;
sys/fs/nfsserver/nfs_nfsdserv.c
5814
off_t off, len;
sys/fs/nfsserver/nfs_nfsdserv.c
5919
off_t inoff, outoff;
sys/fs/nfsserver/nfs_nfsdserv.c
6153
off_t inoff, outoff;
sys/fs/nfsserver/nfs_nfsdserv.c
6359
off_t off;
sys/fs/nfsserver/nfs_nfsdserv.c
901
off_t off = 0x0;
sys/fs/nfsserver/nfs_nfsdserv.c
915
off = (off_t)fxdr_unsigned(u_int32_t, *tl++);
sys/fs/nfsserver/nfs_nfsdstate.c
4674
off_t off = 0;
sys/fs/nfsserver/nfs_nfsdstate.c
4849
(caddr_t)&sf->nsf_rec, sizeof (struct nfsf_rec), (off_t)0,
sys/fs/nfsserver/nfs_nfsdstate.c
4855
(off_t)(sizeof (struct nfsf_rec)),
sys/fs/nfsserver/nfs_nfsdstate.c
4900
(caddr_t)sp, sizeof (struct nfst_rec) + len - 1, (off_t)0,
sys/fs/nfsserver/nfs_nfsdstate.c
8166
off_t rdpos, wrpos;
sys/fs/p9fs/p9fs_vnops.c
1946
uiov->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE;
sys/fs/p9fs/p9fs_vnops.c
1987
uiov->uio_offset = ((off_t)bp->b_blkno) * PAGE_SIZE + bp->b_dirtyoff;
sys/fs/p9fs/p9fs_vnops.c
2199
off_t offset;
sys/fs/pseudofs/pseudofs_vnops.c
625
off_t skip_bytes;
sys/fs/pseudofs/pseudofs_vnops.c
682
off_t buflen, buflim;
sys/fs/pseudofs/pseudofs_vnops.c
872
off_t coffset, offset;
sys/fs/smbfs/smbfs_io.c
339
uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE;
sys/fs/smbfs/smbfs_io.c
364
uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE + bp->b_dirtyoff;
sys/fs/smbfs/smbfs_smb.c
125
off_t start, off_t end, struct smb_cred *scred)
sys/fs/smbfs/smbfs_smb.c
86
smbfs_smb_lockandx(struct smbnode *np, int op, u_int32_t pid, off_t start, off_t end,
sys/fs/smbfs/smbfs_subr.h
128
off_t start, off_t end, struct smb_cred *scred);
sys/fs/smbfs/smbfs_vnops.c
908
off_t start, end, oadd;
sys/fs/tarfs/tarfs.h
110
off_t i; /* input (physical) offset */
sys/fs/tarfs/tarfs.h
111
off_t o; /* output (logical) offset */
sys/fs/tarfs/tarfs.h
152
off_t ipos; /* current input position */
sys/fs/tarfs/tarfs.h
153
off_t opos; /* current output position */
sys/fs/tarfs/tarfs.h
159
struct tarfs_idx { off_t i, o; } *idx;
sys/fs/tarfs/tarfs.h
228
size_t namelen, __enum_uint8(vtype) type, off_t off, size_t sz,
sys/fs/tarfs/tarfs.h
235
tarfs_lookup_dir(struct tarfs_node *tnp, off_t cookie);
sys/fs/tarfs/tarfs.h
246
void *buf, off_t off, size_t len);
sys/fs/tarfs/tarfs.h
61
off_t offset;
sys/fs/tarfs/tarfs.h
88
off_t lastcookie;
sys/fs/tarfs/tarfs_io.c
120
off_t off = uiop->uio_offset;
sys/fs/tarfs/tarfs_io.c
155
void *buf, off_t off, size_t len)
sys/fs/tarfs/tarfs_io.c
229
tarfs_zio_update_index(struct tarfs_zio *zio, off_t i, off_t o)
sys/fs/tarfs/tarfs_io.c
328
off_t zsize;
sys/fs/tarfs/tarfs_io.c
329
off_t ipos, opos;
sys/fs/tarfs/tarfs_io.c
332
off_t off = uiop->uio_offset;
sys/fs/tarfs/tarfs_io.c
532
off_t off = uiop->uio_offset;
sys/fs/tarfs/tarfs_io.c
573
off_t off;
sys/fs/tarfs/tarfs_io.c
614
tarfs_zio_init(struct tarfs_mount *tmp, off_t i, off_t o)
sys/fs/tarfs/tarfs_subr.c
131
tarfs_lookup_dir(struct tarfs_node *tnp, off_t cookie)
sys/fs/tarfs/tarfs_subr.c
166
__enum_uint8(vtype) type, off_t off, size_t sz, time_t mtime, uid_t uid, gid_t gid,
sys/fs/tarfs/tarfs_vnops.c
133
off_t off;
sys/fs/tarfs/tarfs_vnops.c
152
off_t bs, be;
sys/fs/tarfs/tarfs_vnops.c
315
off_t off;
sys/fs/tarfs/tarfs_vnops.c
478
*cookies = malloc(ndirents * sizeof(off_t), M_TEMP, M_WAITOK);
sys/fs/tarfs/tarfs_vnops.c
515
off_t resid;
sys/fs/tarfs/tarfs_vnops.c
625
off_t off;
sys/fs/tmpfs/tmpfs.h
125
#define TMPFS_DIRCOOKIE_MASK ((off_t)0x3fffffffU)
sys/fs/tmpfs/tmpfs.h
126
#define TMPFS_DIRCOOKIE_MIN ((off_t)0x00000004U)
sys/fs/tmpfs/tmpfs.h
127
#define TMPFS_DIRCOOKIE_DUP ((off_t)0x40000000U)
sys/fs/tmpfs/tmpfs.h
128
#define TMPFS_DIRCOOKIE_DUPHEAD ((off_t)0x80000000U)
sys/fs/tmpfs/tmpfs.h
207
off_t tn_size; /* (v) */
sys/fs/tmpfs/tmpfs.h
293
off_t tn_readdir_lastn;
sys/fs/tmpfs/tmpfs.h
303
off_t tn_wht_size; /* (v) */
sys/fs/tmpfs/tmpfs.h
376
off_t tm_size_max;
sys/fs/tmpfs/tmpfs.h
496
int tmpfs_reg_resize(struct vnode *, off_t, boolean_t);
sys/fs/tmpfs/tmpfs.h
497
int tmpfs_reg_punch_hole(struct vnode *vp, off_t *, off_t *);
sys/fs/tmpfs/tmpfs.h
511
int tmpfs_truncate(struct vnode *, off_t);
sys/fs/tmpfs/tmpfs_subr.c
1278
tmpfs_dir_lookup_cookie(struct tmpfs_node *node, off_t cookie,
sys/fs/tmpfs/tmpfs_subr.c
1600
struct uio *uio, off_t next)
sys/fs/tmpfs/tmpfs_subr.c
1649
off_t off;
sys/fs/tmpfs/tmpfs_subr.c
1858
tmpfs_reg_resize(struct vnode *vp, off_t newsize, boolean_t ignerr)
sys/fs/tmpfs/tmpfs_subr.c
1863
off_t oldsize;
sys/fs/tmpfs/tmpfs_subr.c
1925
tmpfs_reg_punch_hole(struct vnode *vp, off_t *offset, off_t *length)
sys/fs/tmpfs/tmpfs_subr.c
1931
off_t off, len;
sys/fs/tmpfs/tmpfs_subr.c
2380
tmpfs_truncate(struct vnode *vp, off_t length)
sys/fs/tmpfs/tmpfs_subr.c
826
static __inline off_t
sys/fs/tmpfs/tmpfs_vfsops.c
329
off_t nodes_max, size_max, maxfilesize, ea_max_size;
sys/fs/tmpfs/tmpfs_vnops.c
2153
static off_t
sys/fs/tmpfs/tmpfs_vnops.c
2154
tmpfs_seek_data_locked(vm_object_t obj, off_t noff)
sys/fs/tmpfs/tmpfs_vnops.c
2165
tmpfs_seek_clamp(struct tmpfs_node *tn, off_t *noff, bool seekdata)
sys/fs/tmpfs/tmpfs_vnops.c
2175
static off_t
sys/fs/tmpfs/tmpfs_vnops.c
2176
tmpfs_seek_hole_locked(vm_object_t obj, off_t noff)
sys/fs/tmpfs/tmpfs_vnops.c
2183
tmpfs_seek_datahole(struct vnode *vp, off_t *off, bool seekdata)
sys/fs/tmpfs/tmpfs_vnops.c
2187
off_t noff;
sys/fs/tmpfs/tmpfs_vnops.c
2226
error = tmpfs_seek_datahole(vp, (off_t *)ap->a_data,
sys/fs/tmpfs/tmpfs_vnops.c
620
off_t size;
sys/fs/tmpfs/tmpfs_vnops.c
663
off_t oldsize;
sys/fs/udf/udf_vnops.c
1040
off_t offset;
sys/fs/udf/udf_vnops.c
1322
udf_readatoffset(struct udf_node *node, int *size, off_t offset,
sys/fs/udf/udf_vnops.c
1331
off_t off;
sys/fs/udf/udf_vnops.c
1391
udf_bmap_internal(struct udf_node *node, off_t offset, daddr_t *sector,
sys/fs/udf/udf_vnops.c
455
off_t diff, fsize;
sys/fs/udf/udf_vnops.c
74
static int udf_readatoffset(struct udf_node *node, int *size, off_t offset,
sys/fs/udf/udf_vnops.c
76
static int udf_bmap_internal(struct udf_node *node, off_t offset,
sys/fs/unionfs/union_subr.c
1358
off_t offset;
sys/fs/unionfs/union_subr.c
1711
off_t off;
sys/fs/unionfs/union_vfsops.c
534
sbp->f_blocks = ((off_t)sbp->f_blocks * lbsize) /
sys/geom/cache/g_cache.c
176
off_t off1, off, len;
sys/geom/cache/g_cache.c
247
g_cache_lookup(struct g_cache_softc *sc, off_t bno)
sys/geom/cache/g_cache.c
317
off_t bno, lim;
sys/geom/cache/g_cache.h
55
off_t sc_tail;
sys/geom/cache/g_cache.h
80
off_t d_bno; /* block number */
sys/geom/concat/g_concat.c
330
off_t offset, end, length, off, len;
sys/geom/concat/g_concat.c
444
off_t start;
sys/geom/concat/g_concat.h
59
off_t d_start;
sys/geom/concat/g_concat.h
60
off_t d_end;
sys/geom/eli/g_eli.c
207
off_t offset, struct g_eli_metadata *md);
sys/geom/eli/g_eli.c
385
off_t oldsize;
sys/geom/eli/g_eli.c
763
off_t offset, struct g_eli_metadata *md)
sys/geom/eli/g_eli.h
207
off_t sc_mediasize;
sys/geom/eli/g_eli.h
209
off_t sc_provsize;
sys/geom/eli/g_eli.h
622
static __inline off_t
sys/geom/eli/g_eli.h
623
eli_mediasize(const struct g_eli_softc *sc, off_t mediasize, u_int sectorsize)
sys/geom/eli/g_eli.h
641
u_int sectorsize, off_t mediasize)
sys/geom/eli/g_eli.h
710
void g_eli_crypto_ivgen(struct g_eli_softc *sc, off_t offset, u_char *iv,
sys/geom/eli/g_eli.h
748
uint8_t *g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize);
sys/geom/eli/g_eli_hmac.c
124
g_eli_crypto_ivgen(struct g_eli_softc *sc, off_t offset, u_char *iv,
sys/geom/eli/g_eli_integrity.c
110
g_eli_auth_keygen(struct g_eli_softc *sc, off_t offset, u_char *key)
sys/geom/eli/g_eli_integrity.c
209
off_t coroff, corsize, dstoff;
sys/geom/eli/g_eli_integrity.c
379
off_t nsec;
sys/geom/eli/g_eli_integrity.c
454
off_t dstoff;
sys/geom/eli/g_eli_key_cache.c
199
off_t mediasize;
sys/geom/eli/g_eli_key_cache.c
254
off_t mediasize;
sys/geom/eli/g_eli_key_cache.c
302
g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize)
sys/geom/eli/g_eli_privacy.c
261
off_t dstoff;
sys/geom/gate/g_gate.h
111
off_t gctl_mediasize;
sys/geom/gate/g_gate.h
119
off_t gctl_readoffset;
sys/geom/gate/g_gate.h
131
off_t gctl_mediasize;
sys/geom/gate/g_gate.h
134
off_t gctl_readoffset;
sys/geom/gate/g_gate.h
156
off_t gctl_offset;
sys/geom/gate/g_gate.h
157
off_t gctl_length;
sys/geom/gate/g_gate.h
93
off_t sc_readoffset; /* P: sc_read_mtx */
sys/geom/geom.h
213
off_t mediasize;
sys/geom/geom.h
215
off_t stripesize;
sys/geom/geom.h
216
off_t stripeoffset;
sys/geom/geom.h
289
int g_handleattr_off_t(struct bio *bp, const char *attribute, off_t val);
sys/geom/geom.h
300
void g_resize_provider(struct g_provider *pp, off_t size);
sys/geom/geom.h
339
int g_io_speedup(off_t shortage, u_int flags, size_t *resid,
sys/geom/geom.h
345
void * g_read_data(struct g_consumer *cp, off_t offset, off_t length, int *error);
sys/geom/geom.h
346
int g_write_data(struct g_consumer *cp, off_t offset, void *ptr, off_t length);
sys/geom/geom.h
347
int g_delete_data(struct g_consumer *cp, off_t offset, off_t length);
sys/geom/geom.h
350
int g_use_g_read_data(void *, off_t, void **, int);
sys/geom/geom.h
351
int g_use_g_write_data(void *, off_t, void *, int);
sys/geom/geom.h
360
off_t offset;
sys/geom/geom.h
361
off_t length;
sys/geom/geom_ccd.c
238
off_t mediasize;
sys/geom/geom_ccd.c
542
off_t cbc;
sys/geom/geom_ccd.c
649
cbc = dbtob((off_t)(ci->ci_size - cbn));
sys/geom/geom_ccd.c
651
cbc = dbtob((off_t)(cs->sc_ileave - cboff));
sys/geom/geom_ccd.c
823
pp->mediasize = sc->sc_size * (off_t)sc->sc_secsize;
sys/geom/geom_ccd.c
834
sbuf_printf(sb, "), %jd blocks ", (off_t)pp->mediasize / DEV_BSIZE);
sys/geom/geom_ctl.h
45
off_t offset;
sys/geom/geom_dev.c
532
off_t offset, length, chunk, odd;
sys/geom/geom_dev.c
556
*(off_t *)data = pp->mediasize;
sys/geom/geom_dev.c
557
if (*(off_t *)data == 0)
sys/geom/geom_dev.c
610
offset = ((off_t *)data)[0];
sys/geom/geom_dev.c
611
length = ((off_t *)data)[1];
sys/geom/geom_dev.c
652
*(off_t *)data = pp->stripesize;
sys/geom/geom_dev.c
655
*(off_t *)data = pp->stripeoffset;
sys/geom/geom_disk.c
290
static off_t
sys/geom/geom_disk.c
305
g_disk_advance(struct disk *dp, struct bio *bp, off_t off)
sys/geom/geom_disk.c
337
g_disk_seg_limit(bus_dma_segment_t *seg, off_t *poffset,
sys/geom/geom_disk.c
338
off_t *plength, int *ppages)
sys/geom/geom_disk.c
342
off_t offset;
sys/geom/geom_disk.c
343
off_t length;
sys/geom/geom_disk.c
367
static off_t
sys/geom/geom_disk.c
371
off_t residual;
sys/geom/geom_disk.c
372
off_t offset;
sys/geom/geom_disk.c
395
off_t maxsz;
sys/geom/geom_disk.c
412
off_t residual;
sys/geom/geom_disk.c
436
off_t off;
sys/geom/geom_disk.h
106
off_t d_mediasize;
sys/geom/geom_disk.h
110
off_t d_delmaxsize;
sys/geom/geom_disk.h
111
off_t d_stripeoffset;
sys/geom/geom_disk.h
112
off_t d_stripesize;
sys/geom/geom_flashmap.c
44
off_t sl_start;
sys/geom/geom_flashmap.c
45
off_t sl_end;
sys/geom/geom_io.c
348
g_io_speedup(off_t shortage, u_int flags, size_t *resid, struct g_consumer *cp)
sys/geom/geom_io.c
397
off_t excess;
sys/geom/geom_io.c
879
g_read_data(struct g_consumer *cp, off_t offset, off_t length, int *error)
sys/geom/geom_io.c
914
g_use_g_read_data(void *devfd, off_t loc, void **bufp, int size)
sys/geom/geom_io.c
937
g_write_data(struct g_consumer *cp, off_t offset, void *ptr, off_t length)
sys/geom/geom_io.c
964
g_use_g_write_data(void *devfd, off_t loc, void *buf, int size)
sys/geom/geom_io.c
971
g_delete_data(struct g_consumer *cp, off_t offset, off_t length)
sys/geom/geom_slice.c
221
off_t t;
sys/geom/geom_slice.c
351
g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...)
sys/geom/geom_slice.c
445
g_slice_conf_hot(struct g_geom *gp, u_int idx, off_t offset, off_t length, int ract, int dact, int wact)
sys/geom/geom_slice.h
42
off_t offset;
sys/geom/geom_slice.h
43
off_t length;
sys/geom/geom_slice.h
49
off_t offset;
sys/geom/geom_slice.h
50
off_t length;
sys/geom/geom_slice.h
72
int g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...) __printflike(7, 8);
sys/geom/geom_slice.h
80
int g_slice_conf_hot(struct g_geom *gp, u_int idx, off_t offset, off_t length, int ract, int dact, int wact);
sys/geom/geom_subr.c
1109
g_handleattr_off_t(struct bio *bp, const char *attribute, off_t val)
sys/geom/geom_subr.c
694
off_t size;
sys/geom/geom_subr.c
753
g_resize_provider(struct g_provider *pp, off_t size)
sys/geom/geom_subr.c
78
off_t size;
sys/geom/journal/g_journal.c
1247
off_t joffset;
sys/geom/journal/g_journal.c
1483
g_journal_read_find(struct bio *head, int sorted, struct bio *pbp, off_t ostart,
sys/geom/journal/g_journal.c
1484
off_t oend)
sys/geom/journal/g_journal.c
1486
off_t cstart, cend;
sys/geom/journal/g_journal.c
1534
g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t ostart,
sys/geom/journal/g_journal.c
1535
off_t oend)
sys/geom/journal/g_journal.c
1538
off_t cstart, cend;
sys/geom/journal/g_journal.c
1731
g_journal_sync_read(struct g_consumer *cp, struct bio *bp, off_t offset,
sys/geom/journal/g_journal.c
1768
off_t joffset, offset;
sys/geom/journal/g_journal.c
346
off_t length, used;
sys/geom/journal/g_journal.c
774
g_journal_new_bio(off_t start, off_t end, off_t joffset, u_char *data,
sys/geom/journal/g_journal.c
807
g_journal_insert(struct bio **head, off_t nstart, off_t nend, off_t joffset,
sys/geom/journal/g_journal.c
811
off_t cstart, cend;
sys/geom/journal/g_journal.h
109
off_t sc_mediasize;
sys/geom/journal/g_journal.h
118
off_t sc_journal_offset;
sys/geom/journal/g_journal.h
119
off_t sc_journal_previous_id;
sys/geom/journal/g_journal.h
143
off_t sc_jstart; /* Journal space start offset. */
sys/geom/journal/g_journal.h
144
off_t sc_jend; /* Journal space end offset. */
sys/geom/journal/g_journal.h
99
off_t jj_offset; /* Journal's start offset. */
sys/geom/label/g_label.c
165
g_slice_config(cp->geom, 0, G_SLICE_CONFIG_FORCE, (off_t)0,
sys/geom/label/g_label.c
223
const char *label, const char *dirprefix, off_t mediasize)
sys/geom/label/g_label.c
274
g_slice_config(gp, 0, G_SLICE_CONFIG_SET, (off_t)0, mediasize,
sys/geom/label/g_label.c
383
off_t mediasize;
sys/geom/label/g_label_ntfs.c
98
off_t voloff;
sys/geom/linux_lvm/g_linux_lvm.c
202
off_t offset, length;
sys/geom/linux_lvm/g_linux_lvm.c
271
(off_t)chunk_index * (off_t)chunk_size
sys/geom/linux_lvm/g_linux_lvm.c
381
pp->mediasize = vg->vg_extentsize * (off_t)lv->lv_extentcount;
sys/geom/linux_lvm/g_linux_lvm.c
466
(off_t)sg->sg_pvstart * vg->vg_extentsize
sys/geom/linux_lvm/g_linux_lvm.h
79
off_t pv_start;
sys/geom/linux_lvm/g_linux_lvm.h
93
off_t sg_pvoffset;
sys/geom/mirror/g_mirror.c
121
struct bio *bp, off_t offset);
sys/geom/mirror/g_mirror.c
1233
off_t rstart, rend, sstart, send;
sys/geom/mirror/g_mirror.c
1263
off_t rstart, rend, sstart, send;
sys/geom/mirror/g_mirror.c
1433
off_t offset;
sys/geom/mirror/g_mirror.c
1647
off_t left, mod, offset, slice;
sys/geom/mirror/g_mirror.c
2096
off_t offset)
sys/geom/mirror/g_mirror.c
675
off_t offset, length;
sys/geom/mirror/g_mirror.h
100
off_t ds_offset; /* Offset of next request to send. */
sys/geom/mirror/g_mirror.h
101
off_t ds_offset_done; /* Offset of already synchronized
sys/geom/mirror/g_mirror.h
132
off_t d_last_offset; /* Last read offset */
sys/geom/mirror/g_mirror_ctl.c
379
off_t mediasize;
sys/geom/mirror/g_mirror_ctl.c
624
off_t mdsize;
sys/geom/multipath/g_multipath.c
272
off_t size, psize, ssize;
sys/geom/multipath/g_multipath.h
51
off_t sc_size;
sys/geom/nop/g_nop.c
111
off_t size;
sys/geom/nop/g_nop.c
130
g_nop_dumper(void *priv, void *virtual, off_t offset, size_t length)
sys/geom/nop/g_nop.c
337
u_int wdelayprob, off_t offset, off_t size, u_int secsize, off_t stripesize,
sys/geom/nop/g_nop.c
338
off_t stripeoffset, const char *physpath)
sys/geom/nop/g_nop.c
347
off_t explicitsize;
sys/geom/nop/g_nop.c
681
(off_t)offset, (off_t)size, (u_int)secsize,
sys/geom/nop/g_nop.c
682
(off_t)stripesize, (off_t)stripeoffset,
sys/geom/nop/g_nop.h
54
off_t sc_offset;
sys/geom/nop/g_nop.h
55
off_t sc_explicitsize;
sys/geom/nop/g_nop.h
56
off_t sc_stripesize;
sys/geom/nop/g_nop.h
57
off_t sc_stripeoffset;
sys/geom/part/g_part.c
1341
off_t mediasize;
sys/geom/part/g_part.c
221
g_part_geometry_heads(off_t blocks, u_int sectors, off_t *bestchs,
sys/geom/part/g_part.c
225
off_t chs, cylinders;
sys/geom/part/g_part.c
248
off_t blocks)
sys/geom/part/g_part.c
251
off_t chs, bestchs;
sys/geom/part/g_part.c
330
off_t offset;
sys/geom/part/g_part.c
478
off_t offset;
sys/geom/part/g_part.h
133
off_t gpe_offset; /* Byte offset. */
sys/geom/part/g_part.h
241
void g_part_geometry_heads(off_t, u_int, off_t *, u_int *);
sys/geom/part/g_part_bsd.c
390
off_t chs, msize;
sys/geom/part/g_part_ebr.c
270
(off_t)(start + basetable->gpt_sectors) * pp->sectorsize;
sys/geom/part/g_part_ebr.c
511
off_t ofs, msize;
sys/geom/part/g_part_ebr.c
522
ofs = (off_t)lba * pp->sectorsize;
sys/geom/part/g_part_ebr.c
558
baseentry->gpe_offset = (off_t)(lba + ent[0].dp_start) *
sys/geom/part/g_part_mbr.c
479
off_t chs, msize, first;
sys/geom/raid/g_raid.c
1005
void *virtual, vm_offset_t physical, off_t offset, size_t length)
sys/geom/raid/g_raid.c
1034
g_raid_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/geom/raid/g_raid.c
1135
g_raid_bio_overlaps(const struct bio *bp, off_t lstart, off_t len)
sys/geom/raid/g_raid.c
1152
off_t lend = lstart + len - 1;
sys/geom/raid/g_raid.c
1153
off_t bstart = bp->bio_offset;
sys/geom/raid/g_raid.c
1154
off_t bend = bp->bio_offset + bp->bio_length - 1;
sys/geom/raid/g_raid.c
1224
off_t off, len;
sys/geom/raid/g_raid.c
1279
g_raid_lock_range(struct g_raid_volume *vol, off_t off, off_t len,
sys/geom/raid/g_raid.c
1316
g_raid_unlock_range(struct g_raid_volume *vol, off_t off, off_t len)
sys/geom/raid/g_raid.c
1410
off_t offset, size_t length)
sys/geom/raid/g_raid.c
1620
off_t off;
sys/geom/raid/g_raid.h
134
off_t d_last_offset; /* Last head offset. */
sys/geom/raid/g_raid.h
166
off_t sd_offset; /* Offset on the disk. */
sys/geom/raid/g_raid.h
167
off_t sd_size; /* Size on the disk. */
sys/geom/raid/g_raid.h
170
off_t sd_rebuild_pos; /* Rebuild position. */
sys/geom/raid/g_raid.h
269
off_t v_mediasize; /* Volume media size. */
sys/geom/raid/g_raid.h
408
off_t offset, size_t length);
sys/geom/raid/g_raid.h
426
void *virtual, vm_offset_t physical, off_t offset, size_t length);
sys/geom/raid/g_raid.h
438
int g_raid_lock_range(struct g_raid_volume *vol, off_t off, off_t len,
sys/geom/raid/g_raid.h
440
int g_raid_unlock_range(struct g_raid_volume *vol, off_t off, off_t len);
sys/geom/raid/g_raid.h
96
off_t l_offset;
sys/geom/raid/g_raid.h
97
off_t l_length;
sys/geom/raid/md_ddf.c
1040
off_t plba, slba, lba;
sys/geom/raid/md_ddf.c
1277
off_t alba, plba, slba, lba;
sys/geom/raid/md_ddf.c
1620
off_t size, eoff = 0, esize = 0;
sys/geom/raid/md_ddf.c
1754
sd->sd_offset = (off_t)GET64P(pdmeta, val2 + md_disk_pos) * 512;
sys/geom/raid/md_ddf.c
1755
sd->sd_size = (off_t)GET64D(pdmeta, vdc1->Block_Count) * 512;
sys/geom/raid/md_ddf.c
2261
off_t size, sectorsize, strip, offs[DDF_MAX_DISKS_HARD], esize;
sys/geom/raid/md_ddf.c
2346
size = MIN(size, (off_t)esize * pp->sectorsize);
sys/geom/raid/md_ddf.c
572
off_t anchorlba;
sys/geom/raid/md_ddf.c
958
ddf_meta_unused_range(struct ddf_meta *meta, off_t *off, off_t *size)
sys/geom/raid/md_ddf.c
961
off_t beg[32], end[32], beg1, end1;
sys/geom/raid/md_intel.c
1301
vol->v_mediasize = (off_t)mvol->total_sectors * 512; //ZZZ
sys/geom/raid/md_intel.c
1531
(off_t)(pp->mediasize / pp->sectorsize));
sys/geom/raid/md_intel.c
1701
off_t off, size, sectorsize, strip, disk_sectors;
sys/geom/raid/md_intel.c
2355
off_t sectorsize = 512, pos;
sys/geom/raid/md_intel.c
293
static off_t
sys/geom/raid/md_intel.c
296
off_t offset = (off_t)mmap->offset_hi << 32;
sys/geom/raid/md_intel.c
303
intel_set_map_offset(struct intel_raid_map *mmap, off_t offset)
sys/geom/raid/md_intel.c
310
static off_t
sys/geom/raid/md_intel.c
313
off_t disk_sectors = (off_t)mmap->disk_sectors_hi << 32;
sys/geom/raid/md_intel.c
320
intel_set_map_disk_sectors(struct intel_raid_map *mmap, off_t disk_sectors)
sys/geom/raid/md_intel.c
328
intel_set_map_stripe_count(struct intel_raid_map *mmap, off_t stripe_count)
sys/geom/raid/md_intel.c
335
static off_t
sys/geom/raid/md_intel.c
338
off_t sectors = (off_t)disk->sectors_hi << 32;
sys/geom/raid/md_intel.c
345
intel_set_disk_sectors(struct intel_raid_disk *disk, off_t sectors)
sys/geom/raid/md_intel.c
352
static off_t
sys/geom/raid/md_intel.c
355
off_t curr_migr_unit = (off_t)vol->curr_migr_unit_hi << 32;
sys/geom/raid/md_intel.c
362
intel_set_vol_curr_migr_unit(struct intel_raid_vol *vol, off_t curr_migr_unit)
sys/geom/raid/md_intel.c
950
off_t disk_sectors =
sys/geom/raid/md_jmicron.c
1033
off_t size, sectorsize, strip;
sys/geom/raid/md_jmicron.c
534
(off_t)pd->pd_meta->offset * 16 * 512; //ZZZ
sys/geom/raid/md_jmicron.c
536
(((off_t)pd->pd_meta->disk_sectors_high << 16) +
sys/geom/raid/md_jmicron.c
651
off_t size;
sys/geom/raid/md_jmicron.c
662
size = ((off_t)meta->disk_sectors_high << 16) + meta->disk_sectors_low;
sys/geom/raid/md_jmicron.c
693
sd->sd_offset = (off_t)meta->offset * 16 * 512; //ZZZ
sys/geom/raid/md_jmicron.c
95
off_t pd_disk_size;
sys/geom/raid/md_nvidia.c
1037
off_t size, sectorsize, strip, volsize;
sys/geom/raid/md_nvidia.c
106
off_t pd_disk_size;
sys/geom/raid/md_nvidia.c
552
sd->sd_rebuild_pos = (off_t)pd->pd_meta->rebuild_lba /
sys/geom/raid/md_nvidia.c
558
sd->sd_rebuild_pos = (off_t)pd->pd_meta->rebuild_lba /
sys/geom/raid/md_nvidia.c
658
off_t size;
sys/geom/raid/md_nvidia.c
669
vol->v_mediasize = (off_t)meta->total_sectors * 512;
sys/geom/raid/md_promise.c
1272
off_t esize, offs[PROMISE_MAX_DISKS], size, sectorsize, strip;
sys/geom/raid/md_promise.c
1357
size = MIN(size, (off_t)esize * pp->sectorsize);
sys/geom/raid/md_promise.c
1477
sd->sd_offset = (off_t)offs[i] * 512;
sys/geom/raid/md_promise.c
1703
off_t rebuild_lba64;
sys/geom/raid/md_promise.c
262
off_t sectors, off_t *off, off_t *size)
sys/geom/raid/md_promise.c
264
off_t coff, csize, tmp;
sys/geom/raid/md_promise.c
275
tmp = ((off_t)metaarr[j]->disk_offset_high << 32) +
sys/geom/raid/md_promise.c
286
coff = ((off_t)metaarr[i]->disk_offset_high << 32) +
sys/geom/raid/md_promise.c
288
((off_t)metaarr[i]->disk_sectors_high << 32) +
sys/geom/raid/md_promise.c
434
off_t off, size;
sys/geom/raid/md_promise.c
516
off_t tmp;
sys/geom/raid/md_promise.c
672
off_t eoff, esize, size;
sys/geom/raid/md_promise.c
735
(off_t)esize * 512 < size) {
sys/geom/raid/md_promise.c
739
(off_t)esize * 512, size);
sys/geom/raid/md_promise.c
780
sd->sd_offset = (off_t)eoff * 512;
sys/geom/raid/md_promise.c
781
sd->sd_size = (off_t)esize * 512;
sys/geom/raid/md_promise.c
783
sd->sd_offset = (((off_t)pd->pd_meta[sdn]->disk_offset_high
sys/geom/raid/md_promise.c
785
sd->sd_size = (((off_t)pd->pd_meta[sdn]->disk_sectors_high
sys/geom/raid/md_promise.c
805
(((off_t)pd->pd_meta[sdn]->disk_rebuild_high << 32) +
sys/geom/raid/md_promise.c
930
vol->v_mediasize = (off_t)meta->total_sectors * 512; //ZZZ
sys/geom/raid/md_promise.c
933
((off_t)meta->total_sectors_high << 32) * 512; //ZZZ
sys/geom/raid/md_promise.c
937
sd->sd_offset = (((off_t)meta->disk_offset_high << 32) +
sys/geom/raid/md_promise.c
939
sd->sd_size = (((off_t)meta->disk_sectors_high << 32) +
sys/geom/raid/md_sii.c
101
off_t pd_disk_size;
sys/geom/raid/md_sii.c
1128
off_t size, sectorsize, strip;
sys/geom/raid/md_sii.c
714
off_t size;
sys/geom/raid/md_sii.c
726
vol->v_mediasize = (off_t)meta->total_sectors * 512;
sys/geom/raid/tr_concat.c
101
off_t size;
sys/geom/raid/tr_concat.c
214
off_t offset, length, remain;
sys/geom/raid/tr_concat.c
287
off_t boffset, size_t blength)
sys/geom/raid/tr_concat.c
292
off_t offset, length, remain;
sys/geom/raid/tr_raid0.c
195
off_t offset, start, length, nstripe, remain;
sys/geom/raid/tr_raid0.c
269
void *virtual, off_t boffset, size_t blength)
sys/geom/raid/tr_raid0.c
273
off_t offset, start, length, nstripe, remain;
sys/geom/raid/tr_raid1.c
310
off_t len;
sys/geom/raid/tr_raid1.c
900
off_t offset, size_t length)
sys/geom/raid/tr_raid1e.c
1145
off_t boffset, size_t blength)
sys/geom/raid/tr_raid1e.c
1151
off_t offset, start, length, remain;
sys/geom/raid/tr_raid1e.c
137
int no, off_t off, off_t len, u_int mask);
sys/geom/raid/tr_raid1e.c
140
V2P(struct g_raid_volume *vol, off_t virt,
sys/geom/raid/tr_raid1e.c
141
int *disk, off_t *offset, off_t *start)
sys/geom/raid/tr_raid1e.c
143
off_t nstrip;
sys/geom/raid/tr_raid1e.c
158
P2V(struct g_raid_volume *vol, int disk, off_t offset,
sys/geom/raid/tr_raid1e.c
159
off_t *virt, int *copy)
sys/geom/raid/tr_raid1e.c
161
off_t nstrip, start;
sys/geom/raid/tr_raid1e.c
429
off_t len, virtual, vend, offset, start;
sys/geom/raid/tr_raid1e.c
633
int no, off_t off, off_t len, u_int mask)
sys/geom/raid/tr_raid1e.c
636
off_t offset;
sys/geom/raid/tr_raid1e.c
692
off_t offset, start, length, remain;
sys/geom/raid/tr_raid1e.c
762
off_t offset, start, length, remain;
sys/geom/raid/tr_raid1e.c
889
off_t virtual, offset, start;
sys/geom/raid/tr_raid1e.c
94
off_t trso_lock_pos; /* Locked range start. */
sys/geom/raid/tr_raid1e.c
95
off_t trso_lock_len; /* Locked range length. */
sys/geom/raid/tr_raid5.c
216
off_t offset, start, length, nstripe, remain;
sys/geom/raid/tr_raid5.c
386
off_t offset, size_t length)
sys/geom/raid3/g_raid3.c
1074
off_t atom, cadd, padd, left;
sys/geom/raid3/g_raid3.c
1144
off_t atom, cadd, padd, left;
sys/geom/raid3/g_raid3.c
1500
off_t rstart, rend, sstart, send;
sys/geom/raid3/g_raid3.c
1532
off_t rstart, rend, sstart, send;
sys/geom/raid3/g_raid3.c
1651
off_t left;
sys/geom/raid3/g_raid3.c
1706
off_t boffset, moffset;
sys/geom/raid3/g_raid3.c
1803
off_t offset, length;
sys/geom/raid3/g_raid3.c
709
off_t offset, length;
sys/geom/raid3/g_raid3.h
101
off_t ds_resync; /* Resynchronize from this offset. */
sys/geom/raid3/g_raid3.h
98
off_t ds_offset; /* Offset of next request to send. */
sys/geom/raid3/g_raid3.h
99
off_t ds_offset_done; /* Offset of already synchronized
sys/geom/raid3/g_raid3_ctl.c
403
off_t compsize;
sys/geom/shsec/g_shsec.c
402
off_t mediasize, ms;
sys/geom/stripe/g_stripe.c
1062
off_t *stripesize;
sys/geom/stripe/g_stripe.c
240
g_stripe_copy(struct g_stripe_softc *sc, char *src, char *dst, off_t offset,
sys/geom/stripe/g_stripe.c
241
off_t length, int mode)
sys/geom/stripe/g_stripe.c
243
off_t stripesize;
sys/geom/stripe/g_stripe.c
300
g_stripe_start_fast(struct bio *bp, u_int no, off_t offset, off_t length)
sys/geom/stripe/g_stripe.c
306
off_t stripesize;
sys/geom/stripe/g_stripe.c
429
g_stripe_start_economic(struct bio *bp, u_int no, off_t offset, off_t length)
sys/geom/stripe/g_stripe.c
433
off_t stripesize;
sys/geom/stripe/g_stripe.c
566
off_t offset, start, length, nstripe, stripesize;
sys/geom/stripe/g_stripe.c
611
nstripe = bp->bio_offset >> (off_t)sc->sc_stripebits;
sys/geom/stripe/g_stripe.c
669
off_t mediasize, ms;
sys/geom/stripe/g_stripe.h
64
off_t sc_stripesize;
sys/geom/union/g_union.c
1081
off_t start, numsec;
sys/geom/union/g_union.c
1113
g_union_getmap(struct bio *bp, struct g_union_softc *sc, off_t *len2read)
sys/geom/union/g_union.c
1115
off_t start, numsec, leafresid, bitloc;
sys/geom/union/g_union.c
1232
g_union_dumper(void *priv, void *virtual, off_t offset, size_t length)
sys/geom/union/g_union.c
613
off_t len2rd, len2wt, savelen;
sys/geom/union/g_union.c
88
off_t *len2read);
sys/geom/union/g_union.c
887
off_t rdlen, len2rd, offset;
sys/geom/union/g_union.c
91
static int g_union_dumper(void *, void *, off_t, size_t);
sys/geom/union/g_union.h
101
off_t wip_start; /* starting offset of I/O */
sys/geom/union/g_union.h
102
off_t wip_end; /* ending offset of I/O */
sys/geom/union/g_union.h
61
off_t sc_offset; /* starting offset in lower */
sys/geom/union/g_union.h
62
off_t sc_size; /* size of union geom */
sys/geom/union/g_union.h
63
off_t sc_sectorsize; /* sector size of geom */
sys/geom/uzip/g_uzip.c
174
off_t ofs;
sys/geom/uzip/g_uzip.c
227
off_t ofs, start_blk_ofs;
sys/geom/uzip/g_uzip.c
355
off_t ofs;
sys/geom/uzip/g_uzip.c
909
pp2->mediasize = (off_t)sc->nblocks * sc->blksz;
sys/geom/virstor/g_virstor.c
1192
off_t off;
sys/geom/virstor/g_virstor.c
1211
if (sc->chunk_count * (off_t)sc->chunk_size != sc->virsize) {
sys/geom/virstor/g_virstor.c
1214
sc->chunk_count * (off_t)sc->chunk_size);
sys/geom/virstor/g_virstor.c
1485
off_t size;
sys/geom/virstor/g_virstor.c
1563
off_t offset, length;
sys/geom/virstor/g_virstor.c
1626
(off_t)me->provider_chunk * (off_t)chunk_size
sys/geom/virstor/g_virstor.c
1644
off_t s_offset;
sys/geom/virstor/g_virstor.c
1736
cb->bio_offset = (off_t)me->provider_chunk*(off_t)chunk_size +
sys/geom/virstor/g_virstor.c
691
off_t off;
sys/geom/virstor/g_virstor.h
89
off_t virsize; /* Total size of virstor */
sys/geom/virstor/g_virstor.h
90
off_t sectorsize;
sys/kern/coredump_vnode.c
171
off_t offset, enum uio_seg seg, struct ucred *cred, size_t *resid,
sys/kern/coredump_vnode.c
182
core_vn_extend(const struct coredump_writer *cdw, off_t newsz,
sys/kern/coredump_vnode.c
433
coredump_vnode(struct thread *td, off_t limit)
sys/kern/imgact_elf.c
1625
core_compressed_write(void *base, size_t len, off_t offset, void *arg)
sys/kern/imgact_elf.c
1633
__elfN(coredump)(struct thread *td, struct coredump_writer *cdw, off_t limit, int flags)
sys/kern/imgact_elf.c
1721
off_t offset;
sys/kern/imgact_elf.c
652
if ((filsz != 0 && (off_t)filsz + offset > imgp->attr->va_size) ||
sys/kern/kern_acct.c
426
(off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT, acct_cred, NOCRED,
sys/kern/kern_descrip.c
5480
badfo_truncate(struct file *fp, off_t length, struct ucred *active_cred,
sys/kern/kern_descrip.c
5542
struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags,
sys/kern/kern_descrip.c
5613
invfo_truncate(struct file *fp, off_t length, struct ucred *active_cred,
sys/kern/kern_descrip.c
5661
struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags,
sys/kern/kern_descrip.c
581
off_t foffset;
sys/kern/kern_dump.c
245
static off_t fileofs;
sys/kern/kern_dump.c
292
off_t hdrgap;
sys/kern/kern_dump.c
331
hdrgap = fileofs - roundup2((off_t)hdrsz, di->blocksize);
sys/kern/kern_dump.c
53
#define MD_ALIGN(x) roundup2((off_t)(x), PAGE_SIZE)
sys/kern/kern_exec.c
2074
off_t offset, enum uio_seg seg, size_t *resid)
sys/kern/kern_exec.c
2081
core_extend(struct coredump_params *cp, off_t newsz)
sys/kern/kern_exec.c
2087
core_output(char *base, size_t len, off_t offset, struct coredump_params *cp,
sys/kern/kern_ktrace.c
1371
off_t lim;
sys/kern/kern_ktrace.c
162
off_t lim;
sys/kern/kern_lockf.c
1160
lf_set_start(struct lockf *state, struct lockf_entry *lock, off_t new_start,
sys/kern/kern_lockf.c
1176
lf_set_end(struct lockf *state, struct lockf_entry *lock, off_t new_end,
sys/kern/kern_lockf.c
131
static void lf_set_start(struct lockf *, struct lockf_entry *, off_t,
sys/kern/kern_lockf.c
133
static void lf_set_end(struct lockf *, struct lockf_entry *, off_t,
sys/kern/kern_lockf.c
1691
off_t start, end;
sys/kern/kern_lockf.c
423
off_t start, end, oadd;
sys/kern/kern_proc.c
2487
kve->kve_offset += (off_t)entry->offset;
sys/kern/kern_rangelock.c
289
off_t rl_q_start, rl_q_end;
sys/kern/kern_sendfile.c
1217
off_t sbytes;
sys/kern/kern_sendfile.c
1277
(void)copyout(&sbytes, uap->sbytes, sizeof(off_t));
sys/kern/kern_sendfile.c
172
static inline off_t
sys/kern/kern_sendfile.c
173
xfsize(int i, int n, off_t off, off_t len)
sys/kern/kern_sendfile.c
189
vmoff(int i, off_t off)
sys/kern/kern_sendfile.c
204
fixspace(int old, int new, off_t off, int *space)
sys/kern/kern_sendfile.c
381
sendfile_swapin(vm_object_t obj, struct sf_io *sfio, int *nios, off_t off,
sys/kern/kern_sendfile.c
382
off_t len, int rhpages, int flags)
sys/kern/kern_sendfile.c
531
struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size)
sys/kern/kern_sendfile.c
638
sendfile_wait_generic(struct socket *so, off_t need, int *space)
sys/kern/kern_sendfile.c
710
struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags,
sys/kern/kern_sendfile.c
726
off_t off, sbytes, rem, obj_size, nobj_size;
sys/kern/kern_sendfile.c
971
off_t xfs;
sys/kern/kern_shutdown.c
1437
dump_check_bounds(struct dumperinfo *di, off_t offset, size_t length)
sys/kern/kern_shutdown.c
1496
dump_encrypted_write(struct dumperinfo *di, void *virtual, off_t offset,
sys/kern/kern_shutdown.c
1527
kerneldumpcomp_write_cb(void *base, size_t length, off_t offset, void *arg)
sys/kern/kern_shutdown.c
1744
dump_write(struct dumperinfo *di, void *virtual, off_t offset, size_t length)
sys/kern/kern_shutdown.c
211
static int kerneldumpcomp_write_cb(void *base, size_t len, off_t off, void *arg);
sys/kern/kern_ucoredump.c
218
off_t limit;
sys/kern/kern_ucoredump.c
245
limit = (off_t)lim_cur(td, RLIMIT_CORE);
sys/kern/kern_vnodedumper.c
178
vnode_dump(void *arg, void *virtual, off_t offset, size_t length)
sys/kern/kern_vnodedumper.c
211
off_t offset;
sys/kern/subr_compressor.c
267
off_t zst_off; /* offset into the output stream */
sys/kern/subr_compressor.c
73
off_t gz_off; /* offset into the output stream */
sys/kern/subr_devstat.c
535
*(off_t *)data = pagelist_pages * PAGE_SIZE;
sys/kern/subr_uio.c
162
physcopyin_vlist(bus_dma_segment_t *src, off_t offset, vm_paddr_t dst,
sys/kern/subr_uio.c
188
physcopyout_vlist(vm_paddr_t src, bus_dma_segment_t *dst, off_t offset,
sys/kern/sys_generic.c
128
off_t, int);
sys/kern/sys_generic.c
130
off_t, int);
sys/kern/sys_generic.c
223
off_t offset;
sys/kern/sys_generic.c
234
kern_pread(struct thread *td, int fd, void *buf, size_t nbyte, off_t offset)
sys/kern/sys_generic.c
294
error = dofileread(td, fd, fp, auio, (off_t)-1, 0);
sys/kern/sys_generic.c
307
off_t offset;
sys/kern/sys_generic.c
325
kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset)
sys/kern/sys_generic.c
350
off_t offset, int flags)
sys/kern/sys_generic.c
424
off_t offset;
sys/kern/sys_generic.c
436
off_t offset)
sys/kern/sys_generic.c
496
error = dofilewrite(td, fd, fp, auio, (off_t)-1, 0);
sys/kern/sys_generic.c
509
off_t offset;
sys/kern/sys_generic.c
527
kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset)
sys/kern/sys_generic.c
552
off_t offset, int flags)
sys/kern/sys_generic.c
622
kern_ftruncate(struct thread *td, int fd, off_t length)
sys/kern/sys_generic.c
647
off_t length;
sys/kern/sys_generic.c
867
kern_posix_fallocate(struct thread *td, int fd, off_t offset, off_t len)
sys/kern/sys_pipe.c
1409
pipe_truncate(struct file *fp, off_t length, struct ucred *active_cred,
sys/kern/sys_process.c
1635
if (proc_writemem(td, p, (off_t)(uintptr_t)addr, &data,
sys/kern/sys_process.c
1648
if (proc_readmem(td, p, (off_t)(uintptr_t)addr, &tmp,
sys/kern/sys_process.c
1666
uio.uio_offset = (off_t)(uintptr_t)piod->piod_offs;
sys/kern/uipc_domain.c
148
pr_sendfile_wait_notsupp(struct socket *so, off_t need, int *space)
sys/kern/uipc_mqueue.c
1390
off_t offset;
sys/kern/uipc_shm.c
128
static int shm_dotruncate_cookie(struct shmfd *shmfd, off_t length,
sys/kern/uipc_shm.c
130
static int shm_dotruncate_locked(struct shmfd *shmfd, off_t length,
sys/kern/uipc_shm.c
134
static int shm_deallocate(struct shmfd *shmfd, off_t *offset,
sys/kern/uipc_shm.c
135
off_t *length, int flags);
sys/kern/uipc_shm.c
1845
shm_map(struct file *fp, size_t size, off_t offset, void **memp)
sys/kern/uipc_shm.c
2039
shm_deallocate(struct shmfd *shmfd, off_t *offset, off_t *length, int flags)
sys/kern/uipc_shm.c
2061
if ((off_t)len <= 0) {
sys/kern/uipc_shm.c
2100
shm_fspacectl(struct file *fp, int cmd, off_t *offset, off_t *length, int flags,
sys/kern/uipc_shm.c
2105
off_t off, len;
sys/kern/uipc_shm.c
2141
shm_fallocate(struct file *fp, off_t offset, off_t len, struct thread *td)
sys/kern/uipc_shm.c
258
uiomove_object(vm_object_t obj, off_t obj_size, struct uio *uio)
sys/kern/uipc_shm.c
434
shm_seek(struct file *fp, off_t offset, int whence, struct thread *td)
sys/kern/uipc_shm.c
437
off_t foffset;
sys/kern/uipc_shm.c
504
off_t newsize;
sys/kern/uipc_shm.c
557
shm_truncate(struct file *fp, off_t length, struct ucred *active_cred,
sys/kern/uipc_shm.c
734
shm_dotruncate_locked(struct shmfd *shmfd, off_t length, void *rl_cookie)
sys/kern/uipc_shm.c
798
shm_dotruncate_largepage(struct shmfd *shmfd, off_t length, void *rl_cookie)
sys/kern/uipc_shm.c
899
shm_dotruncate_cookie(struct shmfd *shmfd, off_t length, void *rl_cookie)
sys/kern/uipc_shm.c
912
shm_dotruncate(struct shmfd *shmfd, off_t length)
sys/kern/uipc_socket.c
1665
so_splice_alloc(off_t max)
sys/kern/uipc_socket.c
4346
off_t n;
sys/kern/uipc_socket.c
575
so_splice_xfer_data(struct socket *so_src, struct socket *so_dst, off_t max,
sys/kern/uipc_socket.c
642
off_t max;
sys/kern/uipc_usrreq.c
2417
uipc_sendfile_wait(struct socket *so, off_t need, int *space)
sys/kern/vfs_aio.c
1228
off_t offset;
sys/kern/vfs_aio.c
181
off_t aio_offset; /* File offset for I/O */
sys/kern/vfs_bio.c
2989
resid = ((foff + PAGE_SIZE) & ~(off_t)PAGE_MASK) - foff;
sys/kern/vfs_bio.c
3019
foff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK;
sys/kern/vfs_bio.c
3802
noff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK;
sys/kern/vfs_bio.c
3875
off_t offset;
sys/kern/vfs_bio.c
3990
off_t offset;
sys/kern/vfs_bio.c
4752
eoff = (off + PAGE_SIZE) & ~(off_t)PAGE_MASK;
sys/kern/vfs_bio.c
4852
foff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK;
sys/kern/vfs_cluster.c
177
off_t firstread = bp->b_offset;
sys/kern/vfs_cluster.c
345
off_t off;
sys/kern/vfs_default.c
1004
off_t offset, len;
sys/kern/vfs_default.c
1008
off_t noff, xfersize, rem;
sys/kern/vfs_default.c
1018
len = omin((off_t)va.va_size - offset, *ap->a_len);
sys/kern/vfs_default.c
1332
off_t *offp;
sys/kern/vfs_default.c
289
off_t off;
sys/kern/vfs_default.c
695
off_t off;
sys/kern/vfs_default.c
818
off_t maxfilesize = 0;
sys/kern/vfs_default.c
823
off_t fsize, len, cur, offset;
sys/kern/vfs_default.c
947
vp_zerofill(struct vnode *vp, struct vattr *vap, off_t *offsetp, off_t *lenp,
sys/kern/vfs_default.c
955
off_t offset, len;
sys/kern/vfs_inotify.c
784
off_t off;
sys/kern/vfs_mount.c
2609
vfs_getopt_size(struct vfsoptlist *opts, const char *name, off_t *value)
sys/kern/vfs_mountroot.c
943
off_t ofs;
sys/kern/vfs_subr.c
2594
vtruncbuf(struct vnode *vp, off_t length, int blksize)
sys/kern/vfs_subr.c
2660
off_t start, end;
sys/kern/vfs_subr.c
6767
off_t size;
sys/kern/vfs_subr.c
6876
vfs_read_dirent(struct vop_readdir_args *ap, struct dirent *dp, off_t off)
sys/kern/vfs_subr.c
7479
vn_getsize_locked(struct vnode *vp, off_t *size, struct ucred *cred)
sys/kern/vfs_subr.c
7496
vn_getsize(struct vnode *vp, off_t *size, struct ucred *cred)
sys/kern/vfs_syscalls.c
2118
off_t offset;
sys/kern/vfs_syscalls.c
2130
kern_lseek(struct thread *td, int fd, off_t offset, int whence)
sys/kern/vfs_syscalls.c
3559
off_t length;
sys/kern/vfs_syscalls.c
3571
off_t length)
sys/kern/vfs_syscalls.c
4202
off_t base;
sys/kern/vfs_syscalls.c
4375
off_t base;
sys/kern/vfs_syscalls.c
4383
error = copyout(&base, uap->basep, sizeof(off_t));
sys/kern/vfs_syscalls.c
4389
off_t *basep, ssize_t *residp, enum uio_seg bufseg)
sys/kern/vfs_syscalls.c
4395
off_t loff;
sys/kern/vfs_syscalls.c
4397
off_t foffset;
sys/kern/vfs_syscalls.c
5003
kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len,
sys/kern/vfs_syscalls.c
5009
off_t end;
sys/kern/vfs_syscalls.c
5135
kern_copy_file_range(struct thread *td, int infd, off_t *inoffp, int outfd,
sys/kern/vfs_syscalls.c
5136
off_t *outoffp, size_t len, unsigned int flags)
sys/kern/vfs_syscalls.c
5143
off_t inoff, outoff, savinoff, savoutoff;
sys/kern/vfs_syscalls.c
5306
off_t inoff, outoff, *inoffp, *outoffp;
sys/kern/vfs_syscalls.c
5311
error = copyin(uap->inoffp, &inoff, sizeof(off_t));
sys/kern/vfs_syscalls.c
5317
error = copyin(uap->outoffp, &outoff, sizeof(off_t));
sys/kern/vfs_syscalls.c
5325
error = copyout(inoffp, uap->inoffp, sizeof(off_t));
sys/kern/vfs_syscalls.c
5327
error = copyout(outoffp, uap->outoffp, sizeof(off_t));
sys/kern/vfs_vnops.c
1015
foffset_lock_pair(struct file *fp1, off_t *off1p, struct file *fp2, off_t *off2p,
sys/kern/vfs_vnops.c
1023
off_t *tmpoffp;
sys/kern/vfs_vnops.c
1104
off_t off, vsz;
sys/kern/vfs_vnops.c
1214
off_t orig_offset;
sys/kern/vfs_vnops.c
1286
off_t orig_offset;
sys/kern/vfs_vnops.c
1764
vn_truncate(struct file *fp, off_t length, struct ucred *active_cred,
sys/kern/vfs_vnops.c
1810
vn_truncate_locked(struct vnode *vp, off_t length, bool sync,
sys/kern/vfs_vnops.c
1855
off_t size;
sys/kern/vfs_vnops.c
2624
vn_rlimit_fsizex1(const struct vnode *vp, struct uio *uio, off_t maxfsz,
sys/kern/vfs_vnops.c
2627
off_t lim;
sys/kern/vfs_vnops.c
2695
vn_rlimit_fsizex(const struct vnode *vp, struct uio *uio, off_t maxfsz,
sys/kern/vfs_vnops.c
2789
vn_bmap_seekhole_locked(struct vnode *vp, u_long cmd, off_t *off,
sys/kern/vfs_vnops.c
2792
off_t size;
sys/kern/vfs_vnops.c
2795
off_t noff;
sys/kern/vfs_vnops.c
2846
vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off, struct ucred *cred)
sys/kern/vfs_vnops.c
2861
vn_seek(struct file *fp, off_t offset, int whence, struct thread *td)
sys/kern/vfs_vnops.c
2865
off_t foffset, fsize, size;
sys/kern/vfs_vnops.c
3294
vn_copy_file_range(struct vnode *invp, off_t *inoffp, struct vnode *outvp,
sys/kern/vfs_vnops.c
3295
off_t *outoffp, size_t *lenp, unsigned int flags, struct ucred *incred,
sys/kern/vfs_vnops.c
3420
static off_t
sys/kern/vfs_vnops.c
3421
vn_skip_hole(struct vnode *outvp, off_t xfer2, off_t *outoffp, off_t *xferp,
sys/kern/vfs_vnops.c
3422
off_t *dataoffp, off_t *holeoffp, struct ucred *cred)
sys/kern/vfs_vnops.c
3425
off_t delta;
sys/kern/vfs_vnops.c
3496
vn_write_outvp(struct vnode *outvp, char *dat, off_t outoff, off_t xfer,
sys/kern/vfs_vnops.c
3500
off_t dataoff, holeoff, xfer2;
sys/kern/vfs_vnops.c
3563
vn_generic_copy_file_range(struct vnode *invp, off_t *inoffp,
sys/kern/vfs_vnops.c
3564
struct vnode *outvp, off_t *outoffp, size_t *lenp, unsigned int flags,
sys/kern/vfs_vnops.c
3569
off_t startoff, endoff, xfer, xfer2;
sys/kern/vfs_vnops.c
3575
off_t outsize;
sys/kern/vfs_vnops.c
3892
vn_fallocate(struct file *fp, off_t offset, off_t len, struct thread *td)
sys/kern/vfs_vnops.c
3896
off_t olen, ooffset;
sys/kern/vfs_vnops.c
3950
vn_deallocate_impl(struct vnode *vp, off_t *offset, off_t *length, int flags,
sys/kern/vfs_vnops.c
3956
off_t off, len;
sys/kern/vfs_vnops.c
4024
vn_deallocate(struct vnode *vp, off_t *offset, off_t *length, int flags,
sys/kern/vfs_vnops.c
4041
vn_fspacectl(struct file *fp, int cmd, off_t *offset, off_t *length, int flags,
sys/kern/vfs_vnops.c
4115
struct dirent **dpp, size_t *len, off_t *off, int *eofflag)
sys/kern/vfs_vnops.c
4244
off_t off;
sys/kern/vfs_vnops.c
659
vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base, int len, off_t offset,
sys/kern/vfs_vnops.c
764
off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred,
sys/kern/vfs_vnops.c
863
off_t
sys/kern/vfs_vnops.c
877
foffset_unlock(struct file *fp, off_t val, int flags)
sys/kern/vfs_vnops.c
894
static off_t
sys/kern/vfs_vnops.c
941
off_t
sys/kern/vfs_vnops.c
945
off_t res;
sys/kern/vfs_vnops.c
961
foffset_unlock(struct file *fp, off_t val, int flags)
sys/kern/vfs_vnops.c
982
static off_t
sys/netinet/netdump/netdump_client.c
114
off_t nd_tx_off;
sys/netinet/netdump/netdump_client.c
237
netdump_dumper(void *priv __unused, void *virtual, off_t offset, size_t length)
sys/netinet/netdump/netdump_client.c
91
off_t offset, size_t length);
sys/netinet/tcp_log_buf.c
2860
tcp_log_sendfile(struct socket *so, off_t offset, size_t nbytes, int flags)
sys/netinet/tcp_log_buf.h
570
void tcp_log_sendfile(struct socket *so, off_t offset, size_t nbytes,
sys/netsmb/smb_dev.h
135
off_t ioc_offset;
sys/nfs/nfs_mountcommon.h
38
struct sockaddr_storage *, int *, off_t *,
sys/nfs/nfsproto.h
497
off_t fa4_size;
sys/nfsclient/nfsnode.h
117
off_t nd_direof; /* Dir. EOF offset cache */
sys/nfsclient/nfsnode.h
201
nfsuint64 *nfs_getcookie(struct nfsnode *, off_t, int);
sys/nlm/nlm_advlock.c
1034
int svid, size_t fhlen, void *fh, off_t size)
sys/nlm/nlm_advlock.c
1221
rpcvers_t vers, size_t fhlen, void *fh, off_t size,
sys/nlm/nlm_advlock.c
1225
off_t start, len;
sys/nlm/nlm_advlock.c
199
off_t size;
sys/nlm/nlm_advlock.c
696
int svid, int sysid, off_t size)
sys/nlm/nlm_advlock.c
761
int svid, size_t fhlen, void *fh, off_t size, bool_t reclaim)
sys/nlm/nlm_advlock.c
78
int svid, size_t fhlen, void *fh, off_t size, bool_t reclaim);
sys/nlm/nlm_advlock.c
82
int svid, size_t fhlen, void *fh, off_t size);
sys/nlm/nlm_advlock.c
86
int svid, size_t fhlen, void *fh, off_t size);
sys/nlm/nlm_advlock.c
91
rpcvers_t vers, size_t fhlen, void *fh, off_t size,
sys/nlm/nlm_advlock.c
959
int svid, size_t fhlen, void *fh, off_t size)
sys/powerpc/ofw/ofw_real.c
167
static off_t of_bounce_offset;
sys/powerpc/ofw/ofw_syscons.c
603
ofwfb_set_win_org(video_adapter_t *adp, off_t offset)
sys/powerpc/ofw/rtas.c
54
static off_t rtas_bounce_offset;
sys/powerpc/powernv/opal_flash.c
158
opalflash_read(struct opalflash_softc *sc, off_t off,
sys/powerpc/powernv/opal_flash.c
159
caddr_t data, off_t count)
sys/powerpc/powernv/opal_flash.c
202
opalflash_erase(struct opalflash_softc *sc, off_t off, off_t count)
sys/powerpc/powernv/opal_flash.c
231
opalflash_write(struct opalflash_softc *sc, off_t off,
sys/powerpc/powernv/opal_flash.c
232
caddr_t data, off_t count)
sys/powerpc/powernv/opal_nvram.c
247
off_t offset;
sys/powerpc/powernv/opal_nvram.c
293
*(off_t *)data = sc->sc_size;
sys/security/audit/audit_worker.c
265
error = vn_rdwr(UIO_WRITE, vp, data, len, (off_t)0, UIO_SYSSPACE,
sys/security/audit/audit_worker.c
96
static off_t audit_size;
sys/security/mac_veriexec/mac_veriexec_internal.h
94
off_t file_size, unsigned char *fingerprint);
sys/security/mac_veriexec/veriexec_fingerprint.c
141
struct thread *td, off_t file_size, unsigned char *fingerprint)
sys/security/mac_veriexec/veriexec_fingerprint.c
145
off_t offset;
sys/security/mac_veriexec/veriexec_fingerprint.c
215
struct mac_veriexec_file_info *ip, struct thread *td, off_t file_size,
sys/security/mac_veriexec/veriexec_metadata.c
750
off_t offset;
sys/sys/agpio.h
102
off_t aper_base; /* base of aperture */
sys/sys/agpio.h
118
off_t pg_start; /* starting page to populate */
sys/sys/agpio.h
142
off_t pg_start; /* starting page to populate */
sys/sys/aio.h
108
off_t aio_offset; /* File offset for I/O */
sys/sys/bio.h
111
off_t bio_length; /* Like bio_bcount */
sys/sys/bio.h
112
off_t bio_completed; /* Inverse of bio_resid */
sys/sys/bio.h
146
off_t last_offset;
sys/sys/bio.h
94
off_t bio_offset; /* Offset into file. */
sys/sys/buf.h
104
off_t b_iooffset;
sys/sys/buf.h
110
off_t b_offset; /* Offset into file. */
sys/sys/compressor.h
38
typedef int (*compressor_cb_t)(void *, size_t, off_t, void *);
sys/sys/conf.h
131
off_t _offset, /* Byte-offset to write at. */
sys/sys/conf.h
350
off_t mediaoffset; /* Initial offset in bytes. */
sys/sys/conf.h
351
off_t mediasize; /* Space available in bytes. */
sys/sys/conf.h
355
off_t dumpoff; /* Offset of ongoing kernel dump. */
sys/sys/conf.h
356
off_t origdumpoff; /* Starting dump offset. */
sys/sys/conf.h
398
int dump_write(struct dumperinfo *, void *, off_t, size_t);
sys/sys/dirent.h
65
off_t d_off; /* directory offset of next entry */
sys/sys/disk.h
118
off_t off;
sys/sys/disk.h
35
#define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */
sys/sys/disk.h
60
#define DIOCGDELETE _IOW('d', 136, off_t[2]) /* Delete data */
sys/sys/disk.h
93
#define DIOCGSTRIPESIZE _IOR('d', 139, off_t) /* Get stripe size in bytes */
sys/sys/disk.h
99
#define DIOCGSTRIPEOFFSET _IOR('d', 140, off_t) /* Get stripe offset in bytes */
sys/sys/fcntl.h
353
off_t l_start; /* starting offset */
sys/sys/fcntl.h
354
off_t l_len; /* len = 0 means until end of file */
sys/sys/fcntl.h
367
off_t l_start; /* starting offset */
sys/sys/fcntl.h
368
off_t l_len; /* len = 0 means until end of file */
sys/sys/fcntl.h
378
off_t r_offset; /* starting offset */
sys/sys/fcntl.h
379
off_t r_len; /* length */
sys/sys/fcntl.h
436
int posix_fadvise(int, off_t, off_t, int);
sys/sys/fcntl.h
437
int posix_fallocate(int, off_t, off_t);
sys/sys/file.h
100
static inline off_t
sys/sys/file.h
110
typedef int fo_truncate_t(struct file *fp, off_t length,
sys/sys/file.h
126
struct uio *trl_uio, off_t offset, size_t nbytes,
sys/sys/file.h
127
off_t *sent, int flags, struct thread *td);
sys/sys/file.h
128
typedef int fo_seek_t(struct file *fp, off_t offset, int whence,
sys/sys/file.h
138
typedef int fo_fallocate_t(struct file *fp, off_t offset, off_t len,
sys/sys/file.h
141
off_t *offset, off_t *length, int flags,
sys/sys/file.h
197
off_t fa_start; /* (f) Region start. */
sys/sys/file.h
198
off_t fa_end; /* (f) Region end. */
sys/sys/file.h
218
off_t f_nextoff[2]; /* next expected read/write offset. */
sys/sys/file.h
227
off_t f_offset;
sys/sys/file.h
257
off_t xf_offset; /* file offset */
sys/sys/file.h
379
fo_truncate(struct file *fp, off_t length, struct ucred *active_cred,
sys/sys/file.h
441
struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags,
sys/sys/file.h
450
fo_seek(struct file *fp, off_t offset, int whence, struct thread *td)
sys/sys/file.h
501
fo_fallocate(struct file *fp, off_t offset, off_t len, struct thread *td)
sys/sys/file.h
510
fo_fspacectl(struct file *fp, int cmd, off_t *offset, off_t *length,
sys/sys/file.h
91
off_t foffset_lock(struct file *fp, int flags);
sys/sys/file.h
92
void foffset_lock_pair(struct file *fp1, off_t *off1p, struct file *fp2,
sys/sys/file.h
93
off_t *off2p, int flags);
sys/sys/file.h
95
void foffset_unlock(struct file *fp, off_t val, int flags);
sys/sys/filio.h
61
#define FIOSEEKDATA _IOWR('f', 97, off_t) /* SEEK_DATA */
sys/sys/filio.h
62
#define FIOSEEKHOLE _IOWR('f', 98, off_t) /* SEEK_HOLE */
sys/sys/imgact_aout.h
151
int aout_coredump(struct thread *td, struct vnode *vp, off_t limit,
sys/sys/imgact_elf.h
118
int __elfN(coredump)(struct thread *, struct coredump_writer *, off_t, int);
sys/sys/kerneldump.h
168
typedef void (*livedump_dump_fn)(void *arg, void *virtual, off_t offset,
sys/sys/libkern.h
110
static __inline off_t omax(off_t a, off_t b) { return (a > b ? a : b); }
sys/sys/libkern.h
111
static __inline off_t omin(off_t a, off_t b) { return (a < b ? a : b); }
sys/sys/lockf.h
73
off_t lf_start; /* (s) Byte # of the start of the lock */
sys/sys/lockf.h
74
off_t lf_end; /* (s) Byte # of the end of the lock (OFF_MAX=EOF) */
sys/sys/md4.h
84
char * MD4FdChunk(int, char *, off_t, off_t);
sys/sys/md4.h
86
char * MD4FileChunk(const char *, char *, off_t, off_t);
sys/sys/md5.h
94
char * MD5FdChunk(int, char *, off_t, off_t);
sys/sys/md5.h
96
char * MD5FileChunk(const char *, char *, off_t, off_t);
sys/sys/mdioctl.h
54
off_t md_mediasize; /* size of disk in bytes */
sys/sys/mman.h
305
int shm_map(struct file *fp, size_t size, off_t offset, void **memp);
sys/sys/mman.h
312
int shm_dotruncate(struct shmfd *shmfd, off_t length);
sys/sys/mman.h
337
void * mmap(void *, size_t, int, int, int, off_t);
sys/sys/mount.h
1044
off_t *value);
sys/sys/param.h
250
((off_t)(db) << DEV_BSHIFT)
sys/sys/proc.h
363
off_t tdu_off;
sys/sys/proc.h
391
off_t td_ktr_io_lim; /* (k) limit for ktrace file size */
sys/sys/protosw.h
84
typedef int pr_sendfile_wait_t(struct socket *, off_t, int *);
sys/sys/ptrace.h
195
off_t pc_limit; /* Maximum size of the coredump,
sys/sys/ptrace.h
227
off_t tc_limit; /* max coredump file size. */
sys/sys/slicer.h
43
off_t base;
sys/sys/slicer.h
44
off_t size;
sys/sys/socket.h
688
off_t sp_max; /* if set, maximum bytes to splice */
sys/sys/socket.h
728
int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
sys/sys/socketvar.h
146
off_t so_splice_sent; /* (ir) splice bytes sent so far */
sys/sys/socketvar.h
558
int sendfile_wait_generic(struct socket *so, off_t need, int *space);
sys/sys/socketvar.h
79
off_t max; /* maximum bytes to splice, or -1 */
sys/sys/stat.h
133
off_t st_size; /* file size, in bytes */
sys/sys/stat.h
183
off_t st_size; /* file size, in bytes */
sys/sys/stat.h
204
off_t st_size; /* file size, in bytes */
sys/sys/syscallsubr.h
120
int kern_copy_file_range(struct thread *td, int infd, off_t *inoffp,
sys/sys/syscallsubr.h
121
int outfd, off_t *outoffp, size_t len, unsigned int flags);
sys/sys/syscallsubr.h
190
int kern_ftruncate(struct thread *td, int fd, off_t length);
sys/sys/syscallsubr.h
198
off_t *basep, ssize_t *residp, enum uio_seg bufseg);
sys/sys/syscallsubr.h
245
int kern_lseek(struct thread *td, int fd, off_t offset, int whence);
sys/sys/syscallsubr.h
296
int kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len,
sys/sys/syscallsubr.h
298
int kern_posix_fallocate(struct thread *td, int fd, off_t offset,
sys/sys/syscallsubr.h
299
off_t len);
sys/sys/syscallsubr.h
307
off_t offset);
sys/sys/syscallsubr.h
308
int kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset);
sys/sys/syscallsubr.h
314
off_t offset);
sys/sys/syscallsubr.h
315
int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset);
sys/sys/syscallsubr.h
401
enum uio_seg pathseg, off_t length);
sys/sys/syscallsubr.h
81
off_t mr_pos;
sys/sys/sysent.h
113
off_t, int);
sys/sys/sysproto.h
1024
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
1027
char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
sys/sys/sysproto.h
1329
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
1335
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
1343
char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)];
sys/sys/sysproto.h
1347
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
1352
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
sys/sys/sysproto.h
1356
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
sys/sys/sysproto.h
1574
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
1575
char len_l_[PADL_(off_t)]; off_t len; char len_r_[PADR_(off_t)];
sys/sys/sysproto.h
1579
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
1580
char len_l_[PADL_(off_t)]; off_t len; char len_r_[PADR_(off_t)];
sys/sys/sysproto.h
1687
char basep_l_[PADL_(off_t *)]; off_t * basep; char basep_r_[PADR_(off_t *)];
sys/sys/sysproto.h
1769
char inoffp_l_[PADL_(off_t *)]; off_t * inoffp; char inoffp_r_[PADR_(off_t *)];
sys/sys/sysproto.h
1771
char outoffp_l_[PADL_(off_t *)]; off_t * outoffp; char outoffp_r_[PADR_(off_t *)];
sys/sys/sysproto.h
2580
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
2583
char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
sys/sys/sysproto.h
2615
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
2622
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
2631
char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)];
sys/sys/sysproto.h
2636
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
2642
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
sys/sys/sysproto.h
2647
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
sys/sys/sysproto.h
711
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/sysproto.h
717
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
sys/sys/systm.h
145
int dumpstatus(vm_offset_t addr, off_t count);
sys/sys/types.h
372
int ftruncate(int, off_t);
sys/sys/types.h
376
off_t lseek(int, off_t, int);
sys/sys/types.h
380
void * mmap(void *, size_t, int, int, int, off_t);
sys/sys/types.h
384
int truncate(const char *, off_t);
sys/sys/ucoredump.h
28
off_t, enum uio_seg, struct ucred *, size_t *, struct thread *);
sys/sys/ucoredump.h
29
typedef int coredump_extend_fn(const struct coredump_writer *, off_t,
sys/sys/ucoredump.h
48
off_t offset;
sys/sys/ucoredump.h
57
int core_write(struct coredump_params *, const void *, size_t, off_t,
sys/sys/ucoredump.h
59
int core_output(char *, size_t, off_t, struct coredump_params *, void *);
sys/sys/ucoredump.h
85
typedef int coredumper_handle_fn(struct thread *, off_t);
sys/sys/uio.h
100
int uiomove_object(struct vm_object *obj, off_t obj_size, struct uio *uio);
sys/sys/uio.h
113
ssize_t preadv(int, const struct iovec *, int, off_t);
sys/sys/uio.h
114
ssize_t pwritev(int, const struct iovec *, int, off_t);
sys/sys/uio.h
55
off_t uio_offset; /* offset in target object */
sys/sys/uio.h
90
int physcopyin_vlist(struct bus_dma_segment *src, off_t offset,
sys/sys/uio.h
93
off_t offset, size_t len);
sys/sys/user.h
332
off_t kf_offset; /* Seek location. */
sys/sys/user.h
515
off_t kl_start;
sys/sys/user.h
516
off_t kl_len; /* len == 0 till the EOF */
sys/sys/user.h
580
off_t kve_offset; /* Mapping offset in object */
sys/sys/vnode.h
1057
off_t osize, ooffset, noffset; \
sys/sys/vnode.h
1065
osize = (off_t)va.va_size; \
sys/sys/vnode.h
1137
#define VNODE_NO_SIZE ((off_t)-1)
sys/sys/vnode.h
1139
int vnode_create_vobject(struct vnode *vp, off_t size, struct thread *td);
sys/sys/vnode.h
1140
int vnode_create_disk_vobject(struct vnode *vp, off_t size, struct thread *td);
sys/sys/vnode.h
1177
struct dirent **dpp, size_t *len, off_t *off, int *eofflag);
sys/sys/vnode.h
1179
int vfs_read_dirent(struct vop_readdir_args *ap, struct dirent *dp, off_t off);
sys/sys/vnode.h
1192
int vn_getsize_locked(struct vnode *vp, off_t *size, struct ucred *active_cred);
sys/sys/vnode.h
1193
int vn_getsize(struct vnode *vp, off_t *size, struct ucred *active_cred);
sys/sys/vnode.h
761
int vtruncbuf(struct vnode *vp, off_t length, int blksize);
sys/sys/vnode.h
768
int vn_bmap_seekhole_locked(struct vnode *vp, u_long cmd, off_t *off,
sys/sys/vnode.h
770
int vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off,
sys/sys/vnode.h
774
int vn_copy_file_range(struct vnode *invp, off_t *inoffp,
sys/sys/vnode.h
775
struct vnode *outvp, off_t *outoffp, size_t *lenp,
sys/sys/vnode.h
778
int vn_deallocate(struct vnode *vp, off_t *offset, off_t *length, int flags,
sys/sys/vnode.h
783
int vn_generic_copy_file_range(struct vnode *invp, off_t *inoffp,
sys/sys/vnode.h
784
struct vnode *outvp, off_t *outoffp, size_t *lenp,
sys/sys/vnode.h
804
int len, off_t offset, enum uio_seg segflg, int ioflg,
sys/sys/vnode.h
808
size_t len, off_t offset, enum uio_seg segflg, int ioflg,
sys/sys/vnode.h
815
off_t maxfsz, ssize_t *resid_adj, struct thread *td);
sys/sys/vnode.h
821
int vn_truncate_locked(struct vnode *vp, off_t length, bool sync,
sys/ufs/ffs/ffs_alloc.c
369
(off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100))
sys/ufs/ffs/ffs_alloc.c
388
(off_t)fs->fs_dsize * (fs->fs_minfree - 2) / 100)
sys/ufs/ffs/ffs_balloc.c
594
ffs_balloc_ufs2(struct vnode *vp, off_t startoffset, int size,
sys/ufs/ffs/ffs_balloc.c
89
ffs_balloc_ufs1(struct vnode *vp, off_t startoffset, int size,
sys/ufs/ffs/ffs_extern.h
110
int ffs_truncate(struct vnode *, off_t, int, struct ucred *);
sys/ufs/ffs/ffs_extern.h
182
void softdep_setup_freeblocks(struct inode *, off_t, int);
sys/ufs/ffs/ffs_extern.h
205
void softdep_journal_freeblocks(struct inode *, struct ucred *, off_t, int);
sys/ufs/ffs/ffs_extern.h
57
int ffs_balloc_ufs1(struct vnode *a_vp, off_t a_startoffset, int a_size,
sys/ufs/ffs/ffs_extern.h
59
int ffs_balloc_ufs2(struct vnode *a_vp, off_t a_startoffset, int a_size,
sys/ufs/ffs/ffs_extern.h
89
int (*)(void *, off_t, void **, int));
sys/ufs/ffs/ffs_extern.h
94
int ffs_sbget(void *, struct fs **, off_t, int, struct malloc_type *,
sys/ufs/ffs/ffs_extern.h
95
int (*)(void *, off_t, void **, int));
sys/ufs/ffs/ffs_extern.h
96
int ffs_sbput(void *, struct fs *, off_t, int (*)(void *, off_t, void *,
sys/ufs/ffs/ffs_inode.c
232
off_t length,
sys/ufs/ffs/ffs_inode.c
252
off_t osize;
sys/ufs/ffs/ffs_inode.c
391
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)lbn), fs->fs_bsize,
sys/ufs/ffs/ffs_rawread.c
179
off_t offset,
sys/ufs/ffs/ffs_rawread.c
186
off_t blockno;
sys/ufs/ffs/ffs_rawread.c
260
off_t offset;
sys/ufs/ffs/ffs_rawread.c
405
off_t filebytes; /* Bytes left of file */
sys/ufs/ffs/ffs_rawread.c
59
off_t offset,
sys/ufs/ffs/ffs_snapshot.c
1063
error = ffs_balloc_ufs1(snapvp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1076
error = ffs_balloc_ufs1(snapvp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1246
error = ffs_balloc_ufs1(vp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1345
error = ffs_balloc_ufs2(snapvp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1358
error = ffs_balloc_ufs2(snapvp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1530
error = ffs_balloc_ufs2(vp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1696
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)blkno),
sys/ufs/ffs/ffs_snapshot.c
1821
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
1920
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
2038
(void)ffs_truncate(vp, (off_t)0, 0, NOCRED);
sys/ufs/ffs/ffs_snapshot.c
2374
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
2403
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)lbn),
sys/ufs/ffs/ffs_snapshot.c
316
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)numblks),
sys/ufs/ffs/ffs_snapshot.c
321
ip->i_size = lblktosize(fs, (off_t)(numblks + 1));
sys/ufs/ffs/ffs_snapshot.c
337
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)blkno),
sys/ufs/ffs/ffs_snapshot.c
354
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)(blkno + loc)),
sys/ufs/ffs/ffs_snapshot.c
805
auio.uio_offset = lblktosize(fs, (off_t)numblks);
sys/ufs/ffs/ffs_snapshot.c
967
error = UFS_BALLOC(vp, lblktosize(fs, (off_t)(base + loc)),
sys/ufs/ffs/ffs_snapshot.c
979
lblktosize(fs, (off_t)(base + loc)),
sys/ufs/ffs/ffs_softdep.c
1568
off_t shortage,
sys/ufs/ffs/ffs_softdep.c
217
off_t length,
sys/ufs/ffs/ffs_softdep.c
233
off_t length,
sys/ufs/ffs/ffs_softdep.c
252
off_t diroffset,
sys/ufs/ffs/ffs_softdep.c
4267
off_t oldoff,
sys/ufs/ffs/ffs_softdep.c
4268
off_t newoff)
sys/ufs/ffs/ffs_softdep.c
4297
off_t diroff,
sys/ufs/ffs/ffs_softdep.c
4316
off_t diroff,
sys/ufs/ffs/ffs_softdep.c
4339
off_t diroff,
sys/ufs/ffs/ffs_softdep.c
4512
off_t size,
sys/ufs/ffs/ffs_softdep.c
6672
off_t length)
sys/ufs/ffs/ffs_softdep.c
6674
off_t totblks, numblks;
sys/ufs/ffs/ffs_softdep.c
6748
off_t length, /* The new length for the file */
sys/ufs/ffs/ffs_softdep.c
7092
off_t length, /* The new length for the file */
sys/ufs/ffs/ffs_softdep.c
7246
off_t length,
sys/ufs/ffs/ffs_softdep.c
7253
off_t end, extend;
sys/ufs/ffs/ffs_softdep.c
819
static ufs2_daddr_t blkcount(struct fs *, ufs2_daddr_t, off_t);
sys/ufs/ffs/ffs_softdep.c
823
static void trunc_pages(struct inode *, off_t, ufs2_daddr_t, int);
sys/ufs/ffs/ffs_softdep.c
8704
off_t diroffset, /* offset of new entry in directory */
sys/ufs/ffs/ffs_softdep.c
895
struct inode *ip, off_t, nlink_t);
sys/ufs/ffs/ffs_softdep.c
896
static struct jaddref *newjaddref(struct inode *, ino_t, off_t, int16_t,
sys/ufs/ffs/ffs_softdep.c
898
static inline void newinoref(struct inoref *, ino_t, ino_t, off_t, nlink_t,
sys/ufs/ffs/ffs_softdep.c
901
static struct jmvref *newjmvref(struct inode *, ino_t, off_t, off_t);
sys/ufs/ffs/ffs_softdep.c
905
static struct jtrunc *newjtrunc(struct freeblks *, off_t, int);
sys/ufs/ffs/ffs_subr.c
125
static off_t sblock_try[] = SBLOCKSEARCH;
sys/ufs/ffs/ffs_subr.c
126
static int readsuper(void *, struct fs **, off_t, int,
sys/ufs/ffs/ffs_subr.c
127
int (*)(void *, off_t, void **, int));
sys/ufs/ffs/ffs_subr.c
152
ffs_sbget(void *devfd, struct fs **fsp, off_t sblock, int flags,
sys/ufs/ffs/ffs_subr.c
154
int (*readfunc)(void *devfd, off_t loc, void **bufp, int size))
sys/ufs/ffs/ffs_subr.c
251
readsuper(void *devfd, struct fs **fsp, off_t sblockloc, int flags,
sys/ufs/ffs/ffs_subr.c
252
int (*readfunc)(void *devfd, off_t loc, void **bufp, int size))
sys/ufs/ffs/ffs_subr.c
813
int (*readfunc)(void *devfd, off_t loc, void **bufp, int size))
sys/ufs/ffs/ffs_subr.c
820
off_t sblk, secsize;
sys/ufs/ffs/ffs_subr.c
966
ffs_sbput(void *devfd, struct fs *fs, off_t loc,
sys/ufs/ffs/ffs_subr.c
967
int (*writefunc)(void *devfd, off_t loc, void *buf, int size))
sys/ufs/ffs/ffs_vfsops.c
1234
ffs_use_bread(void *devfd, off_t loc, void **bufp, int size)
sys/ufs/ffs/ffs_vfsops.c
159
ffs_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp)
sys/ufs/ffs/ffs_vfsops.c
2084
ffs_use_bwrite(void *devfd, off_t loc, void *buf, int size)
sys/ufs/ffs/ffs_vfsops.c
88
static int ffs_use_bread(void *devfd, off_t loc, void **bufp, int size);
sys/ufs/ffs/ffs_vfsops.c
89
static int ffs_use_bwrite(void *devfd, off_t loc, void *buf, int size);
sys/ufs/ffs/ffs_vnops.c
1067
off_t bytesinfile;
sys/ufs/ffs/ffs_vnops.c
1186
off_t osize;
sys/ufs/ffs/ffs_vnops.c
2036
error = UFS_TRUNCATE(dvp, (off_t)I_ENDOFF(dp), IO_NORMAL |
sys/ufs/ffs/ffs_vnops.c
653
off_t bytesinfile;
sys/ufs/ffs/ffs_vnops.c
844
off_t osize;
sys/ufs/ffs/fs.h
700
(((off_t)(frag)) << (fs)->fs_fshift)
sys/ufs/ffs/fs.h
702
(((off_t)(blk)) << (fs)->fs_bshift)
sys/ufs/ffs/fs.h
730
(((off_t)((fs)->fs_dsize)) * (percentreserved) / 100))
sys/ufs/ffs/softdep.h
365
off_t id_savedsize; /* file size saved during rollback */
sys/ufs/ffs/softdep.h
587
off_t fb_len; /* Length we're truncating to. */
sys/ufs/ffs/softdep.h
794
off_t if_diroff; /* Directory offset. */
sys/ufs/ffs/softdep.h
859
off_t jm_oldoff; /* Our old offset in directory. */
sys/ufs/ffs/softdep.h
860
off_t jm_newoff; /* Our new offset in directory. */
sys/ufs/ffs/softdep.h
934
off_t jt_size; /* Final file size. */
sys/ufs/ffs/softdep.h
945
off_t jfs_size; /* Sync file size. */
sys/ufs/ufs/ufs_bmap.c
472
ufs_bmap_seekdata(struct vnode *vp, off_t *offp)
sys/ufs/ufs/ufs_bmap.c
481
off_t numblks;
sys/ufs/ufs/ufs_dirhash.c
439
if (UFS_BLKATOFF(vp, (off_t)pos, NULL, &bp) != 0)
sys/ufs/ufs/ufs_dirhash.c
632
if (UFS_BLKATOFF(vp, (off_t)blkoff, NULL, &bp) != 0) {
sys/ufs/ufs/ufs_dirhash.c
728
error = UFS_BLKATOFF(ip->i_vnode, (off_t)pos, (char **)&dp, &bp);
sys/ufs/ufs/ufs_extattr.c
1053
off_t base_offset;
sys/ufs/ufs/ufs_extattr.c
1161
off_t base_offset;
sys/ufs/ufs/ufs_extattr.c
631
auio.uio_offset = (off_t) 0;
sys/ufs/ufs/ufs_extattr.c
851
off_t base_offset;
sys/ufs/ufs/ufs_extern.h
58
int ufs_bmap_seekdata(struct vnode *, off_t *);
sys/ufs/ufs/ufs_extern.h
92
int softdep_setup_directory_add(struct buf *, struct inode *, off_t,
sys/ufs/ufs/ufs_inode.c
110
off_t isize;
sys/ufs/ufs/ufs_inode.c
163
error = UFS_TRUNCATE(vp, (off_t)0, IO_EXT | IO_NORMAL, NOCRED);
sys/ufs/ufs/ufs_lookup.c
1107
off_t offset;
sys/ufs/ufs/ufs_lookup.c
1246
error = UFS_BLKATOFF(vdp, (off_t)I_OFFSET(dp), (char **)&ep, &bp);
sys/ufs/ufs/ufs_lookup.c
1380
sizeof (struct dirtemplate), (off_t)0, UIO_SYSSPACE,
sys/ufs/ufs/ufs_lookup.c
329
(error = UFS_BLKATOFF(vdp, (off_t)i_offset, NULL, &bp)))
sys/ufs/ufs/ufs_lookup.c
347
UFS_BLKATOFF(vdp, (off_t)i_offset, NULL, &bp);
sys/ufs/ufs/ufs_lookup.c
889
if ((error = UFS_BALLOC(dvp, (off_t)I_OFFSET(dp), DIRBLKSIZ,
sys/ufs/ufs/ufs_lookup.c
968
error = UFS_BLKATOFF(dvp, (off_t)I_OFFSET(dp), &dirbuf, &bp);
sys/ufs/ufs/ufs_quota.c
1273
off_t base, recsize;
sys/ufs/ufs/ufs_quota.c
1546
off_t base, recsize;
sys/ufs/ufs/ufs_vnops.c
1285
off_t endoff;
sys/ufs/ufs/ufs_vnops.c
2192
if ((error = UFS_BALLOC(tvp, (off_t)0, DIRBLKSIZ, cnp->cn_cred,
sys/ufs/ufs/ufs_vnops.c
2398
len, (off_t)0, UIO_SYSSPACE, IO_NODELOCKED | IO_NOMACCHECK,
sys/ufs/ufs/ufs_vnops.c
2426
off_t offset, startoffset;
sys/ufs/ufs/ufs_vnops.c
2974
error = ufs_bmap_seekdata(vp, (off_t *)ap->a_data);
sys/ufs/ufs/ufs_vnops.c
2980
return (vn_bmap_seekhole(vp, ap->a_command, (off_t *)ap->a_data,
sys/ufs/ufs/ufsmount.h
120
int (*um_balloc)(struct vnode *, off_t, int, struct ucred *,
sys/ufs/ufs/ufsmount.h
122
int (*um_blkatoff)(struct vnode *, off_t, char **, struct buf **);
sys/ufs/ufs/ufsmount.h
123
int (*um_truncate)(struct vnode *, off_t, int, struct ucred *);
sys/vm/vm_mmap.c
146
off_t pos;
sys/vm/vm_mmap.c
183
off_t pos;
sys/vm/vm_object.h
127
off_t vnp_size;
sys/vm/vnode_pager.c
1165
off_t tfoff, nextoff;
sys/vm/vnode_pager.c
1324
off_t prev_resid, wrsz;
sys/vm/vnode_pager.c
150
vnode_create_vobject_any(struct vnode *vp, off_t isize, struct thread *td)
sys/vm/vnode_pager.c
1522
vnode_pager_undirty_pages(vm_page_t *ma, int *rtvals, int written, off_t eof,
sys/vm/vnode_pager.c
186
vnode_create_vobject(struct vnode *vp, off_t isize, struct thread *td)
sys/vm/vnode_pager.c
199
vnode_create_disk_vobject(struct vnode *vp, off_t isize, struct thread *td)
sys/vm/vnode_pager.c
896
off_t foff;
sys/vm/vnode_pager.c
898
off_t blkno0;
sys/vm/vnode_pager.h
54
off_t eof, int lpos);
tests/sys/audit/file-write.c
34
static off_t offlen = 0;
tests/sys/capsicum/capability-fd-pair.cc
35
off_t offset = 0;
tests/sys/capsicum/capmode.cc
172
off_t offset = 0;
tests/sys/capsicum/copy_file_range.cc
100
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/copy_file_range.cc
123
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/copy_file_range.cc
146
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/copy_file_range.cc
169
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/copy_file_range.cc
192
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/copy_file_range.cc
215
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/copy_file_range.cc
77
off_t off_in = 0, off_out = 0;
tests/sys/capsicum/syscalls.h
32
inline ssize_t sendfile_(int out_fd, int in_fd, off_t *offset, size_t count) {
tests/sys/cddl/zfs/bin/file_trunc.c
170
off_t roffset = 0;
tests/sys/cddl/zfs/bin/file_trunc.c
225
off_t roffset = 0;
tests/sys/cddl/zfs/bin/file_trunc.c
55
static off_t offset = 0;
tests/sys/cddl/zfs/bin/file_write.c
61
off_t noffset, offset = 0;
tests/sys/cddl/zfs/bin/largest_file.c
54
off_t offset = (OFF_MAX - 1);
tests/sys/cddl/zfs/bin/largest_file.c
55
off_t lseek_ret = 0;
tests/sys/cddl/zfs/bin/mkfile.c
134
if ((lseek(fd, (off_t)(s - 1LL), SEEK_SET) == (off_t)-1) ||
tests/sys/cddl/zfs/bin/mkfile.c
146
if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
tests/sys/cddl/zfs/bin/randfree_file.c
51
off_t start_off, off_len;
tests/sys/common/sendfile_helper.c
174
off_t start;
tests/sys/file/flock_helper.c
70
make_file(const char *pathname, off_t sz)
tests/sys/file/fspacectl_test.c
115
blen = resid < (off_t)blocksize ? resid : blocksize;
tests/sys/file/fspacectl_test.c
136
blen = resid < (off_t)blocksize ? resid : blocksize;
tests/sys/file/fspacectl_test.c
155
blen = resid < (off_t)blocksize ? resid : blocksize;
tests/sys/file/fspacectl_test.c
187
off_t offset, length;
tests/sys/file/fspacectl_test.c
212
off_t offset, length;
tests/sys/file/fspacectl_test.c
237
off_t offset, length;
tests/sys/file/fspacectl_test.c
261
off_t offset, length;
tests/sys/file/fspacectl_test.c
285
off_t offset, length;
tests/sys/file/fspacectl_test.c
310
off_t offset, length;
tests/sys/file/fspacectl_test.c
40
static off_t file_max_blocks = 32;
tests/sys/file/fspacectl_test.c
44
fill(int fd, off_t offset, off_t len)
tests/sys/file/fspacectl_test.c
61
blen = len < (off_t)blocksize ? len : blocksize;
tests/sys/file/fspacectl_test.c
86
check_content_dealloc(int fd, off_t hole_start, off_t hole_len, off_t file_sz)
tests/sys/file/fspacectl_test.c
90
off_t offset, resid;
tests/sys/file/ftruncate_test.c
52
static off_t lengths[] = {0, 1, 2, 3, 4, 127, 128, 129, 511, 512, 513, 1023,
tests/sys/file/ftruncate_test.c
55
static int lengths_count = sizeof(lengths) / sizeof(off_t);
tests/sys/file/ftruncate_test.c
64
off_t len;
tests/sys/fs/fusefs/bmap.cc
133
const off_t filesize = 1 << 30;
tests/sys/fs/fusefs/bmap.cc
190
const off_t filesize = 1 << 30;
tests/sys/fs/fusefs/bmap.cc
225
const off_t filesize = 4ull << 30;
tests/sys/fs/fusefs/bmap.cc
287
const off_t filesize = 2 * m_maxbcachebuf;
tests/sys/fs/fusefs/bmap.cc
72
void expect_lookup(const char *relpath, uint64_t ino, off_t size)
tests/sys/fs/fusefs/bmap.cc
91
const off_t filesize = 1 << 30;
tests/sys/fs/fusefs/copy_file_range.cc
158
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
159
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
160
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
161
off_t start2 = 3 << 17;
tests/sys/fs/fusefs/copy_file_range.cc
174
(off_t)in.body.copy_file_range.off_in == start1 &&
tests/sys/fs/fusefs/copy_file_range.cc
177
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/copy_file_range.cc
205
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
206
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
207
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
208
off_t start2 = 3 << 17;
tests/sys/fs/fusefs/copy_file_range.cc
226
(off_t)in.body.copy_file_range.off_in == start1 &&
tests/sys/fs/fusefs/copy_file_range.cc
229
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/copy_file_range.cc
282
off_t fsize2 = 0;
tests/sys/fs/fusefs/copy_file_range.cc
283
off_t start1 = 0;
tests/sys/fs/fusefs/copy_file_range.cc
284
off_t start2 = 0;
tests/sys/fs/fusefs/copy_file_range.cc
304
(off_t)in.body.copy_file_range.off_in == start1 &&
tests/sys/fs/fusefs/copy_file_range.cc
307
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/copy_file_range.cc
338
off_t offset2_in = 0;
tests/sys/fs/fusefs/copy_file_range.cc
339
off_t offset2_out = wsize;
tests/sys/fs/fusefs/copy_file_range.cc
360
(off_t)in.body.copy_file_range.off_in == offset2_in &&
tests/sys/fs/fusefs/copy_file_range.cc
361
(off_t)in.body.copy_file_range.off_out == offset2_out &&
tests/sys/fs/fusefs/copy_file_range.cc
406
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
407
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
408
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
409
off_t start2 = fsize2;
tests/sys/fs/fusefs/copy_file_range.cc
452
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
453
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
454
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
455
off_t start2 = fsize2;
tests/sys/fs/fusefs/copy_file_range.cc
457
off_t limit = start2 + len / 2;
tests/sys/fs/fusefs/copy_file_range.cc
467
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/copy_file_range.cc
497
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
498
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
499
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
500
off_t start2 = 3 << 17;
tests/sys/fs/fusefs/copy_file_range.cc
513
(off_t)in.body.copy_file_range.off_in == start1 &&
tests/sys/fs/fusefs/copy_file_range.cc
516
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/copy_file_range.cc
541
off_t fsize = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
542
off_t off_in = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
543
off_t off_out = 3 << 17;
tests/sys/fs/fusefs/copy_file_range.cc
554
(off_t)in.body.copy_file_range.off_in == off_in &&
tests/sys/fs/fusefs/copy_file_range.cc
557
(off_t)in.body.copy_file_range.off_out == off_out &&
tests/sys/fs/fusefs/copy_file_range.cc
588
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
589
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
590
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
591
off_t start2 = 3 << 17;
tests/sys/fs/fusefs/copy_file_range.cc
604
(off_t)in.body.copy_file_range.off_in == start1 &&
tests/sys/fs/fusefs/copy_file_range.cc
607
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/copy_file_range.cc
651
off_t fsize = 65536;
tests/sys/fs/fusefs/copy_file_range.cc
652
off_t off_in = 0;
tests/sys/fs/fusefs/copy_file_range.cc
653
off_t off_out = 65536;
tests/sys/fs/fusefs/copy_file_range.cc
664
(off_t)in.body.copy_file_range.off_in == off_in &&
tests/sys/fs/fusefs/copy_file_range.cc
667
(off_t)in.body.copy_file_range.off_out == off_out &&
tests/sys/fs/fusefs/copy_file_range.cc
699
off_t fsize2 = 0;
tests/sys/fs/fusefs/copy_file_range.cc
700
off_t start1 = 0;
tests/sys/fs/fusefs/copy_file_range.cc
701
off_t start2 = 0;
tests/sys/fs/fusefs/copy_file_range.cc
751
off_t fsize1 = 1 << 20; /* 1 MiB */
tests/sys/fs/fusefs/copy_file_range.cc
752
off_t fsize2 = 1 << 19; /* 512 KiB */
tests/sys/fs/fusefs/copy_file_range.cc
753
off_t start1 = 1 << 18;
tests/sys/fs/fusefs/copy_file_range.cc
754
off_t start2 = 3 << 17;
tests/sys/fs/fusefs/copy_file_range.cc
767
(off_t)in.body.copy_file_range.off_in == start1 &&
tests/sys/fs/fusefs/copy_file_range.cc
770
(off_t)in.body.copy_file_range.off_out == start2 &&
tests/sys/fs/fusefs/default_permissions.cc
1018
off_t fsize = 16;
tests/sys/fs/fusefs/default_permissions.cc
1019
off_t off = 8;
tests/sys/fs/fusefs/default_permissions.cc
1020
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
1049
off_t off = 8;
tests/sys/fs/fusefs/default_permissions.cc
1050
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
513
off_t fsize = 16;
tests/sys/fs/fusefs/default_permissions.cc
514
off_t off_in = 0;
tests/sys/fs/fusefs/default_permissions.cc
515
off_t off_out = 8;
tests/sys/fs/fusefs/default_permissions.cc
516
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
557
off_t fsize = 16;
tests/sys/fs/fusefs/default_permissions.cc
558
off_t off_in = 0;
tests/sys/fs/fusefs/default_permissions.cc
559
off_t off_out = 8;
tests/sys/fs/fusefs/default_permissions.cc
560
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
848
off_t fsize = 16;
tests/sys/fs/fusefs/default_permissions.cc
849
off_t off = 8;
tests/sys/fs/fusefs/default_permissions.cc
850
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
882
off_t fsize = 16;
tests/sys/fs/fusefs/default_permissions.cc
883
off_t off = 8;
tests/sys/fs/fusefs/default_permissions.cc
884
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
917
off_t off = 8;
tests/sys/fs/fusefs/default_permissions.cc
918
off_t len = 8;
tests/sys/fs/fusefs/default_permissions.cc
988
off_t fsize = 16;
tests/sys/fs/fusefs/default_permissions.cc
989
off_t off = 8;
tests/sys/fs/fusefs/default_permissions.cc
990
off_t len = 8;
tests/sys/fs/fusefs/fallocate.cc
180
off_t fsize = 1 << 20;
tests/sys/fs/fusefs/fallocate.cc
181
off_t off0 = 100;
tests/sys/fs/fusefs/fallocate.cc
182
off_t len0 = 500;
tests/sys/fs/fusefs/fallocate.cc
187
off_t off2 = fsize / 2;
tests/sys/fs/fusefs/fallocate.cc
188
off_t len2 = 500;
tests/sys/fs/fusefs/fallocate.cc
387
EXPECT_EQ((off_t)(offset + length), rmsr.r_offset);
tests/sys/fs/fusefs/fallocate.cc
427
EXPECT_EQ((off_t)fsize, rmsr.r_offset);
tests/sys/fs/fusefs/fallocate.cc
455
EXPECT_EQ((off_t)fsize, rmsr.r_offset);
tests/sys/fs/fusefs/fallocate.cc
488
EXPECT_EQ((off_t)(offset + length), rmsr.r_offset);
tests/sys/fs/fusefs/fallocate.cc
535
EXPECT_EQ((off_t)(offset + length), rmsr.r_offset);
tests/sys/fs/fusefs/fallocate.cc
560
off_t off1 = 100;
tests/sys/fs/fusefs/fallocate.cc
561
off_t len1 = 200;
tests/sys/fs/fusefs/interrupt.cc
48
const off_t FILESIZE = 1000;
tests/sys/fs/fusefs/io.cc
143
off_t iofs = in.body.write.offset;
tests/sys/fs/fusefs/io.cc
160
off_t iofs = in.body.write.offset;
tests/sys/fs/fusefs/io.cc
210
off_t off_in = in.body.copy_file_range.off_in;
tests/sys/fs/fusefs/io.cc
211
off_t off_out = in.body.copy_file_range.off_out;
tests/sys/fs/fusefs/io.cc
253
void do_copy_file_range(off_t off_in, off_t off_out, size_t size)
tests/sys/fs/fusefs/io.cc
256
off_t test_off_in = off_in;
tests/sys/fs/fusefs/io.cc
257
off_t test_off_out = off_out;
tests/sys/fs/fusefs/io.cc
258
off_t test_size = size;
tests/sys/fs/fusefs/io.cc
259
off_t control_off_in = off_in;
tests/sys/fs/fusefs/io.cc
260
off_t control_off_out = off_out;
tests/sys/fs/fusefs/io.cc
261
off_t control_size = size;
tests/sys/fs/fusefs/io.cc
275
m_filesize = std::max(m_filesize, off_out + (off_t)size);
tests/sys/fs/fusefs/io.cc
278
void do_ftruncate(off_t offs)
tests/sys/fs/fusefs/io.cc
285
void do_mapread(off_t offs, ssize_t size)
tests/sys/fs/fusefs/io.cc
289
off_t pg_offset, page_mask;
tests/sys/fs/fusefs/io.cc
311
void do_read(off_t offs, ssize_t size)
tests/sys/fs/fusefs/io.cc
333
void do_mapwrite(off_t offs, ssize_t size)
tests/sys/fs/fusefs/io.cc
337
off_t pg_offset, page_mask;
tests/sys/fs/fusefs/io.cc
369
void do_write(off_t offs, ssize_t size)
tests/sys/fs/fusefs/io.cc
410
off_t wofs = 0x21a0;
tests/sys/fs/fusefs/io.cc
412
off_t rofs = 0xb284;
tests/sys/fs/fusefs/io.cc
414
off_t truncsize = 0x28702;
tests/sys/fs/fusefs/io.cc
465
off_t wofs = 0x160c5;
tests/sys/fs/fusefs/io.cc
467
off_t rofs = 0x472e;
tests/sys/fs/fusefs/io.cc
482
off_t wofs0 = 0x3bad7;
tests/sys/fs/fusefs/io.cc
484
off_t wofs1 = 0xc30d;
tests/sys/fs/fusefs/io.cc
486
off_t truncsize0 = 0x10916;
tests/sys/fs/fusefs/io.cc
487
off_t rofs = 0xdf17;
tests/sys/fs/fusefs/io.cc
489
off_t truncsize1 = 0x152b4;
tests/sys/fs/fusefs/io.cc
509
off_t truncsize0 = 0x344f3;
tests/sys/fs/fusefs/io.cc
510
off_t wofs = 0x2790c;
tests/sys/fs/fusefs/io.cc
512
off_t truncsize1 = 0x2de38;
tests/sys/fs/fusefs/io.cc
513
off_t rofs2 = 0x1fd7a;
tests/sys/fs/fusefs/io.cc
515
off_t truncsize2 = 0x31e71;
tests/sys/fs/fusefs/io.cc
56
static void compare(const void *tbuf, const void *controlbuf, off_t baseofs,
tests/sys/fs/fusefs/io.cc
63
off_t ofs = baseofs + i;
tests/sys/fs/fusefs/io.cc
82
off_t m_filesize;
tests/sys/fs/fusefs/last_local_modify.cc
131
off_t off_in = 0;
tests/sys/fs/fusefs/last_local_modify.cc
132
off_t off_out = 10;
tests/sys/fs/fusefs/last_local_modify.cc
345
ASSERT_EQ((off_t)newsize, sb.st_size);
tests/sys/fs/fusefs/last_local_modify.cc
506
ASSERT_EQ((off_t)newsize, sb.st_size);
tests/sys/fs/fusefs/lseek.cc
127
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
162
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
196
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
226
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
227
off_t offset_out = 1 << 29;
tests/sys/fs/fusefs/lseek.cc
255
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
256
off_t offset_initial = 1 << 27;
tests/sys/fs/fusefs/lseek.cc
257
off_t offset_out = 1 << 29;
tests/sys/fs/fusefs/lseek.cc
292
off_t fsize = 0;
tests/sys/fs/fusefs/lseek.cc
323
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
348
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
349
off_t offset_in = 1 << 28;
tests/sys/fs/fusefs/lseek.cc
350
off_t offset_out = 1 << 29;
tests/sys/fs/fusefs/lseek.cc
360
(off_t)in.body.lseek.offset == offset_in &&
tests/sys/fs/fusefs/lseek.cc
384
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
385
off_t offset_in = 1 << 28;
tests/sys/fs/fusefs/lseek.cc
395
(off_t)in.body.lseek.offset == offset_in &&
tests/sys/fs/fusefs/lseek.cc
421
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
422
off_t offset_in = 1 << 28;
tests/sys/fs/fusefs/lseek.cc
423
off_t offset_out = 1 << 29;
tests/sys/fs/fusefs/lseek.cc
433
(off_t)in.body.lseek.offset == offset_in &&
tests/sys/fs/fusefs/lseek.cc
458
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
459
off_t offset_in = 1 << 28;
tests/sys/fs/fusefs/lseek.cc
469
(off_t)in.body.lseek.offset == offset_in &&
tests/sys/fs/fusefs/lseek.cc
496
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
497
off_t offset_in = fsize;
tests/sys/fs/fusefs/lseek.cc
507
(off_t)in.body.lseek.offset == offset_in &&
tests/sys/fs/fusefs/lseek.cc
60
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
61
off_t offset_in = 1 << 28;
tests/sys/fs/fusefs/lseek.cc
93
off_t fsize = 1 << 30; /* 1 GiB */
tests/sys/fs/fusefs/lseek.cc
94
off_t offset = 1 << 28;
tests/sys/fs/fusefs/mockfs.cc
870
int MockFS::notify_inval_inode(ino_t ino, off_t off, ssize_t len)
tests/sys/fs/fusefs/mockfs.cc
885
int MockFS::notify_store(ino_t ino, off_t off, const void* data, ssize_t size)
tests/sys/fs/fusefs/mockfs.hh
424
int notify_inval_inode(ino_t ino, off_t off, ssize_t len);
tests/sys/fs/fusefs/mockfs.hh
438
int notify_store(ino_t ino, off_t off, const void* data, ssize_t size);
tests/sys/fs/fusefs/notify.cc
129
off_t off;
tests/sys/fs/fusefs/notify.cc
136
off_t offset;
tests/sys/fs/fusefs/notify.cc
72
off_t size, Sequence &seq)
tests/sys/fs/fusefs/read.cc
1256
EXPECT_EQ((off_t)bufsize, sb.st_size);
tests/sys/fs/fusefs/read.cc
1496
off_t sbytes;
tests/sys/fs/fusefs/read.cc
1541
off_t sbytes;
tests/sys/fs/fusefs/read.cc
1577
off_t offs;
tests/sys/fs/fusefs/read.cc
220
off_t off0 = 0;
tests/sys/fs/fusefs/read.cc
221
off_t off1 = m_maxbcachebuf;
tests/sys/fs/fusefs/read.cc
300
off_t off0 = 0;
tests/sys/fs/fusefs/read.cc
301
off_t off1 = m_maxbcachebuf;
tests/sys/fs/fusefs/read.cc
302
off_t fsize = 2 * m_maxbcachebuf;
tests/sys/fs/fusefs/read.cc
401
EXPECT_EQ((off_t)(offset + partbufsize), sb.st_size);
tests/sys/fs/fusefs/read.cc
892
EXPECT_EQ((off_t)(offset + partbufsize), sb.st_size);
tests/sys/fs/fusefs/read.cc
905
off_t old_filesize = m_maxbcachebuf * 2 + bufsize;
tests/sys/fs/fusefs/read.cc
925
EXPECT_EQ((off_t)(m_maxbcachebuf), sb.st_size);
tests/sys/fs/fusefs/setattr.cc
351
const off_t oldsize = 99;
tests/sys/fs/fusefs/setattr.cc
352
const off_t newsize = 12345;
tests/sys/fs/fusefs/setattr.cc
452
off_t w0_offset = 0;
tests/sys/fs/fusefs/setattr.cc
454
off_t r0_offset = 0;
tests/sys/fs/fusefs/setattr.cc
455
off_t r0_size = w0_size;
tests/sys/fs/fusefs/setattr.cc
458
off_t r1_offset = trunc0_size;
tests/sys/fs/fusefs/setattr.cc
459
off_t r1_size = w0_size - trunc0_size;
tests/sys/fs/fusefs/write.cc
1016
off_t filesize = 4 * bufsize;
tests/sys/fs/fusefs/write.cc
1055
off_t fsize = 10;
tests/sys/fs/fusefs/write.cc
1293
off_t bs = m_maxbcachebuf;
tests/sys/fs/fusefs/write.cc
1368
off_t offset = m_maxbcachebuf;
tests/sys/fs/fusefs/write.cc
1370
off_t old_filesize = (off_t)strlen(CONTENTS0);
tests/sys/fs/fusefs/write.cc
438
off_t some_other_size = 25;
tests/sys/fs/fusefs/write.cc
556
off_t offset = 1'000'000'000;
tests/sys/fs/fusefs/write.cc
593
off_t offset = 1 << 30;
tests/sys/fs/fusefs/write.cc
594
off_t limit = offset + strlen(CONTENTS) / 2;
tests/sys/fs/fusefs/write.cc
634
off_t orig_fsize = 10;
tests/sys/fs/fusefs/write.cc
635
off_t truncated_fsize = 5;
tests/sys/fs/fusefs/write.cc
661
const off_t filesize = 2 * m_maxbcachebuf;
tests/sys/fs/fusefs/write.cc
969
off_t filesize = 5 * bufsize;
tests/sys/fs/tarfs/tarsum.c
50
off_t offset = 0;
tests/sys/geom/class/eli/unaligned_io.c
52
off_t disksz;
tests/sys/kern/copy_file_range.c
122
off_t off1, off2;
tests/sys/kern/copy_file_range.c
138
off_t ooff1, ooff2;
tests/sys/kern/copy_file_range.c
169
off_t off;
tests/sys/kern/copy_file_range.c
91
off_t off1, off2;
tests/sys/kern/getdirentries_test.c
135
off_t base;
tests/sys/kern/getdirentries_test.c
154
off_t base;
tests/sys/kern/getdirentries_test.c
26
off_t base;
tests/sys/kern/getdirentries_test.c
53
off_t base;
tests/sys/kern/getdirentries_test.c
73
off_t base, *basep;
tests/sys/kern/getdirentries_test.c
97
off_t base;
tests/sys/kern/inotify_test.c
563
off_t nb;
tests/sys/kern/ktls_test.c
2965
off_t sbytes;
tests/sys/kern/ktrace_test.c
548
off_t off, off1;
tests/sys/kern/procdesc.c
675
off_t off;
tests/sys/kern/socket_splice.c
128
static off_t
tests/sys/kern/socket_splice.c
131
off_t n;
tests/sys/kern/socket_splice.c
146
off_t sofar; \
tests/sys/kern/socket_splice.c
149
ATF_REQUIRE_MSG(sofar == (off_t)n, "spliced %jd bytes, expected %jd", \
tests/sys/kern/socket_splice.c
154
splice_init(struct splice *sp, int fd, off_t max, struct timeval *tv)
tests/sys/kern/socket_splice.c
184
splice_pair(int fd1, int fd2, off_t max, struct timeval *tv)
tests/sys/kern/socket_splice.c
214
splice_conn_init_limits(struct splice_conn *sc, off_t max, struct timeval *tv)
tests/sys/kern/socket_splice.c
326
off_t n;
tests/sys/kern/ssl_sendfile.c
245
sendme_locked(struct ctx *c, off_t offset, size_t size, bool nb)
tests/sys/kern/ssl_sendfile.c
256
sendme_locked_wait(struct ctx *c, off_t offset, size_t size, bool nb)
tests/sys/kern/ssl_sendfile.c
264
sendme(struct ctx *c, off_t offset, size_t size, bool nb)
tests/sys/kern/ssl_sendfile.c
328
off_t offset;
tests/sys/kern/ssl_sendfile.c
59
off_t offset; /* SSL_sendfile offset */
tests/sys/posixshm/posixshm_test.c
1102
off_t offset, length, shm_sz;
tests/sys/posixshm/posixshm_test.c
1178
off_t shm_sz, len;
tests/sys/posixshm/posixshm_test.c
190
static off_t shm_max_pages = 32;
tests/sys/posixshm/posixshm_test.c
194
shm_fill(int fd, off_t offset, off_t len)
tests/sys/posixshm/posixshm_test.c
207
blen = len < (off_t)page_size ? (size_t)len : page_size;
tests/sys/posixshm/posixshm_test.c
2164
off_t sbytes;
tests/sys/posixshm/posixshm_test.c
2219
ATF_REQUIRE_MSG(sbytes == (off_t)ps[i],
tests/sys/posixshm/posixshm_test.c
222
check_content_dealloc(int fd, off_t hole_start, off_t hole_len, off_t shm_sz)
tests/sys/posixshm/posixshm_test.c
226
off_t offset, resid;
tests/sys/posixshm/posixshm_test.c
248
blen = resid < (off_t)page_size ? (size_t)resid : page_size;
tests/sys/posixshm/posixshm_test.c
269
blen = resid < (off_t)page_size ? (size_t)resid : page_size;
tests/sys/posixshm/posixshm_test.c
288
blen = resid < (off_t)page_size ? (size_t)resid : page_size;
tests/sys/posixshm/posixshm_test.c
938
ATF_REQUIRE_MSG(ftruncate(desc, (off_t)psize) != -1,
tests/sys/sound/mmap.c
29
off_t off;
tools/build/fcntl.h
33
off_t r_offset;
tools/build/fcntl.h
34
off_t r_len;
tools/bus_space/bus.c
130
bs_read(int rid, off_t ofs, void *buf, ssize_t bufsz)
tools/bus_space/bus.c
134
off_t o;
tools/bus_space/bus.c
228
bs_write(int rid, off_t ofs, void *buf, ssize_t bufsz)
tools/bus_space/bus.c
232
off_t o;
tools/bus_space/bus.c
46
off_t ofs;
tools/bus_space/bus.h
31
int bs_read(int rid, off_t ofs, void *buf, ssize_t bufsz);
tools/bus_space/bus.h
34
int bs_write(int rid, off_t ofs, void *buf, ssize_t bufsz);
tools/diag/prtblknos/prtblknos.c
55
off_t size;
tools/regression/aio/aiop/aiop.c
104
set_aio(struct aiocb *a, iot_t iot, int fd, off_t offset, int size, char *buf)
tools/regression/aio/aiop/aiop.c
130
off_t file_size, offset;
tools/regression/aio/aiop/aiop.c
85
off_t mediasize;
tools/regression/fsx/fsx.c
103
off_t file_size = 0;
tools/regression/fsx/fsx.c
104
off_t biggest = 0;
tools/regression/fsx/fsx.c
113
off_t maxfilelen = 256 * 1024; /* -l flag */
tools/regression/fsx/fsx.c
1176
off_t ret;
tools/regression/fsx/fsx.c
1177
file_size = maxfilelen = lseek(fd, (off_t)0, SEEK_END);
tools/regression/fsx/fsx.c
1178
if (file_size == (off_t)-1) {
tools/regression/fsx/fsx.c
1183
ret = lseek(fd, (off_t)0, SEEK_SET);
tools/regression/fsx/fsx.c
1184
if (ret == (off_t)-1) {
tools/regression/fsx/fsx.c
293
save_buffer(char *buffer, off_t bufferlength, int savefd)
tools/regression/fsx/fsx.c
295
off_t ret;
tools/regression/fsx/fsx.c
306
off_t size_by_seek = lseek(savefd, (off_t)0, SEEK_END);
tools/regression/fsx/fsx.c
307
if (size_by_seek == (off_t)-1)
tools/regression/fsx/fsx.c
316
ret = lseek(savefd, (off_t)0, SEEK_SET);
tools/regression/fsx/fsx.c
317
if (ret == (off_t)-1)
tools/regression/fsx/fsx.c
400
off_t size_by_seek;
tools/regression/fsx/fsx.c
406
size_by_seek = lseek(fd, (off_t)0, SEEK_END);
tools/regression/fsx/fsx.c
422
ftruncate(fd, (off_t)0);
tools/regression/fsx/fsx.c
423
ftruncate(fd, (off_t)100000);
tools/regression/fsx/fsx.c
425
if (statbuf.st_size != (off_t)100000) {
tools/regression/fsx/fsx.c
429
ftruncate(fd, (off_t)0);
tools/regression/fsx/fsx.c
434
doread(off_t offset, off_t size)
tools/regression/fsx/fsx.c
436
off_t ret;
tools/regression/fsx/fsx.c
466
ret = lseek(fd, (off_t)offset, SEEK_SET);
tools/regression/fsx/fsx.c
467
if (ret == (off_t)-1) {
tools/regression/fsx/fsx.c
550
(off_t)(offset - pg_offset))) == (char *)-1) {
tools/regression/fsx/fsx.c
582
off_t ret;
tools/regression/fsx/fsx.c
617
ret = lseek(fd, (off_t)offset, SEEK_SET);
tools/regression/fsx/fsx.c
618
if (ret == (off_t)-1) {
tools/regression/fsx/fsx.c
639
off_t cur_filesize;
tools/regression/fsx/fsx.c
687
(off_t)(offset - pg_offset))) == MAP_FAILED) {
tools/regression/fsx/fsx.c
731
if (ftruncate(fd, (off_t)size) == -1) {
tools/regression/fsx/fsx.c
744
if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
tools/regression/fsx/fsx.c
749
if ((off_t)iret != file_size) {
tools/regression/fsx/fsx.c
818
off_t offset;
tools/regression/fsx/fsx.c
819
off_t size = maxoplen;
tools/regression/geom/MdLoad/MdLoad.c
113
off_t o;
tools/regression/geom/MdLoad/MdLoad.c
55
off_t offset;
tools/regression/geom/MdLoad/MdLoad.c
61
off_t mediasize;
tools/regression/geom/MdLoad/MdLoad.c
62
off_t lastsector;
tools/regression/security/cap_test/cap_test_capabilities.c
118
off_t off;
tools/regression/security/open_to_operation/open_to_operation.c
677
off_t sent;
tools/regression/sockets/sendfile/sendfile.c
275
off_t off;
tools/test/stress2/testcases/lockf2/lockf2.c
103
off_t pos;
tools/test/stress2/testcases/lockf2/lockf2.c
104
off_t size;
tools/test/stress2/tools/flip.c
86
off_t pos;
tools/test/stress2/tools/lsholes.c
42
off_t data, hole, pos;
tools/test/stress2/tools/zapsb.c
47
if (lseek(fd, (off_t)(sblock_try[i]), SEEK_SET) < 0)
tools/test/stress2/tools/zapsb.c
69
if (lseek(fd, (off_t)(sblock_try[i]), SEEK_SET) < 0)
tools/tools/find-sb/find-sb.c
31
off_t end, last1, last2;
tools/tools/fixwhite/fixwhite.c
111
off_t i;
tools/tools/fixwhite/fixwhite.c
35
static off_t column = 0;
tools/tools/fixwhite/fixwhite.c
74
off_t ncolumn;
tools/tools/ncpus/biosmptable.c
148
memread(off_t addr, void* entry, size_t size)
tools/tools/ncpus/biosmptable.c
183
biosmptable_search_mpfps(off_t base, int length)
tools/tools/ncpus/biosmptable.c
222
biosmptable_check_mpcth(off_t addr)
tools/tools/ncpus/biosmptable.c
47
#define PTOV(pa) ((off_t)(pa))
tools/tools/ncpus/biosmptable.c
50
static mpfps_t biosmptable_search_mpfps(off_t base, int length);
tools/tools/ncpus/biosmptable.c
51
static mpcth_t biosmptable_check_mpcth(off_t addr);
tools/tools/nvmf/nvmfd/devices.c
214
read_buffer(int fd, void *buf, size_t len, off_t offset)
tools/tools/nvmf/nvmfd/devices.c
239
off_t off;
tools/tools/nvmf/nvmfd/devices.c
280
write_buffer(int fd, const void *buf, size_t len, off_t offset)
tools/tools/nvmf/nvmfd/devices.c
305
off_t off;
tools/tools/nvmf/nvmfd/devices.c
86
off_t len;
tools/tools/nvmf/nvmfdd/nvmfdd.c
295
off_t offset, off_t length)
tools/tools/nvmf/nvmfdd/nvmfdd.c
363
off_t offset, length;
tools/tools/zfsboottest/zfsboottest.c
115
off_t off;
tools/tools/zfsboottest/zfsboottest.c
76
vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes)
tools/tools/zfsboottest/zfsboottest.c
86
zfs_read(spa_t *spa, dnode_phys_t *dn, void *buf, size_t size, off_t off)
usr.bin/ar/acpyacc.y
337
(off_t)0)) == MAP_FAILED) {
usr.bin/ar/ar.h
110
off_t rela_off;
usr.bin/ar/write.c
158
MAP_PRIVATE, obj->fd, (off_t)0)) == MAP_FAILED) {
usr.bin/bsdiff/bsdiff/bsdiff.c
119
off_t oldsize,newsize,xnewsize;
usr.bin/bsdiff/bsdiff/bsdiff.c
121
off_t scan,pos,len;
usr.bin/bsdiff/bsdiff/bsdiff.c
122
off_t lastscan,lastpos,lastoffset;
usr.bin/bsdiff/bsdiff/bsdiff.c
123
off_t oldscore,scsc;
usr.bin/bsdiff/bsdiff/bsdiff.c
124
off_t s,Sf,lenf,Sb,lenb;
usr.bin/bsdiff/bsdiff/bsdiff.c
125
off_t overlap,Ss,lens;
usr.bin/bsdiff/bsdiff/bsdiff.c
126
off_t i;
usr.bin/bsdiff/bsdiff/bsdiff.c
127
off_t dblen,eblen;
usr.bin/bsdiff/bsdiff/bsdiff.c
145
(uintmax_t)oldsize >= SIZE_T_MAX / sizeof(off_t) ||
usr.bin/bsdiff/bsdiff/bsdiff.c
53
static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize)
usr.bin/bsdiff/bsdiff/bsdiff.c
55
off_t i;
usr.bin/bsdiff/bsdiff/bsdiff.c
63
static off_t search(off_t *I,u_char *old,off_t oldsize,
usr.bin/bsdiff/bsdiff/bsdiff.c
64
u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
usr.bin/bsdiff/bsdiff/bsdiff.c
66
off_t x,y;
usr.bin/bsdiff/bsdiff/bsdiff.c
89
static void offtout(off_t x,u_char *buf)
usr.bin/bsdiff/bsdiff/bsdiff.c
91
off_t y;
usr.bin/bsdiff/bspatch/bspatch.c
108
off_t oldsize, newsize;
usr.bin/bsdiff/bspatch/bspatch.c
109
off_t bzctrllen, bzdatalen;
usr.bin/bsdiff/bspatch/bspatch.c
112
off_t oldpos, newpos;
usr.bin/bsdiff/bspatch/bspatch.c
113
off_t ctrl[3];
usr.bin/bsdiff/bspatch/bspatch.c
114
off_t i, lenread, offset;
usr.bin/bsdiff/bspatch/bspatch.c
64
static inline off_t
usr.bin/bsdiff/bspatch/bspatch.c
65
add_off_t(off_t a, off_t b)
usr.bin/bsdiff/bspatch/bspatch.c
67
off_t result;
usr.bin/bsdiff/bspatch/bspatch.c
74
static off_t offtin(u_char *buf)
usr.bin/bsdiff/bspatch/bspatch.c
76
off_t y;
usr.bin/chat/chat.c
562
while (*s && s1 - temp < (off_t)(sizeof(temp) - 2 - add_return)) {
usr.bin/cksum/cksum.c
53
off_t len;
usr.bin/cksum/cksum.c
55
int (*cfncn)(int, uint32_t *, off_t *);
usr.bin/cksum/cksum.c
56
void (*pfncn)(char *, uint32_t, off_t);
usr.bin/cksum/crc.c
106
crc(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/crc.c
110
off_t len;
usr.bin/cksum/crc32.c
102
off_t len ;
usr.bin/cksum/crc32.c
98
crc32(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/extern.h
35
int crc(int, uint32_t *, off_t *);
usr.bin/cksum/extern.h
36
void pcrc(char *, uint32_t, off_t);
usr.bin/cksum/extern.h
37
void psum1(char *, uint32_t, off_t);
usr.bin/cksum/extern.h
38
void psum2(char *, uint32_t, off_t);
usr.bin/cksum/extern.h
39
int csum1(int, uint32_t *, off_t *);
usr.bin/cksum/extern.h
40
int csum2(int, uint32_t *, off_t *);
usr.bin/cksum/extern.h
41
int crc32(int, uint32_t *, off_t *);
usr.bin/cksum/print.c
40
pcrc(char *fn, uint32_t val, off_t len)
usr.bin/cksum/print.c
49
psum1(char *fn, uint32_t val, off_t len)
usr.bin/cksum/print.c
58
psum2(char *fn, uint32_t val, off_t len)
usr.bin/cksum/sum1.c
40
csum1(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/sum1.c
44
off_t total;
usr.bin/cksum/sum2.c
40
csum2(int fd, uint32_t *cval, off_t *clen)
usr.bin/cksum/sum2.c
44
off_t total;
usr.bin/cmp/cmp.c
77
parse_iskipspec(char *spec, off_t *skip1, off_t *skip2)
usr.bin/cmp/cmp.c
99
off_t skip1, skip2, limit;
usr.bin/cmp/extern.h
37
int c_link(const char *, off_t, const char *, off_t, off_t);
usr.bin/cmp/extern.h
38
int c_regular(int, const char *, off_t, off_t, int, const char *, off_t,
usr.bin/cmp/extern.h
39
off_t, off_t);
usr.bin/cmp/extern.h
40
int c_special(int, const char *, off_t, int, const char *, off_t, off_t);
usr.bin/cmp/extern.h
41
void diffmsg(const char *, const char *, off_t, off_t, int, int);
usr.bin/cmp/link.c
41
c_link(const char *file1, off_t skip1, const char *file2, off_t skip2,
usr.bin/cmp/link.c
42
off_t limit)
usr.bin/cmp/link.c
48
off_t byte;
usr.bin/cmp/misc.c
49
diffmsg(const char *file1, const char *file2, off_t byte, off_t line,
usr.bin/cmp/regular.c
174
remmap(u_char *mem, int fd, off_t offset)
usr.bin/cmp/regular.c
47
static u_char *remmap(u_char *, int, off_t);
usr.bin/cmp/regular.c
54
c_regular(int fd1, const char *file1, off_t skip1, off_t len1,
usr.bin/cmp/regular.c
55
int fd2, const char *file2, off_t skip2, off_t len2, off_t limit)
usr.bin/cmp/regular.c
60
off_t byte, length, line;
usr.bin/cmp/regular.c
61
off_t pagemask, off1, off2;
usr.bin/cmp/regular.c
80
pagemask = (off_t)pagesize - 1;
usr.bin/cmp/special.c
43
c_special(int fd1, const char *file1, off_t skip1,
usr.bin/cmp/special.c
44
int fd2, const char *file2, off_t skip2, off_t limit)
usr.bin/cmp/special.c
47
off_t byte, line;
usr.bin/csplit/csplit.c
325
if (ftello(ofp) < (off_t)sizeof(buf))
usr.bin/csplit/csplit.c
328
fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR);
usr.bin/csplit/csplit.c
333
if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0)
usr.bin/csplit/csplit.c
90
static off_t truncofs; /* Offset this file should be truncated at */
usr.bin/diff/diffreg.c
1025
preadline(int fd, size_t rlen, off_t off)
usr.bin/diff/diffreg.c
199
static char *preadline(int, size_t, off_t);
usr.bin/diff/diffreg.c
551
lseek(ofd, (off_t)0, SEEK_SET);
usr.bin/du/du.c
82
static off_t threshold, threshold_sign;
usr.bin/du/du.c
95
off_t savednumber;
usr.bin/fetch/fetch.c
189
off_t size; /* size of file per HTTP hdr */
usr.bin/fetch/fetch.c
190
off_t offset; /* starting offset in file */
usr.bin/fetch/fetch.c
191
off_t rcvd; /* bytes already received */
usr.bin/fetch/fetch.c
192
off_t lastrcvd; /* bytes received since last update */
usr.bin/fetch/fetch.c
224
off_t received, expected;
usr.bin/fetch/fetch.c
241
stat_bytes(char *str, size_t strsz, off_t bytes)
usr.bin/fetch/fetch.c
268
stat_bytes(bytes, sizeof bytes, (off_t)bps);
usr.bin/fetch/fetch.c
327
stat_start(struct xferstat *xs, const char *name, off_t size, off_t offset)
usr.bin/fetch/fetch.c
348
stat_update(struct xferstat *xs, off_t rcvd)
usr.bin/fetch/fetch.c
429
off_t count, size_prev;
usr.bin/fetch/fetch.c
57
static off_t B_size; /* -B: buffer size */
usr.bin/fetch/fetch.c
78
static off_t S_size; /* -S: require size to match */
usr.bin/fetch/fetch.c
924
B_size = (off_t)strtol(optarg, &end, 10);
usr.bin/find/find.h
118
off_t _o_data; /* file size */
usr.bin/find/function.c
1573
off_t size;
usr.bin/find/function.c
1586
off_t scale;
usr.bin/find/function.c
1638
off_t expected_blocks;
usr.bin/finger/lprint.c
302
if (sb.st_size <= (off_t)(LINE_LEN - strlen(header) - 5)) {
usr.bin/fortune/fortune/fortune.c
105
static off_t Seekpts[2]; /* seek pointers to fortunes */
usr.bin/fortune/fortune/fortune.c
990
(off_t) (sizeof fp->tbl + fp->pos * sizeof Seekpts[0]), SEEK_SET);
usr.bin/fortune/strfile/strfile.c
101
static off_t *Seekpts;
usr.bin/fortune/strfile/strfile.c
109
static void add_offset(FILE *, off_t);
usr.bin/fortune/strfile/strfile.c
131
off_t last_off, pos, *p;
usr.bin/fortune/strfile/strfile.c
320
add_offset(FILE *fp, off_t off)
usr.bin/fortune/strfile/strfile.c
322
off_t beoff;
usr.bin/fortune/strfile/strfile.c
342
off_t *lp;
usr.bin/fortune/strfile/strfile.c
434
off_t tmp;
usr.bin/fortune/strfile/strfile.c
435
off_t *sp;
usr.bin/fortune/strfile/strfile.c
86
off_t pos;
usr.bin/fortune/unstr/unstr.c
107
off_t pos;
usr.bin/grep/file.c
196
f->fd, (off_t)0);
usr.bin/grep/grep.h
81
off_t boff;
usr.bin/grep/grep.h
82
off_t off;
usr.bin/gzip/gzip.c
1216
infile_set(const char *newinfile, off_t total)
usr.bin/gzip/gzip.c
1257
static off_t
usr.bin/gzip/gzip.c
1262
off_t size, in_size;
usr.bin/gzip/gzip.c
131
#define GZIP_TIMESTAMP (off_t)4
usr.bin/gzip/gzip.c
132
#define GZIP_ORIGNAME (off_t)10
usr.bin/gzip/gzip.c
1370
static off_t
usr.bin/gzip/gzip.c
1374
off_t size;
usr.bin/gzip/gzip.c
1707
static off_t
usr.bin/gzip/gzip.c
1708
cat_fd(unsigned char * prepend, size_t count, off_t *gsizep, int fd)
usr.bin/gzip/gzip.c
1711
off_t in_tot;
usr.bin/gzip/gzip.c
1750
off_t usize, gsize;
usr.bin/gzip/gzip.c
1855
off_t gsize;
usr.bin/gzip/gzip.c
1856
off_t usize;
usr.bin/gzip/gzip.c
1953
off_t usize, gsize;
usr.bin/gzip/gzip.c
2014
print_ratio(off_t in, off_t out, FILE *where)
usr.bin/gzip/gzip.c
2017
off_t diff;
usr.bin/gzip/gzip.c
2054
print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize)
usr.bin/gzip/gzip.c
2084
print_list(int fd, off_t out, const char *outfile, time_t ts)
usr.bin/gzip/gzip.c
2087
static off_t in_tot, out_tot;
usr.bin/gzip/gzip.c
2089
off_t in = 0, rv;
usr.bin/gzip/gzip.c
2107
rv = lseek(fd, (off_t)(-8), SEEK_END);
usr.bin/gzip/gzip.c
2120
in = (off_t)usize;
usr.bin/gzip/gzip.c
2142
print_list_out(off_t out, off_t in, const char *outfile)
usr.bin/gzip/gzip.c
235
static off_t gz_compress(int, int, off_t *, const char *, uint32_t);
usr.bin/gzip/gzip.c
236
static off_t gz_uncompress(int, int, char *, size_t, off_t *, const char *);
usr.bin/gzip/gzip.c
237
static off_t file_compress(char *, char *, size_t);
usr.bin/gzip/gzip.c
238
static off_t file_uncompress(char *, char *, size_t);
usr.bin/gzip/gzip.c
243
static void print_ratio(off_t, off_t, FILE *);
usr.bin/gzip/gzip.c
244
static void print_list(int fd, off_t, const char *, time_t);
usr.bin/gzip/gzip.c
251
static void print_list_out(off_t, off_t, const char*);
usr.bin/gzip/gzip.c
253
static void infile_set(const char *newinfile, off_t total);
usr.bin/gzip/gzip.c
255
static off_t infile_total; /* total expected to read/write */
usr.bin/gzip/gzip.c
256
static off_t infile_current; /* current read/write */
usr.bin/gzip/gzip.c
259
static off_t cat_fd(unsigned char *, size_t, off_t *, int fd);
usr.bin/gzip/gzip.c
262
static void print_verbage(const char *, const char *, off_t, off_t);
usr.bin/gzip/gzip.c
271
static off_t unbzip2(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
276
static off_t zuncompress(FILE *, FILE *, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
280
static off_t unpack(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
284
static off_t unxz(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
285
static off_t unxz_len(int);
usr.bin/gzip/gzip.c
289
static off_t unlz(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
293
static off_t unzstd(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
560
static off_t
usr.bin/gzip/gzip.c
561
gz_compress(int in, int out, off_t *gsizep, const char *origname, uint32_t mtime)
usr.bin/gzip/gzip.c
565
off_t in_tot = 0, out_tot = 0;
usr.bin/gzip/gzip.c
718
static off_t
usr.bin/gzip/gzip.c
719
gz_uncompress(int in, int out, char *pre, size_t prelen, off_t *gsizep,
usr.bin/gzip/gzip.c
724
off_t out_tot = -1, in_tot = 0;
usr.bin/gzip/unbzip2.c
36
static off_t
usr.bin/gzip/unbzip2.c
37
unbzip2(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unbzip2.c
40
off_t bytes_out = 0;
usr.bin/gzip/unlz.c
282
off_t pos, ppos, spos, dict_size;
usr.bin/gzip/unlz.c
292
off_t offs = lz->pos - lz->spos;
usr.bin/gzip/unlz.c
353
off_t diff = lz->pos - ahead - 1;
usr.bin/gzip/unlz.c
372
static off_t
usr.bin/gzip/unlz.c
539
static off_t
usr.bin/gzip/unlz.c
540
lz_decode(int fin, int fdout, unsigned dict_size, off_t *insize)
usr.bin/gzip/unlz.c
543
off_t rv = -1;
usr.bin/gzip/unlz.c
611
static off_t
usr.bin/gzip/unlz.c
612
unlz(int fin, int fout, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unpack.c
135
accepted_bytes(off_t *bytes_in, off_t newbytes)
usr.bin/gzip/unpack.c
149
unpack_parse_header(int in, int out, char *pre, size_t prelen, off_t *bytes_in,
usr.bin/gzip/unpack.c
253
unpack_decode(const unpack_descriptor_t *unpackd, off_t *bytes_in)
usr.bin/gzip/unpack.c
257
off_t bytes_out = 0;
usr.bin/gzip/unpack.c
316
static off_t
usr.bin/gzip/unpack.c
317
unpack(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unpack.c
85
off_t uncompressed_size; /* Uncompressed size */
usr.bin/gzip/unxz.c
185
io_pread(int fd, io_buf *buf, size_t size, off_t pos)
usr.bin/gzip/unxz.c
285
off_t pos = st.st_size;
usr.bin/gzip/unxz.c
40
static off_t
usr.bin/gzip/unxz.c
41
unxz(int i, int o, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unxz.c
463
off_t
usr.bin/gzip/unxz.c
468
off_t res = lzma_index_uncompressed_size(xfi.idx);
usr.bin/gzip/unxz.c
47
off_t bytes_out, bp;
usr.bin/gzip/unzstd.c
30
static off_t
usr.bin/gzip/unzstd.c
31
unzstd(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/zuncompress.c
131
static off_t
usr.bin/gzip/zuncompress.c
133
off_t *compressed_bytes)
usr.bin/gzip/zuncompress.c
135
off_t bin, bout = 0;
usr.bin/gzip/zuncompress.c
150
if (tflag == 0 && (off_t)fwrite(buf, 1, bin, out) != bin) {
usr.bin/gzip/zuncompress.c
81
static off_t total_compressed_bytes;
usr.bin/head/head.c
172
head_bytes(FILE *fp, off_t cnt)
usr.bin/head/head.c
58
static void head_bytes(FILE *, off_t);
usr.bin/head/head.c
76
off_t bytecnt;
usr.bin/hexdump/display.c
50
static off_t address; /* address/offset in stream */
usr.bin/hexdump/display.c
51
static off_t eaddress; /* end address */
usr.bin/hexdump/display.c
64
off_t saveaddress;
usr.bin/hexdump/hexdump.h
79
extern off_t skip; /* amount of data to skip at start */
usr.bin/hexdump/hexsyntax.c
42
off_t skip; /* bytes to skip */
usr.bin/lastcomm/readrec.c
227
off_t pos;
usr.bin/ldd/ldd.c
266
has_freebsd_abi_tag(const char *fname, Elf *elf, GElf_Ehdr *ehdr, off_t offset,
usr.bin/ldd/ldd.c
334
is_pie(const char *fname, Elf *elf, GElf_Ehdr *ehdr, off_t offset, size_t len)
usr.bin/locate/locate/fastfind.c
127
(char *pathpart, caddr_t paddr, off_t len, char *database)
usr.bin/locate/locate/locate.c
100
void fastfind_mmap(char *, caddr_t, off_t, char *);
usr.bin/locate/locate/locate.c
101
void fastfind_mmap_icase(char *, caddr_t, off_t, char *);
usr.bin/locate/locate/locate.c
269
off_t len;
usr.bin/locate/locate/locate.c
287
fd, (off_t)0)) == MAP_FAILED)
usr.bin/locate/locate/util.c
281
off_t len;
usr.bin/look/look.c
144
if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED)
usr.bin/mail/collect.c
544
FILE *nf = run_editor(fp, (off_t)-1, c, 0);
usr.bin/mail/collect.c
547
(void)fseeko(nf, (off_t)0, SEEK_END);
usr.bin/mail/collect.c
595
(void)fseeko(nf, (off_t)0, SEEK_END);
usr.bin/mail/def.h
96
#define positionof(block, offset) ((off_t)(block) * 4096 + (offset))
usr.bin/mail/edit.c
100
(void)fseeko(otf, (off_t)0, SEEK_END);
usr.bin/mail/edit.c
130
run_editor(FILE *fp, off_t size, int type, int readonly)
usr.bin/mail/edit.c
73
off_t size;
usr.bin/mail/extern.h
126
off_t fsize(FILE *);
usr.bin/mail/extern.h
215
void setptr(FILE *, off_t);
usr.bin/mail/extern.h
59
FILE *run_editor(FILE *, off_t, int, int);
usr.bin/mail/fio.c
231
(void)lseek(fileno(f), (off_t)sizeof(*message), 0);
usr.bin/mail/fio.c
299
off_t
usr.bin/mail/fio.c
53
setptr(FILE *ibuf, off_t offset)
usr.bin/mail/fio.c
80
(void)fseeko(otf, (off_t)0, SEEK_END);
usr.bin/mail/glob.h
56
extern off_t mailsize; /* Size of system mailbox */
usr.bin/mail/lex.c
163
off_t newsize;
usr.bin/mail/main.c
60
off_t mailsize;
usr.bin/mkimg/image.c
109
static off_t
usr.bin/mkimg/image.c
112
off_t ofs;
usr.bin/mkimg/image.c
251
image_chunk_append(lba_t blk, size_t sz, off_t ofs, int fd)
usr.bin/mkimg/image.c
259
ofs == (off_t)(ch->ch_u.file.ofs + ch->ch_size)) {
usr.bin/mkimg/image.c
282
image_chunk_copyin(lba_t blk, void *buf, size_t sz, off_t ofs, int fd)
usr.bin/mkimg/image.c
307
image_file_map(int fd, off_t ofs, size_t sz, off_t *iofp)
usr.bin/mkimg/image.c
312
off_t x;
usr.bin/mkimg/image.c
354
off_t swofs;
usr.bin/mkimg/image.c
358
off_t iof;
usr.bin/mkimg/image.c
401
off_t cur, data, end, hole, pos, iof;
usr.bin/mkimg/image.c
460
sz = (pos - data > (off_t)iosz)
usr.bin/mkimg/image.c
526
off_t ofs;
usr.bin/mkimg/image.c
552
if (lseek(fd, (off_t)count, SEEK_CUR) != -1)
usr.bin/mkimg/image.c
576
image_copyout_file(int fd, size_t size, int ifd, off_t iofs)
usr.bin/mkimg/image.c
582
off_t iof;
usr.bin/mkimg/image.c
66
off_t ofs; /* Offset in backing file. */
usr.bin/mkimg/image.c
85
static off_t image_swap_size;
usr.bin/mkimg/mkimg.c
336
off_t ofs;
usr.bin/mkimg/mkimg.c
768
lseek(outfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
usr.bin/mkimg/vmdk.c
113
off_t cur, lim;
usr.bin/mkuzip/mkuz_cfg.h
38
off_t isize;
usr.bin/mkuzip/mkuz_insize.c
40
off_t
usr.bin/mkuzip/mkuz_insize.c
44
off_t ms;
usr.bin/mkuzip/mkuz_insize.h
27
off_t mkuz_get_insize(struct mkuz_cfg *);
usr.bin/mkuzip/mkuzip.c
429
off_t cpos;
usr.bin/msgs/msgs.c
400
truncate(fname, (off_t)0);
usr.bin/msgs/msgs.c
681
fseeko(newmsg, (off_t)0, SEEK_END);
usr.bin/msgs/msgs.c
703
off_t oldpos = ftello(f);
usr.bin/msgs/msgs.c
728
off_t oldpos;
usr.bin/msgs/msgs.c
813
off_t frompos;
usr.bin/patch/inp.c
399
if (lseek(tifd, (off_t) (baseline / lines_per_buf *
usr.bin/patch/pch.c
1454
off_t beginning_of_this_line;
usr.bin/patch/pch.c
268
off_t this_line = 0, previous_line;
usr.bin/patch/pch.c
269
off_t first_command_line = -1;
usr.bin/patch/pch.c
469
next_intuit_at(off_t file_pos, LINENUM file_line)
usr.bin/patch/pch.c
479
skip_to(off_t file_pos, LINENUM file_line)
usr.bin/patch/pch.c
48
static off_t p_filesize; /* size of the patch file */
usr.bin/patch/pch.c
538
off_t line_beginning; /* file pos of the current line */
usr.bin/patch/pch.c
546
off_t repl_backtrack_position; /* file pos of first repl line */
usr.bin/patch/pch.c
62
static off_t p_base; /* where to intuit this time */
usr.bin/patch/pch.c
64
static off_t p_start; /* where intuit found a patch */
usr.bin/patch/pch.c
76
static void next_intuit_at(off_t, LINENUM);
usr.bin/patch/pch.c
77
static void skip_to(off_t, LINENUM);
usr.bin/script/script.c
498
consume(FILE *fp, off_t len, char *buf, int reg)
usr.bin/script/script.c
557
off_t nread, save_len;
usr.bin/script/script.c
95
static void consume(FILE *, off_t, char *, int);
usr.bin/sort/sort.c
942
if (fsb.st_size > (off_t)sizeof(randseed))
usr.bin/split/split.c
214
off_t bcnt;
usr.bin/split/split.c
54
static off_t bytecnt; /* Byte count to split on. */
usr.bin/stat/stat.c
1074
off_t pos = 0, off;
usr.bin/tail/extern.h
46
off_t mapoff;
usr.bin/tail/extern.h
47
off_t maxoff;
usr.bin/tail/extern.h
63
void follow(file_info_t *, enum STYLE, off_t);
usr.bin/tail/extern.h
64
void forward(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
65
void reverse(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
67
int bytes(FILE *, const char *, off_t);
usr.bin/tail/extern.h
68
int lines(FILE *, const char *, off_t);
usr.bin/tail/extern.h
72
int mapprint(struct mapinfo *, off_t, off_t);
usr.bin/tail/extern.h
73
int maparound(struct mapinfo *, off_t);
usr.bin/tail/forward.c
156
if (fseeko(fp, (off_t)0, SEEK_END) == -1) {
usr.bin/tail/forward.c
190
rlines(FILE *fp, const char *fn, off_t off, struct stat *sbp)
usr.bin/tail/forward.c
193
off_t curoff, size;
usr.bin/tail/forward.c
305
follow(file_info_t *files, enum STYLE style, off_t off)
usr.bin/tail/forward.c
421
if (lseek(ev->ident, (off_t)0, SEEK_END) == -1) {
usr.bin/tail/forward.c
59
static void rlines(FILE *, const char *fn, off_t, struct stat *);
usr.bin/tail/forward.c
97
forward(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/misc.c
103
mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1);
usr.bin/tail/misc.c
105
if ((off_t)mip->maplen > mip->maxoff - mip->mapoff)
usr.bin/tail/misc.c
71
mapprint(struct mapinfo *mip, off_t startoff, off_t len)
usr.bin/tail/misc.c
77
(off_t)mip->maplen) {
usr.bin/tail/misc.c
97
maparound(struct mapinfo *mip, off_t offset)
usr.bin/tail/read.c
134
lines(FILE *fp, const char *fn, off_t off)
usr.bin/tail/read.c
64
bytes(FILE *fp, const char *fn, off_t off)
usr.bin/tail/reverse.c
105
r_reg(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/reverse.c
108
off_t curoff, size, lineend;
usr.bin/tail/reverse.c
127
curoff >= map.mapoff + (off_t)map.maplen) {
usr.bin/tail/reverse.c
192
off_t enomem = 0;
usr.bin/tail/reverse.c
55
static void r_reg(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/reverse.c
76
reverse(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/tail.c
252
if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
usr.bin/tail/tail.c
79
off_t off;
usr.bin/tcopy/tcopy.cc
287
off_t where;
usr.bin/tcopy/tcopy.cc
386
off_t where = lseek(fd, 0UL, SEEK_CUR);
usr.bin/tip/tip/uucplock.c
94
if (lseek(fd, (off_t)0, SEEK_SET) < 0) {
usr.bin/truncate/truncate.c
100
-(off_t)usz : (off_t)usz;
usr.bin/truncate/truncate.c
105
(off_t)usz < 0)
usr.bin/truncate/truncate.c
113
(off_t)usz <= 0)
usr.bin/truncate/truncate.c
54
off_t oflow, rsize, sz, tsize, round, off, len;
usr.bin/truncate/truncate.c
95
&usz) == -1 || (off_t)usz < 0)
usr.bin/truss/syscalls.c
2878
off_t off;
usr.bin/truss/syscalls.c
2880
off = (off_t)retval[1] << 32 | retval[0];
usr.bin/truss/syscalls.c
2882
off = (off_t)retval[0] << 32 | retval[1];
usr.bin/xinstall/xinstall.c
1415
const char *slink, const char *digestresult, off_t size)
usr.bin/xinstall/xinstall.c
164
const char *, const char *, off_t);
usr.bin/xstr/xstr.c
217
static off_t
usr.bin/xstr/xstr.c
323
off_t hpt;
usr.bin/xstr/xstr.c
329
static off_t
usr.bin/xstr/xstr.c
388
found(int new, off_t off, char *str)
usr.bin/xstr/xstr.c
54
static off_t tellpt;
usr.bin/xstr/xstr.c
56
static off_t mesgpt;
usr.bin/xstr/xstr.c
71
static off_t hashit(char *, int);
usr.bin/xstr/xstr.c
72
static off_t yankstr(char **);
usr.bin/xstr/xstr.c
77
static void found(int, off_t, char *);
usr.sbin/acpi/acpidb/acpidb.c
400
code = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0);
usr.sbin/bhyve/aarch64/bhyverun_machdep.c
216
off_t size;
usr.sbin/bhyve/block_if.c
101
off_t bc_size;
usr.sbin/bhyve/block_if.c
139
off_t off;
usr.sbin/bhyve/block_if.c
234
off_t arg[2];
usr.sbin/bhyve/block_if.c
485
off_t size, psectsz, psectoff;
usr.sbin/bhyve/block_if.c
709
off_t mediasize;
usr.sbin/bhyve/block_if.c
91
off_t be_block;
usr.sbin/bhyve/block_if.c
953
off_t sectors; /* total sectors of the block dev */
usr.sbin/bhyve/block_if.c
954
off_t hcyl; /* cylinders times heads */
usr.sbin/bhyve/block_if.c
998
off_t
usr.sbin/bhyve/block_if.h
56
off_t br_offset;
usr.sbin/bhyve/block_if.h
73
off_t blockif_size(struct blockif_ctxt *bc);
usr.sbin/bhyve/bootrom.c
200
off_t rom_size, var_size, total_size;
usr.sbin/bhyve/bootrom.c
77
off_t size;
usr.sbin/bhyve/bootrom.c
89
off_t offset;
usr.sbin/bhyve/pci_nvme.c
2575
req->io_req.br_offset = (off_t)iov->iov_base;
usr.sbin/bhyve/pci_virtio_block.c
456
off_t size;
usr.sbin/bhyve/riscv/bhyverun_machdep.c
214
off_t size;
usr.sbin/bhyve/snapshot.c
1033
struct vm_snapshot_meta *meta, off_t *offset)
usr.sbin/bhyve/snapshot.c
1062
struct vm_snapshot_meta *meta, off_t *offset)
usr.sbin/bhyve/snapshot.c
1090
off_t offset;
usr.sbin/bhyve/snapshot.c
929
const char *array_key, struct vm_snapshot_meta *meta, off_t *offset)
usr.sbin/bhyveload/bhyveload.c
371
*(off_t *)data = sb.st_size;
usr.sbin/bsdinstall/distfetch/distfetch.c
121
off_t current_bytes;
usr.sbin/bsdinstall/distfetch/distfetch.c
122
off_t fsize;
usr.sbin/bsdinstall/distfetch/distfetch.c
123
off_t total_bytes;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c
215
off_t mediasize;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
306
handle_chunk(int32_t ds_index, const char *chunk_name, off_t chunk_size)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
327
entry->size = (k_size > (off_t)INT_MAX ? INT_MAX : k_size);
usr.sbin/btxld/btxld.c
117
static void copy(int, int, size_t, off_t);
usr.sbin/btxld/btxld.c
118
static size_t readx(int, void *, size_t, off_t);
usr.sbin/btxld/btxld.c
120
static void seekx(int, off_t);
usr.sbin/btxld/btxld.c
442
copy(int fdi, int fdo, size_t nbyte, off_t offset)
usr.sbin/btxld/btxld.c
462
readx(int fd, void *buf, size_t nbyte, off_t offset)
usr.sbin/btxld/btxld.c
491
seekx(int fd, off_t offset)
usr.sbin/camdd/camdd.c
1168
off_t media_size;
usr.sbin/camdd/camdd.c
2389
off_t io_offset;
usr.sbin/ckdist/ckdist.c
269
off_t len;
usr.sbin/ckdist/ckdist.c
297
else if (sb.st_size != (off_t)sumlen)
usr.sbin/ckdist/ckdist.c
44
extern int crc(int fd, uint32_t *cval, off_t *clen);
usr.sbin/config/main.cc
614
(off_t)0);
usr.sbin/config/main.cc
618
(off_t)0);
usr.sbin/crunch/crunchide/exec_elf32.c
113
xwriteatoff(int fd, void *buf, off_t off, size_t size, const char *fn)
usr.sbin/crunch/crunchide/exec_elf32.c
168
if (sb.st_size < (off_t)(sizeof eh))
usr.sbin/crunch/crunchide/exec_elf32.c
96
xreadatoff(int fd, void *buf, off_t off, size_t size, const char *fn)
usr.sbin/dconschat/dconschat.c
132
dread(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
144
dwrite(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
272
off_t addr;
usr.sbin/dconschat/dconschat.c
326
dc->paddr = ((off_t)hi << 24) | lo;
usr.sbin/dconschat/dconschat.c
327
dc->reset = ((off_t)reset_hi << 24) | reset_lo;
usr.sbin/dconschat/dconschat.c
394
off_t newbuf;
usr.sbin/dconschat/dconschat.c
94
off_t paddr;
usr.sbin/dconschat/dconschat.c
95
off_t reset;
usr.sbin/diskinfo/diskinfo.c
324
rdsect(int fd, off_t blockno, u_int sectorsize)
usr.sbin/diskinfo/diskinfo.c
328
if (lseek(fd, (off_t)blockno * sectorsize, SEEK_SET) == -1)
usr.sbin/diskinfo/diskinfo.c
416
speeddisk(int fd, off_t mediasize, u_int sectorsize)
usr.sbin/diskinfo/diskinfo.c
419
off_t b0, b1, sectorcount, step;
usr.sbin/diskinfo/diskinfo.c
540
commandtime(int fd, off_t mediasize, u_int sectorsize)
usr.sbin/diskinfo/diskinfo.c
571
iops(int fd, off_t mediasize, u_int sectorsize)
usr.sbin/diskinfo/diskinfo.c
575
off_t sectorcount;
usr.sbin/diskinfo/diskinfo.c
632
iopsbench(int fd, off_t mediasize, u_int sectorsize)
usr.sbin/diskinfo/diskinfo.c
660
parwrite(int fd, size_t size, off_t off)
usr.sbin/diskinfo/diskinfo.c
663
off_t o;
usr.sbin/diskinfo/diskinfo.c
691
slogbench(int fd, int isreg, off_t mediasize, u_int sectorsize)
usr.sbin/diskinfo/diskinfo.c
693
off_t off;
usr.sbin/diskinfo/diskinfo.c
71
static void speeddisk(int fd, off_t mediasize, u_int sectorsize);
usr.sbin/diskinfo/diskinfo.c
72
static void commandtime(int fd, off_t mediasize, u_int sectorsize);
usr.sbin/diskinfo/diskinfo.c
73
static void iopsbench(int fd, off_t mediasize, u_int sectorsize);
usr.sbin/diskinfo/diskinfo.c
75
static void slogbench(int fd, int isreg, off_t mediasize, u_int sectorsize);
usr.sbin/diskinfo/diskinfo.c
90
off_t mediasize, stripesize, stripeoffset;
usr.sbin/dumpcis/readcis.c
197
off_t offs;
usr.sbin/dumpcis/readcis.c
200
last_tl = tlist = read_one_tuplelist(fd, MDF_ATTR, (off_t) 0);
usr.sbin/dumpcis/readcis.c
235
ck_linktarget(fd, (off_t) 0, 0)) {
usr.sbin/dumpcis/readcis.c
248
read_one_tuplelist(int fd, int flags, off_t offs)
usr.sbin/dumpcis/readcis.c
333
ck_linktarget(int fd, off_t offs, int flag)
usr.sbin/dumpcis/readcis.c
46
static int ck_linktarget(int, off_t, int);
usr.sbin/dumpcis/readcis.c
47
static struct tuple_list *read_one_tuplelist(int, int, off_t);
usr.sbin/dumpcis/readcis.h
39
off_t offs;
usr.sbin/edquota/edquota.c
64
((off_t)(db) >> (10-DEV_BSHIFT))
usr.sbin/edquota/edquota.c
67
((off_t)(db) << (DEV_BSHIFT-10))
usr.sbin/efidp/efidp.c
65
off_t off;
usr.sbin/efidp/efidp.c
76
if (off == (off_t)len)
usr.sbin/fifolog/fifolog_reader/fifolog_reader.c
98
off_t o;
usr.sbin/fifolog/lib/fifolog_create.c
44
fifolog_create(const char *fn, off_t size, ssize_t recsize)
usr.sbin/fifolog/lib/fifolog_create.c
49
off_t ms;
usr.sbin/fifolog/lib/fifolog_create.c
97
size = recsize * (off_t)(24*60*60);
usr.sbin/fifolog/lib/fifolog_int.c
104
if ((off_t)u >= f->logsize)
usr.sbin/fifolog/lib/fifolog_int.c
195
fifolog_int_read(const struct fifolog_file *ff, off_t recno)
usr.sbin/fifolog/lib/fifolog_int.c
218
fifolog_int_findend(const struct fifolog_file *ff, off_t *last)
usr.sbin/fifolog/lib/fifolog_int.c
220
off_t o, s;
usr.sbin/fifolog/lib/fifolog_reader.c
129
off_t
usr.sbin/fifolog/lib/fifolog_reader.c
132
off_t o, s, st;
usr.sbin/fifolog/lib/fifolog_reader.c
247
fifolog_reader_process(struct fifolog_reader *fr, off_t from, fifolog_reader_render_t *func, void *priv, time_t end)
usr.sbin/fifolog/lib/fifolog_reader.c
250
off_t o = from;
usr.sbin/fifolog/lib/fifolog_reader.c
93
fifolog_reader_findsync(const struct fifolog_file *ff, off_t *o)
usr.sbin/fifolog/lib/fifolog_write.h
52
off_t recno;
usr.sbin/fifolog/lib/fifolog_write_poll.c
124
off_t o;
usr.sbin/fifolog/lib/libfifolog.h
32
const char *fifolog_create(const char *fn, off_t size, ssize_t recsize);
usr.sbin/fifolog/lib/libfifolog.h
43
off_t fifolog_reader_seek(const struct fifolog_reader *fl, time_t t0);
usr.sbin/fifolog/lib/libfifolog.h
44
void fifolog_reader_process(struct fifolog_reader *fl, off_t from, fifolog_reader_render_t *func, void *priv, time_t end);
usr.sbin/fifolog/lib/libfifolog_int.h
34
off_t logsize;
usr.sbin/fifolog/lib/libfifolog_int.h
44
int fifolog_int_read(const struct fifolog_file *ff, off_t recno);
usr.sbin/fifolog/lib/libfifolog_int.h
45
const char *fifolog_int_findend(const struct fifolog_file *ff, off_t *last);
usr.sbin/fstyp/exfat.c
139
read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
145
read_sect(FILE *fp, off_t sect, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
269
off_t rootdir_sect;
usr.sbin/fstyp/fstyp.c
114
read_buf(FILE *fp, off_t off, size_t len)
usr.sbin/fstyp/fstyp.c
181
off_t mediasize;
usr.sbin/fstyp/fstyp.h
48
void *read_buf(FILE *fp, off_t off, size_t len);
usr.sbin/fstyp/geli.c
44
off_t mediasize;
usr.sbin/fstyp/ntfs.c
141
off_t voloff;
usr.sbin/lpr/lpd/printjob.c
155
off_t pidoff;
usr.sbin/lpr/lpr/lpr.c
493
lseek(tfd, (off_t)0, 0) == 0 &&
usr.sbin/lpr/lpr/lpr.c
846
(void) lseek(fd, (off_t)0, 0);
usr.sbin/makefs/cd9660.h
319
int cd9660_copy_file(iso9660_disk *, FILE *, off_t, const char *);
usr.sbin/makefs/cd9660.h
329
void debug_dump_to_xml_path_table(FILE *, off_t, int, int);
usr.sbin/makefs/cd9660/cd9660_debug.c
193
debug_dump_to_xml_path_table(FILE *fd, off_t sector, int size, int mode)
usr.sbin/makefs/cd9660/cd9660_debug.c
225
off_t sector;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
549
cd9660_write_mbr_partition_entry(FILE *fd, int idx, off_t sector_start,
usr.sbin/makefs/cd9660/cd9660_eltorito.c
550
off_t nsectors, int type)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
555
if (fseeko(fd, (off_t)(idx) * 16 + 0x1be, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
585
off_t sector_start, off_t nsectors, off_t sector_size,
usr.sbin/makefs/cd9660/cd9660_eltorito.c
594
if (fseeko(fd, (off_t)(idx + 1) * sector_size, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
639
if (fseeko(fd, (off_t)diskStructure->boot_catalog_sector *
usr.sbin/makefs/cd9660/cd9660_write.c
164
cd9660_write_path_table(iso9660_disk *diskStructure, FILE *fd, off_t sector,
usr.sbin/makefs/cd9660/cd9660_write.c
266
off_t working_sector;
usr.sbin/makefs/cd9660/cd9660_write.c
391
cd9660_write_filedata(iso9660_disk *diskStructure, FILE *fd, off_t sector,
usr.sbin/makefs/cd9660/cd9660_write.c
394
off_t curpos;
usr.sbin/makefs/cd9660/cd9660_write.c
414
cd9660_write_buffered(FILE *fd, off_t offset, int buff_len,
usr.sbin/makefs/cd9660/cd9660_write.c
425
cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector,
usr.sbin/makefs/cd9660/cd9660_write.c
44
static int cd9660_write_path_table(iso9660_disk *, FILE *, off_t, int);
usr.sbin/makefs/cd9660/cd9660_write.c
47
static int cd9660_write_filedata(iso9660_disk *, FILE *, off_t,
usr.sbin/makefs/cd9660/cd9660_write.c
471
off_t offset, off_t sector)
usr.sbin/makefs/cd9660/cd9660_write.c
491
if (fseeko(fd, ((off_t)diskStructure->
usr.sbin/makefs/cd9660/cd9660_write.c
50
static int cd9660_write_buffered(FILE *, off_t, int, const unsigned char *);
usr.sbin/makefs/cd9660/cd9660_write.c
52
static void cd9660_write_rr(iso9660_disk *, FILE *, cd9660node *, off_t, off_t);
usr.sbin/makefs/ffs.c
492
off_t bufrem;
usr.sbin/makefs/ffs.c
583
if (fs->fs_cstotal.cs_nifree + (off_t)UFS_ROOTINO < fsopts->inodes) {
usr.sbin/makefs/ffs.c
967
off_t bufleft, chunk, offset;
usr.sbin/makefs/ffs/buf.c
125
off_t offset;
usr.sbin/makefs/ffs/buf.c
132
offset = (off_t)bp->b_blkno * fs->sectorsize + fs->offset;
usr.sbin/makefs/ffs/buf.c
60
off_t offset;
usr.sbin/makefs/ffs/buf.c
70
offset = (off_t)(*bpp)->b_blkno * fs->sectorsize + fs->offset;
usr.sbin/makefs/ffs/ffs_balloc.c
333
ffs_balloc_ufs2(struct inode *ip, off_t offset, int bufsize,
usr.sbin/makefs/ffs/ffs_balloc.c
54
static int ffs_balloc_ufs1(struct inode *, off_t, int, struct m_buf **);
usr.sbin/makefs/ffs/ffs_balloc.c
55
static int ffs_balloc_ufs2(struct inode *, off_t, int, struct m_buf **);
usr.sbin/makefs/ffs/ffs_balloc.c
66
ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp)
usr.sbin/makefs/ffs/ffs_balloc.c
75
ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize,
usr.sbin/makefs/ffs/ffs_extern.h
59
int ffs_balloc(struct inode *, off_t, int, struct m_buf **);
usr.sbin/makefs/ffs/mkfs.c
821
off_t offset;
usr.sbin/makefs/ffs/mkfs.c
823
offset = (off_t)bno * fsopts->sectorsize + fsopts->offset;
usr.sbin/makefs/ffs/mkfs.c
845
off_t offset;
usr.sbin/makefs/ffs/mkfs.c
847
offset = (off_t)bno * fsopts->sectorsize + fsopts->offset;
usr.sbin/makefs/makefs.h
156
off_t size; /* total size */
usr.sbin/makefs/makefs.h
157
off_t inodes; /* number of inodes */
usr.sbin/makefs/makefs.h
167
off_t minsize; /* minimum size image should be */
usr.sbin/makefs/makefs.h
168
off_t maxsize; /* maximum size image can be */
usr.sbin/makefs/makefs.h
169
off_t freefiles; /* free file entries to leave */
usr.sbin/makefs/makefs.h
170
off_t freeblocks; /* free blocks to leave */
usr.sbin/makefs/makefs.h
171
off_t offset; /* offset from start of file */
usr.sbin/makefs/makefs.h
172
off_t roundup; /* round image size up to this value */
usr.sbin/makefs/zfs.c
146
off_t asize, mssize, vdevsize, vdevsize1;
usr.sbin/makefs/zfs.c
377
off_t configloc, configblksz;
usr.sbin/makefs/zfs.c
52
((off_t)(VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE))
usr.sbin/makefs/zfs.c
55
#define MINMSSIZE ((off_t)1 << 24) /* 16MB */
usr.sbin/makefs/zfs.c
56
#define DFLTMSSIZE ((off_t)1 << 29) /* 512MB */
usr.sbin/makefs/zfs.c
57
#define MAXMSSIZE ((off_t)1 << 34) /* 16GB */
usr.sbin/makefs/zfs.c
647
off_t size, off_t blksz)
usr.sbin/makefs/zfs.c
65
off_t indloc;
usr.sbin/makefs/zfs.c
66
off_t indspace;
usr.sbin/makefs/zfs.c
68
off_t dataoff;
usr.sbin/makefs/zfs.c
69
off_t datablksz;
usr.sbin/makefs/zfs.c
698
off_t blkid, blksz, loc;
usr.sbin/makefs/zfs.c
741
dnode_cursor_next(zfs_opt_t *zfs, struct dnode_cursor *c, off_t off)
usr.sbin/makefs/zfs.c
743
off_t blkid, l1id;
usr.sbin/makefs/zfs/fs.c
546
off_t nbytes, reqbytes, size;
usr.sbin/makefs/zfs/fs.c
577
for (off_t foff = 0; foff < size; foff += nbytes) {
usr.sbin/makefs/zfs/fs.c
578
off_t loc, sofar;
usr.sbin/makefs/zfs/fs.c
584
nbytes = MIN(size - foff, (off_t)bufsz);
usr.sbin/makefs/zfs/fs.c
595
if (nbytes < (off_t)bufsz)
usr.sbin/makefs/zfs/objset.c
112
off_t loc)
usr.sbin/makefs/zfs/objset.c
162
off_t dnodeloc, dnodesz;
usr.sbin/makefs/zfs/objset.c
243
off_t
usr.sbin/makefs/zfs/objset.c
244
objset_space_alloc(zfs_opt_t *zfs, zfs_objset_t *os, off_t *lenp)
usr.sbin/makefs/zfs/objset.c
246
off_t loc;
usr.sbin/makefs/zfs/objset.c
51
off_t osloc;
usr.sbin/makefs/zfs/objset.c
52
off_t osblksz;
usr.sbin/makefs/zfs/objset.c
56
off_t space; /* bytes allocated to this objset */
usr.sbin/makefs/zfs/vdev.c
114
uint8_t level, uint64_t fill, const void *data, off_t sz, off_t loc,
usr.sbin/makefs/zfs/vdev.c
128
uint64_t fill, const void *data, off_t sz, off_t loc, blkptr_t *bp)
usr.sbin/makefs/zfs/vdev.c
139
off_t sz, off_t loc)
usr.sbin/makefs/zfs/vdev.c
146
vdev_label_set_checksum(void *buf, off_t off, off_t size)
usr.sbin/makefs/zfs/vdev.c
168
off_t blksz, loff;
usr.sbin/makefs/zfs/vdev.c
235
off_t
usr.sbin/makefs/zfs/vdev.c
236
vdev_space_alloc(zfs_opt_t *zfs, off_t *lenp)
usr.sbin/makefs/zfs/vdev.c
238
off_t len;
usr.sbin/makefs/zfs/vdev.c
249
len = (off_t)1 << flsll(len);
usr.sbin/makefs/zfs/vdev.c
270
return ((off_t)loc << zfs->ashift);
usr.sbin/makefs/zfs/vdev.c
300
off_t smblksz, objarrblksz, objarrloc;
usr.sbin/makefs/zfs/vdev.c
305
off_t loc;
usr.sbin/makefs/zfs/vdev.c
49
blkptr_set(blkptr_t *bp, off_t off, off_t size, uint8_t dntype, uint8_t level,
usr.sbin/makefs/zfs/vdev.c
83
vdev_pwrite(const zfs_opt_t *zfs, const void *buf, size_t len, off_t off)
usr.sbin/makefs/zfs/vdev.c
89
assert((off_t)len > 0 && off + (off_t)len > off &&
usr.sbin/makefs/zfs/vdev.c
90
off + (off_t)len < zfs->asize);
usr.sbin/makefs/zfs/zap.c
204
off_t bytes, loc;
usr.sbin/makefs/zfs/zap.c
217
assert(bytes <= (off_t)MZAP_MAX_BLKSZ);
usr.sbin/makefs/zfs/zap.c
366
off_t loc, blksz;
usr.sbin/makefs/zfs/zap.c
377
blksz = (off_t)1 << blkshift;
usr.sbin/makefs/zfs/zfs.h
109
off_t vdevsize; /* vdev size, including labels */
usr.sbin/makefs/zfs/zfs.h
110
off_t asize; /* vdev size, excluding labels */
usr.sbin/makefs/zfs/zfs.h
137
off_t objset_space_alloc(zfs_opt_t *, zfs_objset_t *, off_t *);
usr.sbin/makefs/zfs/zfs.h
148
off_t vdev_space_alloc(zfs_opt_t *zfs, off_t *lenp);
usr.sbin/makefs/zfs/zfs.h
150
uint8_t level, uint64_t fill, const void *data, off_t sz, off_t loc,
usr.sbin/makefs/zfs/zfs.h
153
uint64_t fill, const void *data, off_t sz, off_t loc, blkptr_t *bp);
usr.sbin/makefs/zfs/zfs.h
155
off_t sz, off_t loc);
usr.sbin/makefs/zfs/zfs.h
171
dnode_phys_t *, off_t, off_t);
usr.sbin/makefs/zfs/zfs.h
172
blkptr_t *dnode_cursor_next(zfs_opt_t *, struct dnode_cursor *, off_t);
usr.sbin/makefs/zfs/zfs.h
49
#define MAXBLOCKSIZE ((off_t)(1 << MAXBLOCKSHIFT))
usr.sbin/makefs/zfs/zfs.h
52
#define MINBLOCKSIZE ((off_t)(1 << MINBLOCKSHIFT))
usr.sbin/makefs/zfs/zfs.h
54
#define MINDEVSIZE ((off_t)SPA_MINDEVSIZE)
usr.sbin/mfiutil/mfi_flash.c
90
off_t offset;
usr.sbin/mptable/mptable.c
711
if ( lseek( pfd, (off_t)addr, SEEK_SET ) < 0 )
usr.sbin/nfsd/nfsd.c
1182
ret = lseek(from_fd, (off_t)0, SEEK_SET);
usr.sbin/nfsd/nfsd.c
1184
ret = lseek(to_fd, (off_t)0, SEEK_SET);
usr.sbin/nfsd/nfsd.c
1186
ret = ftruncate(to_fd, (off_t)0);
usr.sbin/quot/quot.c
111
off_t off;
usr.sbin/quot/quot.c
127
if (lseek(fd, (off_t)cgtod(super, cg) << super->fs_fshift, 0) < 0)
usr.sbin/quot/quot.c
137
off = (off_t)ino_to_fsba(super, last) << super->fs_fshift;
usr.sbin/repquota/repquota.c
60
((off_t)(db) >> (10-DEV_BSHIFT))
usr.sbin/repquota/repquota.c
63
((off_t)(db) << (DEV_BSHIFT-10))
usr.sbin/rmt/rmt.c
116
rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos));
usr.sbin/rpc.statd/file.c
134
off_t desired_size;
usr.sbin/rpc.statd/file.c
202
if ((status_file_len < (off_t)HEADER_LEN) || (status_file_len
usr.sbin/rpc.statd/file.c
203
< (off_t)(HEADER_LEN + sizeof(HostInfo) * status_info->noOfHosts)) )
usr.sbin/rpc.statd/file.c
53
static off_t status_file_len; /* Current on-disc length of file */
usr.sbin/sesutil/sesutil.c
578
fetch_device_details(char *devnames, char **model, char **serial, off_t *size)
usr.sbin/sesutil/sesutil.c
583
off_t mediasize;
usr.sbin/sesutil/sesutil.c
629
off_t size;
usr.sbin/trim/trim.c
174
static off_t
usr.sbin/trim/trim.c
178
off_t mediasize;
usr.sbin/trim/trim.c
207
trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose)
usr.sbin/trim/trim.c
209
off_t arg[2];
usr.sbin/trim/trim.c
49
static off_t getsize(const char *path);
usr.sbin/trim/trim.c
51
static int trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose);
usr.sbin/trim/trim.c
57
off_t offset, length;
usr.sbin/trim/trim.c
80
(off_t)usz < 0 || (usz == 0 && ch == 'l'))
usr.sbin/trim/trim.c
86
offset = (off_t)usz;
usr.sbin/trim/trim.c
88
length = (off_t)usz;
usr.sbin/uefisign/child.c
82
digest_range(struct executable *x, EVP_MD_CTX *mdctx, off_t off, size_t len)
usr.sbin/uefisign/pe.c
142
range_check(const struct executable *x, off_t off, size_t len,
usr.sbin/uefisign/pe.c
150
if (off >= (off_t)x->x_len) {
usr.sbin/uefisign/pe.c
225
parse_section_table(struct executable *x, off_t off, int number_of_sections)
usr.sbin/uefisign/pe.c
262
parse_directory(struct executable *x, off_t off,
usr.sbin/uefisign/pe.c
348
parse_optional_32_plus(struct executable *x, off_t off,
usr.sbin/uefisign/pe.c
398
parse_optional_32(struct executable *x, off_t off, int number_of_sections)
usr.sbin/uefisign/pe.c
447
parse_optional(struct executable *x, off_t off, int number_of_sections)
usr.sbin/uefisign/pe.c
468
parse_pe(struct executable *x, off_t off)
usr.sbin/uefisign/pe.c
500
static off_t
usr.sbin/uefisign/pe.c
503
off_t off;
usr.sbin/uefisign/pe.c
524
off_t pc_off;
usr.sbin/uefisign/uefisign.h
52
off_t x_checksum_off;
usr.sbin/uefisign/uefisign.h
55
off_t x_certificate_entry_off;
usr.sbin/uefisign/uefisign.h
59
off_t x_section_off[MAX_SECTIONS];
usr.sbin/uefisign/uefisign.h
88
off_t off, size_t len, const char *name);