Lines Matching refs:refcount
33 container_of(ref, struct hl_cs_encaps_sig_handle, refcount);
41 container_of(ref, struct hl_cs_encaps_sig_handle, refcount);
49 container_of(ref, struct hl_cs_encaps_sig_handle, refcount);
75 kref_put(&handle->refcount, hl_encaps_release_handle_and_put_sob);
135 ctx = container_of(ref, struct hl_ctx, refcount);
207 kref_init(&ctx->refcount);
296 return kref_get_unless_zero(&ctx->refcount);
301 kref_get(&ctx->refcount);
306 return kref_put(&ctx->refcount, hl_ctx_do_release);
446 kref_put(&ctx->refcount, hl_ctx_do_release);