/linux-master/drivers/iio/buffer/ |
H A D | industrialio-buffer-dma.c | 93 static void iio_buffer_block_release(struct kref *kref) argument 95 struct iio_dma_buffer_block *block = container_of(kref, 96 struct iio_dma_buffer_block, kref); 109 kref_get(&block->kref); 114 kref_put(&block->kref, iio_buffer_block_release); 134 iio_buffer_block_release(&block->kref); 138 static void iio_buffer_block_release_atomic(struct kref *kref) argument 143 block = container_of(kref, struc [all...] |
/linux-master/net/can/j1939/ |
H A D | bus.c | 17 static void __j1939_ecu_release(struct kref *kref) argument 19 struct j1939_ecu *ecu = container_of(kref, struct j1939_ecu, kref); 29 kref_put(&ecu->kref, __j1939_ecu_release); 34 kref_get(&ecu->kref); 157 kref_init(&ecu->kref);
|
H A D | j1939-priv.h | 39 struct kref kref; member in struct:j1939_ecu 73 struct kref kref; member in struct:j1939_priv 92 struct kref rx_kref; 234 struct kref kref; member in struct:j1939_session
|
/linux-master/net/tipc/ |
H A D | subscr.c | 116 static void tipc_sub_kref_release(struct kref *kref) argument 118 kfree(container_of(kref, struct tipc_subscription, kref)); 123 kref_put(&subscription->kref, tipc_sub_kref_release); 128 kref_get(&subscription->kref); 164 kref_init(&sub->kref);
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_submitqueue.c | 5 #include <linux/kref.h> 49 void __msm_file_private_destroy(struct kref *kref) argument 51 struct msm_file_private *ctx = container_of(kref, 69 void msm_submitqueue_destroy(struct kref *kref) argument 71 struct msm_gpu_submitqueue *queue = container_of(kref,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | cgrp.c | 175 nvkm_cgrp_del(struct kref *kref) argument 177 struct nvkm_cgrp *cgrp = container_of(kref, typeof(*cgrp), kref); 196 kref_put(&cgrp->kref, nvkm_cgrp_del); 204 kref_get(&cgrp->kref); 236 kref_init(&cgrp->kref);
|
/linux-master/arch/s390/pci/ |
H A D | pci_bus.c | 209 static void zpci_bus_release(struct kref *kref) argument 211 struct zpci_bus *zbus = container_of(kref, struct zpci_bus, kref); 232 kref_put(&zbus->kref, zpci_bus_release); 242 kref_get(&zbus->kref); 266 kref_init(&zbus->kref);
|
/linux-master/drivers/infiniband/core/ |
H A D | restrack.c | 169 kref_init(&res->kref); 230 return kref_get_unless_zero(&res->kref); 259 static void restrack_release(struct kref *kref) argument 263 res = container_of(kref, struct rdma_restrack_entry, kref); 273 return kref_put(&res->kref, restrack_release);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_engine_heartbeat.c | 44 struct kref kref; member in struct:pulse 49 kref_get(&container_of(active, struct pulse, active)->kref); 53 static void pulse_free(struct kref *kref) argument 55 struct pulse *p = container_of(kref, typeof(*p), kref); 63 kref_put(&p->kref, pulse_free); 79 kref_init(&p->kref);
|
H A D | intel_lrc.h | 20 struct kref; 40 void lrc_destroy(struct kref *kref);
|
/linux-master/drivers/staging/greybus/ |
H A D | authentication.c | 29 struct kref kref; member in struct:gb_cap 48 static void cap_kref_release(struct kref *kref) argument 50 struct gb_cap *cap = container_of(kref, struct gb_cap, kref); 62 kref_put(&cap->kref, cap_kref_release); 74 kref_get(&cap->kref); 317 kref_init(&cap->kref);
|
/linux-master/drivers/macintosh/ |
H A D | windfarm.h | 12 #include <linux/kref.h> 41 struct kref ref; 52 * the kref and wf_unregister_control will decrement it, thus the 109 struct kref ref;
|
/linux-master/include/linux/greybus/ |
H A D | connection.h | 15 #include <linux/kref.h> 42 struct kref kref; member in struct:gb_connection
|
/linux-master/drivers/input/serio/ |
H A D | serio_raw.c | 9 #include <linux/kref.h> 33 struct kref kref; member in struct:serio_raw 104 kref_get(&serio_raw->kref); 115 static void serio_raw_free(struct kref *kref) argument 118 container_of(kref, struct serio_raw, kref); 135 kref_put(&serio_raw->kref, serio_raw_free); 304 kref_init(&serio_raw->kref); [all...] |
/linux-master/drivers/media/mc/ |
H A D | mc-request.c | 60 static void media_request_release(struct kref *kref) argument 63 container_of(kref, struct media_request, kref); 81 kref_put(&req->kref, media_request_release); 322 kref_init(&req->kref); 351 static void media_request_object_release(struct kref *kref) argument 354 container_of(kref, struct media_request_object, kref); [all...] |
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_els.h | 15 struct kref ref; 16 void (*release)(struct kref *arg); 31 void _efc_els_io_free(struct kref *arg);
|
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | encl.h | 11 #include <linux/kref.h> 65 struct kref refcount; 107 void sgx_encl_release(struct kref *ref);
|
/linux-master/drivers/usb/ |
H A D | usb-skeleton.c | 15 #include <linux/kref.h> 62 struct kref kref; member in struct:usb_skel 67 #define to_skel_dev(d) container_of(d, struct usb_skel, kref) 72 static void skel_delete(struct kref *kref) argument 74 struct usb_skel *dev = to_skel_dev(kref); 111 kref_get(&dev->kref); 132 kref_put(&dev->kref, skel_delete); 500 kref_init(&dev->kref); [all...] |
/linux-master/include/linux/ceph/ |
H A D | mon_client.h | 6 #include <linux/kref.h> 52 struct kref kref; member in struct:ceph_mon_generic_request
|
/linux-master/drivers/usb/misc/ |
H A D | yurex.c | 12 #include <linux/kref.h> 63 struct kref kref; member in struct:usb_yurex 72 #define to_yurex_dev(d) container_of(d, struct usb_yurex, kref) 92 static void yurex_delete(struct kref *kref) argument 94 struct usb_yurex *dev = to_yurex_dev(kref); 205 kref_init(&dev->kref); 305 kref_put(&dev->kref, yurex_delete); 332 kref_put(&dev->kref, yurex_delet [all...] |
/linux-master/drivers/thunderbolt/ |
H A D | ctl.h | 12 #include <linux/kref.h> 54 * @kref: Reference count 77 struct kref kref; member in struct:tb_cfg_request
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_rport.c | 112 kref_get_unless_zero(&tmp_rdata->kref)) { 137 kref_put(&rdata->kref, fc_rport_destroy); 152 kref_init(&rdata->kref); 173 * @kref: The remote port's kref 175 void fc_rport_destroy(struct kref *kref) argument 179 rdata = container_of(kref, struct fc_rport_priv, kref); 256 * Reference counting: drops kref o [all...] |
/linux-master/drivers/misc/ibmasm/ |
H A D | command.c | 39 kref_init(&cmd->kref); 52 void ibmasm_free_command(struct kref *kref) argument 54 struct command *cmd = to_command(kref);
|
/linux-master/security/apparmor/include/ |
H A D | match.h | 14 #include <linux/kref.h> 99 struct kref count; 136 void aa_dfa_free_kref(struct kref *kref);
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_job.h | 17 struct kref refcount;
|