ring: fix namespace prefix of inline functions