Searched refs:ths_ctx (Results 1 – 3 of 3) sorted by relevance
582 de_ctx->ths_ctx.th_entry[s->num] = new_tsh; in ThresholdHandlePacketRule()631 SCMutexLock(&de_ctx->ths_ctx.threshold_table_lock); in PacketAlertThreshold()633 SCMutexUnlock(&de_ctx->ths_ctx.threshold_table_lock); in PacketAlertThreshold()647 if (SCMutexInit(&de_ctx->ths_ctx.threshold_table_lock, NULL) != 0) { in ThresholdHashInit()711 de_ctx->ths_ctx.th_size = highest_signum + 1; in ThresholdHashAllocate()712 de_ctx->ths_ctx.th_entry = SCCalloc(de_ctx->ths_ctx.th_size, sizeof(DetectThresholdEntry *)); in ThresholdHashAllocate()713 if (de_ctx->ths_ctx.th_entry == NULL) { in ThresholdHashAllocate()718 de_ctx->ths_ctx.th_size); in ThresholdHashAllocate()730 if (de_ctx->ths_ctx.th_entry != NULL) in ThresholdContextDestroy()731 SCFree(de_ctx->ths_ctx.th_entry); in ThresholdContextDestroy()[all …]
819 ThresholdCtx ths_ctx; member
1755 FAIL_IF_NULL(de_ctx->ths_ctx.th_entry[s->num]); in SCThresholdConfTest10()