/linux-master/fs/smb/server/ |
H A D | vfs_cache.h | 83 atomic_t refcount; member in struct:ksmbd_file
|
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...] |
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))
|
/linux-master/arch/s390/include/asm/ |
H A D | gmap.h | 13 #include <linux/refcount.h>
|
/linux-master/drivers/net/ipa/ |
H A D | gsi_trans.c | 10 #include <linux/refcount.h> 368 refcount_set(&trans->refcount, 1); 381 if (!refcount_dec_and_test(&trans->refcount)) 618 refcount_inc(&trans->refcount);
|
/linux-master/include/linux/ |
H A D | rtnetlink.h | 9 #include <linux/refcount.h>
|
/linux-master/fs/btrfs/ |
H A D | ordered-data.h | 11 #include <linux/refcount.h>
|
/linux-master/include/net/ |
H A D | af_unix.h | 8 #include <linux/refcount.h>
|
/linux-master/net/psample/ |
H A D | psample.c | 56 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_REFCOUNT, group->refcount); 188 group->refcount++; 199 group->refcount++; 208 if (--group->refcount == 0)
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_drm_client.c | 158 if (!kref_get_unless_zero(&bo->ttm.base.refcount))
|
H A D | xe_sched_job.c | 107 kref_init(&job->refcount); 193 container_of(ref, struct xe_sched_job, refcount);
|
/linux-master/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-vin.h | 269 * @refcount: number of VIN instances using the group 282 struct kref refcount; member in struct:rvin_group
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_srq.c | 21 refcount_inc(&srq->refcount); 31 if (refcount_dec_and_test(&srq->refcount)) 159 if (refcount_dec_and_test(&srq->refcount)) 507 refcount_set(&srq->refcount, 1);
|
H A D | hns_roce_cq.c | 191 if (refcount_dec_and_test(&hr_cq->refcount)) 421 refcount_set(&hr_cq->refcount, 1); 491 refcount_inc(&hr_cq->refcount); 506 if (refcount_dec_and_test(&hr_cq->refcount))
|
/linux-master/include/rdma/ |
H A D | rdmavt_qp.h | 372 atomic_t refcount ____cacheline_aligned_in_smp; 524 atomic_t refcount; member in struct:rvt_mcast 568 atomic_inc(&qp->refcount); 577 if (qp && atomic_dec_and_test(&qp->refcount))
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_vm.c | 210 kref_init(&vm->refcount); 237 struct lima_vm *vm = container_of(kref, struct lima_vm, refcount);
|
/linux-master/include/scsi/ |
H A D | libiscsi.h | 19 #include <linux/refcount.h> 133 refcount_t refcount; member in struct:iscsi_task
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.h | 36 #include <linux/refcount.h> 164 refcount_t refcount; member in struct:fs_node
|
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.h | 580 struct kref refcount; member in struct:_sas_device 588 kref_get(&s->refcount); 593 kfree(container_of(r, struct _sas_device, refcount)); 598 kref_put(&s->refcount, sas_device_free); 623 * @refcount: reference count for deletion 646 struct kref refcount; member in struct:_pcie_device 659 kref_get(&p->refcount); 671 kfree(container_of(r, struct _pcie_device, refcount)); 687 kref_put(&p->refcount, pcie_device_free);
|
/linux-master/drivers/xen/ |
H A D | gntdev-dmabuf.c | 37 struct kref refcount; member in struct:gntdev_dmabuf::__anon522::__anon523 108 kref_put(&gntdev_dmabuf->u.exp.refcount, dmabuf_exp_release); 154 kref_get(&gntdev_dmabuf->u.exp.refcount); 310 container_of(kref, struct gntdev_dmabuf, u.exp.refcount); 335 kref_put(&gntdev_dmabuf->u.exp.refcount, dmabuf_exp_release); 367 kref_init(&gntdev_dmabuf->u.exp.refcount);
|
/linux-master/mm/ |
H A D | slab_common.c | 155 if (s->refcount < 0) 234 s->refcount = 1; 492 s->refcount--; 493 if (s->refcount) 638 s->refcount = -1; /* Exempt from merging for now */ 652 s->refcount = 1;
|
/linux-master/drivers/rpmsg/ |
H A D | virtio_rpmsg_bus.c | 192 * This function deallocates an ept, and is invoked when its @kref refcount 200 refcount); 222 kref_init(&ept->refcount); 255 kref_put(&ept->refcount, __ept_release); 310 kref_put(&ept->refcount, __ept_release); 401 /* decrement the matched device's refcount back */ 745 kref_get(&ept->refcount); 760 kref_put(&ept->refcount, __ept_release);
|
/linux-master/drivers/misc/ |
H A D | fastrpc.c | 228 struct kref refcount; member in struct:fastrpc_map 241 struct kref refcount; member in struct:fastrpc_invoke_ctx 272 struct kref refcount; member in struct:fastrpc_channel_ctx 314 map = container_of(ref, struct fastrpc_map, refcount); 352 kref_put(&map->refcount, fastrpc_free_map); 360 return kref_get_unless_zero(&map->refcount) ? 0 : -ENOENT; 464 cctx = container_of(ref, struct fastrpc_channel_ctx, refcount); 471 kref_get(&cctx->refcount); 476 kref_put(&cctx->refcount, fastrpc_channel_ctx_free); 486 ctx = container_of(ref, struct fastrpc_invoke_ctx, refcount); [all...] |
/linux-master/fs/bcachefs/ |
H A D | btree_gc.c | 1025 const __le64 *refcount = bkey_refcount_c(k); local 1030 if (!refcount) 1044 if (fsck_err_on(r->refcount != le64_to_cpu(*refcount), c, 1046 "reflink key has wrong refcount:\n" 1050 r->refcount)) { 1056 if (!r->refcount) 1059 *bkey_refcount(bkey_i_to_s(new)) = cpu_to_le64(r->refcount); 1089 const __le64 *refcount = bkey_refcount_c(k); 1091 if (!refcount) [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_rule.c | 239 /* We need to copy the refcount since this ste 242 new_ste->refcount = cur_ste->refcount; 471 /* On matcher s_anchor we keep an extra refcount */ 583 refcount_dec(&action_mem->action->refcount); 603 refcount_inc(&action_mem->action->refcount); 1358 refcount_inc(&matcher->refcount); 1362 refcount_dec(&matcher->refcount); 1374 refcount_dec(&matcher->refcount);
|