/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_global_state.c | 14 struct kref ref; 32 static void __commit_free(struct kref *kref) argument 35 container_of(kref, typeof(*commit), ref); 54 static void __intel_atomic_global_state_free(struct kref *kref) argument 57 container_of(kref, struct intel_global_state, ref);
|
/linux-master/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 21 #include <linux/kref.h> 175 kref_get(&sess->kref); 226 kref_init(&sess->kref); /* ref for table entry */ 434 static void ft_sess_free(struct kref *kref) argument 436 struct ft_sess *sess = container_of(kref, struct ft_sess, kref); 444 int sess_held = kref_read(&sess->kref); 447 kref_put(&sess->kref, ft_sess_free);
|
/linux-master/drivers/vfio/ |
H A D | container.c | 19 struct kref kref; member in struct:vfio_container 143 * it's freed via kref. Must support container/group/device being 146 static void vfio_container_release(struct kref *kref) argument 149 container = container_of(kref, struct vfio_container, kref); 156 kref_get(&container->kref); 161 kref_put(&container->kref, vfio_container_release); 369 kref_init(&container->kref); [all...] |
/linux-master/drivers/nvdimm/ |
H A D | core.c | 62 struct kref kref; member in struct:nvdimm_map 92 kref_init(&nvdimm_map->kref); 121 static void nvdimm_map_release(struct kref *kref) argument 126 nvdimm_map = container_of(kref, struct nvdimm_map, kref); 145 kref_put(&nvdimm_map->kref, nvdimm_map_release); 166 kref_get(&nvdimm_map->kref);
|
/linux-master/lib/ |
H A D | digsig.c | 219 key_ref_t kref; local 220 kref = keyring_search(make_key_ref(keyring, 1UL), 222 if (IS_ERR(kref)) 223 key = ERR_CAST(kref); 225 key = key_ref_to_ptr(kref);
|
/linux-master/drivers/soc/microchip/ |
H A D | mpfs-sys-controller.c | 12 #include <linux/kref.h> 36 struct kref consumers; 91 static void mpfs_sys_controller_delete(struct kref *kref) argument 94 container_of(kref, struct mpfs_sys_controller, consumers);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_drm_client.c | 28 kref_init(&client->kref); 39 void __i915_drm_client_free(struct kref *kref) argument 42 container_of(kref, typeof(*client), kref);
|
/linux-master/include/drm/ttm/ |
H A D | ttm_bo.h | 36 #include <linux/kref.h> 81 * @kref: Reference count of this buffer object. When this refcount reaches 115 struct kref kref; member in struct:ttm_buffer_object 200 kref_get(&bo->kref); 216 if (!kref_get_unless_zero(&bo->kref))
|
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 13 #include <linux/kref.h> 43 struct kref kref; member in struct:vmci_ctx
|
/linux-master/include/linux/greybus/ |
H A D | operation.h | 13 #include <linux/kref.h> 107 struct kref kref; member in struct:gb_operation
|
/linux-master/drivers/scsi/ |
H A D | st.h | 8 #include <linux/kref.h> 190 struct kref kref; member in struct:scsi_tape
|
/linux-master/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.h | 262 * @kref: kref for this channel. 307 struct kref kref; member in struct:srpt_rdma_ch 453 struct kref refcnt;
|
/linux-master/drivers/staging/media/atomisp/include/hmm/ |
H A D | hmm_bo.h | 60 list_entry((kref_ptr), struct hmm_buffer_object, kref) 115 struct kref kref; member in struct:hmm_buffer_object
|
/linux-master/drivers/usb/misc/sisusbvga/ |
H A D | sisusb.h | 102 struct kref kref; member in struct:sisusb_usb_data 130 #define to_sisusb_dev(d) container_of(d, struct sisusb_usb_data, kref)
|
/linux-master/drivers/gpu/host1x/ |
H A D | channel.c | 103 static void release_channel(struct kref *kref) argument 106 container_of(kref, struct host1x_channel, refcount);
|
/linux-master/drivers/xen/xenbus/ |
H A D | xenbus_dev_frontend.c | 119 struct kref kref; member in struct:xenbus_file_priv 339 static void xenbus_file_free(struct kref *kref) argument 347 u = container_of(kref, struct xenbus_file_priv, kref); 411 kref_put(&u->kref, xenbus_file_free); 441 kref_put(&u->kref, xenbus_file_free); 620 kref_get(&u->kref); 638 kref_put(&u->kref, xenbus_file_fre [all...] |
/linux-master/drivers/platform/surface/aggregator/ |
H A D | controller.h | 11 #include <linux/kref.h> 185 * @kref: Reference count of the controller. 199 struct kref kref; member in struct:ssam_controller
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_lnode.h | 38 #include <linux/kref.h> 75 struct kref kref; member in struct:csio_fcf_info
|
/linux-master/include/linux/ |
H A D | kobject.h | 24 #include <linux/kref.h> 71 struct kref kref; member in struct:kobject
|
H A D | energy_model.h | 8 #include <linux/kref.h> 45 * @kref: Reference counter to track the users 50 struct kref kref; member in struct:em_perf_table
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_core.c | 147 static void wf_control_release(struct kref *kref) argument 149 struct wf_control *ct = container_of(kref, struct wf_control, ref); 277 static void wf_sensor_release(struct kref *kref) argument 279 struct wf_sensor *sr = container_of(kref, struct wf_sensor, ref);
|
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efclib.h | 139 struct kref ref; 140 void (*release)(struct kref *arg); 214 struct kref ref; 215 void (*release)(struct kref *arg); 324 struct kref ref; 325 void (*release)(struct kref *arg);
|
/linux-master/drivers/net/wireguard/ |
H A D | noise.h | 16 #include <linux/kref.h> 38 struct kref refcount;
|
/linux-master/drivers/misc/ocxl/ |
H A D | ocxl_internal.h | 38 struct kref kref; member in struct:ocxl_afu
|
/linux-master/fs/ocfs2/cluster/ |
H A D | tcp_internal.h | 115 struct kref sc_kref; 186 struct kref nh_kref;
|