Searched refs:fmo_pos (Results 1 – 1 of 1) sorted by relevance
55 size_t fmo_pos; member69 nbytes = MIN(nbytes, fmp->fmo_lsize - fmp->fmo_pos); in fmemopen_read()75 fmp->fmo_pos += nbytes; in fmemopen_read()92 fmp->fmo_pos = fmp->fmo_lsize; in fmemopen_write()102 npos = fmp->fmo_pos + nbytes; in fmemopen_write()107 nbytes = fmp->fmo_alloc - fmp->fmo_pos; in fmemopen_write()110 (void) memcpy(&fmp->fmo_buf[fmp->fmo_pos], buf, nbytes); in fmemopen_write()111 fmp->fmo_pos += nbytes; in fmemopen_write()113 if (fmp->fmo_pos > fmp->fmo_lsize) { in fmemopen_write()114 fmp->fmo_lsize = fmp->fmo_pos; in fmemopen_write()[all …]