/freebsd/usr.sbin/makefs/ffs/ |
H A D | buf.c | 60 off_t offset; in bread() 70 offset = (off_t)(*bpp)->b_blkno * fs->sectorsize + fs->offset; in bread() 125 off_t offset; in bwrite() 132 offset = (off_t)bp->b_blkno * fs->sectorsize + fs->offset; in bwrite()
|
/freebsd/contrib/libdiff/lib/ |
H A D | diff_atomize_text.c | 43 off_t pos = 0; in diff_data_atomize_text_lines_fd() 44 const off_t end = pos + d->len; in diff_data_atomize_text_lines_fd() 59 off_t line_end = pos; in diff_data_atomize_text_lines_fd() 191 .pos = (off_t)(line_start - d->data), in diff_data_atomize_text_lines_mmap()
|
/freebsd/contrib/file/src/ |
H A D | elfclass.h | 44 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum, 59 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum, 69 CAST(off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
|
H A D | pread.c | 9 pread(int fd, void *buf, size_t len, off_t off) { in pread() 10 off_t old; in pread()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | FileWriter.cpp | 71 off_t Offset = OS.tell(); in alignTo() 72 off_t AlignedOffset = (Offset + Align - 1) / Align * Align; in alignTo() 75 off_t PadCount = AlignedOffset - Offset; in alignTo()
|
/freebsd/contrib/libdiff/include/ |
H A D | diff_output.h | 34 ARRAYLIST(off_t) line_offsets; 77 off_t diff_chunk_get_left_start_pos(const struct diff_chunk *c); 78 off_t diff_chunk_get_right_start_pos(const struct diff_chunk *c);
|
/freebsd/tools/bus_space/ |
H A D | bus.h | 31 int bs_read(int rid, off_t ofs, void *buf, ssize_t bufsz); 34 int bs_write(int rid, off_t ofs, void *buf, ssize_t bufsz);
|
/freebsd/libexec/tftpd/ |
H A D | tftp-file.h | 36 int seek_file(off_t offset); 37 off_t tell_file(void);
|
/freebsd/sys/sys/ |
H A D | slicer.h | 43 off_t base; 44 off_t size;
|
H A D | conf.h | 130 off_t _offset, /* Byte-offset to write at. */ 345 off_t mediaoffset; /* Initial offset in bytes. */ 346 off_t mediasize; /* Space available in bytes. */ 350 off_t dumpoff; /* Offset of ongoing kernel dump. */ 351 off_t origdumpoff; /* Starting dump offset. */ 393 int dump_write(struct dumperinfo *, void *, off_t, size_t);
|
H A D | libkern.h | 110 static __inline off_t omax(off_t a, off_t b) { return (a > b ? a : b); } in omin() 111 static __inline off_t omin(off_t a, off_t b) { return (a < b ? a : b); } in abs()
|
H A D | sysproto.h | 719 char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; 725 char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; 1032 char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; 1337 char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; 1343 char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; 1351 char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)]; 1355 char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; 1360 char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; 1586 char len_l_[PADL_(off_t)]; off_t len; char len_r_[PADR_(off_t)]; 1591 char len_l_[PADL_(off_t)]; off_t len; char len_r_[PADR_(off_t)]; [all …]
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | rsocket.h | 91 off_t riomap(int socket, void *buf, size_t len, int prot, int flags, off_t offset); 93 size_t riowrite(int socket, const void *buf, size_t count, off_t offset, int flags);
|
/freebsd/tests/sys/file/ |
H A D | ftruncate_test.c | 52 static off_t lengths[] = {0, 1, 2, 3, 4, 127, 128, 129, 511, 512, 513, 1023, 55 static int lengths_count = sizeof(lengths) / sizeof(off_t); 64 off_t len; in main()
|
/freebsd/sbin/hastd/ |
H A D | hast.h | 172 off_t hr_localoff; 174 off_t hr_datasize; 176 off_t hr_local_mediasize;
|
/freebsd/usr.bin/cmp/ |
H A D | misc.c | 50 diffmsg(const char *file1, const char *file2, off_t byte, off_t line, in diffmsg()
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_share.h | 41 off_t gv_sizespec(char *); 65 const char *gv_roughlength(off_t, int);
|
/freebsd/usr.bin/cksum/ |
H A D | sum1.c | 40 csum1(int fd, uint32_t *cval, off_t *clen) in csum1() 44 off_t total; in csum1()
|
H A D | sum2.c | 40 csum2(int fd, uint32_t *cval, off_t *clen) in csum2() 44 off_t total; in csum2()
|
/freebsd/sbin/fsck_msdosfs/ |
H A D | fat.c | 155 off_t addr; /* offset */ 181 off_t fat32_offset; 182 off_t fat32_lastaddr; 362 off_t fat_addr; in fat_flush_fat32_cache_entry() 389 off_t fat_addr; in fat_get_fat32_cache_entry() 443 off_t addr, off; in fat_get_fat32_cached_ptr() 582 off_t off; in checkdirty() 649 off_t off; in cleardirty() 697 off_t off; in _readfat() 1143 off_t dst_off, src_off; in copyfat() [all …]
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | default_permissions.cc | 516 off_t len = 8; in TEST_F() 560 off_t len = 8; in TEST_F() 849 off_t off = 8; in TEST_F() 850 off_t len = 8; in TEST_F() 883 off_t off = 8; in TEST_F() 884 off_t len = 8; in TEST_F() 917 off_t off = 8; in TEST_F() 918 off_t len = 8; in TEST_F() 989 off_t off = 8; in TEST_F() 990 off_t len = 8; in TEST_F() [all …]
|
/freebsd/lib/libkvm/ |
H A D | kvm_i386.c | 71 _kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs) in _kvm_pa2off() 212 _i386_vatop(kvm_t *kd, kvaddr_t va, off_t *pa) in _i386_vatop() 223 off_t ofs; in _i386_vatop() 302 _i386_vatop_pae(kvm_t *kd, kvaddr_t va, off_t *pa) in _i386_vatop_pae() 313 off_t ofs; in _i386_vatop_pae() 393 _i386_kvatop(kvm_t *kd, kvaddr_t va, off_t *pa) in _i386_kvatop()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_io.c | 120 off_t off = uiop->uio_offset; in tarfs_io_read() 155 void *buf, off_t off, size_t len) in tarfs_io_read_buf() 229 tarfs_zio_update_index(struct tarfs_zio *zio, off_t i, off_t o) in tarfs_zio_update_index() 328 off_t zsize; in tarfs_zread_zstd() 329 off_t ipos, opos; in tarfs_zread_zstd() 332 off_t off = uiop->uio_offset; in tarfs_zread_zstd() 532 off_t off = uiop->uio_offset; in tarfs_zread() 573 off_t off; in tarfs_zstrategy() 614 tarfs_zio_init(struct tarfs_mount *tmp, off_t i, off_t o) in tarfs_zio_init()
|
/freebsd/stand/libsa/ |
H A D | nullfs.c | 86 off_t null_seek (struct open_file *f, off_t offset, int where) in null_seek()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 105 if ((off_t)lbn * biosize >= nsize) in ncl_gbp_getblksz() 107 else if ((off_t)(lbn + 1) * biosize > nsize) in ncl_gbp_getblksz() 108 bcount = nsize - (off_t)lbn * biosize; in ncl_gbp_getblksz() 268 off_t offset; in ncl_putpages() 441 off_t tmp_off; in ncl_bioread() 533 if ((off_t)lbn * biosize >= nsize) { in ncl_bioread() 536 bcount = nsize - (off_t)lbn * biosize; in ncl_bioread() 844 off_t orig_size, tmp_off; in ncl_write() 1063 if ((off_t)(lbn + 1) * biosize < np->n_size) in ncl_write() 1622 uiop->uio_offset = (off_t)0; in ncl_doio() [all …]
|