/illumos-gate/usr/src/cmd/tail/ |
H A D | extern.h | 46 off_t mapoff; 47 off_t maxoff; 64 void follow(file_info_t *, enum STYLE, off_t); 65 void forward(FILE *, const char *, enum STYLE, off_t, struct stat *); 66 void reverse(FILE *, const char *, enum STYLE, off_t, struct stat *); 68 int bytes(FILE *, const char *, off_t); 69 int lines(FILE *, const char *, off_t); 73 int mapprint(struct mapinfo *, off_t, off_t); 74 int maparound(struct mapinfo *, off_t);
|
H A D | misc.c | 64 mapprint(struct mapinfo *mip, off_t startoff, off_t len) in mapprint() 70 (off_t)mip->maplen) { in mapprint() 90 maparound(struct mapinfo *mip, off_t offset) in maparound() 96 mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1); in maparound() 98 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) in maparound()
|
/illumos-gate/usr/src/stand/sys/ |
H A D | bootvfs.h | 59 off_t (*fsw_lseek)(int filefd, off_t addr, int whence); 76 extern off_t lseek(int filefd, off_t addr, int whence); 89 extern off_t kern_seek(int fd, off_t hi, off_t lo); 90 extern off_t kern_lseek(int fd, off_t hi, off_t lo);
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_log.h | 322 off_t me_lof; 381 off_t mtm_tail_lof; 387 off_t mtm_trimlof; /* log was trimmed to this lof */ 388 off_t mtm_trimtail; /* tail lof before trimming */ 389 off_t mtm_trimalof; /* lof of last allocation delta */ 390 off_t mtm_trimclof; /* lof of last commit delta */ 391 off_t mtm_trimrlof; /* lof of last rolled delta */ 565 extern void ldl_sethead(ml_unit_t *, off_t, uint32_t); 566 extern void ldl_settail(ml_unit_t *, off_t, size_t); 567 extern ulong_t ldl_logscan_nbcommit(off_t); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | astcopy.c | 50 off_t 51 astcopy(int rfd, int wfd, off_t n) in astcopy() 53 register off_t c; in astcopy() 55 off_t pos; in astcopy() 56 off_t mapsize; in astcopy() 67 if (!fstat(rfd, &st) && S_ISREG(st.st_mode) && (pos = lseek(rfd, (off_t)0, 1)) != ((off_t)-1)) in astcopy() 74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, 1) == ((off_t)-1)) return(-1); in astcopy()
|
/illumos-gate/usr/src/cmd/pg/ |
H A D | pg.c | 97 static off_t find(int, off_t); 172 off_t first_line; 173 off_t last_line; 399 off_t start; in screen() 503 off_t nlines; in command() 1268 (off_t)window in search() 1276 (off_t)window in search() 1285 (off_t)window in search() 1326 static off_t 1331 off_t where; in find() [all …]
|
/illumos-gate/usr/src/lib/librsm/inc/ |
H A D | rsmapi.h | 176 off_t offset, 180 off_t offset, 184 off_t offset, 188 off_t offset, 192 off_t offset, 204 off_t offset, 208 off_t offset, 212 off_t offset, 216 off_t offset, 220 off_t offset, [all …]
|
H A D | rsmndi.h | 93 off_t offset, 99 off_t offset, 105 off_t offset, 111 off_t offset, 117 off_t offset, 126 off_t offset, 132 off_t offset, 138 off_t offset, 144 off_t offset, 150 off_t offset,
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 56 typedef __off_t off_t; typedef 272 off_t l_start; /* starting offset */ 273 off_t l_len; /* len = 0 means until end of file */ 286 off_t l_start; /* starting offset */ 287 off_t l_len; /* len = 0 means until end of file */ 326 int posix_fadvise(int, off_t, off_t, int); 327 int posix_fallocate(int, off_t, off_t);
|
H A D | disk.h | 62 #define DIOCGFRONTSTUFF _IOR('d', 134, off_t) 75 #define DIOCGDELETE _IOW('d', 136, off_t[2]) /* Delete data */ 108 #define DIOCGSTRIPESIZE _IOR('d', 139, off_t) /* Get stripe size in bytes */ 114 #define DIOCGSTRIPEOFFSET _IOR('d', 140, off_t) /* Get stripe offset in bytes */ 133 off_t off;
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | opts.c | 218 off_t *rval; in opts_set() 269 off_t 272 off_t *ret; in opts_optarg_int() 319 static off_t 323 off_t ret; in opts_parse_ctime() 339 static off_t 342 off_t ret = atoll(optarg); in opts_parse_atopi() 357 static off_t 360 off_t ret = atoll(optarg); in opts_parse_bytes() 392 static off_t [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | os.h | 131 typedef __int64 off_t; typedef 134 typedef long long off_t; typedef 156 typedef SInt64 off_t; typedef 158 typedef SInt32 off_t; typedef 175 int sqliteOsSeek(OsFile*, off_t offset); 177 int sqliteOsTruncate(OsFile*, off_t size); 178 int sqliteOsFileSize(OsFile*, off_t *pSize);
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | wtmpfix.c | 91 static off_t recin; 97 off_t d_off1; /* file offset start */ 98 off_t d_off2; /* file offset stop */ 111 static void mkdtab(off_t); 113 static void adjust(off_t, struct futmpx *); 126 off_t rectmpin; in main() 183 if (fseeko(Temp, (off_t)0L, SEEK_SET) != 0) { in main() 234 mkdtab(off_t p) in mkdtab() 271 adjust(off_t p, struct futmpx *w) in adjust() 274 off_t pp; in adjust() [all …]
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | bootvfs.h | 56 off_t (*fsw_lseek)(int filefd, off_t addr, int whence); 77 extern off_t BRD_SEEK(struct boot_fs_ops *, int, off_t, int); 102 extern off_t lseek(int filefd, off_t addr, int whence);
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | fcntl | 68 #undef off_t 70 #define off_t off_t 77 #undef off_t 79 #define off_t off_t 94 #undef off_t 95 #define off_t off64_t
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | fcntl | 68 #undef off_t 70 #define off_t off_t 77 #undef off_t 79 #define off_t off_t 94 #undef off_t 95 #define off_t off64_t
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | fcntl | 68 #undef off_t 70 #define off_t off_t 77 #undef off_t 79 #define off_t off_t 94 #undef off_t 95 #define off_t off64_t
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | fcntl | 68 #undef off_t 70 #define off_t off_t 77 #undef off_t 79 #define off_t off_t 94 #undef off_t 95 #define off_t off64_t
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_object_read_common.c | 62 _dwarf_object_read_random(int fd, char *buf, off_t loc, in _dwarf_object_read_random() 63 size_t size, off_t filesize, int *errc) in _dwarf_object_read_random() 65 off_t scode = 0; in _dwarf_object_read_random() 67 off_t endpoint = 0; in _dwarf_object_read_random() 83 if (scode == (off_t)-1) { in _dwarf_object_read_random()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 170 off_t offset; in ldl_strategy() 607 static off_t 611 off_t rlof; in find_read_lof() 644 off_t rlof; in get_read_bp() 967 off_t nfb; in ldl_has_space() 968 off_t nb; in ldl_has_space() 1231 off_t nb; in ldl_sethead() 1543 off_t head; in ldl_need_roll() 1545 off_t bol; in ldl_need_roll() 1546 off_t eol; in ldl_need_roll() [all …]
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 154 off_t l_start; 155 off_t l_len; /* len == 0 means until end of file */ 177 off_t l_start; 178 off_t l_len; /* len == 0 means until end of file */ 188 off_t l_start; 189 off_t l_len; /* len == 0 means until end of file */
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | utils.c | 154 get_holes_list(int fd, off_t filesz, size_t *countp) in get_holes_list() 156 off_t data, hole; in get_holes_list() 212 static off_t 216 off_t size; in get_compressed_filesz() 230 put_value(off_t val, char *str) in put_value() 321 get_holes_info(int fd, off_t filesz, boolean_t pass_mode) in get_holes_info() 368 read_holes_header(const char *str, off_t filesz) in read_holes_header() 386 hi->orig_size = (off_t)ull; in read_holes_header() 401 off_t loff; in parse_holesdata() 415 hl->hl_data = (off_t)ull; in parse_holesdata() [all …]
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioHdr.cc | 121 off_t cnt) const // byte count in Bytes_to_Time() 137 off_t AudioHdr:: 141 off_t offset; in Time_to_Bytes() 146 offset = (off_t)(0.5 + (sec * in Time_to_Bytes() 156 off_t AudioHdr:: 158 off_t& cnt) const in Bytes_to_Bytes()
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_pcicfg.h | 46 extern uint32_t mc_pcicfg_get32(mc_pcicfg_hdl_t, off_t); 47 extern void mc_pcicfg_put32(mc_pcicfg_hdl_t cookie, off_t offset, uint32_t val); 50 extern uint32_t mc_pcicfg_get32_nohdl(mc_t *, enum mc_funcnum, off_t); 51 extern void mc_pcicfg_put32_nohdl(mc_t *, enum mc_funcnum, off_t, uint32_t);
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fseek.c | 30 #define POS_ERR (-(off_t)1) 84 off_t target, curoff; 89 register off_t (*seekfn) __P((SM_FILE_T *, off_t, int)); 151 curoff = (*seekfn)(fp, (off_t) 0, SM_IO_SEEK_CUR); 230 curoff = (*seekfn)(fp, (off_t) 0, SM_IO_SEEK_CUR); 267 if (target >= curoff && target < curoff + (off_t) n) 322 (*seekfn)(fp, (off_t) offset, whence) == POS_ERR)
|