Home
last modified time | relevance | path

Searched refs:refcount_read (Results 76 – 100 of 288) sorted by relevance

12345678910>>...12

/openbmc/linux/include/linux/
H A Datmdev.h266 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send()
/openbmc/linux/net/sched/
H A Dact_simple.c178 .refcnt = refcount_read(&d->tcf_refcnt) - ref, in tcf_simp_dump()
H A Dact_connmark.c197 .refcnt = refcount_read(&ci->tcf_refcnt) - ref, in tcf_connmark_dump()
H A Dact_gact.c192 .refcnt = refcount_read(&gact->tcf_refcnt) - ref, in tcf_gact_dump()
/openbmc/linux/arch/arm64/mm/
H A Dcontext.c179 if (refcount_read(&mm->context.pinned)) in new_context()
/openbmc/linux/net/xdp/
H A Dxsk_diag.c67 du.refs = refcount_read(&umem->users); in xsk_diag_put_umem()
/openbmc/linux/fs/btrfs/
H A Ddelayed-ref.h341 WARN_ON(refcount_read(&ref->refs) == 0); in btrfs_put_delayed_ref()
H A Dtransaction.c143 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction()
584 WARN_ON(refcount_read(&h->use_count) > 2); in start_transaction()
1012 if (refcount_read(&trans->use_count) > 1) { in __btrfs_end_transaction()
2000 WARN_ON(refcount_read(&trans->use_count) > 1); in cleanup_transaction()
2158 ASSERT(refcount_read(&trans->use_count) == 1); in btrfs_commit_transaction()
/openbmc/linux/drivers/block/
H A Dnbd.c1909 if (refcount_read(&nbd->config_refs) || in nbd_find_get_unused()
2023 if (refcount_read(&nbd->config_refs)) { in nbd_genl_connect()
2393 if (refcount_read(&nbd->config_refs)) in populate_nbd_status()
2590 if (refcount_read(&nbd->refs)) in nbd_exit_cb()
2616 if (refcount_read(&nbd->config_refs)) in nbd_cleanup()
2618 refcount_read(&nbd->config_refs)); in nbd_cleanup()
2619 if (refcount_read(&nbd->refs) != 1) in nbd_cleanup()
/openbmc/linux/fs/notify/
H A Dmark.c96 WARN_ON_ONCE(!refcount_read(&mark->refcnt)); in fsnotify_get_mark()
446 refcount_read(&mark->refcnt) < 1 + in fsnotify_detach_mark()
/openbmc/linux/drivers/crypto/caam/
H A Dqi.c313 if (refcount_read(&drv_ctx->refcnt) == 1) in empty_caam_fq()
321 refcount_read(&drv_ctx->refcnt), fq->fqid); in empty_caam_fq()
/openbmc/linux/drivers/infiniband/core/
H A Ddevice.c494 WARN_ON(refcount_read(&dev->refcount)); in ib_device_release()
675 WARN_ON(refcount_read(&device->refcount)); in ib_dealloc_device()
1265 WARN_ON(!refcount_read(&device->refcount)); in disable_device()
1472 if (!refcount_read(&ib_dev->refcount)) in __ib_unregister_device()
1603 WARN_ON(!refcount_read(&ib_dev->refcount)); in ib_unregister_device_queued()
1629 if (refcount_read(&device->refcount) == 0 || in rdma_dev_change_netns()
/openbmc/linux/security/keys/
H A Dgc.c229 if (refcount_read(&key->usage) == 0) in key_garbage_collector()
/openbmc/linux/fs/fscache/
H A Dio.c122 trace_fscache_access(cookie->debug_id, refcount_read(&cookie->ref), in fscache_begin_operation()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dsubdev.c163 if (refcount_read(&subdev->use.refcount) == 0) { in nvkm_subdev_init()
/openbmc/linux/fs/proc/
H A Dtask_nommu.c65 if (current->sighand && refcount_read(&current->sighand->count) > 1) in task_mem()
/openbmc/linux/kernel/bpf/
H A Dbpf_task_storage.c218 if (refcount_read(&task->usage) && in __bpf_task_storage_get()
/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayout.c475 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count)); in filelayout_read_pagelist()
519 offset, ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count)); in filelayout_write_pagelist()
1013 data->inode->i_ino, how, refcount_read(&ds->ds_clp->cl_count)); in filelayout_initiate_commit()
/openbmc/linux/fs/notify/inotify/
H A Dinotify_user.c430 BUG_ON(refcount_read(&fsn_mark->refcnt) < 2); in inotify_idr_find_locked()
500 if (unlikely(refcount_read(&i_mark->fsn_mark.refcnt) < 2)) { in inotify_remove_from_idr()
/openbmc/linux/net/sunrpc/
H A Dauth.c437 if (refcount_read(&cred->cr_count) > 1) { in rpcauth_prune_expired()
691 if (refcount_read(&cred->cr_count) != 1 || in put_rpccred()
/openbmc/linux/net/phonet/
H A Dsocket.c349 refcount_read(&sk->sk_wmem_alloc) < sk->sk_sndbuf && in pn_socket_poll()
590 refcount_read(&sk->sk_refcnt), sk, in pn_sock_seq_show()
/openbmc/linux/tools/perf/util/
H A Dnamespaces.c220 WARN_ONCE(refcount_read(nsinfo__refcnt(nsi)) != 0, "nsinfo refcnt unbalanced\n"); in nsinfo__delete()
/openbmc/linux/sound/pci/hda/
H A Dhda_bind.c163 wait_event(codec->remove_sleep, !refcount_read(&codec->pcm_ref)); in hda_codec_driver_remove()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_fb.c45 if (refcount_read(&msm_fb->dirtyfb) == 1) in msm_framebuffer_dirtyfb()
/openbmc/linux/net/kcm/
H A Dkcmproc.c152 refcount_read(&psock->sk->sk_wmem_alloc)); in kcm_format_psock()

12345678910>>...12