SDPPRF_LOG_SIZE
extern struct sdpprf_log sdpprf_log[SDPPRF_LOG_SIZE];
&sdpprf_log[sdpprf_log_count++ & (SDPPRF_LOG_SIZE - 1)]; \
struct sdpprf_log sdpprf_log[SDPPRF_LOG_SIZE];
if (*pos >= MIN(sdpprf_log_count, SDPPRF_LOG_SIZE - 1))
if (sdpprf_log_count >= SDPPRF_LOG_SIZE - 1) {
int off = sdpprf_log_count & (SDPPRF_LOG_SIZE - 1);
idx = (idx + off) & (SDPPRF_LOG_SIZE - 1);
if (++*pos >= MIN(sdpprf_log_count, SDPPRF_LOG_SIZE - 1))
if (l - &sdpprf_log[0] >= SDPPRF_LOG_SIZE - 1)