Searched refs:ref_count (Results 126 - 150 of 184) sorted by relevance

12345678

/linux-master/drivers/video/fbdev/
H A Duvesafb.c1168 int cnt = atomic_read(&par->ref_count);
1181 atomic_inc(&par->ref_count);
1189 int cnt = atomic_read(&par->ref_count);
1211 atomic_dec(&par->ref_count);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c113 refcount_t ref_count; member in struct:mlxsw_sp_rif_subport
151 refcount_t ref_count; member in struct:mlxsw_sp_rif_mac_profile
505 refcount_t ref_count; member in struct:mlxsw_sp_lpm_tree
582 if (refcount_read(&lpm_tree->ref_count) == 0)
658 refcount_set(&lpm_tree->ref_count, 1);
682 if (refcount_read(&lpm_tree->ref_count) &&
695 refcount_inc(&lpm_tree->ref_count);
701 if (!refcount_dec_and_test(&lpm_tree->ref_count))
3137 refcount_t ref_count; member in struct:mlxsw_sp_nexthop_group_vr_entry
3161 refcount_t ref_count; member in struct:mlxsw_sp_nexthop_counter
[all...]
/linux-master/drivers/net/ethernet/broadcom/
H A Dcnic.c144 atomic_inc(&dev->ref_count);
149 atomic_dec(&dev->ref_count);
154 atomic_inc(&csk->ref_count);
159 atomic_dec(&csk->ref_count);
180 atomic_inc(&ulp_ops->ref_count);
185 atomic_dec(&ulp_ops->ref_count);
497 atomic_set(&ulp_ops->ref_count, 0);
548 while ((atomic_read(&ulp_ops->ref_count) != 0) && (i < 20)) {
553 if (atomic_read(&ulp_ops->ref_count) != 0)
3604 if (atomic_read(&csk1->ref_count))
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c172 non_repr_priv->ref_count++;
200 if (--non_repr_priv->ref_count)
/linux-master/drivers/media/platform/amphion/
H A Dvpu_core.c349 atomic_inc(&inst->ref_count);
358 if (atomic_dec_and_test(&inst->ref_count)) {
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.c188 ++bo_va->ref_count;
253 if (!bo_va || --bo_va->ref_count)
/linux-master/drivers/s390/net/
H A Dqeth_core.h619 refcount_t ref_count; member in struct:qeth_cmd_buffer
634 refcount_inc(&iob->ref_count);
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_gem.c222 ++bo_va->ref_count;
252 if (--bo_va->ref_count == 0) {
/linux-master/drivers/video/fbdev/riva/
H A Dfbdev.c1028 if (!par->ref_count) {
1043 par->ref_count++;
1055 if (!par->ref_count) {
1059 if (par->ref_count == 1) {
1068 par->ref_count--;
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dchan.c231 if (cfg->ref_count > 0)
2369 cfg->ref_count = 0;
2405 cfg->ref_count++;
2433 cfg->ref_count--;
2435 if (cfg->ref_count != 0)
/linux-master/arch/s390/mm/
H A Dgmap.c81 refcount_set(&gmap->ref_count, 1);
230 refcount_inc(&gmap->ref_count);
243 if (refcount_dec_and_test(&gmap->ref_count))
1632 refcount_inc(&sg->ref_count);
1721 refcount_set(&new->ref_count, 2);
/linux-master/drivers/vfio/
H A Dvfio_iommu_type1.c131 unsigned int ref_count; member in struct:vfio_pfn
378 vpfn->ref_count = 1;
396 vpfn->ref_count++;
404 vpfn->ref_count--;
405 if (!vpfn->ref_count) {
/linux-master/arch/powerpc/xmon/
H A Dxmon.c104 atomic_t ref_count; member in struct:bpt
516 atomic_dec(&bp->ref_count);
707 atomic_inc(&bp->ref_count);
717 atomic_inc(&bp->ref_count);
771 atomic_dec(&bp->ref_count);
841 atomic_dec(&bp->ref_count);
893 if (!bp->enabled && atomic_read(&bp->ref_count) == 0) {
/linux-master/drivers/md/persistent-data/
H A Ddm-btree.c214 uint32_t ref_count; local
221 r = dm_tm_ref(s->tm, b, &ref_count);
225 if (ref_count > 1)
/linux-master/drivers/md/
H A Ddm-thin-metadata.c1776 uint32_t ref_count; local
1780 r = dm_sm_get_count(pmd->data_sm, b, &ref_count);
1782 *result = (ref_count > 1);
/linux-master/mm/
H A Drmap.c1821 int ref_count, map_count; local
1830 ref_count = folio_ref_count(folio);
1843 if (ref_count == 1 + map_count &&
/linux-master/drivers/mtd/ubi/
H A Dvtbl.c641 vol->ref_count = 1;
/linux-master/drivers/firewire/
H A Dcore-topology.c116 refcount_set(&node->ref_count, 1);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_accel_devices.h463 atomic_t ref_count; member in struct:adf_accel_dev
/linux-master/drivers/rpmsg/
H A Dqcom_smd.c348 * @ref_count: reference count of the channel
354 __le32 ref_count; member in struct:qcom_smd_alloc_entry
1230 if (entry->ref_count == 0)
/linux-master/sound/core/
H A Dpcm.c923 substream->ref_count++;
968 substream->ref_count = 1;
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss.c1926 atomic_set(&camss->ref_count, 0);
2059 if (atomic_read(&camss->ref_count) == 0)
/linux-master/kernel/trace/
H A Dtrace.h1349 int ref_count; member in struct:event_subsystem
1357 int ref_count; member in struct:trace_subsystem_dir
/linux-master/include/sound/
H A Dpcm.h485 int ref_count; member in struct:snd_pcm_substream
502 #define SUBSTREAM_BUSY(substream) ((substream)->ref_count > 0)
/linux-master/sound/soc/intel/skylake/
H A Dskl-topology.c2984 static int ref_count; local
2988 if (ref_count > skl->lib_count - 1) {
2989 ref_count = 0;
2993 strncpy(skl->lib_info[ref_count].name,
2995 ARRAY_SIZE(skl->lib_info[ref_count].name));
2996 ref_count++;

Completed in 1151 milliseconds

12345678