Lines Matching refs:dataLen
719 register int dataLen; in pc_write() local
861 dataLen = (head >= tail) ? (size - (head - tail) - 1) : (tail - head - 1); in pc_write()
871 bytesAvailable = MIN(dataLen, bytesAvailable); in pc_write()
950 dataLen = size - head; in pc_write()
958 dataLen = remain; in pc_write()
978 dataLen = MIN(bytesAvailable, dataLen); in pc_write()
979 memcpy(ch->txptr + head, buf, dataLen); in pc_write()
980 buf += dataLen; in pc_write()
981 head += dataLen; in pc_write()
982 amountCopied += dataLen; in pc_write()
983 bytesAvailable -= dataLen; in pc_write()
988 dataLen = tail; in pc_write()