Searched refs:cc_refcount (Results 1 – 5 of 5) sorted by relevance
385 atomic_inc(&ctx->cc_refcount); in plain_sec_install_ctx()392 atomic_set(&ctx->cc_refcount, 1); /* for cache */ in plain_sec_install_ctx()406 atomic_inc(&ctx->cc_refcount); /* for caller */ in plain_sec_install_ctx()493 atomic_inc(&ctx->cc_refcount); in plain_lookup_ctx()508 LASSERT(atomic_read(&ctx->cc_refcount) == 0); in plain_release_ctx()
141 atomic_inc(&null_cli_ctx.cc_refcount); in null_lookup_ctx()425 atomic_set(&null_cli_ctx.cc_refcount, 1); /* for hash */ in null_init_internal()
134 LASSERT(atomic_read(&ctx->cc_refcount) == 1); in sec_process_ctx_list()
281 atomic_inc(&ctx->cc_refcount); in sptlrpc_cli_ctx_get()291 LASSERT_ATOMIC_POS(&ctx->cc_refcount); in sptlrpc_cli_ctx_put()293 if (!atomic_dec_and_test(&ctx->cc_refcount)) in sptlrpc_cli_ctx_put()1544 LASSERT_ATOMIC_POS(&ctx->cc_refcount); in sptlrpc_cli_alloc_reqbuf()1572 LASSERT_ATOMIC_POS(&ctx->cc_refcount); in sptlrpc_cli_free_reqbuf()1689 LASSERT_ATOMIC_POS(&ctx->cc_refcount); in sptlrpc_cli_free_repbuf()
507 atomic_t cc_refcount; member