Searched refs:SDPPRF_LOG_SIZE (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c352 struct sdpprf_log sdpprf_log[SDPPRF_LOG_SIZE];
388 if (*pos >= MIN(sdpprf_log_count, SDPPRF_LOG_SIZE - 1))
391 if (sdpprf_log_count >= SDPPRF_LOG_SIZE - 1) {
392 int off = sdpprf_log_count & (SDPPRF_LOG_SIZE - 1);
393 idx = (idx + off) & (SDPPRF_LOG_SIZE - 1);
406 if (++*pos >= MIN(sdpprf_log_count, SDPPRF_LOG_SIZE - 1))
410 if (l - &sdpprf_log[0] >= SDPPRF_LOG_SIZE - 1)
H A Dsdp_dbg.h48 #define SDPPRF_LOG_SIZE 0x20000 /* must be a power of 2 */ macro
50 extern struct sdpprf_log sdpprf_log[SDPPRF_LOG_SIZE];
66 &sdpprf_log[sdpprf_log_count++ & (SDPPRF_LOG_SIZE - 1)]; \

Completed in 38 milliseconds