/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 773 * 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 D | qla_def.h | 728 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 D | rvu_nix.c | 5663 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 D | rvu.h | 362 u16 *ref_count; member in struct:nix_ipolicer
|
/linux-master/arch/s390/kvm/ |
H A D | interrupt.c | 3270 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 D | mpi3mr_os.c | 169 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 D | dm-thin.c | 260 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 D | cx231xx-avcore.c | 115 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 D | cx231xx.h | 768 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count);
|
/linux-master/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu981_hw_av1_dec.c | 1862 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 D | hso.c | 124 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 D | dasd_devmap.c | 561 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 D | amdgpu_amdkfd_gpuvm.c | 967 ++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 D | qaic_data.c | 161 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 D | skl.c | 381 if (hlink->ref_count)
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_vm.c | 335 bo_va->ref_count = 1;
|
/linux-master/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.c | 718 atomic_set(&inst->ref_count, 0);
|
/linux-master/drivers/parport/ |
H A D | share.c | 461 atomic_set(&tmp->ref_count, 1);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_switchdev.c | 64 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 D | spectrum.c | 2746 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 D | kvm_host.h | 938 u32 ref_count[MAX_ISC + 1]; member in struct:kvm_s390_gisa_iam
|
/linux-master/sound/core/ |
H A D | pcm_native.c | 2699 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 D | mlx4.h | 405 u32 ref_count; member in struct:mlx4_eq
|
/linux-master/net/l2tp/ |
H A D | l2tp_ppp.c | 1515 refcount_read(&tunnel->ref_count) - 1);
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 408 struct kref ref_count; member in struct:mlx5_uars_page
|