MCPcopy Create free account
hub / github.com/f9micro/f9-kernel / fp_size_log2

Function fp_size_log2

kernel/fpage.c:55–68  ·  view source on GitHub ↗

* Compute floor(log2(size)) - the position of the highest set bit. * Returns the largest shift such that (1 << shift) <= size. * Used to determine the largest power-of-2 fpage that fits within size. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

create_fpage_chainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected