Lines Matching refs:Length
4213 int TargetID, Length; in BusLogic_ProcDirectoryInfo() local
4235 Length = HostAdapter->MessageBufferLength; in BusLogic_ProcDirectoryInfo()
4236 Length += sprintf(&Buffer[Length], "\n\ in BusLogic_ProcDirectoryInfo()
4241 Length += sprintf(&Buffer[Length], "\n\n\ in BusLogic_ProcDirectoryInfo()
4250 Length += in BusLogic_ProcDirectoryInfo()
4251 sprintf(&Buffer[Length], " %2d %s", TargetID, in BusLogic_ProcDirectoryInfo()
4258 Length += sprintf(&Buffer[Length], in BusLogic_ProcDirectoryInfo()
4265 Length += sprintf(&Buffer[Length], "\n\ in BusLogic_ProcDirectoryInfo()
4272 Length += in BusLogic_ProcDirectoryInfo()
4273 sprintf(&Buffer[Length], " %2d %9u %9u", TargetID, in BusLogic_ProcDirectoryInfo()
4277 Length += in BusLogic_ProcDirectoryInfo()
4278 sprintf(&Buffer[Length], " %9u%09u", in BusLogic_ProcDirectoryInfo()
4282 Length += in BusLogic_ProcDirectoryInfo()
4283 sprintf(&Buffer[Length], " %9u", in BusLogic_ProcDirectoryInfo()
4286 Length += in BusLogic_ProcDirectoryInfo()
4287 sprintf(&Buffer[Length], " %9u%09u\n", in BusLogic_ProcDirectoryInfo()
4291 Length += in BusLogic_ProcDirectoryInfo()
4292 sprintf(&Buffer[Length], " %9u\n", in BusLogic_ProcDirectoryInfo()
4295 Length += sprintf(&Buffer[Length], "\n\ in BusLogic_ProcDirectoryInfo()
4302 Length += in BusLogic_ProcDirectoryInfo()
4303 sprintf(&Buffer[Length], in BusLogic_ProcDirectoryInfo()
4310 Length += in BusLogic_ProcDirectoryInfo()
4311 sprintf(&Buffer[Length], in BusLogic_ProcDirectoryInfo()
4319 Length += sprintf(&Buffer[Length], "\n\ in BusLogic_ProcDirectoryInfo()
4326 Length += in BusLogic_ProcDirectoryInfo()
4327 sprintf(&Buffer[Length], in BusLogic_ProcDirectoryInfo()
4334 Length += in BusLogic_ProcDirectoryInfo()
4335 sprintf(&Buffer[Length], in BusLogic_ProcDirectoryInfo()
4343 Length += sprintf(&Buffer[Length], "\n\n\ in BusLogic_ProcDirectoryInfo()
4354 Length += in BusLogic_ProcDirectoryInfo()
4355 sprintf(&Buffer[Length], "\ in BusLogic_ProcDirectoryInfo()
4367 Length += sprintf(&Buffer[Length], "\nExternal Host Adapter Resets: %d\n", in BusLogic_ProcDirectoryInfo()
4369 Length += sprintf(&Buffer[Length], "Host Adapter Internal Errors: %d\n", in BusLogic_ProcDirectoryInfo()
4371 if (Length >= BusLogic_MessageBufferSize) in BusLogic_ProcDirectoryInfo()
4373 HostAdapter, Length, BusLogic_MessageBufferSize); in BusLogic_ProcDirectoryInfo()
4374 if ((Length -= Offset) <= 0) return 0; in BusLogic_ProcDirectoryInfo()
4375 if (Length >= BytesAvailable) Length = BytesAvailable; in BusLogic_ProcDirectoryInfo()
4376 memcpy(ProcBuffer, HostAdapter->MessageBuffer + Offset, Length); in BusLogic_ProcDirectoryInfo()
4378 return Length; in BusLogic_ProcDirectoryInfo()
4394 int Length = 0; in BusLogic_Message() local
4396 Length = vsprintf(Buffer, Format, Arguments); in BusLogic_Message()
4403 HostAdapter->MessageBufferLength += Length; in BusLogic_Message()
4411 HostAdapter->MessageBufferLength += Length; in BusLogic_Message()
4414 if (Buffer[0] != '\n' || Length > 1) in BusLogic_Message()
4431 BeginningOfLine = (Buffer[Length-1] == '\n'); in BusLogic_Message()