Lines Matching defs:hash
122 long hash;
138 for (hash = 0; hash < CPC_HASH_BUCKETS; hash++)
139 mutex_init(&kcpc_ctx_llock[hash],
814 long hash;
820 hash = CPC_HASH_CTX(ctx);
821 mutex_enter(&kcpc_ctx_llock[hash]);
822 ctx->kc_next = kcpc_ctx_list[hash];
823 kcpc_ctx_list[hash] = ctx;
824 mutex_exit(&kcpc_ctx_llock[hash]);
896 long hash = CPC_HASH_CTX(ctx);
898 mutex_enter(&kcpc_ctx_llock[hash]);
899 loc = &kcpc_ctx_list[hash];
904 mutex_exit(&kcpc_ctx_llock[hash]);
1579 long hash;
1581 for (hash = 0; hash < CPC_HASH_BUCKETS; hash++) {
1582 mutex_enter(&kcpc_ctx_llock[hash]);
1583 for (ctx = kcpc_ctx_list[hash]; ctx; ctx = ctx->kc_next)
1585 mutex_exit(&kcpc_ctx_llock[hash]);