Searched refs:use_cnt (Results 1 – 8 of 8) sorted by relevance
113 qdisc->children[i]->use_cnt--; in nfp_abm_qdisc_unlink_children()124 if (qdisc->use_cnt) in nfp_abm_qdisc_offload_stop()199 qdisc->use_cnt == 1 && in nfp_abm_offload_compile_red()204 qdisc->use_cnt == 1; in nfp_abm_offload_compile_red()292 if (!qdisc->use_cnt) in nfp_abm_qdisc_clear_mq()316 WARN(qdisc->use_cnt != mq_refs, "non-zero qdisc use count: %d (- %d)\n", in nfp_abm_qdisc_clear_mq()317 qdisc->use_cnt, mq_refs); in nfp_abm_qdisc_clear_mq()415 qdisc->use_cnt--; in nfp_abm_qdisc_destroy()448 child->use_cnt++; in nfp_abm_qdisc_graft()597 if (qdisc->use_cnt) in nfp_abm_gred_replace()[all …]
157 unsigned int use_cnt; member
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()662 int adj_cnt = -utn->entries[i][j].use_cnt; in udp_tunnel_nic_flush()
421 if (atomic_read(&psy->use_cnt) >= 0 && in power_supply_set_battery_charged()459 atomic_inc(&psy->use_cnt); in power_supply_get_by_name()477 atomic_dec(&psy->use_cnt); in power_supply_put()518 atomic_inc(&psy->use_cnt); in power_supply_get_by_phandle()877 if (atomic_read(&psy->use_cnt) <= 0) { in power_supply_get_property()891 if (atomic_read(&psy->use_cnt) <= 0 || !psy->desc->set_property) in power_supply_set_property()901 if (atomic_read(&psy->use_cnt) <= 0 || in power_supply_property_is_writeable()911 if (atomic_read(&psy->use_cnt) <= 0 || in power_supply_external_power_changed()1193 atomic_inc(&psy->use_cnt); in __power_supply_register()1351 WARN_ON(atomic_dec_return(&psy->use_cnt)); in power_supply_unregister()
173 static int use_cnt; variable316 if (use_cnt++ == 0) in parport_mfc3_init()351 if (--use_cnt == 0) in parport_mfc3_exit()
294 atomic_t use_cnt; member
5481 my $use_cnt = () = $tmp_stmt =~ /\b$arg\b/g;5482 if ($use_cnt > 1) {
20880 + atomic_t use_cnt;40018 + atomic_set(&mem->use_cnt, 1);40086 + index = atomic_dec_return(&mem->use_cnt);40191 + index = atomic_read(&mem->use_cnt);40217 + if (atomic_read(&mem->use_cnt) > 7) {40222 + mem->owner[atomic_inc_return(&mem->use_cnt) - 1] = owner;40746 + atomic_read(&mem->use_cnt)