dm-latency: make non-api library function to be static

This commit makes all non-api library functions to be static.