Searched defs:bytesRead (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfat.c74 ssize_t bytesRead; local
93 if ((bytesRead = read(fd, TheFAT, FATSize)) != FATSize) {
95 if (bytesRead < 0) {
H A Ddir.c933 ssize_t bytesRead; local
954 if ((bytesRead = read(fd, TheRootDir.bytes, RootDirSize)) !=
957 if (bytesRead < 0) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Druncmd.c425 ssize_t bytesRead; local
429 bytesRead = read(ipipe[0], buffer + bufferIndex,
434 if (bytesRead == 0) {
440 if (bytesRead == -1) {
459 bufferIndex += bytesRead;
/illumos-gate/usr/src/cmd/lms/
H A DLMEConnectionCompat.cpp216 unsigned int bytesRead; local
224 bytesRead = (unsigned int)_receiveMessage(rxBuffer, _heciCompat.GetBufferSize());
226 if ((int)bytesRead < 0) {
232 if (bytesRead == 0) {
237 PRINT("[Compat]Received from LME %d bytes (msg type %02d)\n", bytesRead, rxBuffer[0]);
239 if (bytesRead < 2) {
244 if (plugin.preprocess(rxBuffer, bytesRead) == LMS_DROPPED) {
256 _cb(_cbParam, rxBuffer, bytesRead, &status);
280 _cb(_cbParam, rxBuffer, bytesRead, &status);
283 if (plugin.retry(rxBuffer, bytesRead)
[all...]
H A DLMEConnection.cpp515 bool LMEConnection::_checkMinMsgSize(unsigned char *buf, unsigned int bytesRead) argument
519 if (bytesRead < sizeof(APF_DISCONNECT_MESSAGE)) {
524 if (bytesRead < sizeof(APF_SERVICE_REQUEST)) {
527 if (bytesRead < (sizeof(APF_SERVICE_REQUEST) +
533 if (bytesRead < (3 * sizeof(UINT32))) {
538 if (bytesRead < (sizeof(APF_GENERIC_HEADER) + sizeof(UINT8))) {
541 if (bytesRead < (sizeof(APF_GENERIC_HEADER) + sizeof(UINT8) +
547 if (bytesRead < sizeof(APF_GENERIC_HEADER)) {
550 if (bytesRead < (sizeof(APF_GENERIC_HEADER) +
556 if (bytesRead < sizeo
597 unsigned int bytesRead; local
756 _apfChannelOpen(unsigned char *rxBuffer, unsigned int bytesRead, int *status) argument
779 _apfChannelOpenDirect(unsigned char *rxBuffer, unsigned int bytesRead, UINT32 *senderChannel, int *status) argument
816 _apfGlobalRequest(unsigned char *rxBuffer, unsigned int bytesRead, int *status) argument
956 _apfUserAuthRequest(unsigned char *rxBuffer, unsigned int bytesRead, int *status) argument
[all...]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c274 ssize_t bytesRead; local
278 bytesRead = read(ipipe[0], buffer + bufferIndex,
283 if (bytesRead == 0) {
289 if (bytesRead == -1) {
308 bufferIndex += bytesRead;
915 ssize_t bytesRead; local
919 bytesRead = read(ipipe[0], buffer + bufferIndex,
924 if (bytesRead == 0) {
930 if (bytesRead == -1) {
949 bufferIndex += bytesRead;
[all...]

Completed in 67 milliseconds