Lines Matching defs:hardseek
61 int mode, local, hardseek, mustsync;
68 hardseek = (type|f->flags)&(SF_SHARE|SF_PUBLIC);
70 if(hardseek && f->mode == (SF_READ|SF_SYNCED) )
79 if(hardseek&SF_PUBLIC) /* seek ptr must follow file descriptor */
82 if(hardseek&SF_PUBLIC)
146 if(!hardseek && type < SEEK_END && !(f->flags&SF_APPENDWR) )
162 { if((hardseek&SF_PUBLIC) || type == SEEK_END)
166 p = (hardseek || r != f->here) ? SFSK(f,r,SEEK_SET,f->disc) : r;
178 { if((hardseek || (type == SEEK_CUR && p == 0)) )
180 (s >= 0 && !(hardseek&SF_PUBLIC) &&
189 hardseek = 0;
210 hardseek = 1; /* this forces a hard seek below */
214 { /* for mmap, f->here can be virtual except for hardseek */
216 if(!hardseek)
249 if((hardseek || r != f->here) && (f->here = SFSK(f,r,SEEK_SET,f->disc)) != r)