/drivers/misc/vmw_vmci/ |
H A D | vmci_resource.h | 39 struct kref kref; member in struct:vmci_resource
|
H A D | vmci_resource.c | 130 kref_init(&resource->kref); 191 kref_get(&resource->kref); 196 static void vmci_release_resource(struct kref *kref) argument 199 container_of(kref, struct vmci_resource, kref); 220 return kref_put(&resource->kref, vmci_release_resource) ?
|
H A D | vmci_context.h | 21 #include <linux/kref.h> 51 struct kref kref; member in struct:vmci_ctx
|
/drivers/misc/ibmasm/ |
H A D | command.c | 53 kref_init(&cmd->kref); 66 void ibmasm_free_command(struct kref *kref) argument 68 struct command *cmd = to_command(kref);
|
/drivers/infiniband/core/ |
H A D | iwpm_util.h | 47 #include <linux/kref.h> 69 struct kref kref; member in struct:iwpm_nlmsg_request 100 * @kref: Holds reference of netlink message request 102 void iwpm_free_nlmsg_request(struct kref *kref);
|
/drivers/scsi/ |
H A D | sr.h | 21 #include <linux/kref.h> 54 * the refs on this kref to decide when to release them */ 55 struct kref kref; member in struct:scsi_cd
|
/drivers/dma-buf/ |
H A D | fence.c | 169 void fence_release(struct kref *kref) argument 172 container_of(kref, struct fence, refcount);
|
/drivers/gpu/drm/nouveau/nvif/ |
H A D | object.c | 289 nvif_object_put(struct kref *kref) argument 292 container_of(kref, typeof(*object), refcount);
|
/drivers/media/usb/as102/ |
H A D | as102_drv.h | 62 struct kref kref; member in struct:as102_dev_t
|
H A D | as102_usb_drv.c | 312 static void as102_usb_release(struct kref *kref) argument 316 as102_dev = container_of(kref, struct as102_dev_t, kref); 342 kref_put(&as102_dev->kref, as102_usb_release); 384 kref_init(&as102_dev->kref); 456 kref_get(&dev->kref); 469 kref_put(&dev->kref, as102_usb_release);
|
/drivers/tty/ |
H A D | tty_port.c | 32 kref_init(&port->kref); 139 static void tty_port_destructor(struct kref *kref) argument 141 struct tty_port *port = container_of(kref, struct tty_port, kref); 158 kref_put(&port->kref, tty_port_destructor);
|
/drivers/usb/core/ |
H A D | file.c | 57 struct kref kref; member in struct:usb_class 76 kref_get(&usb_class->kref); 86 kref_init(&usb_class->kref); 101 static void release_usb_class(struct kref *kref) argument 112 kref_put(&usb_class->kref, release_usb_class);
|
/drivers/watchdog/ |
H A D | da9052_wdt.c | 34 struct kref kref; member in struct:da9052_wdt_data 54 static void da9052_wdt_release_resources(struct kref *r) 111 kref_get(&driver_data->kref); 118 kref_put(&driver_data->kref, da9052_wdt_release_resources); 200 kref_init(&driver_data->kref); 227 kref_put(&driver_data->kref, da9052_wdt_release_resources);
|
H A D | da9055_wdt.c | 38 struct kref kref; member in struct:da9055_wdt_data 102 static void da9055_wdt_release_resources(struct kref *r) 110 kref_get(&driver_data->kref); 117 kref_put(&driver_data->kref, da9055_wdt_release_resources); 167 kref_init(&driver_data->kref); 191 kref_put(&driver_data->kref, da9055_wdt_release_resources);
|
/drivers/gpu/drm/ |
H A D | drm_gem.c | 757 * @kref: kref of the object to free 765 drm_gem_object_free(struct kref *kref) argument 767 struct drm_gem_object *obj = (struct drm_gem_object *) kref;
|
/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi.c | 57 void hdmi_destroy(struct kref *kref) argument 59 struct hdmi *hdmi = container_of(kref, struct hdmi, refcount);
|
/drivers/gpu/drm/nouveau/core/subdev/vm/ |
H A D | base.c | 450 nouveau_vm_del(struct kref *kref) argument 452 struct nouveau_vm *vm = container_of(kref, typeof(*vm), refcount);
|
/drivers/gpu/host1x/ |
H A D | intr.c | 38 static void waiter_release(struct kref *kref) argument 40 kfree(container_of(kref, struct host1x_waitlist, refcount));
|
/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_main.c | 429 static void usnic_ib_undiscover_pf(struct kref *kref) argument 435 dev = container_of(kref, struct usnic_ib_dev, vf_cnt)->pdev;
|
/drivers/input/serio/ |
H A D | serio_raw.c | 12 #include <linux/kref.h> 36 struct kref kref; member in struct:serio_raw 107 kref_get(&serio_raw->kref); 118 static void serio_raw_free(struct kref *kref) argument 121 container_of(kref, struct serio_raw, kref); 138 kref_put(&serio_raw->kref, serio_raw_free); 307 kref_init(&serio_raw->kref); [all...] |
/drivers/macintosh/ |
H A D | windfarm_core.c | 151 static void wf_control_release(struct kref *kref) argument 153 struct wf_control *ct = container_of(kref, struct wf_control, ref); 299 static void wf_sensor_release(struct kref *kref) argument 301 struct wf_sensor *sr = container_of(kref, struct wf_sensor, ref);
|
/drivers/media/usb/tlg2300/ |
H A D | pd-main.c | 32 #include <linux/kref.h> 190 void poseidon_delete(struct kref *kref) argument 192 struct poseidon *pd = container_of(kref, struct poseidon, kref); 422 kref_init(&pd->kref); 513 kref_put(&pd->kref, poseidon_delete);
|
/drivers/mtd/ |
H A D | mtd_blkdevs.c | 41 static void blktrans_dev_release(struct kref *kref) argument 44 container_of(kref, struct mtd_blktrans_dev, ref);
|
/drivers/scsi/device_handler/ |
H A D | scsi_dh.c | 107 kref_get(&sdev->scsi_dh_data->kref); 111 kref_init(&sdev->scsi_dh_data->kref); 118 static void __detach_handler (struct kref *kref) argument 120 struct scsi_dh_data *scsi_dh_data = container_of(kref, struct scsi_dh_data, kref); 145 kref_put(&sdev->scsi_dh_data->kref, __detach_handler);
|
/drivers/scsi/isci/ |
H A D | remote_device.h | 59 #include <linux/kref.h> 92 struct kref kref; member in struct:isci_remote_device 116 kref_get(&idev->kref); 125 kref_get(&idev->kref); 132 void isci_remote_device_release(struct kref *kref); 136 kref_put(&idev->kref, isci_remote_device_release);
|