Searched refs:bytesAvailable (Results 1 – 1 of 1) sorted by relevance
715 const unsigned char *buf, int bytesAvailable) in pc_write() argument871 bytesAvailable = MIN(dataLen, bytesAvailable); in pc_write()878 if (bytesAvailable) in pc_write()882 if (verify_area(VERIFY_READ, (char*)buf, bytesAvailable)) in pc_write()883 bytesAvailable = 0; /* Can't do; try again later */ in pc_write()908 bytesAvailable)) in pc_write()967 bytesAvailable = MIN(remain, bytesAvailable); in pc_write()970 while (bytesAvailable > 0) in pc_write()978 dataLen = MIN(bytesAvailable, dataLen); in pc_write()983 bytesAvailable -= dataLen; in pc_write()[all …]