Lines Matching refs:hist
124 mutex_lock(&ctx->hist.seq_arr_lock);
125 ctx->hist.seqno = seqno;
126 mutex_unlock(&ctx->hist.seq_arr_lock);
145 *(OM_uint32 *)argp = ctx->hist.seqno;
177 fprintf(stderr, "%u: ", ctx->hist.seqno);
180 fprintf(stderr, "%016.16llx", rev(ctx->hist.arr[i]));
371 mutex_lock(&ctx->hist.seq_arr_lock);
377 n = seqno - ctx->hist.seqno;
392 else if (check_bit(&ctx->hist, n))
396 set_bit(&ctx->hist, n);
404 shift_bits(&ctx->hist, n);
407 ctx->hist.seqno = seqno;
410 set_bit(&ctx->hist, 0);
422 mutex_unlock(&ctx->hist.seq_arr_lock);
453 mutex_init(&ctx->hist.seq_arr_lock, USYNC_THREAD, 0);
454 ctx->hist.seqno = 0;
455 clear_all_bits(&ctx->hist);
466 mutex_destroy(&ctx->hist.seq_arr_lock);