/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_hmc.h | 35 u32 ref_cnt; member 50 u32 ref_cnt; member 67 u32 ref_cnt; member 83 #define I40E_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) 84 #define I40E_INC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt++) 85 #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++) 87 #define I40E_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) 88 #define I40E_DEC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt--) 89 #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--)
|
D | i40e_hmc.c | 217 if (pd_entry->bp.ref_cnt) in i40e_remove_pd_bp() 233 if (!pd_table->ref_cnt) in i40e_remove_pd_bp() 253 if (sd_entry->u.bp.ref_cnt) { in i40e_prep_remove_sd_bp() 301 if (sd_entry->u.pd_table.ref_cnt) { in i40e_prep_remove_pd_page()
|
/linux-5.19.10/tools/bpf/bpftool/ |
D | pids.c | 42 for (i = 0; i < refs->ref_cnt; i++) { in add_ref() 47 tmp = realloc(refs->refs, (refs->ref_cnt + 1) * sizeof(*ref)); in add_ref() 54 ref = &refs->refs[refs->ref_cnt]; in add_ref() 57 refs->ref_cnt++; in add_ref() 80 refs->ref_cnt = 1; in add_ref() 206 if (refs->ref_cnt == 0) in emit_obj_refs_json() 214 for (i = 0; i < refs->ref_cnt; i++) { in emit_obj_refs_json() 238 if (refs->ref_cnt == 0) in emit_obj_refs_plain() 245 for (i = 0; i < refs->ref_cnt; i++) { in emit_obj_refs_plain()
|
/linux-5.19.10/drivers/infiniband/hw/usnic/ |
D | usnic_uiom_interval_tree.c | 45 #define MAKE_NODE(node, start, end, ref_cnt, flags, err, err_out) \ argument 48 end, ref_cnt, flags); \ 57 #define MAKE_NODE_AND_APPEND(node, start, end, ref_cnt, flags, err, \ argument 61 ref_cnt, flags, err, \ 70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument 81 interval->ref_cnt = ref_cnt; in usnic_uiom_interval_node_alloc() 200 iref_cnt = interval->ref_cnt; in usnic_uiom_insert_interval() 261 if (--interval->ref_cnt == 0) in usnic_uiom_remove_interval()
|
D | usnic_uiom_interval_tree.h | 45 unsigned int ref_cnt; member
|
/linux-5.19.10/fs/ext4/ |
D | ext4_jbd2.c | 36 unsigned long ref_cnt = (unsigned long)handle; in ext4_get_nojournal() local 38 BUG_ON(ref_cnt >= EXT4_NOJOURNAL_MAX_REF_COUNT); in ext4_get_nojournal() 40 ref_cnt++; in ext4_get_nojournal() 41 handle = (handle_t *)ref_cnt; in ext4_get_nojournal() 51 unsigned long ref_cnt = (unsigned long)handle; in ext4_put_nojournal() local 53 BUG_ON(ref_cnt == 0); in ext4_put_nojournal() 55 ref_cnt--; in ext4_put_nojournal() 56 handle = (handle_t *)ref_cnt; in ext4_put_nojournal()
|
/linux-5.19.10/drivers/infiniband/sw/rxe/ |
D | rxe_pool.c | 138 kref_init(&elem->ref_cnt); in rxe_alloc() 166 kref_init(&elem->ref_cnt); in __rxe_add_to_pool() 189 if (elem && kref_get_unless_zero(&elem->ref_cnt)) in rxe_pool_get_index() 200 struct rxe_pool_elem *elem = container_of(kref, typeof(*elem), ref_cnt); in rxe_elem_release() 216 return kref_get_unless_zero(&elem->ref_cnt); in __rxe_get() 221 return kref_put(&elem->ref_cnt, rxe_elem_release); in __rxe_put()
|
D | rxe_mcast.c | 129 kref_get(&mcg->ref_cnt); in __rxe_lookup_mcg() 165 kref_init(&mcg->ref_cnt); in __rxe_init_mcg() 177 kref_get(&mcg->ref_cnt); in __rxe_init_mcg() 244 struct rxe_mcg *mcg = container_of(kref, typeof(*mcg), ref_cnt); in rxe_cleanup_mcg() 262 kref_put(&mcg->ref_cnt, rxe_cleanup_mcg); in __rxe_destroy_mcg() 451 kref_put(&mcg->ref_cnt, rxe_cleanup_mcg); in rxe_attach_mcast() 476 kref_put(&mcg->ref_cnt, rxe_cleanup_mcg); in rxe_detach_mcast()
|
D | rxe_pool.h | 25 struct kref ref_cnt; member 75 #define rxe_read(obj) kref_read(&(obj)->elem.ref_cnt)
|
/linux-5.19.10/sound/soc/mediatek/mt8195/ |
D | mt8195-afe-clk.c | 100 int ref_cnt; member 211 cfg->ref_cnt = 0; in mt8195_afe_init_apll_tuner() 302 cfg->ref_cnt++; in mt8195_afe_enable_apll_tuner() 303 if (cfg->ref_cnt == 1) in mt8195_afe_enable_apll_tuner() 326 cfg->ref_cnt--; in mt8195_afe_disable_apll_tuner() 327 if (cfg->ref_cnt == 0) in mt8195_afe_disable_apll_tuner() 332 else if (cfg->ref_cnt < 0) in mt8195_afe_disable_apll_tuner() 333 cfg->ref_cnt = 0; in mt8195_afe_disable_apll_tuner()
|
/linux-5.19.10/net/core/ |
D | dev_addr_lists.c | 377 int err, ref_cnt; in __hw_addr_ref_sync_dev() local 386 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev() 387 if (unsync && unsync(dev, ha->addr, ref_cnt)) in __hw_addr_ref_sync_dev() 390 ha->refcount = (ref_cnt << 1) + 1; in __hw_addr_ref_sync_dev() 391 ha->sync_cnt = ref_cnt; in __hw_addr_ref_sync_dev() 401 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev() 402 err = sync(dev, ha->addr, ref_cnt); in __hw_addr_ref_sync_dev() 406 ha->refcount = ref_cnt << 1; in __hw_addr_ref_sync_dev() 407 ha->sync_cnt = ref_cnt; in __hw_addr_ref_sync_dev()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | fs_tt_redirect.c | 17 int ref_cnt; member 23 int ref_cnt; member 303 if (--fs_udp->ref_cnt) in mlx5e_fs_tt_redirect_udp_destroy() 320 priv->fs.udp->ref_cnt++; in mlx5e_fs_tt_redirect_udp_create() 338 priv->fs.udp->ref_cnt = 1; in mlx5e_fs_tt_redirect_udp_create() 563 if (--fs_any->ref_cnt) in mlx5e_fs_tt_redirect_any_destroy() 579 priv->fs.any->ref_cnt++; in mlx5e_fs_tt_redirect_any_create() 595 priv->fs.any->ref_cnt = 1; in mlx5e_fs_tt_redirect_any_create()
|
/linux-5.19.10/drivers/scsi/ |
D | xen-scsifront.c | 484 int err, ref, ref_cnt = 0; in map_data_for_request() local 534 shadow->gref[ref_cnt] = ref; in map_data_for_request() 535 shadow->seg[ref_cnt].gref = ref; in map_data_for_request() 536 shadow->seg[ref_cnt].offset = (uint16_t)off; in map_data_for_request() 537 shadow->seg[ref_cnt].length = (uint16_t)bytes; in map_data_for_request() 542 ref_cnt++; in map_data_for_request() 544 BUG_ON(seg_grants < ref_cnt); in map_data_for_request() 545 seg_grants = ref_cnt; in map_data_for_request() 570 shadow->gref[ref_cnt] = ref; in map_data_for_request() 580 ref_cnt++; in map_data_for_request() [all …]
|
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_vp9_if.c | 60 unsigned int ref_cnt; member 267 if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { in vp9_ref_cnt_fb() 268 vsi->frm_bufs[ref_idx].ref_cnt--; in vp9_ref_cnt_fb() 270 if (vsi->frm_bufs[ref_idx].ref_cnt == 0) { in vp9_ref_cnt_fb() 285 vsi->frm_bufs[new_idx].ref_cnt++; in vp9_ref_cnt_fb() 471 vsi->frm_bufs[vsi->new_fb_idx].ref_cnt--; in vp9_swap_frm_bufs() 514 if (vsi->frm_bufs[vsi->new_fb_idx].ref_cnt == 0) { in vp9_swap_frm_bufs()
|
/linux-5.19.10/fs/btrfs/ |
D | check-integrity.c | 172 u32 ref_cnt; member 374 l->ref_cnt = 1; in btrfsic_block_link_init() 1268 l->ref_cnt = 1; in btrfsic_create_link_to_next_block() 1282 l->ref_cnt++; in btrfsic_create_link_to_next_block() 1615 l->ref_cnt, in btrfsic_dump_database() 1629 l->ref_cnt, in btrfsic_dump_database() 1823 l->ref_cnt--; in btrfsic_process_written_block() 1824 if (0 == l->ref_cnt) { in btrfsic_process_written_block() 2251 l->ref_cnt, in btrfsic_check_all_ref_blocks() 2349 l->ref_cnt, in btrfsic_is_block_ref_by_superblock() [all …]
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | metadata.c | 19 u32 ref_cnt; member 227 mask_entry->ref_cnt = 1; in nfp_add_mask_table() 258 mask_entry->ref_cnt++; in nfp_find_in_mask_table() 293 mask_entry->ref_cnt--; in nfp_check_mask_remove() 294 if (!mask_entry->ref_cnt) { in nfp_check_mask_remove()
|
/linux-5.19.10/drivers/staging/media/rkvdec/ |
D | rkvdec-vp9.c | 124 struct rkvdec_vp9_refs_counts ref_cnt[2][4][2][6][6]; member 134 struct rkvdec_vp9_refs_counts ref_cnt[2][4][2][6][6]; member 972 &inter_cnts->ref_cnt[k][i][j][l][m].coeff; \ in rkvdec_init_v4l2_vp9_count_tbl() 974 &inter_cnts->ref_cnt[k][i][j][l][m].eob[0]; \ in rkvdec_init_v4l2_vp9_count_tbl() 976 &inter_cnts->ref_cnt[k][i][j][l][m].eob[1]; \ in rkvdec_init_v4l2_vp9_count_tbl() 979 &intra_cnts->ref_cnt[k][i][j][l][m].coeff; \ in rkvdec_init_v4l2_vp9_count_tbl() 981 &intra_cnts->ref_cnt[k][i][j][l][m].eob[0]; \ in rkvdec_init_v4l2_vp9_count_tbl() 983 &intra_cnts->ref_cnt[k][i][j][l][m].eob[1]; \ in rkvdec_init_v4l2_vp9_count_tbl()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.h | 31 u32 ref_cnt; member
|
/linux-5.19.10/drivers/hid/ |
D | hid-sensor-hub.c | 36 int ref_cnt; member 554 if (!data->ref_cnt) { in sensor_hub_device_open() 562 data->ref_cnt++; in sensor_hub_device_open() 574 data->ref_cnt--; in sensor_hub_device_close() 575 if (!data->ref_cnt) in sensor_hub_device_close()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.h | 46 u32 ref_cnt; member
|
/linux-5.19.10/drivers/staging/rtl8712/ |
D | rtl8712_recv.h | 91 u32 ref_cnt; member
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 364 u32 ref_cnt; member 529 if (!p_filters[filter_idx].ref_cnt) { in __qed_llh_shadow_add_filter() 536 *p_ref_cnt = ++p_filters[filter_idx].ref_cnt; in __qed_llh_shadow_add_filter() 587 if (!p_filters[filter_idx].ref_cnt) { in __qed_llh_shadow_remove_filter() 593 *p_ref_cnt = --p_filters[filter_idx].ref_cnt; in __qed_llh_shadow_remove_filter() 594 if (!p_filters[filter_idx].ref_cnt) in __qed_llh_shadow_remove_filter() 961 u32 high, low, ref_cnt; in qed_llh_add_mac_filter() local 973 &filter, &filter_idx, &ref_cnt); in qed_llh_add_mac_filter() 978 if (ref_cnt == 1) { in qed_llh_add_mac_filter() 995 mac_addr, ppfid, abs_ppfid, filter_idx, ref_cnt); in qed_llh_add_mac_filter() [all …]
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_client.h | 157 atomic_t ref_cnt; /* Count of all the client devices of this kind */ member
|
/linux-5.19.10/include/linux/net/intel/ |
D | i40e_client.h | 181 atomic_t ref_cnt; /* Count of all the client devices of this kind */ member
|
/linux-5.19.10/drivers/net/wireless/ath/wil6210/ |
D | main.c | 1959 wil->halp.ref_cnt); in wil_halp_vote() 1961 if (++wil->halp.ref_cnt == 1) { in wil_halp_vote() 1980 wil->halp.ref_cnt); in wil_halp_vote() 1990 WARN_ON(wil->halp.ref_cnt == 0); in wil_halp_unvote() 1995 wil->halp.ref_cnt); in wil_halp_unvote() 1997 if (--wil->halp.ref_cnt == 0) { in wil_halp_unvote() 2003 wil->halp.ref_cnt); in wil_halp_unvote()
|