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

Function alignment_bounce

freebsd/arm64/arm64/busdma_bounce.c:197–202  ·  view source on GitHub ↗

* Return true if the given address does not fall on the alignment boundary. */

Source from the content-addressed store, hash-verified

195 * Return true if the given address does not fall on the alignment boundary.
196 */
197static bool
198alignment_bounce(bus_dma_tag_t dmat, bus_addr_t addr)
199{
200
201 return ((addr & (dmat->common.alignment - 1)) != 0);
202}
203
204static bool
205might_bounce(bus_dma_tag_t dmat, bus_dmamap_t map, bus_addr_t paddr,

Callers 2

might_bounceFunction · 0.70
must_bounceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected