Searched refs:use_cnt (Results 1 – 2 of 2) sorted by relevance
23 u16 use_cnt; member75 return entry->use_cnt == 0 && !entry->flags; in udp_tunnel_nic_entry_is_free()81 return entry->use_cnt && !(entry->flags & ~UDP_TUNNEL_NIC_ENTRY_FROZEN); in udp_tunnel_nic_entry_is_present()174 if (entry->use_cnt) in __udp_tunnel_nic_get_port()374 WARN_ON(entry->use_cnt + (u32)use_cnt_adj > U16_MAX); in udp_tunnel_nic_entry_adj()379 entry->use_cnt += use_cnt_adj; in udp_tunnel_nic_entry_adj()380 if (!dodgy && !entry->use_cnt == !(entry->use_cnt - use_cnt_adj)) in udp_tunnel_nic_entry_adj()484 entry->use_cnt = 1; in udp_tunnel_nic_add_new()574 if (!entry->use_cnt) in __udp_tunnel_nic_reset_ntf()664 int adj_cnt = -utn->entries[i][j].use_cnt; in udp_tunnel_nic_flush()
235 int use_cnt = 0; in smc_nl_handle_smcd_dev() local247 use_cnt = atomic_read(&smcd->lgr_cnt); in smc_nl_handle_smcd_dev()248 if (nla_put_u32(skb, SMC_NLA_DEV_USE_CNT, use_cnt)) in smc_nl_handle_smcd_dev()250 if (nla_put_u8(skb, SMC_NLA_DEV_IS_CRIT, use_cnt > 0)) in smc_nl_handle_smcd_dev()