Searched defs:curoff (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfseek.c86 off_t target, curoff; local
150 curoff = fp->f_lseekoff;
153 curoff = (*seekfn)(fp, (off_t) 0, SM_IO_SEEK_CUR);
154 if (curoff == -1L)
162 curoff -= fp->f_r;
164 curoff -= fp->f_ur;
167 curoff += fp->f_p - fp->f_bf.smb_base;
169 offset += curoff;
177 curoff = 0; /* XXX just to keep gcc quiet */
229 curoff
[all...]
/illumos-gate/usr/src/cmd/tail/
H A Dreverse.c102 off_t curoff, size, lineend; local
114 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
116 curoff = size - 2;
118 while (curoff >= 0) {
119 if (curoff < map.mapoff ||
120 curoff >= map.mapoff + (off_t)map.maplen) {
121 if (maparound(&map, curoff) != 0) {
126 for (i = curoff - map.mapoff; i >= 0; i--) {
133 curoff = map.mapoff + i;
138 if (mapprint(&map, curoff
[all...]
H A Dforward.c194 off_t curoff, size; local
205 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
207 curoff = size - 2;
208 while (curoff >= 0) {
209 if (curoff < map.mapoff && maparound(&map, curoff) != 0) {
213 for (i = curoff - map.mapoff; i >= 0; i--)
217 curoff = map.mapoff + i;
221 curoff++;
222 if (mapprint(&map, curoff, siz
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dlseek.c84 offset_t curoff, newoff; local
90 curoff = fp->f_offset;
102 if (reg && off > (max - curoff)) {
106 noff = (u_offset_t)(off + curoff);
196 if ((error = VOP_SEEK(vp, curoff, &newoff, NULL)) == 0) {
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_overflow.c92 u_int32_t curoff, needed, start; local
133 for (curoff = 0, p = dbt->data; pgno != P_INVALID && needed > 0;) {
139 if (curoff + OV_LEN(h) >= start) {
142 if (start > curoff) {
143 src += start - curoff;
144 bytes -= start - curoff;
152 curoff += OV_LEN(h);
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c463 off_t curoff = ftello(fp); local
494 (void) fseek(fp, curoff, SEEK_SET);
/illumos-gate/usr/src/cmd/du/
H A Ddu.c286 off_t curoff = 0; local
480 curoff = telldir(dirp);
498 seekdir(dirp, curoff);
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c742 off_t curoff, cursize; local
855 curoff = lseek(mbfd, (off_t)0, SEEK_END);
856 (void) snprintf(biffmsg, sizeof (biffmsg), "%s@%ld\n", name, curoff);
928 (void)ftruncate(mbfd, curoff);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c5108 off_t curoff; local
5563 curoff = stb.st_size;
5610 curoff); local
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_sp.c1081 sp_ext_offset_t curoff = 0LL; local
1084 if (curoff < ext->ext_offset)
1086 curoff, ext->ext_offset - curoff,
1088 curoff = ext->ext_offset + ext->ext_length;
1092 if (curoff < size)
1093 meta_sp_list_insert(NULL, NULL, head, curoff, size - curoff,
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c3622 offset_t curoff, curioff; local
4028 curoff = 0LL;
4030 if (ip->di_size <= curoff)
4039 curoff += fs->fs_bsize;
4048 * to curoff each time to get the
4054 if (ip->di_size <= curoff)
4059 curoff += curioff;

Completed in 102 milliseconds