MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / l_start

Method l_start

block/src/fcntl.rs:129–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127
128impl LockGranularity {
129 const fn l_start(self) -> u64 {
130 match self {
131 LockGranularity::WholeFile => 0,
132 LockGranularity::ByteRange(start, _) => start,
133 }
134 }
135
136 const fn l_len(self) -> u64 {
137 match self {

Callers 1

get_flockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected