ref_cnt 38 drivers/hid/hid-sensor-hub.c int ref_cnt; ref_cnt 549 drivers/hid/hid-sensor-hub.c if (!data->ref_cnt) { ref_cnt 557 drivers/hid/hid-sensor-hub.c data->ref_cnt++; ref_cnt 569 drivers/hid/hid-sensor-hub.c data->ref_cnt--; ref_cnt 570 drivers/hid/hid-sensor-hub.c if (!data->ref_cnt) ref_cnt 716 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (pd_entry->bp.ref_cnt) ref_cnt 736 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (!pd_table->ref_cnt) ref_cnt 753 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_entry->u.bp.ref_cnt) ref_cnt 774 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_entry->u.pd_table.ref_cnt) ref_cnt 56 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) ref_cnt 57 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_INC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt++) ref_cnt 58 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_INC_BP_REFCNT(bp) ((bp)->ref_cnt++) ref_cnt 60 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) ref_cnt 61 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_DEC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt--) ref_cnt 62 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--) ref_cnt 105 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 ref_cnt; ref_cnt 119 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 ref_cnt; ref_cnt 136 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 ref_cnt; ref_cnt 45 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c #define MAKE_NODE(node, start, end, ref_cnt, flags, err, err_out) \ ref_cnt 48 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c end, ref_cnt, flags); \ ref_cnt 57 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c #define MAKE_NODE_AND_APPEND(node, start, end, ref_cnt, flags, err, \ ref_cnt 61 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c ref_cnt, flags, err, \ ref_cnt 70 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, ref_cnt 81 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c interval->ref_cnt = ref_cnt; ref_cnt 199 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c iref_cnt = interval->ref_cnt; ref_cnt 260 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c if (--interval->ref_cnt == 0) ref_cnt 45 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.h unsigned int ref_cnt; ref_cnt 218 drivers/infiniband/sw/rxe/rxe_pool.c kref_init(&pool->ref_cnt); ref_cnt 243 drivers/infiniband/sw/rxe/rxe_pool.c struct rxe_pool *pool = container_of(kref, struct rxe_pool, ref_cnt); ref_cnt 251 drivers/infiniband/sw/rxe/rxe_pool.c kref_put(&pool->ref_cnt, rxe_pool_release); ref_cnt 400 drivers/infiniband/sw/rxe/rxe_pool.c kref_get(&pool->ref_cnt); ref_cnt 416 drivers/infiniband/sw/rxe/rxe_pool.c kref_init(&elem->ref_cnt); ref_cnt 439 drivers/infiniband/sw/rxe/rxe_pool.c kref_get(&pool->ref_cnt); ref_cnt 449 drivers/infiniband/sw/rxe/rxe_pool.c kref_init(&elem->ref_cnt); ref_cnt 464 drivers/infiniband/sw/rxe/rxe_pool.c container_of(kref, struct rxe_pool_entry, ref_cnt); ref_cnt 498 drivers/infiniband/sw/rxe/rxe_pool.c kref_get(&elem->ref_cnt); ref_cnt 537 drivers/infiniband/sw/rxe/rxe_pool.c kref_get(&elem->ref_cnt); ref_cnt 84 drivers/infiniband/sw/rxe/rxe_pool.h struct kref ref_cnt; ref_cnt 96 drivers/infiniband/sw/rxe/rxe_pool.h struct kref ref_cnt; ref_cnt 164 drivers/infiniband/sw/rxe/rxe_pool.h #define rxe_add_ref(elem) kref_get(&(elem)->pelem.ref_cnt) ref_cnt 167 drivers/infiniband/sw/rxe/rxe_pool.h #define rxe_drop_ref(elem) kref_put(&(elem)->pelem.ref_cnt, rxe_elem_release) ref_cnt 60 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c unsigned int ref_cnt; ref_cnt 263 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { ref_cnt 264 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c vsi->frm_bufs[ref_idx].ref_cnt--; ref_cnt 266 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c if (vsi->frm_bufs[ref_idx].ref_cnt == 0) { ref_cnt 281 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c vsi->frm_bufs[new_idx].ref_cnt++; ref_cnt 467 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c vsi->frm_bufs[vsi->new_fb_idx].ref_cnt--; ref_cnt 510 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c if (vsi->frm_bufs[vsi->new_fb_idx].ref_cnt == 0) { ref_cnt 24 drivers/misc/mic/scif/scif_ports.c int ref_cnt; ref_cnt 45 drivers/misc/mic/scif/scif_ports.c port->ref_cnt++; ref_cnt 89 drivers/misc/mic/scif/scif_ports.c port->ref_cnt++; ref_cnt 108 drivers/misc/mic/scif/scif_ports.c port->ref_cnt--; ref_cnt 109 drivers/misc/mic/scif/scif_ports.c if (!port->ref_cnt) { ref_cnt 185 drivers/net/ethernet/intel/i40e/i40e_client.h atomic_t ref_cnt; /* Count of all the client devices of this kind */ ref_cnt 217 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (pd_entry->bp.ref_cnt) ref_cnt 233 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (!pd_table->ref_cnt) ref_cnt 253 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (sd_entry->u.bp.ref_cnt) { ref_cnt 301 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (sd_entry->u.pd_table.ref_cnt) { ref_cnt 36 drivers/net/ethernet/intel/i40e/i40e_hmc.h u32 ref_cnt; ref_cnt 51 drivers/net/ethernet/intel/i40e/i40e_hmc.h u32 ref_cnt; ref_cnt 68 drivers/net/ethernet/intel/i40e/i40e_hmc.h u32 ref_cnt; ref_cnt 84 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) ref_cnt 85 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_INC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt++) ref_cnt 86 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++) ref_cnt 88 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) ref_cnt 89 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_DEC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt--) ref_cnt 90 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--) ref_cnt 194 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.ref_cnt = 0; ref_cnt 157 drivers/net/ethernet/intel/iavf/iavf_client.h atomic_t ref_cnt; /* Count of all the client devices of this kind */ ref_cnt 969 drivers/net/ethernet/intel/ice/ice_switch.c v_map->ref_cnt = 1; ref_cnt 1585 drivers/net/ethernet/intel/ice/ice_switch.c } else if (list_elem->vsi_list_info->ref_cnt > 1) { ref_cnt 1591 drivers/net/ethernet/intel/ice/ice_switch.c list_elem->vsi_list_info->ref_cnt--; ref_cnt 1868 drivers/net/ethernet/intel/ice/ice_switch.c map_info->ref_cnt++; ref_cnt 1875 drivers/net/ethernet/intel/ice/ice_switch.c } else if (v_list_itr->vsi_list_info->ref_cnt == 1) { ref_cnt 1896 drivers/net/ethernet/intel/ice/ice_switch.c v_list_itr->vsi_list_info->ref_cnt > 1) { ref_cnt 1934 drivers/net/ethernet/intel/ice/ice_switch.c v_list_itr->vsi_list_info->ref_cnt--; ref_cnt 160 drivers/net/ethernet/intel/ice/ice_switch.h u16 ref_cnt; ref_cnt 654 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c ipsec->ip_tbl[match].ref_cnt++; ref_cnt 662 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c ipsec->ip_tbl[first].ref_cnt = 1; ref_cnt 775 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (ipsec->ip_tbl[ipi].ref_cnt > 0) { ref_cnt 776 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c ipsec->ip_tbl[ipi].ref_cnt--; ref_cnt 778 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!ipsec->ip_tbl[ipi].ref_cnt) { ref_cnt 46 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h u32 ref_cnt; ref_cnt 31 drivers/net/ethernet/intel/ixgbevf/ipsec.h u32 ref_cnt; ref_cnt 18 drivers/net/ethernet/netronome/nfp/flower/metadata.c u32 ref_cnt; ref_cnt 214 drivers/net/ethernet/netronome/nfp/flower/metadata.c mask_entry->ref_cnt = 1; ref_cnt 245 drivers/net/ethernet/netronome/nfp/flower/metadata.c mask_entry->ref_cnt++; ref_cnt 280 drivers/net/ethernet/netronome/nfp/flower/metadata.c mask_entry->ref_cnt--; ref_cnt 281 drivers/net/ethernet/netronome/nfp/flower/metadata.c if (!mask_entry->ref_cnt) { ref_cnt 2605 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c int ref_cnt = 0, delay; ref_cnt 2625 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c ref_cnt = nx_decr_dev_ref_cnt(adapter); ref_cnt 2627 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (ref_cnt == -EIO) ref_cnt 2630 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c delay = (ref_cnt == 0) ? 0 : (2 * FW_POLL_DELAY); ref_cnt 388 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 ref_cnt; ref_cnt 553 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_filters[filter_idx].ref_cnt) { ref_cnt 560 drivers/net/ethernet/qlogic/qed/qed_dev.c *p_ref_cnt = ++p_filters[filter_idx].ref_cnt; ref_cnt 611 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_filters[filter_idx].ref_cnt) { ref_cnt 617 drivers/net/ethernet/qlogic/qed/qed_dev.c *p_ref_cnt = --p_filters[filter_idx].ref_cnt; ref_cnt 618 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_filters[filter_idx].ref_cnt) ref_cnt 984 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 high, low, ref_cnt; ref_cnt 996 drivers/net/ethernet/qlogic/qed/qed_dev.c &filter, &filter_idx, &ref_cnt); ref_cnt 1001 drivers/net/ethernet/qlogic/qed/qed_dev.c if (ref_cnt == 1) { ref_cnt 1018 drivers/net/ethernet/qlogic/qed/qed_dev.c mac_addr, ppfid, abs_ppfid, filter_idx, ref_cnt); ref_cnt 1117 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 high, low, ref_cnt; ref_cnt 1138 drivers/net/ethernet/qlogic/qed/qed_dev.c &filter, &filter_idx, &ref_cnt); ref_cnt 1147 drivers/net/ethernet/qlogic/qed/qed_dev.c if (ref_cnt == 1) { ref_cnt 1164 drivers/net/ethernet/qlogic/qed/qed_dev.c str, ppfid, abs_ppfid, filter_idx, ref_cnt); ref_cnt 1185 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 ref_cnt; ref_cnt 1195 drivers/net/ethernet/qlogic/qed/qed_dev.c &ref_cnt); ref_cnt 1204 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!ref_cnt) { ref_cnt 1214 drivers/net/ethernet/qlogic/qed/qed_dev.c mac_addr, ppfid, abs_ppfid, filter_idx, ref_cnt); ref_cnt 1235 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 ref_cnt; ref_cnt 1253 drivers/net/ethernet/qlogic/qed/qed_dev.c &ref_cnt); ref_cnt 1262 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!ref_cnt) { ref_cnt 1272 drivers/net/ethernet/qlogic/qed/qed_dev.c str, ppfid, abs_ppfid, filter_idx, ref_cnt); ref_cnt 1968 drivers/net/wireless/ath/wil6210/main.c wil->halp.ref_cnt); ref_cnt 1970 drivers/net/wireless/ath/wil6210/main.c if (++wil->halp.ref_cnt == 1) { ref_cnt 1989 drivers/net/wireless/ath/wil6210/main.c wil->halp.ref_cnt); ref_cnt 1999 drivers/net/wireless/ath/wil6210/main.c WARN_ON(wil->halp.ref_cnt == 0); ref_cnt 2004 drivers/net/wireless/ath/wil6210/main.c wil->halp.ref_cnt); ref_cnt 2006 drivers/net/wireless/ath/wil6210/main.c if (--wil->halp.ref_cnt == 0) { ref_cnt 2012 drivers/net/wireless/ath/wil6210/main.c wil->halp.ref_cnt); ref_cnt 801 drivers/net/wireless/ath/wil6210/wil6210.h unsigned int ref_cnt; ref_cnt 159 drivers/regulator/core.c rdev->ref_cnt++; ref_cnt 173 drivers/regulator/core.c rdev->ref_cnt++; ref_cnt 209 drivers/regulator/core.c if (--rdev->ref_cnt == 0) { ref_cnt 214 drivers/regulator/core.c WARN_ON_ONCE(rdev->ref_cnt < 0); ref_cnt 343 drivers/regulator/core.c old_contended_rdev->ref_cnt++; ref_cnt 5590 drivers/regulator/core.c old_contended_rdev->ref_cnt++; ref_cnt 145 drivers/scsi/libfc/fc_fcp.c refcount_set(&fsp->ref_cnt, 1); ref_cnt 165 drivers/scsi/libfc/fc_fcp.c if (refcount_dec_and_test(&fsp->ref_cnt)) { ref_cnt 178 drivers/scsi/libfc/fc_fcp.c refcount_inc(&fsp->ref_cnt); ref_cnt 2401 drivers/scsi/qedf/qedf_io.c int ref_cnt = 0; ref_cnt 2420 drivers/scsi/qedf/qedf_io.c ref_cnt = kref_read(&io_req->refcount); ref_cnt 2423 drivers/scsi/qedf/qedf_io.c io_req, io_req->xid, ref_cnt); ref_cnt 398 drivers/scsi/xen-scsifront.c int err, ref, ref_cnt = 0; ref_cnt 448 drivers/scsi/xen-scsifront.c shadow->gref[ref_cnt] = ref; ref_cnt 449 drivers/scsi/xen-scsifront.c shadow->seg[ref_cnt].gref = ref; ref_cnt 450 drivers/scsi/xen-scsifront.c shadow->seg[ref_cnt].offset = (uint16_t)off; ref_cnt 451 drivers/scsi/xen-scsifront.c shadow->seg[ref_cnt].length = (uint16_t)bytes; ref_cnt 456 drivers/scsi/xen-scsifront.c ref_cnt++; ref_cnt 458 drivers/scsi/xen-scsifront.c BUG_ON(seg_grants < ref_cnt); ref_cnt 459 drivers/scsi/xen-scsifront.c seg_grants = ref_cnt; ref_cnt 484 drivers/scsi/xen-scsifront.c shadow->gref[ref_cnt] = ref; ref_cnt 494 drivers/scsi/xen-scsifront.c ref_cnt++; ref_cnt 501 drivers/scsi/xen-scsifront.c shadow->nr_segments = (uint8_t)ref_cnt; ref_cnt 502 drivers/scsi/xen-scsifront.c shadow->nr_grants = ref_cnt; ref_cnt 42 drivers/staging/gdm724x/gdm_lte.c int ref_cnt; ref_cnt 530 drivers/staging/gdm724x/gdm_lte.c if (lte_event.ref_cnt == 0) ref_cnt 534 drivers/staging/gdm724x/gdm_lte.c lte_event.ref_cnt++; ref_cnt 544 drivers/staging/gdm724x/gdm_lte.c if (lte_event.sock && --lte_event.ref_cnt == 0) { ref_cnt 61 drivers/staging/rtl8712/rtl8712_recv.c precvbuf->ref_cnt = 0; ref_cnt 112 drivers/staging/rtl8712/rtl8712_recv.c precvbuf->ref_cnt = 0; ref_cnt 91 drivers/staging/rtl8712/rtl8712_recv.h u32 ref_cnt; ref_cnt 303 drivers/staging/rtl8723bs/include/rtw_recv.h u32 ref_cnt; ref_cnt 177 fs/btrfs/check-integrity.c u32 ref_cnt; ref_cnt 432 fs/btrfs/check-integrity.c l->ref_cnt = 1; ref_cnt 1329 fs/btrfs/check-integrity.c l->ref_cnt = 1; ref_cnt 1343 fs/btrfs/check-integrity.c l->ref_cnt++; ref_cnt 1679 fs/btrfs/check-integrity.c l->ref_cnt, ref_cnt 1692 fs/btrfs/check-integrity.c l->ref_cnt, ref_cnt 1882 fs/btrfs/check-integrity.c l->ref_cnt--; ref_cnt 1883 fs/btrfs/check-integrity.c if (0 == l->ref_cnt) { ref_cnt 2354 fs/btrfs/check-integrity.c l->ref_cnt, ref_cnt 2446 fs/btrfs/check-integrity.c l->ref_cnt, ref_cnt 2472 fs/btrfs/check-integrity.c l->ref_cnt, ref_cnt 2487 fs/btrfs/check-integrity.c l->ref_cnt, ref_cnt 2562 fs/btrfs/check-integrity.c if (l->ref_cnt > 1) ref_cnt 2563 fs/btrfs/check-integrity.c indent_add = sprintf(buf, " %d*--> ", l->ref_cnt); ref_cnt 2604 fs/btrfs/check-integrity.c l->ref_cnt = 1; ref_cnt 2616 fs/btrfs/check-integrity.c l->ref_cnt++; ref_cnt 3020 fs/btrfs/check-integrity.c l->ref_cnt--; ref_cnt 3021 fs/btrfs/check-integrity.c if (0 == l->ref_cnt) ref_cnt 14 fs/ext4/ext4_jbd2.c unsigned long ref_cnt = (unsigned long)handle; ref_cnt 16 fs/ext4/ext4_jbd2.c BUG_ON(ref_cnt >= EXT4_NOJOURNAL_MAX_REF_COUNT); ref_cnt 18 fs/ext4/ext4_jbd2.c ref_cnt++; ref_cnt 19 fs/ext4/ext4_jbd2.c handle = (handle_t *)ref_cnt; ref_cnt 29 fs/ext4/ext4_jbd2.c unsigned long ref_cnt = (unsigned long)handle; ref_cnt 31 fs/ext4/ext4_jbd2.c BUG_ON(ref_cnt == 0); ref_cnt 33 fs/ext4/ext4_jbd2.c ref_cnt--; ref_cnt 34 fs/ext4/ext4_jbd2.c handle = (handle_t *)ref_cnt; ref_cnt 464 include/linux/regulator/driver.h int ref_cnt; ref_cnt 313 include/scsi/libfc.h refcount_t ref_cnt; ref_cnt 300 net/core/dev_addr_lists.c int err, ref_cnt; ref_cnt 309 net/core/dev_addr_lists.c ref_cnt = ha->refcount - ha->sync_cnt; ref_cnt 310 net/core/dev_addr_lists.c if (unsync && unsync(dev, ha->addr, ref_cnt)) ref_cnt 313 net/core/dev_addr_lists.c ha->refcount = (ref_cnt << 1) + 1; ref_cnt 314 net/core/dev_addr_lists.c ha->sync_cnt = ref_cnt; ref_cnt 324 net/core/dev_addr_lists.c ref_cnt = ha->refcount - ha->sync_cnt; ref_cnt 325 net/core/dev_addr_lists.c err = sync(dev, ha->addr, ref_cnt); ref_cnt 329 net/core/dev_addr_lists.c ha->refcount = ref_cnt << 1; ref_cnt 330 net/core/dev_addr_lists.c ha->sync_cnt = ref_cnt;