Lines Matching refs:aa
1146 struct auto_active *aa = container_of(ref, typeof(*aa), base); in i915_active_get() local
1148 kref_get(&aa->ref); in i915_active_get()
1149 return &aa->base; in i915_active_get()
1154 struct auto_active *aa = container_of(ref, typeof(*aa), ref); in auto_release() local
1156 i915_active_fini(&aa->base); in auto_release()
1157 kfree(aa); in auto_release()
1162 struct auto_active *aa = container_of(ref, typeof(*aa), base); in i915_active_put() local
1164 kref_put(&aa->ref, auto_release); in i915_active_put()
1180 struct auto_active *aa; in i915_active_create() local
1182 aa = kmalloc(sizeof(*aa), GFP_KERNEL); in i915_active_create()
1183 if (!aa) in i915_active_create()
1186 kref_init(&aa->ref); in i915_active_create()
1187 i915_active_init(&aa->base, auto_active, auto_retire, 0); in i915_active_create()
1189 return &aa->base; in i915_active_create()