Provides needed information to align a buffer with a processor cache line.
Kernel Extension Runtime Routines Library (libsys.a)
int d_align()
To maintain cache consistency with system memory, buffers must be aligned. The d_align kernel service helps provide that function by returning the maximum processor cache-line size. The cache-line size is returned in log2 form.
The d_align service can be called from either the process or interrupt environment.
The d_align kernel service is part of Base Operating System (BOS) Runtime.
The d_cflush kernel service, d_clear kernel service, d_roundup kernel service.
Understanding Direct Memory Access (DMA) Transfer in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.