Searched refs:ref_count (Results 151 - 175 of 184) sorted by relevance

12345678

/linux-master/drivers/scsi/qla2xxx/
H A Dqla_target.c773 * guarantees that ref_count is not modified concurrently.
819 BUG_ON(!pla->ref_count);
820 pla->ref_count--;
822 if (pla->ref_count)
863 /* Inc ref_count first because link might already be pointing at pla */
864 pla->ref_count++;
872 pla->ref_count, pla, link);
878 pla->ref_count--;
1119 own ? own->ref_count : -1,
1120 iocb->u.isp24.port_name, con->ref_count);
[all...]
H A Dqla_def.h728 struct kref cmd_kref; /* need to migrate ref_count over to this */
2526 int ref_count; member in struct:qlt_plogi_ack_t
3801 atomic_t ref_count; member in struct:qla_qpair
5235 atomic_inc(&__qpair->ref_count); \
5238 atomic_dec(&__qpair->ref_count); \
5246 atomic_dec(&__qpair->ref_count)
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c5663 ipolicer->ref_count = devm_kcalloc(rvu->dev,
5666 if (!ipolicer->ref_count)
5990 ipolicer->ref_count[mid_prof]++;
6008 ipolicer->ref_count[mid_prof] = 0;
6052 ipolicer->ref_count[mid_prof]++;
6062 ipolicer->ref_count[mid_prof]--;
6067 ipolicer->ref_count[mid_prof]++;
6102 ipolicer->ref_count[mid_prof]--;
6103 /* If ref_count is zero, free mid layer profile */
6104 if (!ipolicer->ref_count[mid_pro
[all...]
H A Drvu.h362 u16 *ref_count; member in struct:nix_ipolicer
/linux-master/arch/s390/kvm/
H A Dinterrupt.c3270 gi->alert.ref_count[gisc]++;
3271 if (gi->alert.ref_count[gisc] == 1) {
3310 if (gi->alert.ref_count[gisc] == 0) {
3314 gi->alert.ref_count[gisc]--;
3315 if (gi->alert.ref_count[gisc] == 0) {
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c169 kfree(container_of(r, struct mpi3mr_fwevt, ref_count));
180 kref_get(&fwevt->ref_count);
191 kref_put(&fwevt->ref_count, mpi3mr_fwevt_free);
211 kref_init(&fwevt->ref_count);
641 kref_init(&tgtdev->ref_count);
/linux-master/drivers/md/
H A Ddm-thin.c260 unsigned int ref_count; member in struct:pool
3042 pool->ref_count = 1;
3075 pool->ref_count++;
3081 BUG_ON(!pool->ref_count);
3082 if (!--pool->ref_count)
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c115 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) argument
123 temp = (u8) (ref_count & 0xff);
132 temp = (u8) ((ref_count & 0x300) >> 8);
H A Dcx231xx.h768 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count);
/linux-master/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c1862 int ref_count[AV1DEC_MAX_PIC_BUFFERS] = { 0 }; local
1875 ref_count[idx]++;
1879 if (ref_count[i])
/linux-master/drivers/net/usb/
H A Dhso.c124 int ref_count; member in struct:hso_shared_int
2597 if (--serial->shared_int->ref_count == 0)
2730 serial->shared_int->ref_count++;
/linux-master/drivers/s390/block/
H A Ddasd_devmap.c561 atomic_set(&device->ref_count, 3);
861 * Drop ref_count by 3, one for the devmap reference, one for
864 atomic_sub(3, &device->ref_count);
867 wait_event(dasd_delete_wq, atomic_read(&device->ref_count) == 0);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c967 ++bo_va->ref_count;
992 if (--attachment[i]->bo_va->ref_count == 0)
1010 if (--attachment->bo_va->ref_count == 0)
/linux-master/drivers/accel/qaic/
H A Dqaic_data.c161 struct bo_slice *slice = container_of(kref, struct bo_slice, ref_count);
423 kref_init(&slice->ref_count);
907 kref_put(&slice->ref_count, free_slice);
/linux-master/sound/soc/intel/skylake/
H A Dskl.c381 if (hlink->ref_count)
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_vm.c335 bo_va->ref_count = 1;
/linux-master/drivers/media/platform/amphion/
H A Dvpu_v4l2.c718 atomic_set(&inst->ref_count, 0);
/linux-master/drivers/parport/
H A Dshare.c461 atomic_set(&tmp->ref_count, 1);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c64 refcount_t ref_count; member in struct:mlxsw_sp_bridge_port
498 refcount_set(&bridge_port->ref_count, 1);
534 refcount_inc(&bridge_port->ref_count);
561 if (!refcount_dec_and_test(&bridge_port->ref_count))
H A Dspectrum.c2746 refcount_t ref_count; member in struct:mlxsw_sp_lag
4296 refcount_set(&lag->ref_count, 1);
4380 refcount_inc(&lag->ref_count);
4390 if (!refcount_dec_and_test(&lag->ref_count))
/linux-master/arch/s390/include/asm/
H A Dkvm_host.h938 u32 ref_count[MAX_ISC + 1]; member in struct:kvm_s390_gisa_iam
/linux-master/sound/core/
H A Dpcm_native.c2699 substream->ref_count--;
2700 if (substream->ref_count > 0)
2730 if (substream->ref_count > 1) {
2787 if (substream->ref_count == 1)
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h405 u32 ref_count; member in struct:mlx4_eq
/linux-master/net/l2tp/
H A Dl2tp_ppp.c1515 refcount_read(&tunnel->ref_count) - 1);
/linux-master/include/linux/mlx5/
H A Ddriver.h408 struct kref ref_count; member in struct:mlx5_uars_page

Completed in 1398 milliseconds

12345678