Home
last modified time | relevance | path

Searched refs:cc_refcount (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec_plain.c385 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()
Dsec_null.c141 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()
Dsec_gc.c134 LASSERT(atomic_read(&ctx->cc_refcount) == 1); in sec_process_ctx_list()
Dsec.c281 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()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_sec.h507 atomic_t cc_refcount; member