Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 813) sorted by relevance

12345678910>>...33

/titanic_44/usr/src/cmd/tail/
H A Dextern.h46 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 Dmisc.c64 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()
/titanic_44/usr/src/stand/sys/
H A Dbootvfs.h59 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);
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_logfile.h44 off_t i_paoff; /* offset of mmap section */
45 off_t i_paend; /* end offset of mmap section */
51 off_t i_size; /* file size */
60 off_t i_cur_offset; /* offset to log entry */
72 int logfile_domap(cfsd_logfile_object_t *logfile_object_p, off_t off, int map);
74 off_t start, int map);
82 int logfile_entry(cfsd_logfile_object_t *logfile_object_p, off_t offset,
86 int logfile_offset(cfsd_logfile_object_t *logfile_object_p, off_t offset,
/titanic_44/usr/src/lib/libast/amd64/include/ast/
H A Dast_fcntl.h89 #undef off_t
91 #define off_t off_t macro
98 #undef off_t
100 #define off_t off_t macro
113 #undef off_t
114 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/common/port/
H A Dastcopy.c50 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()
/titanic_44/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_fcntl.h68 #undef off_t
70 #define off_t off_t macro
77 #undef off_t
79 #define off_t off_t macro
92 #undef off_t
93 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/i386/include/ast/
H A Dast_fcntl.h89 #undef off_t
91 #define off_t off_t macro
98 #undef off_t
100 #define off_t off_t macro
113 #undef off_t
114 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_fcntl.h89 #undef off_t
91 #define off_t off_t macro
98 #undef off_t
100 #define off_t off_t macro
113 #undef off_t
114 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_fcntl.h68 #undef off_t
70 #define off_t off_t macro
77 #undef off_t
79 #define off_t off_t macro
92 #undef off_t
93 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_fcntl.h68 #undef off_t
70 #define off_t off_t macro
77 #undef off_t
79 #define off_t off_t macro
92 #undef off_t
93 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/sparc/include/ast/
H A Dast_fcntl.h89 #undef off_t
91 #define off_t off_t macro
98 #undef off_t
100 #define off_t off_t macro
113 #undef off_t
114 #define off_t off64_t macro
/titanic_44/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_fcntl.h68 #undef off_t
70 #define off_t off_t macro
77 #undef off_t
79 #define off_t off_t macro
92 #undef off_t
93 #define off_t off64_t macro
/titanic_44/usr/src/uts/common/sys/fs/
H A Dufs_log.h322 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 */
563 extern int ldl_read(ml_unit_t *, caddr_t, offset_t, off_t,
565 extern void ldl_sethead(ml_unit_t *, off_t, uint32_t);
566 extern void ldl_settail(ml_unit_t *, off_t, size_t);
[all …]
H A Dcachefs_dlog.h101 off_t ms_fid; /* offset to fid */
102 off_t ms_times; /* offset to timestamps */
285 int cachefs_dlog_commit(fscache_t *fscp, off_t offset, int error);
287 off_t cachefs_dlog_setattr(fscache_t *fscp, struct vattr *vap, int flags,
289 off_t
292 off_t cachefs_dlog_create(fscache_t *fscp, cnode_t *pcp, char *nm,
294 off_t cachefs_dlog_remove(fscache_t *fscp, cnode_t *pcp, char *nm, cnode_t *cp,
296 off_t cachefs_dlog_link(fscache_t *fscp, cnode_t *pcp, char *nm, cnode_t *cp,
298 off_t cachefs_dlog_rename(fscache_t *fscp, cnode_t *odcp, char *onm,
300 off_t cachefs_dlog_mkdir(fscache_t *fscp, cnode_t *pcp, cnode_t *cp, char *nm,
[all …]
/titanic_44/usr/src/cmd/pg/
H A Dpg.c93 static off_t getaline(FILE *);
95 static off_t find(int, off_t);
96 static int search(char *, off_t);
109 off_t l_addr; /* file offset */
110 off_t l_no; /* line number in file */
161 static off_t nchars; /* return from getaline in find() */
170 off_t first_line;
171 off_t last_line;
182 static off_t eofl_no; /* what the last line of the file is */
399 off_t start;
[all …]
/titanic_44/usr/src/lib/librsm/inc/
H A Drsmapi.h178 off_t offset,
182 off_t offset,
186 off_t offset,
190 off_t offset,
194 off_t offset,
206 off_t offset,
210 off_t offset,
214 off_t offset,
218 off_t offset,
222 off_t offset,
[all …]
H A Drsmndi.h95 off_t offset,
101 off_t offset,
107 off_t offset,
113 off_t offset,
119 off_t offset,
128 off_t offset,
134 off_t offset,
140 off_t offset,
146 off_t offset,
152 off_t offset,
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dprogressmeter.c56 static void format_size(char *, int, off_t);
57 static void format_rate(char *, int, off_t);
72 static off_t end_pos; /* ending position of transfer */
73 static off_t cur_pos; /* transfer position as of last refresh */
74 static volatile off_t *counter; /* progress counter */
90 format_rate(char *buf, int size, off_t bytes) in format_rate()
109 format_size(char *buf, int size, off_t bytes) in format_size()
126 off_t transferred; in refresh_progress_meter()
129 off_t bytes_left; in refresh_progress_meter()
191 (off_t)bytes_per_second); in refresh_progress_meter()
[all …]
/titanic_44/usr/src/cmd/logadm/
H A Dopts.c55 static off_t opts_parse_ctime(const char *o, const char *optarg);
56 static off_t opts_parse_bytes(const char *o, const char *optarg);
57 static off_t opts_parse_atopi(const char *o, const char *optarg);
58 static off_t opts_parse_seconds(const char *o, const char *optarg);
218 off_t *rval; in opts_set()
221 rval = MALLOC(sizeof (off_t)); in opts_set()
269 off_t
272 off_t *ret; in opts_optarg_int()
274 ret = (off_t *)lut_lookup(opts->op_ints, o); in opts_optarg_int()
319 static off_t
[all …]
/titanic_44/usr/src/lib/libsqlite/src/
H A Dos.h134 typedef __int64 off_t; typedef
137 typedef long long off_t; typedef
159 typedef SInt64 off_t; typedef
161 typedef SInt32 off_t; typedef
178 int sqliteOsSeek(OsFile*, off_t offset);
180 int sqliteOsTruncate(OsFile*, off_t size);
181 int sqliteOsFileSize(OsFile*, off_t *pSize);
/titanic_44/usr/src/lib/libdscfg/common/
H A Dcfg_lockdlck.c41 #define segment_off(s) ((off_t)(s) * sizeof (pid_t))
59 off_t off = segment_off(segment); in cfg_filelock()
73 lk.l_len = (off_t)sizeof (pid_t); in cfg_filelock()
88 off_t off = segment_off(segment); in cfg_fileunlock()
94 lk.l_len = (off_t)sizeof (pid_t); in cfg_fileunlock()
104 off_t off = segment_off(segment); in cfg_readpid()
112 off_t off = segment_off(segment); in cfg_writepid()
/titanic_44/usr/src/cmd/acct/
H A Dwtmpfix.c93 static off_t recin;
99 off_t d_off1; /* file offset start */
100 off_t d_off2; /* file offset stop */
113 static void mkdtab(off_t);
114 static void setdtab(off_t, struct futmpx *, struct futmpx *);
115 static void adjust(off_t, struct futmpx *);
128 off_t rectmpin; in main()
185 if (fseeko(Temp, (off_t)0L, SEEK_SET) != 0) { in main()
236 mkdtab(off_t p) in mkdtab()
254 setdtab(off_t p, struct futmpx *w1, struct futmpx *w2) in setdtab()
[all …]
/titanic_44/usr/src/uts/intel/sys/
H A Dbootvfs.h56 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);
/titanic_44/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dfcntl68 #undef off_t
70 #define off_t off_t
77 #undef off_t
79 #define off_t off_t
92 #undef off_t
93 #define off_t off64_t

12345678910>>...33