MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / ModeSelect10

Method ModeSelect10

cpp/devices/mode_page_device.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void ModePageDevice::ModeSelect10() const
129{
130 const auto length = min(GetController()->GetBuffer().size(), static_cast<size_t>(GetInt16(GetController()->GetCmd(), 7)));
131
132 SaveParametersCheck(static_cast<uint32_t>(length));
133}
134
135void ModePageDevice::SaveParametersCheck(int length) const
136{

Callers

nothing calls this directly

Calls 2

GetCmdMethod · 0.80
GetInt16Function · 0.70

Tested by

no test coverage detected