/openbmc/linux/include/linux/ |
H A D | atmdev.h | 266 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send()
|
/openbmc/linux/net/sched/ |
H A D | act_simple.c | 178 .refcnt = refcount_read(&d->tcf_refcnt) - ref, in tcf_simp_dump()
|
H A D | act_connmark.c | 197 .refcnt = refcount_read(&ci->tcf_refcnt) - ref, in tcf_connmark_dump()
|
H A D | act_gact.c | 192 .refcnt = refcount_read(&gact->tcf_refcnt) - ref, in tcf_gact_dump()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | context.c | 179 if (refcount_read(&mm->context.pinned)) in new_context()
|
/openbmc/linux/net/xdp/ |
H A D | xsk_diag.c | 67 du.refs = refcount_read(&umem->users); in xsk_diag_put_umem()
|
/openbmc/linux/fs/btrfs/ |
H A D | delayed-ref.h | 341 WARN_ON(refcount_read(&ref->refs) == 0); in btrfs_put_delayed_ref()
|
H A D | transaction.c | 143 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 D | nbd.c | 1909 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 D | mark.c | 96 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 D | qi.c | 313 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 D | device.c | 494 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 D | gc.c | 229 if (refcount_read(&key->usage) == 0) in key_garbage_collector()
|
/openbmc/linux/fs/fscache/ |
H A D | io.c | 122 trace_fscache_access(cookie->debug_id, refcount_read(&cookie->ref), in fscache_begin_operation()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | subdev.c | 163 if (refcount_read(&subdev->use.refcount) == 0) { in nvkm_subdev_init()
|
/openbmc/linux/fs/proc/ |
H A D | task_nommu.c | 65 if (current->sighand && refcount_read(¤t->sighand->count) > 1) in task_mem()
|
/openbmc/linux/kernel/bpf/ |
H A D | bpf_task_storage.c | 218 if (refcount_read(&task->usage) && in __bpf_task_storage_get()
|
/openbmc/linux/fs/nfs/filelayout/ |
H A D | filelayout.c | 475 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 D | inotify_user.c | 430 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 D | auth.c | 437 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 D | socket.c | 349 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 D | namespaces.c | 220 WARN_ONCE(refcount_read(nsinfo__refcnt(nsi)) != 0, "nsinfo refcnt unbalanced\n"); in nsinfo__delete()
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_bind.c | 163 wait_event(codec->remove_sleep, !refcount_read(&codec->pcm_ref)); in hda_codec_driver_remove()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_fb.c | 45 if (refcount_read(&msm_fb->dirtyfb) == 1) in msm_framebuffer_dirtyfb()
|
/openbmc/linux/net/kcm/ |
H A D | kcmproc.c | 152 refcount_read(&psock->sk->sk_wmem_alloc)); in kcm_format_psock()
|