/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_trace.h | 41 #define TRACE_DCN_FPU(begin, function, line, ref_count) \ 42 trace_dcn_fpu(begin, function, line, ref_count)
|
/linux-master/include/uapi/linux/ |
H A D | atm_zatm.h | 27 int ref_count; /* free buffer pool usage counters */ member in struct:zatm_pool_info
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_free_list.h | 48 /** @ref_count: Reference count of object. */ 49 struct kref ref_count; member in struct:pvr_free_list 120 kref_get(&free_list->ref_count); 168 * meaning the ref_count reached zero before they get removed. We need 173 if (free_list && !kref_get_unless_zero(&free_list->ref_count))
|
H A D | pvr_hwrt.h | 58 /** @ref_count: Reference count of object. */ 59 struct kref ref_count; member in struct:pvr_hwrt_dataset 108 kref_get(&hwrt->ref_count); 161 kref_get(&hwrt->hwrt_dataset->ref_count);
|
H A D | pvr_job.h | 34 /** @ref_count: Refcount for job. */ 35 struct kref ref_count; member in struct:pvr_job 107 kref_get(&job->ref_count);
|
H A D | pvr_context.h | 33 /** @ref_count: Refcount for context. */ 34 struct kref ref_count; member in struct:pvr_context 121 kref_get(&ctx->ref_count); 170 * meaning the ref_count reached zero before they get removed. We need 175 if (!kref_get_unless_zero(&ctx->ref_count))
|
H A D | pvr_context.c | 311 kref_init(&ctx->ref_count); 377 pvr_context_release(struct kref *ref_count) argument 380 container_of(ref_count, struct pvr_context, ref_count); 399 kref_put(&ctx->ref_count, pvr_context_release);
|
H A D | pvr_vm.c | 57 /** @ref_count: Reference count of object. */ 58 struct kref ref_count; member in struct:pvr_vm_context 76 kref_get(&vm_ctx->ref_count); 582 kref_init(&vm_ctx->ref_count); 597 * @ref_count: Pointer to reference counter of the VM context. 603 pvr_vm_context_release(struct kref *ref_count) argument 606 container_of(ref_count, struct pvr_vm_context, ref_count); 640 kref_get(&vm_ctx->ref_count); 659 return kref_put(&vm_ctx->ref_count, pvr_vm_context_releas [all...] |
/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_mgr.c | 54 atomic_set(&vcrypto_dev->ref_count, 0); 117 return atomic_read(&vcrypto_dev->ref_count) != 0; 133 if (atomic_add_return(1, &vcrypto_dev->ref_count) == 1) 152 if (atomic_sub_return(1, &vcrypto_dev->ref_count) == 0) 198 ctr = atomic_read(&tmp_dev->ref_count);
|
/linux-master/drivers/s390/char/ |
H A D | raw3270.h | 78 atomic_t ref_count; member in struct:raw3270_view 106 atomic_inc(&view->ref_count); 114 if (atomic_dec_return(&view->ref_count) == 0)
|
H A D | vmur.h | 76 refcount_t ref_count; /* reference counter */ member in struct:urdev
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_span.c | 16 refcount_t ref_count; member in struct:prestera_span_entry 34 refcount_set(&entry->ref_count, 1); 84 refcount_inc(&entry->ref_count); 112 if (!refcount_dec_and_test(&entry->ref_count))
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | mpfs.c | 69 int ref_count; member in struct:l2table_node 147 l2addr->ref_count++; 166 l2addr->ref_count = 1; 199 if (--l2addr->ref_count > 0)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 83 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); 149 kref_init(&up->ref_count); 172 kref_get(&ret->ref_count); 189 kref_put(&up->ref_count, up_rel_func); 233 kref_get(&up->ref_count); 324 kref_put(&up->ref_count, up_rel_func);
|
H A D | eswitch_offloads_termtbl.c | 17 int ref_count; member in struct:mlx5_termtbl_handle 153 tt->ref_count++; 167 if (--tt->ref_count == 0) 171 if (!tt->ref_count) {
|
/linux-master/drivers/usb/misc/ |
H A D | uss720.c | 50 struct kref ref_count; member in struct:parport_uss720_private 58 struct kref ref_count; member in struct:uss720_async_request 70 struct parport_uss720_private *priv = container_of(kref, struct parport_uss720_private, ref_count); 80 struct uss720_async_request *rq = container_of(kref, struct uss720_async_request, ref_count); 91 kref_put(&priv->ref_count, destroy_priv); 120 kref_put(&rq->ref_count, destroy_async); 140 kref_init(&rq->ref_count); 143 kref_get(&priv->ref_count); 147 kref_put(&rq->ref_count, destroy_async); 152 kref_put(&rq->ref_count, destroy_asyn [all...] |
/linux-master/drivers/block/ |
H A D | swim.c | 187 int ref_count; member in struct:floppy_state 617 if (fs->ref_count == -1 || (fs->ref_count && mode & BLK_OPEN_EXCL)) 620 fs->ref_count = -1; 622 fs->ref_count++; 650 if (fs->ref_count < 0) 651 fs->ref_count = 0; 652 else if (fs->ref_count > 0) 653 --fs->ref_count; 655 if (fs->ref_count [all...] |
/linux-master/drivers/video/fbdev/riva/ |
H A D | rivafb.h | 57 unsigned int ref_count; member in struct:riva_par
|
/linux-master/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 101 hlink->ref_count = 1; 290 if (++hlink->ref_count == 1) { 333 if (--hlink->ref_count == 0) { 341 if (hlink_tmp->ref_count) {
|
/linux-master/sound/virtio/ |
H A D | virtio_ctl_msg.c | 17 * @ref_count: Reference count used to manage a message lifetime. 24 refcount_t ref_count; member in struct:virtio_snd_msg 35 refcount_inc(&msg->ref_count); 42 * The message will be freed when the ref_count value is 0. 48 if (refcount_dec_and_test(&msg->ref_count)) 80 * The message will be automatically freed when the ref_count value is 0. 104 refcount_set(&msg->ref_count, 1);
|
/linux-master/drivers/soc/ti/ |
H A D | knav_dma.c | 101 atomic_t ref_count; member in struct:knav_dma_device 110 atomic_t ref_count; member in struct:knav_dma_chan 345 if (atomic_read(&chan->ref_count)) 355 if (atomic_read(&dma->ref_count)) { 469 if (atomic_read(&chan->ref_count) >= 1) { 477 if (atomic_inc_return(&chan->dma->ref_count) <= 1) 480 if (atomic_inc_return(&chan->ref_count) <= 1) 505 if (atomic_dec_return(&chan->ref_count) <= 0) 508 if (atomic_dec_return(&chan->dma->ref_count) <= 0) 582 atomic_set(&chan->ref_count, [all...] |
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf_ucode.h | 128 int ref_count; /* member in struct:otx_cpt_mirror_info
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_vm.c | 14 unsigned int ref_count; member in struct:lima_bo_va 101 bo_va->ref_count++; 119 bo_va->ref_count = 1; 163 if (--bo_va->ref_count > 0) {
|
/linux-master/sound/core/seq/ |
H A D | seq_ports.h | 32 atomic_t ref_count; member in struct:snd_seq_subscribers
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_ucode.h | 123 int ref_count; /* member in struct:otx2_cpt_mirror_info
|