Lines Matching defs:refcount
173 struct kref refcount;
186 struct kref refcount;
216 struct kref refcount;
241 map = container_of(ref, struct fastrpc_map, refcount);
263 kref_put(&map->refcount, fastrpc_free_map);
271 return kref_get_unless_zero(&map->refcount) ? 0 : -ENOENT;
340 cctx = container_of(ref, struct fastrpc_channel_ctx, refcount);
347 kref_get(&cctx->refcount);
352 kref_put(&cctx->refcount, fastrpc_channel_ctx_free);
362 ctx = container_of(ref, struct fastrpc_invoke_ctx, refcount);
384 kref_get(&ctx->refcount);
389 kref_put(&ctx->refcount, fastrpc_context_free);
511 kref_init(&ctx->refcount);
667 kref_init(&map->refcount);
1660 kref_init(&data->refcount);