Searched refs:cc_flags (Results 1 – 4 of 4) sorted by relevance
495 unsigned long cc_flags; member936 return (ctx->cc_flags & PTLRPC_CTX_STATUS_MASK); in cli_ctx_status()954 return ((ctx->cc_flags & PTLRPC_CTX_UPTODATE) != 0); in cli_ctx_is_uptodate()960 return ((ctx->cc_flags & PTLRPC_CTX_ERROR) != 0); in cli_ctx_is_error()966 return ((ctx->cc_flags & (PTLRPC_CTX_DEAD | PTLRPC_CTX_ERROR)) != 0); in cli_ctx_is_dead()972 return ((ctx->cc_flags & PTLRPC_CTX_ETERNAL) != 0); in cli_ctx_is_eternal()
496 test_bit(PTLRPC_CTX_DEAD_BIT, &oldctx->cc_flags))) { in sptlrpc_req_replace_dead_ctx()502 newctx, newctx->cc_flags); in sptlrpc_req_replace_dead_ctx()622 if (unlikely(test_bit(PTLRPC_CTX_NEW_BIT, &ctx->cc_flags))) { in sptlrpc_req_refresh_ctx()626 LASSERT(test_bit(PTLRPC_CTX_NEW_BIT, &ctx->cc_flags) == 0); in sptlrpc_req_refresh_ctx()634 if (unlikely(test_bit(PTLRPC_CTX_ERROR_BIT, &ctx->cc_flags))) { in sptlrpc_req_refresh_ctx()669 if (test_bit(PTLRPC_CTX_UPTODATE_BIT, &ctx->cc_flags) && in sptlrpc_req_refresh_ctx()676 if (unlikely(test_bit(PTLRPC_CTX_DEAD_BIT, &ctx->cc_flags))) { in sptlrpc_req_refresh_ctx()
431 null_cli_ctx.cc_flags = PTLRPC_CTX_CACHED | PTLRPC_CTX_ETERNAL | in null_init_internal()
395 ctx->cc_flags = PTLRPC_CTX_CACHED | PTLRPC_CTX_UPTODATE; in plain_sec_install_ctx()