Lines Matching refs:kref
42 struct kref kref; member
86 struct kref kref; member
124 kref_init(&ipmi_device->kref); in ipmi_dev_alloc()
151 static void ipmi_dev_release_kref(struct kref *kref) in ipmi_dev_release_kref() argument
154 container_of(kref, struct acpi_ipmi_device, kref); in ipmi_dev_release_kref()
179 kref_get(&ipmi_device->kref); in acpi_ipmi_dev_get()
188 kref_put(&ipmi_device->kref, ipmi_dev_release_kref); in acpi_ipmi_dev_put()
206 kref_init(&ipmi_msg->kref); in ipmi_msg_alloc()
221 static void ipmi_msg_release_kref(struct kref *kref) in ipmi_msg_release_kref() argument
224 container_of(kref, struct acpi_ipmi_msg, kref); in ipmi_msg_release_kref()
231 kref_get(&tx_msg->kref); in acpi_ipmi_msg_get()
238 kref_put(&tx_msg->kref, ipmi_msg_release_kref); in acpi_ipmi_msg_put()