/linux-master/include/linux/ |
H A D | tee_drv.h | 27 * @refcount: reference counter for this structure 42 struct kref refcount; member in struct:tee_context 57 * @refcount: reference counter 73 refcount_t refcount; member in struct:tee_shm
|
H A D | skbuff.h | 21 #include <linux/refcount.h> 1115 * _skb_refdst low order bit is set if refcount was _not_ taken
|
H A D | slab.h | 20 #include <linux/percpu-refcount.h>
|
H A D | dma-fence.h | 32 * @refcount: refcount for this fence 95 struct kref refcount; member in struct:dma_fence 291 * dma_fence_put - decreases refcount of the fence 292 * @fence: fence to reduce refcount of 297 kref_put(&fence->refcount, dma_fence_release); 301 * dma_fence_get - increases refcount of the fence 302 * @fence: fence to increase refcount of 304 * Returns the same fence, with refcount increased by 1. 309 kref_get(&fence->refcount); [all...] |
H A D | filter.h | 10 #include <linux/refcount.h>
|
/linux-master/drivers/tee/ |
H A D | tee_shm.c | 90 refcount_set(&shm->refcount, 1); 299 refcount_set(&shm->refcount, 1); 473 refcount_inc(&shm->refcount); 544 * If the tee_shm was found in the IDR it must have a refcount 551 refcount_inc(&shm->refcount); 567 if (refcount_dec_and_test(&shm->refcount)) { 569 * refcount has reached 0, we must now remove it from the
|
H A D | tee_core.c | 63 kref_init(&ctx->refcount); 83 kref_get(&ctx->refcount); 89 refcount); 100 kref_put(&ctx->refcount, teedev_ctx_release);
|
/linux-master/drivers/tee/amdtee/ |
H A D | core.c | 117 kref_get(&sess->refcount); 125 kref_init(&sess->refcount); 223 refcount); 274 kref_put_mutex(&sess->refcount, destroy_session, 293 kref_put_mutex(&sess->refcount, destroy_session, 335 kref_put_mutex(&sess->refcount, destroy_session, &session_list_mutex);
|
H A D | call.c | 135 return ++ta_data->refcount; 140 ta_data->refcount = 1; 141 count = ta_data->refcount; 156 count = --ta_data->refcount;
|
H A D | amdtee_private.h | 48 * @refcount: counter to keep track of sessions opened for the TA instance 59 struct kref refcount; member in struct:amdtee_session 101 * @refcount: Reference count for the loaded TA 106 u32 refcount; member in struct:amdtee_ta_data
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | protocols.h | 20 #include <linux/refcount.h> 105 * @users: A refcount to track the active users for this xfer.
|
H A D | notify.c | 88 #include <linux/refcount.h> 321 * @sources: A reference to a dynamically allocated array used to refcount the 1032 * * if found adjust users refcount 1242 * update the refcount and if @hndl is no more in use by anyone: 1436 * path could still hold the refcount to 1 even after this routine
|
H A D | driver.c | 34 #include <linux/refcount.h> 86 * @users: A refcount to track effective users of this protocol. 761 * After refcount check, possibly release an xfer, clearing the token slot, 1019 /* On error the refcount incremented above has to be dropped */
|
H A D | common.h | 20 #include <linux/refcount.h>
|
/linux-master/arch/s390/include/asm/ |
H A D | gmap.h | 13 #include <linux/refcount.h>
|
/linux-master/fs/ |
H A D | userfaultfd.c | 168 refcount_inc(&ctx->refcount); 181 if (refcount_dec_and_test(&ctx->refcount)) { 684 refcount_set(&ctx->refcount, 1); 1136 * drop the temporary refcount. 1166 * refcount from the fork thread on fork_nctx 2215 refcount_set(&ctx->refcount, 1);
|
H A D | eventpoll.c | 154 * eventpoll->refcount orchestrates "struct eventpoll" disposal 226 refcount_t refcount; member in struct:eventpoll 772 refcount_inc(&ep->refcount); 780 if (!refcount_dec_and_test(&ep->refcount)) 996 * operation - 'ffd.file' cannot go away even if the refcount has 1133 refcount_set(&ep->refcount, 1); 2372 * The eventpoll itself is still alive: the refcount
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_connector.c | 195 container_of(kref, struct drm_connector, base.refcount); 813 if (!refcount_dec_and_test(&conn->base.refcount.refcount)) 848 } while (!kref_get_unless_zero(&iter->conn->base.refcount)); 3110 struct drm_tile_group *tg = container_of(kref, struct drm_tile_group, refcount); 3129 kref_put(&tg->refcount, drm_tile_group_free); 3152 if (!kref_get_unless_zero(&tg->refcount)) 3184 kref_init(&tg->refcount);
|
/linux-master/include/net/ |
H A D | xfrm.h | 17 #include <linux/refcount.h>
|
/linux-master/fs/smb/server/ |
H A D | vfs_cache.c | 341 if (!atomic_inc_not_zero(&fp->refcount)) 399 if (!atomic_dec_and_test(&fp->refcount)) 417 if (!atomic_dec_and_test(&fp->refcount)) 489 if (!atomic_dec_and_test(&fp->refcount)) 600 atomic_set(&fp->refcount, 1); 656 if (!atomic_dec_and_test(&fp->refcount))
|
H A D | vfs_cache.h | 83 atomic_t refcount; member in struct:ksmbd_file
|
H A D | smb2pdu.c | 2141 WARN_ON_ONCE(atomic_dec_and_test(&tcon->refcount));
|
H A D | oplock.c | 52 atomic_set(&opinfo->refcount, 1); 144 if (opinfo && !atomic_inc_not_zero(&opinfo->refcount)) 163 !atomic_inc_not_zero(&opinfo->refcount)) 169 atomic_dec(&opinfo->refcount); 200 if (!atomic_dec_and_test(&opinfo->refcount)) 420 atomic_dec(&opinfo->refcount); 1013 if (!atomic_inc_not_zero(&opinfo->refcount)) 1122 if (!atomic_inc_not_zero(&opinfo->refcount)) 1162 if (!atomic_inc_not_zero(&opinfo->refcount)) 1371 if (!atomic_inc_not_zero(&brk_op->refcount)) [all...] |
/linux-master/mm/ |
H A D | slub.c | 5689 s->refcount++; 6214 return sysfs_emit(buf, "%d\n", s->refcount < 0 ? 0 : s->refcount - 1); 6393 if (s->refcount > 1)
|
/linux-master/net/8021q/ |
H A D | vlan_core.c | 166 int refcount; member in struct:vlan_vid_info 340 vid_info->refcount++; 385 vid_info->refcount--; 386 if (vid_info->refcount == 0) {
|