Lines Matching refs:ref_count
240 kref_get_unless_zero(&service->ref_count)) {
259 kref_get_unless_zero(&service->ref_count)) {
280 kref_get_unless_zero(&service->ref_count)) {
302 kref_get_unless_zero(&service->ref_count)) {
348 if (kref_get_unless_zero(&service->ref_count)) {
364 kref_get(&service->ref_count);
370 container_of(kref, struct vchiq_service, ref_count);
387 kref_put(&service->ref_count, service_release);
592 kref_get_unless_zero(&service->ref_count)) {
615 kref_get_unless_zero(&service->ref_count)) {
2350 kref_init(&service->ref_count);
2452 /* Don't unlock the service - leave it with a ref_count of 1. */
2490 kref_read(&service->ref_count));
3399 unsigned int ref_count;
3402 ref_count = kref_read(&service->ref_count) - 1;
3404 srvstate_names[service->srvstate], ref_count);