Searched refs:dataLen (Results 1 – 2 of 2) sorted by relevance
719 register int dataLen; in pc_write() local861 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()[all …]
1012 int flip,dataLen; in keyspan_write_room() local1020 dataLen = 64; in keyspan_write_room()1021 else dataLen = 63; in keyspan_write_room()1028 return (dataLen); in keyspan_write_room()1032 return (dataLen); in keyspan_write_room()