Searched refs:cbAvail (Results 1 – 1 of 1) sorted by relevance
1399 size_t cbAvail = ps->current->datacount; in store_read_buffer_avail() local1404 cbAvail += STORE_BUFFER_SIZE; in store_read_buffer_avail()1410 if (cbAvail > ps->readpos) in store_read_buffer_avail()1411 return cbAvail - ps->readpos; in store_read_buffer_avail()1451 size_t cbAvail = store_read_buffer_size(ps) - ps->readpos; in store_read_imp() local1453 if (cbAvail > 0) in store_read_imp()1455 if (cbAvail > st) cbAvail = st; in store_read_imp()1456 memcpy(pb, ps->next->buffer + ps->readpos, cbAvail); in store_read_imp()1457 st -= cbAvail; in store_read_imp()1458 pb += cbAvail; in store_read_imp()[all …]