Searched refs:SDPPRF_LOG_SIZE (Results 1 – 2 of 2) sorted by relevance
352 struct sdpprf_log sdpprf_log[SDPPRF_LOG_SIZE];388 if (*pos >= MIN(sdpprf_log_count, SDPPRF_LOG_SIZE - 1)) in sdpprf_start()391 if (sdpprf_log_count >= SDPPRF_LOG_SIZE - 1) { in sdpprf_start()392 int off = sdpprf_log_count & (SDPPRF_LOG_SIZE - 1); in sdpprf_start()393 idx = (idx + off) & (SDPPRF_LOG_SIZE - 1); in sdpprf_start()406 if (++*pos >= MIN(sdpprf_log_count, SDPPRF_LOG_SIZE - 1)) in sdpprf_next()410 if (l - &sdpprf_log[0] >= SDPPRF_LOG_SIZE - 1) in sdpprf_next()
48 #define SDPPRF_LOG_SIZE 0x20000 /* must be a power of 2 */ macro50 extern struct sdpprf_log sdpprf_log[SDPPRF_LOG_SIZE];66 &sdpprf_log[sdpprf_log_count++ & (SDPPRF_LOG_SIZE - 1)]; \