MCPcopy Create free account
hub / github.com/asterinas/vostd / alloc

Method alloc

kernel/comps/block/src/bio.rs:397–399  ·  view source on GitHub ↗

Allocates a new `BioSegment` with the wanted blocks count and the bio direction.

(nblocks: usize, direction: BioDirection)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

request_device_idMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
flushMethod · 0.45
alloc_innerMethod · 0.45

Calls 5

newFunction · 0.85
mapMethod · 0.80
lockMethod · 0.45
iterMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected