MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ilog2

Function ilog2

freebsd/arm64/iommu/smmu.c:300–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300static inline int
301ilog2(long x)
302{
303
304 KASSERT(x > 0 && powerof2(x), ("%s: invalid arg %ld", __func__, x));
305
306 return (flsl(x) - 1);
307}
308
309static int
310smmu_init_queue(struct smmu_softc *sc, struct smmu_queue *q,

Callers 2

smmu_init_strtab_2lvlFunction · 0.70
smmu_init_l1_entryFunction · 0.70

Calls 1

flslFunction · 0.50

Tested by

no test coverage detected