/drivers/scsi/ |
H A D | sr.h | 21 #include <linux/kref.h> 53 * the refs on this kref to decide when to release them */ 54 struct kref kref; member in struct:scsi_cd
|
H A D | st.h | 7 #include <linux/kref.h> 169 struct kref kref; member in struct:scsi_tape
|
/drivers/scsi/isci/ |
H A D | remote_device.h | 59 #include <linux/kref.h> 90 struct kref kref; member in struct:isci_remote_device 115 kref_get(&idev->kref); 122 void isci_remote_device_release(struct kref *kref); 126 kref_put(&idev->kref, isci_remote_device_release);
|
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cm.h | 38 #include <linux/kref.h> 58 ep, atomic_read(&((ep)->kref.refcount))); \ 59 WARN_ON(atomic_read(&((ep)->kref.refcount)) < 1); \ 60 kref_put(&((ep)->kref), __free_ep); \ 65 ep, atomic_read(&((ep)->kref.refcount))); \ 66 kref_get(&((ep)->kref)); \ 159 struct kref kref; member in struct:iwch_ep_common 225 void __free_ep(struct kref *kref); [all...] |
/drivers/staging/media/go7007/ |
H A D | s2250-loader.c | 28 struct kref kref; member in struct:device_extension_s 40 #define to_s2250loader_dev_common(d) container_of(d, device_extension_t, kref) 41 static void s2250loader_delete(struct kref *kref) argument 43 pdevice_extension_t s = to_s2250loader_dev_common(kref); 97 kref_init(&(s->kref)); 134 kref_put(&(s->kref), s2250loader_delete); 146 kref_put(&(s->kref), s2250loader_delete);
|
/drivers/gpu/drm/ttm/ |
H A D | ttm_object.c | 65 struct kref refcount; 94 * @kref: Ref count. 111 struct kref kref; member in struct:ttm_ref_object 124 static void ttm_object_file_destroy(struct kref *kref) argument 127 container_of(kref, struct ttm_object_file, refcount); 181 static void ttm_release_base(struct kref *kref) argument 184 container_of(kref, struc 309 ttm_ref_object_release(struct kref *kref) argument [all...] |
/drivers/misc/ibmasm/ |
H A D | ibmasm.h | 34 #include <linux/kref.h> 96 struct kref kref; member in struct:command 99 #define to_command(c) container_of(c, struct command, kref) 101 void ibmasm_free_command(struct kref *kref); 108 kref_put(&cmd->kref, ibmasm_free_command); 114 kref_get(&cmd->kref);
|
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/gpu/ion/ |
H A D | ion_priv.h | 20 #include <linux/kref.h> 29 struct kref ref; 34 struct kref ref; 59 struct kref ref;
|
/drivers/usb/core/ |
H A D | file.c | 65 struct kref kref; member in struct:usb_class 84 kref_get(&usb_class->kref); 94 kref_init(&usb_class->kref); 109 static void release_usb_class(struct kref *kref) argument 120 kref_put(&usb_class->kref, release_usb_class);
|
/drivers/macintosh/ |
H A D | windfarm.h | 13 #include <linux/kref.h> 42 struct kref ref; 52 * the kref and wf_unregister_control will decrement it, thus the 91 struct kref ref;
|
/drivers/tty/hvc/ |
H A D | hvc_console.h | 29 #include <linux/kref.h> 64 struct kref kref; /* ref count & hvc_struct lifetime */ member in struct:hvc_struct
|
/drivers/usb/misc/ |
H A D | usblcd.c | 54 struct kref kref; member in struct:usb_lcd 61 #define to_lcd_dev(d) container_of(d, struct usb_lcd, kref) 68 static void lcd_delete(struct kref *kref) argument 70 struct usb_lcd *dev = to_lcd_dev(kref); 104 kref_get(&dev->kref); 110 kref_put(&dev->kref, lcd_delete); 132 kref_put(&dev->kref, lcd_delete); 328 kref_init(&dev->kref); [all...] |
H A D | yurex.c | 17 #include <linux/kref.h> 66 struct kref kref; member in struct:usb_yurex 74 #define to_yurex_dev(d) container_of(d, struct usb_yurex, kref) 93 static void yurex_delete(struct kref *kref) argument 95 struct usb_yurex *dev = to_yurex_dev(kref); 204 kref_init(&dev->kref); 318 kref_put(&dev->kref, yurex_delete); 343 kref_put(&dev->kref, yurex_delet [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ramht.h | 37 struct kref refcount;
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.h | 53 struct kref kref; member in struct:vmw_fence_obj
|
/drivers/scsi/fcoe/ |
H A D | fcoe.h | 74 * @kref: The kernel reference 86 struct kref kref; member in struct:fcoe_interface
|
/drivers/staging/media/as102/ |
H A D | as102_drv.h | 78 struct kref kref; member in struct:as102_dev_t
|
H A D | as102_usb_drv.c | 304 static void as102_usb_release(struct kref *kref) argument 310 as102_dev = container_of(kref, struct as102_dev_t, kref); 340 kref_put(&as102_dev->kref, as102_usb_release); 387 kref_init(&as102_dev->kref); 454 kref_get(&dev->kref); 471 kref_put(&dev->kref, as102_usb_release);
|
/drivers/usb/mon/ |
H A D | usb_mon.h | 12 #include <linux/kref.h> 32 struct kref ref; /* Under mon_lock */
|
/drivers/input/serio/ |
H A D | serio_raw.c | 12 #include <linux/kref.h> 37 struct kref kref; member in struct:serio_raw 108 kref_get(&serio_raw->kref); 119 static void serio_raw_free(struct kref *kref) argument 122 container_of(kref, struct serio_raw, kref); 139 kref_put(&serio_raw->kref, serio_raw_free); 298 kref_init(&serio_raw->kref); [all...] |
/drivers/infiniband/core/ |
H A D | uverbs.h | 40 #include <linux/kref.h> 72 struct kref ref; 84 struct kref ref; 95 struct kref ref;
|
/drivers/target/ |
H A D | target_core_pscsi.h | 21 #include <linux/kref.h>
|
/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 34 #include <linux/kref.h> 193 kref_get(&sess->kref); 233 kref_init(&sess->kref); /* ref for table entry */ 468 static void ft_sess_free(struct kref *kref) argument 470 struct ft_sess *sess = container_of(kref, struct ft_sess, kref); 477 int sess_held = atomic_read(&sess->kref.refcount); 480 kref_put(&sess->kref, ft_sess_free);
|
/drivers/uwb/ |
H A D | neh.c | 104 struct kref kref; member in struct:uwb_rc_neh 119 static void uwb_rc_neh_release(struct kref *kref) argument 121 struct uwb_rc_neh *neh = container_of(kref, struct uwb_rc_neh, kref); 128 kref_get(&neh->kref); 137 kref_put(&neh->kref, uwb_rc_neh_release); 223 kref_init(&neh->kref);
|